stephenberry / json_performance

Performance profiling of JSON libraries
MIT License
17 stars 11 forks source link

[FYI] glaze has almost reached the performance of simdjson on Ryzen 5600X! #11

Open toge opened 1 year ago

toge commented 1 year ago

Great work! I ran latest json_performance on Ryzen 5600X with gcc 12.2. I found glaze has great improvement!

Now I think there are no reason to choose other libraries on performance side.

Library Roundtrip Time (s) Write (MB/s) Read (MB/s)
Glaze 1.33 810 1120
simdjson (on demand) N/A N/A 1153
yyjson 1.67 743 1036
daw_json_link 2.90 382 492
RapidJSON 2.82 444 557
json_struct 4.52 247 307
nlohmann 14.21 118 83
Library Roundtrip Time (s) Write (MB/s) Read (MB/s)
Glaze 1.69 1241 1067
simdjson (on demand) N/A N/A 111