gotosocial/internal/observability
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
..
bun.go [chore] update otel libraries (#3740) 2025-02-06 12:14:37 +01:00
metrics.go [chore] Add Go runtime and host metrics (#4137) 2025-05-06 08:18:05 +00:00
no_otel.go [bugfix] broken nootel function signatures (#4142) 2025-05-06 13:26:20 +00:00
otel.go [chore] Simplify the OTEL setup (#4110) 2025-05-05 16:22:45 +00:00
tracing.go [performance] bump codeberg.org/gruf/go-kv to v2 (#4341) 2025-07-29 09:23:20 +02:00