Re:Sonic: A fast JSON serializing and deserializing library
by nemothekid on Tuesday November 23, 2021 @05:36PM
(#29324433)
simdjson is listed thought.
Re:Sonic: A fast JSON serializing and deserializing library
by memco on Tuesday November 23, 2021 @05:42PM
(#29324485)
It is mentioned here: https://github.com/bytedance/sonic/blob/a577eafc253adb943924..., but it isn't included in the benchmarks graphs. Seems this repo is specifically focused on Golang and isn't necessarily motivated by being the fastest JSON [de]serializer on the planet.
Re:Sonic: A fast JSON serializing and deserializing library
by craigching on Tuesday November 23, 2021 @05:52PM
(#29324582)
There is this one though: https://github.com/minio/simdjson-go
EDIT: Apologies, simdjson-go is included in the benchmarks and discussed as well.
Re:Sonic: A fast JSON serializing and deserializing library
by BeeOnRope on Tuesday November 23, 2021 @06:06PM
(#29324698)
Well it wasn't in the benchmark graphs and it didn't show in Ctrl+F in the README.
Admittedly, I didn't do an exhaustive search.
Re:Sonic: A fast JSON serializing and deserializing library
by TkTech on Tuesday November 23, 2021 @07:14PM
(#29325381)
A port of simdjson, simdjson-go, is in the benchmark graphs. It seems to be too fast to be visible in most of the graphs.
Re:Sonic: A fast JSON serializing and deserializing library
by skavi on Tuesday November 23, 2021 @08:25PM
(#29325951)
the graphs show rate not time
Re:Sonic: A fast JSON serializing and deserializing library
by dr_zoidberg on Wednesday November 24, 2021 @06:23AM
(#29328895)
Right, they show MB/s of parsed JSON, and it definitely surprised me: simdjson-go is among the slowest! It looks like there's something fishy going on there, as it is _orders of magnitude_ slower that vanilla simdjson.
Re:Sonic: A fast JSON serializing and deserializing library
by OJFord on Wednesday November 24, 2021 @05:18AM
(#29328562)
If someone runs at a.. 'higher' rate (m/s) than someone else, is it not right to say that they are faster?
Re:Sonic: A fast JSON serializing and deserializing library
by tzs on Wednesday November 24, 2021 @07:23AM
(#29329280)
Yes. But on a bar graph showing rate taller bars mean faster, but on a bar graph showing time to complete a task taller bars mean slower.
The graphs are showing rate and simdjson-go has shorter bars (or nonexistent bars which suggest a quantity too low to show up at the resolution of the graphs). TkTech though the graphs were showing time and so thought they were showing that simdjson-go is very fast, which skavi is pointing out is reversed because they are showing rate.
---
[1] https://github.com/simdjson/simdjson