big.text.integer.md

July 3, 2026 ยท View on GitHub

Read and Write Time Comparison

Input filenameSize (MB)Content
data/output/big.text.integer.json540.82Text,integers
EnvironmentWindows, Intel
ComputerLenovo Thinkpad X Extreme with 8 cores, 16 hardware threads, 32 GB memory, 2 TB solid state drive
Operating systemWindows 2011
CompilerVisual Studio 2022 Version 17.14.16
Optimization/O2,/Ot
Language/std:c++23preview
LibraryVersionType to read into/write from
jsoncons1.8.1jsoncons::json
nlohmann3.12.0nlohmann::json
rapidjson1.1.0rapidjson::Document
jsoncpp1.9.6Json::Value
glaze7.4.0glz::generic
Boost.JSON1_90boost::json::value
yyjson0.12.0yyjson_doc
reflect-cpp0.24.0rfl::Generic
LibraryTime to read (s)Time to write (s)Physical memory footprint of json value (MB)Notes
jsoncons3.9180.744343Uses sorted std::vector of key/value pairs for objects, expect smaller memory footprint.Uses slightly modified grisu3_59_56 implementation by Florian Loitsch plus fallback for printing doubles, expect faster serializing.
nlohmann8.1772.885409Uses std::map for objects. Uses slightly modified Grisu2 implementation by Florian Loitsch for printing doubles, expect faster serializing.
rapidjson2.2540.656332Uses custom floating point parsing, expect faster parsing. Uses girsu3 for printing doubles, expect faster serializing. Uses custom allocation and flat map for objects, expect smaller memory footprint.
jsoncpp13.5567.6411985Uses std::map for both arrays and objects, expect larger memory footprint.
glaze3.4621.262880
Boost.JSON2.2690.585502
yyjson1.0070.279871
reflect-cpp11.7023.147837Uses yyjson for serializing and deserializing JSON.