Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
meowface
· 3y ago · 0 comments
https://github.com/sugawarayuuta/benchmark
- Performance looks pretty comparable to go-json (
https://github.com/goccy/go-json
). Faster in some tests, slower in others. Not sure if it'd be worth switching for me. Good work either way. Would be interested to see benchmarks of the latest version.
Comments
[–]
9VFlE
3y ago
How is it compared to bytedance/sonic?
[–]
meowface
OP
3y ago
Sorry, I was only comparing go-json because both Sonnet and go-json are drop-in replacements for the standard library's JSON encoder and decoder.