big.text.floating_point.md

August 14, 2026 ยท View on GitHub

Read and Write Time Comparison

Input filenameSize (MB)Content
data/output/big.text.floating_point.json794.72Text,doubles
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
jsonconsJSONCONS_VERSION_MAJOR.JSONCONS_VERSION_MINOR.JSONCONS_VERSION_PATCHjsoncons::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
jsoncons8.8793.879423Uses 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.
nlohmann15.9977.165494Uses std::map for objects. Uses slightly modified Grisu2 implementation by Florian Loitsch for printing doubles, expect faster serializing.
rapidjson3.4433.061457Uses 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.
jsoncpp52.94430.0072466Uses std::map for both arrays and objects, expect larger memory footprint.
glaze5.2661.8251087
Boost.JSON3.5792.722621
yyjson1.6721.4971205
reflect-cpp19.9245.4821032Uses yyjson for serializing and deserializing JSON.