gotosocial/internal/api/util
kim e3dfd88893 [performance] bump codeberg.org/gruf/go-kv to v2 (#4341)
updates our codeberg.org/gruf/go-kv log key-value formatting library to latest version, which comes with some maaaaaaajor speed boosts in the form of:
- very minimal reflect.Value{} usage
- caching prepared formatting functions per type

~~still a work-in-progress until i make a release tag on the go-kv repository, which itself is waiting on published benchmark results in the README and finishing writing some code comments~~

benchmarks so far show this to be ~3x faster than the "fmt" stdlib package on average, when run across a wide variety (106 different types) of test cases, while still creating more visually friendly log output and actually recursing down nested struct ptrs

Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4341
Co-authored-by: kim <grufwub@gmail.com>
Co-committed-by: kim <grufwub@gmail.com>
2025-07-29 09:23:20 +02:00
..
auth.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
cookie.go [feature] configurable maximum thumbnail dimensions (#4258) 2025-06-10 15:43:31 +02:00
errorhandling.go [performance] bump codeberg.org/gruf/go-kv to v2 (#4341) 2025-07-29 09:23:20 +02:00
mime.go [bug] respect X-Robots-Tag and robots.txt on api/v1/instance and nodeinfo (#3756) 2025-02-11 13:16:14 +01:00
mime_test.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
negotiate.go [feature] Allow users to export data via the settings panel (#3140) 2024-07-31 15:03:34 +01:00
negotiate_test.go [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
opengraph.go [bugfix] Fix nil ptr for audio attachments with no preview in web (#4227) 2025-06-02 12:52:51 +02:00
opengraph_test.go [feature] Add extra opengraph meta tags (#4154) 2025-05-08 11:11:25 +00:00
parseform.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
parsequery.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
response.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
robots.go [chore] Update robots.txt with latest ai bullshit (#4024) 2025-04-19 13:34:20 +02:00
scopes.go [feature] Add config option to expose custom emojis without auth (#4233) 2025-06-03 23:30:42 +02:00
scopes_test.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
template.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00