miloyip / nativejson-benchmark

C/C++ JSON parser/generator benchmark
MIT License
1.95k stars 262 forks source link

Adding the length from the key (treated as strings) #134

Closed lemire closed 2 years ago

lemire commented 3 years ago

This makes the benchmark more correct. Previously, the keys were not accounted for when computing the total string length.

(Code change should be obvious from the diff.)