/json benchmark is overly simplistic #8373
RobertHenry6bev
started this conversation in
Ideas
Replies: 1 comment
-
Although I am great fan of vaectorized (and SWAR) approaches, I am not sure it is in the spirit of the benchmark: most frameworks relies on the same or similar JSON encoders and if the cost of the encoding become dominant, the framework must be very inefficient in order to still matter...i |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The json returned from /JSON test is an encoding of a single dictionary, with a single string-valued key and value. That's not a lot of work to do, so most of the cycles will be spent with headers and meta data, much like many other of the workloads. There's no chance to show off clever json scanners that use vector instructions.
I would like to see the test both read and write more representative JSON blobs, including:
Beta Was this translation helpful? Give feedback.
All reactions