News for hackers. Stuff that matters.
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.

Re:Sonic: A fast JSON serializing and deserializing library by OJFord on Wednesday November 24, 2021 @07:58AM (#29329538)
Oh right yes sorry I didn't really tie up the discussion to the graphs (or lacked caffeine or something!).