stephenberry / json_performance

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

Add Qt Json benchmark #15

Closed Waqar144 closed 1 year ago

Waqar144 commented 1 year ago

Qt is a popular gui framework that has its own json library. This PR adds an optional benchmark for Qt that will be run if Qt is found on the system.

Results on my system (Ryzen 4700 U, 16G):

Library Roundtrip Time (s) Write (MB/s) Read (MB/s)
Glaze 1.62 720 802
simdjson (on demand) N/A N/A 842
yyjson 2.25 543 708
daw_json_link 3.57 293 409
RapidJSON 3.70 337 405
json_struct 6.38 194 185
nlohmann 20.17 81 56
qtjson 36.57 27 55
stephenberry commented 1 year ago

@Waqar144 Thanks for adding this library to the benchmark!