Files
json/images/perf_blog_usecases_mac.svg
T
2026-12-06 16:17:12 +00:00

380 lines
46 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<svg class="nj-fig nj-charts nj-charts--blog nj-charts--heat" viewBox="0 0 784 510" role="img" aria-labelledby="nj-blog-uc-mac nj-blog-uc-mac-d" xmlns="http://www.w3.org/2000/svg">
<title id="nj-blog-uc-mac">Use cases: time of each library relative to the fastest, Apple M1 Max</title>
<desc id="nj-blog-uc-mac-d">Table of relative times, libraries by use case. nlohmann/json json_document validate: 1.00; nlohmann/json json_document sum: 1.00; nlohmann/json json_document select: 1.00; nlohmann/json json_document edit: 1.00 (0.85 doing less, N); nlohmann/json json_document minify: 1.00 (0.84 doing less, N); nlohmann/json json_document write: 1.00 (0.69 doing less, N); yyjson validate: 1.42; yyjson sum: 1.15; yyjson select: 1.31; yyjson edit: 1.49; yyjson minify: 1.25 (1.18 doing less, N); yyjson write: 1.23; simdjson validate: 1.55; simdjson sum: 1.20; simdjson select: 1.35 (0.76 doing less, P); simdjson edit: n/a; simdjson minify: 1.72 (0.18 doing less, P); simdjson write: 2.36; sonic-rs (Rust) validate: 1.95; sonic-rs (Rust) sum: 1.56; sonic-rs (Rust) select: 1.87; sonic-rs (Rust) edit: 2.13; sonic-rs (Rust) minify: 1.96; sonic-rs (Rust) write: 2.41; sonic-cpp validate: no fully validating way (2.55 doing less, U); sonic-cpp sum: no fully validating way (1.86 doing less, U); sonic-cpp select: no fully validating way (2.34 doing less, U); sonic-cpp edit: no fully validating way (1.71 doing less, U); sonic-cpp minify: no fully validating way (2.03 doing less, U); sonic-cpp write: 1.60; simd-json (Rust) validate: 2.11; simd-json (Rust) sum: 1.66; simd-json (Rust) select: 2.43; simd-json (Rust) edit: 2.89; simd-json (Rust) minify: 3.44; simd-json (Rust) write: 3.13; nlohmann/json json validate: 1.40; nlohmann/json json sum: 1.35; nlohmann/json json select: 6.15; nlohmann/json json edit: 3.22; nlohmann/json json minify: 4.41; nlohmann/json json write: 2.06; Glaze validate: 2.07; Glaze sum: 3.89; Glaze select: 1.81 (0.83 doing less, P); Glaze edit: 4.45; Glaze minify: 5.22 (1.03 doing less, P); Glaze write: 2.19; Boost.J&#8203;SON validate: 2.58; Boost.J&#8203;SON sum: 2.01; Boost.J&#8203;SON select: 3.33; Boost.J&#8203;SON edit: 3.26; Boost.J&#8203;SON minify: 3.87; Boost.J&#8203;SON write: 3.68; serde_json (Rust) validate: 2.51 (2.27 doing less, U); serde_json (Rust) sum: 2.64; serde_json (Rust) select: 2.45 (2.29 doing less, U); serde_json (Rust) edit: 5.10; serde_json (Rust) minify: 5.91; serde_json (Rust) write: 2.98; RapidJSON validate: 4.77 (3.13 doing less, U); RapidJSON sum: 4.20 (2.87 doing less, U); RapidJSON select: 6.05 (3.96 doing less, U); RapidJSON edit: 4.89 (3.87 doing less, U); RapidJSON minify: 4.84 (3.60 doing less, U N); RapidJSON write: 5.86.</desc>
<text class="nj-charts-tick" x="270" y="34">validate</text>
<text class="nj-charts-tick" x="362" y="34">sum</text>
<text class="nj-charts-tick" x="454" y="34">select</text>
<text class="nj-charts-tick" x="546" y="34">edit</text>
<text class="nj-charts-tick" x="638" y="34">minify</text>
<text class="nj-charts-tick" x="730" y="34">write</text>
<text class="nj-charts-rowlabel nj-charts-name-json" x="216" y="66" text-anchor="end">nlohmann/json json_document</text>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · validate&#10;1.00× the time of the fastest library (fully validating)&#10;way: accept&#10;twitter.json: 168 µs&#10;citm_catalog.json: 313 µs&#10;canada.json: 865 µs&#10;jeopardy.json: 20,582 µs">
<rect class="nj-heat-0" x="225" y="45" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · sum&#10;1.00× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 219 µs&#10;citm_catalog.json: 484 µs&#10;canada.json: 1,802 µs&#10;jeopardy.json: 28,838 µs">
<rect class="nj-heat-0" x="317" y="45" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · select&#10;1.00× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 179 µs&#10;citm_catalog.json: 362 µs&#10;canada.json: 942 µs&#10;jeopardy.json: 24,436 µs">
<rect class="nj-heat-0" x="409" y="45" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · edit&#10;1.00× the time of the fastest library (fully validating)&#10;way: editable&#10;twitter.json: 281 µs&#10;citm_catalog.json: 557 µs&#10;canada.json: 2,737 µs&#10;jeopardy.json: 57,427 µs">
<rect class="nj-heat-0" x="501" y="45" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="523.5" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · edit, checking less&#10;0.85× the time of the fastest fully validating library&#10;twitter.json: 280 µs · editable (source numbers) (validates fully)&#10;citm_catalog.json: 557 µs · editable (validates fully)&#10;canada.json: 1,446 µs · editable (source numbers) (validates fully)&#10;jeopardy.json: 57,348 µs · editable (source numbers) (validates fully)&#10;copies each number&#x27;s text instead of formatting it (number_format::source)">
<rect class="nj-heat-0" x="547" y="45" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="568.5" y="60" text-anchor="middle">0.85</text>
<text class="nj-charts-cell nj-charts-cell--small" x="568.5" y="73" text-anchor="middle">N</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · minify&#10;1.00× the time of the fastest library (fully validating)&#10;way: parse + dump&#10;twitter.json: 256 µs&#10;citm_catalog.json: 495 µs&#10;canada.json: 2,570 µs&#10;jeopardy.json: 37,436 µs">
<rect class="nj-heat-0" x="593" y="45" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · minify, checking less&#10;0.84× the time of the fastest fully validating library&#10;way: parse + dump (source numbers)&#10;twitter.json: 250 µs (validates fully)&#10;citm_catalog.json: 494 µs (validates fully)&#10;canada.json: 1,341 µs (validates fully)&#10;jeopardy.json: 37,239 µs (validates fully)&#10;copies each number&#x27;s text instead of formatting it (number_format::source)">
<rect class="nj-heat-0" x="639" y="45" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="60" text-anchor="middle">0.84</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="73" text-anchor="middle">N</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · write&#10;1.00× the time of the fastest library (fully validating)&#10;way: dump&#10;twitter.json: 75.2 µs&#10;citm_catalog.json: 136 µs&#10;canada.json: 1,626 µs&#10;jeopardy.json: 14,602 µs">
<rect class="nj-heat-0" x="685" y="45" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="707.5" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · write, checking less&#10;0.69× the time of the fastest fully validating library&#10;twitter.json: 72.8 µs · dump (source numbers) (validates fully)&#10;citm_catalog.json: 134 µs · dump (source numbers) (validates fully)&#10;canada.json: 398 µs · dump (source numbers) (validates fully)&#10;jeopardy.json: 14,602 µs · dump (validates fully)&#10;copies each number&#x27;s text instead of formatting it (number_format::source)">
<rect class="nj-heat-0" x="731" y="45" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="752.5" y="60" text-anchor="middle">0.69</text>
<text class="nj-charts-cell nj-charts-cell--small" x="752.5" y="73" text-anchor="middle">N</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="102" text-anchor="end">yyjson</text>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · validate&#10;1.42× the time of the fastest library (fully validating)&#10;twitter.json: 179 µs · read&#10;citm_catalog.json: 472 µs · insitu (copy)&#10;canada.json: 1,490 µs · insitu (copy)&#10;jeopardy.json: 30,452 µs · read (raw numbers)&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-1" x="225" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="102" text-anchor="middle">1.42</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · sum&#10;1.15× the time of the fastest library (fully validating)&#10;way: read&#10;twitter.json: 229 µs&#10;citm_catalog.json: 573 µs&#10;canada.json: 1,939 µs&#10;jeopardy.json: 37,474 µs">
<rect class="nj-heat-0" x="317" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="102" text-anchor="middle">1.15</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · select&#10;1.31× the time of the fastest library (fully validating)&#10;twitter.json: 190 µs · insitu (copy)&#10;citm_catalog.json: 480 µs · read&#10;canada.json: 1,488 µs · insitu (copy)&#10;jeopardy.json: 32,288 µs · read (raw numbers)&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-1" x="409" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="102" text-anchor="middle">1.31</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · edit&#10;1.49× the time of the fastest library (fully validating)&#10;way: insitu (copy) + mut copy&#10;twitter.json: 440 µs&#10;citm_catalog.json: 905 µs&#10;canada.json: 3,691 µs&#10;jeopardy.json: 83,313 µs&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-1" x="501" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="102" text-anchor="middle">1.49</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · minify&#10;1.25× the time of the fastest library (fully validating)&#10;way: insitu (copy) + write&#10;twitter.json: 291 µs&#10;citm_catalog.json: 641 µs&#10;canada.json: 3,217 µs&#10;jeopardy.json: 50,196 µs&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-1" x="593" y="81" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="102" text-anchor="middle">1.25</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · minify, checking less&#10;1.18× the time of the fastest fully validating library&#10;twitter.json: 291 µs · insitu (copy) + write (validates fully)&#10;citm_catalog.json: 641 µs · insitu (copy) + write (validates fully)&#10;canada.json: 2,519 µs · read (raw numbers) + write (validates fully)&#10;jeopardy.json: 50,196 µs · insitu (copy) + write (validates fully)&#10;copies each number&#x27;s text instead of formatting it (YYJSON_READ_NUMBER_AS_RAW)&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-1" x="639" y="81" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="96" text-anchor="middle">1.18</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="109" text-anchor="middle">N</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · write&#10;1.23× the time of the fastest library (fully validating)&#10;way: write&#10;twitter.json: 101 µs&#10;citm_catalog.json: 164 µs&#10;canada.json: 1,716 µs&#10;jeopardy.json: 19,722 µs">
<rect class="nj-heat-1" x="685" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="102" text-anchor="middle">1.23</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="138" text-anchor="end">simdjson</text>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · validate&#10;1.55× the time of the fastest library (fully validating)&#10;way: D&#8203;OM&#10;twitter.json: 212 µs&#10;citm_catalog.json: 462 µs&#10;canada.json: 1,889 µs&#10;jeopardy.json: 28,974 µs">
<rect class="nj-heat-2" x="225" y="117" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="138" text-anchor="middle">1.55</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · sum&#10;1.20× the time of the fastest library (fully validating)&#10;twitter.json: 247 µs · D&#8203;OM&#10;citm_catalog.json: 566 µs · On-Demand&#10;canada.json: 2,374 µs · On-Demand&#10;jeopardy.json: 34,863 µs · D&#8203;OM">
<rect class="nj-heat-1" x="317" y="117" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="138" text-anchor="middle">1.20</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · select&#10;1.35× the time of the fastest library (fully validating)&#10;way: D&#8203;OM&#10;twitter.json: 193 µs&#10;citm_catalog.json: 448 µs&#10;canada.json: 1,888 µs&#10;jeopardy.json: 30,483 µs">
<rect class="nj-heat-1" x="409" y="117" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="431.5" y="138" text-anchor="middle">1.35</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · select, checking less&#10;0.76× the time of the fastest fully validating library&#10;twitter.json: 125 µs · On-Demand structs&#10;citm_catalog.json: 352 µs · On-Demand&#10;canada.json: 568 µs · On-Demand&#10;jeopardy.json: 19,629 µs · On-Demand&#10;reads lazily: On-Demand reads only what you ask for and steps over the rest by matching brackets">
<rect class="nj-heat-0" x="455" y="117" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="476.5" y="132" text-anchor="middle">0.76</text>
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="145" text-anchor="middle">P</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · edit&#10;simdjson&#x27;s documents are read-only: it has no A&#8203;PI to change a value and write the result">
<rect class="nj-heat-na" x="501" y="117" width="90" height="34" rx="3"/>
<text class="nj-charts-tick" x="546" y="138">n/a</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · minify&#10;1.72× the time of the fastest library (fully validating)&#10;way: D&#8203;OM + to_string&#10;twitter.json: 413 µs&#10;citm_catalog.json: 830 µs&#10;canada.json: 5,072 µs&#10;jeopardy.json: 60,913 µs">
<rect class="nj-heat-2" x="593" y="117" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="138" text-anchor="middle">1.72</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · minify, checking less&#10;0.18× the time of the fastest fully validating library&#10;way: minify&#10;twitter.json: 61.3 µs&#10;citm_catalog.json: 168 µs&#10;canada.json: 228 µs&#10;jeopardy.json: 5,674 µs&#10;simdjson::minify() only removes whitespace, without parsing the values">
<rect class="nj-heat-0" x="639" y="117" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="132" text-anchor="middle">0.18</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="145" text-anchor="middle">P</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · write&#10;2.36× the time of the fastest library (fully validating)&#10;way: to_string&#10;twitter.json: 195 µs&#10;citm_catalog.json: 384 µs&#10;canada.json: 3,194 µs&#10;jeopardy.json: 31,714 µs">
<rect class="nj-heat-2" x="685" y="117" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="138" text-anchor="middle">2.36</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="174" text-anchor="end">sonic-rs (Rust)</text>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · validate&#10;1.95× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 325 µs&#10;citm_catalog.json: 686 µs&#10;canada.json: 1,935 µs&#10;jeopardy.json: 31,234 µs">
<rect class="nj-heat-2" x="225" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="174" text-anchor="middle">1.95</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · sum&#10;1.56× the time of the fastest library (fully validating)&#10;way: visitor&#10;twitter.json: 372 µs&#10;citm_catalog.json: 779 µs&#10;canada.json: 2,727 µs&#10;jeopardy.json: 41,807 µs">
<rect class="nj-heat-2" x="317" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="174" text-anchor="middle">1.56</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · select&#10;1.87× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 333 µs&#10;citm_catalog.json: 694 µs&#10;canada.json: 1,937 µs&#10;jeopardy.json: 40,455 µs">
<rect class="nj-heat-2" x="409" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="174" text-anchor="middle">1.87</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · edit&#10;2.13× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 636 µs&#10;citm_catalog.json: 1,263 µs&#10;canada.json: 4,393 µs&#10;jeopardy.json: 142,331 µs">
<rect class="nj-heat-2" x="501" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="174" text-anchor="middle">2.13</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · minify&#10;1.96× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 550 µs&#10;citm_catalog.json: 1,148 µs&#10;canada.json: 4,388 µs&#10;jeopardy.json: 65,218 µs">
<rect class="nj-heat-2" x="593" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="174" text-anchor="middle">1.96</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · write&#10;2.41× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 218 µs&#10;citm_catalog.json: 459 µs&#10;canada.json: 2,432 µs&#10;jeopardy.json: 33,952 µs">
<rect class="nj-heat-2" x="685" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="174" text-anchor="middle">2.41</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="210" text-anchor="end">sonic-cpp</text>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · validate, checking less&#10;2.55× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 380 µs&#10;citm_catalog.json: 982 µs&#10;canada.json: 2,580 µs&#10;jeopardy.json: 41,126 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<rect class="nj-heat-3" x="225" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="204" text-anchor="middle">2.55</text>
<text class="nj-charts-cell nj-charts-cell--small" x="270" y="217" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · sum, checking less&#10;1.86× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 428 µs&#10;citm_catalog.json: 1,085 µs&#10;canada.json: 2,959 µs&#10;jeopardy.json: 48,328 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<rect class="nj-heat-2" x="317" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="204" text-anchor="middle">1.86</text>
<text class="nj-charts-cell nj-charts-cell--small" x="362" y="217" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · select, checking less&#10;2.34× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 386 µs&#10;citm_catalog.json: 989 µs&#10;canada.json: 2,574 µs&#10;jeopardy.json: 45,604 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<rect class="nj-heat-2" x="409" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="204" text-anchor="middle">2.34</text>
<text class="nj-charts-cell nj-charts-cell--small" x="454" y="217" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · edit, checking less&#10;1.71× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 489 µs&#10;citm_catalog.json: 1,219 µs&#10;canada.json: 5,641 µs&#10;jeopardy.json: 63,124 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<rect class="nj-heat-2" x="501" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="204" text-anchor="middle">1.71</text>
<text class="nj-charts-cell nj-charts-cell--small" x="546" y="217" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · minify, checking less&#10;2.03× the time of the fastest fully validating library&#10;way: Document + Serialize&#10;twitter.json: 497 µs&#10;citm_catalog.json: 1,217 µs&#10;canada.json: 5,626 µs&#10;jeopardy.json: 60,900 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<rect class="nj-heat-2" x="593" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="204" text-anchor="middle">2.03</text>
<text class="nj-charts-cell nj-charts-cell--small" x="638" y="217" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · write&#10;1.60× the time of the fastest library (fully validating)&#10;way: Serialize&#10;twitter.json: 112 µs&#10;citm_catalog.json: 236 µs&#10;canada.json: 3,046 µs&#10;jeopardy.json: 19,821 µs">
<rect class="nj-heat-2" x="685" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="210" text-anchor="middle">1.60</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="246" text-anchor="end">simd-json (Rust)</text>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · validate&#10;2.11× the time of the fastest library (fully validating)&#10;way: tape (copy)&#10;twitter.json: 290 µs&#10;citm_catalog.json: 718 µs&#10;canada.json: 2,289 µs&#10;jeopardy.json: 38,707 µs&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-2" x="225" y="225" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="246" text-anchor="middle">2.11</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · sum&#10;1.66× the time of the fastest library (fully validating)&#10;way: visitor (copy)&#10;twitter.json: 365 µs&#10;citm_catalog.json: 868 µs&#10;canada.json: 2,729 µs&#10;jeopardy.json: 48,056 µs&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-2" x="317" y="225" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="246" text-anchor="middle">1.66</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · select&#10;2.43× the time of the fastest library (fully validating)&#10;way: structs (copy)&#10;twitter.json: 370 µs&#10;citm_catalog.json: 913 µs&#10;canada.json: 2,655 µs&#10;jeopardy.json: 57,851 µs&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-2" x="409" y="225" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="246" text-anchor="middle">2.43</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · edit&#10;2.89× the time of the fastest library (fully validating)&#10;twitter.json: 952 µs · borrowed (copy)&#10;citm_catalog.json: 2,112 µs · borrowed (copy)&#10;canada.json: 7,687 µs · owned (copy)&#10;jeopardy.json: 110,610 µs · borrowed (copy)&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-3" x="501" y="225" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="246" text-anchor="middle">2.89</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · minify&#10;3.44× the time of the fastest library (fully validating)&#10;way: borrowed (copy)&#10;twitter.json: 969 µs&#10;citm_catalog.json: 2,107 µs&#10;canada.json: 7,698 µs&#10;jeopardy.json: 108,355 µs&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-3" x="593" y="225" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="246" text-anchor="middle">3.44</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · write&#10;3.13× the time of the fastest library (fully validating)&#10;way: borrowed&#10;twitter.json: 368 µs&#10;citm_catalog.json: 490 µs&#10;canada.json: 2,744 µs&#10;jeopardy.json: 47,185 µs">
<rect class="nj-heat-3" x="685" y="225" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="246" text-anchor="middle">3.13</text>
</g>
<text class="nj-charts-rowlabel nj-charts-name-json" x="216" y="282" text-anchor="end">nlohmann/json json</text>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · validate&#10;1.40× the time of the fastest library (fully validating)&#10;way: accept&#10;twitter.json: 232 µs&#10;citm_catalog.json: 459 µs&#10;canada.json: 1,239 µs&#10;jeopardy.json: 27,461 µs">
<rect class="nj-heat-1" x="225" y="261" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="282" text-anchor="middle">1.40</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · sum&#10;1.35× the time of the fastest library (fully validating)&#10;way: sax&#10;twitter.json: 303 µs&#10;citm_catalog.json: 594 µs&#10;canada.json: 2,208 µs&#10;jeopardy.json: 45,434 µs">
<rect class="nj-heat-1" x="317" y="261" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="282" text-anchor="middle">1.35</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · select&#10;6.15× the time of the fastest library (fully validating)&#10;twitter.json: 1,217 µs · structs (from_json)&#10;citm_catalog.json: 2,108 µs · parse&#10;canada.json: 5,090 µs · parse&#10;jeopardy.json: 163,979 µs · parse">
<rect class="nj-heat-4" x="409" y="261" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="282" text-anchor="middle">6.15</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · edit&#10;3.22× the time of the fastest library (fully validating)&#10;twitter.json: 1,120 µs · ordered_json&#10;citm_catalog.json: 2,035 µs · ordered_json&#10;canada.json: 7,331 µs · parse&#10;jeopardy.json: 158,720 µs · ordered_json">
<rect class="nj-heat-3" x="501" y="261" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="282" text-anchor="middle">3.22</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · minify&#10;4.41× the time of the fastest library (fully validating)&#10;way: parse + dump&#10;twitter.json: 1,443 µs&#10;citm_catalog.json: 2,382 µs&#10;canada.json: 7,341 µs&#10;jeopardy.json: 181,781 µs">
<rect class="nj-heat-3" x="593" y="261" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="282" text-anchor="middle">4.41</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · write&#10;2.06× the time of the fastest library (fully validating)&#10;way: dump&#10;twitter.json: 215 µs&#10;citm_catalog.json: 287 µs&#10;canada.json: 2,242 µs&#10;jeopardy.json: 31,455 µs">
<rect class="nj-heat-2" x="685" y="261" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="282" text-anchor="middle">2.06</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="318" text-anchor="end">Glaze</text>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · validate&#10;2.07× the time of the fastest library (fully validating)&#10;way: validate_json&#10;twitter.json: 331 µs&#10;citm_catalog.json: 855 µs&#10;canada.json: 1,302 µs&#10;jeopardy.json: 46,377 µs">
<rect class="nj-heat-2" x="225" y="297" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="318" text-anchor="middle">2.07</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · sum&#10;3.89× the time of the fastest library (fully validating)&#10;way: generic (double, strict)&#10;twitter.json: 972 µs&#10;citm_catalog.json: 2,054 µs&#10;canada.json: 6,342 µs&#10;jeopardy.json: 99,827 µs">
<rect class="nj-heat-3" x="317" y="297" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="318" text-anchor="middle">3.89</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · select&#10;1.81× the time of the fastest library (fully validating)&#10;way: structs (validate_skipped)&#10;twitter.json: 312 µs&#10;citm_catalog.json: 848 µs&#10;canada.json: 1,302 µs&#10;jeopardy.json: 46,251 µs">
<rect class="nj-heat-2" x="409" y="297" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="431.5" y="318" text-anchor="middle">1.81</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · select, checking less&#10;0.83× the time of the fastest fully validating library&#10;way: structs&#10;twitter.json: 238 µs&#10;citm_catalog.json: 253 µs&#10;canada.json: 310 µs&#10;jeopardy.json: 37,390 µs&#10;reads into structs and steps over fields it doesn&#x27;t know without checking them (validate_skipped checks them too)">
<rect class="nj-heat-0" x="455" y="297" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="476.5" y="312" text-anchor="middle">0.83</text>
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="325" text-anchor="middle">P</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · edit&#10;4.45× the time of the fastest library (fully validating)&#10;way: generic (strict)&#10;twitter.json: 1,529 µs&#10;citm_catalog.json: 3,236 µs&#10;canada.json: 10,925 µs&#10;jeopardy.json: 179,055 µs">
<rect class="nj-heat-3" x="501" y="297" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="318" text-anchor="middle">4.45</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · minify&#10;5.22× the time of the fastest library (fully validating)&#10;way: generic (strict)&#10;twitter.json: 1,510 µs&#10;citm_catalog.json: 3,204 µs&#10;canada.json: 10,919 µs&#10;jeopardy.json: 170,463 µs">
<rect class="nj-heat-4" x="593" y="297" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="318" text-anchor="middle">5.22</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · minify, checking less&#10;1.03× the time of the fastest fully validating library&#10;way: minify_json&#10;twitter.json: 279 µs&#10;citm_catalog.json: 730 µs&#10;canada.json: 1,708 µs&#10;jeopardy.json: 39,468 µs&#10;minify_json only removes whitespace, without parsing the values">
<rect class="nj-heat-0" x="639" y="297" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="312" text-anchor="middle">1.03</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="325" text-anchor="middle">P</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · write&#10;2.19× the time of the fastest library (fully validating)&#10;twitter.json: 210 µs · generic&#10;citm_catalog.json: 468 µs · generic&#10;canada.json: 1,696 µs · generic (strict)&#10;jeopardy.json: 33,414 µs · generic">
<rect class="nj-heat-2" x="685" y="297" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="318" text-anchor="middle">2.19</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="354" text-anchor="end">Boost.J&#8203;SON</text>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · validate&#10;2.58× the time of the fastest library (fully validating)&#10;way: S&#8203;AX (numbers: none)&#10;twitter.json: 530 µs&#10;citm_catalog.json: 989 µs&#10;canada.json: 1,449 µs&#10;jeopardy.json: 54,540 µs">
<rect class="nj-heat-3" x="225" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="354" text-anchor="middle">2.58</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · sum&#10;2.01× the time of the fastest library (fully validating)&#10;way: S&#8203;AX&#10;twitter.json: 537 µs&#10;citm_catalog.json: 1,007 µs&#10;canada.json: 3,053 µs&#10;jeopardy.json: 54,616 µs">
<rect class="nj-heat-2" x="317" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="354" text-anchor="middle">2.01</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · select&#10;3.33× the time of the fastest library (fully validating)&#10;twitter.json: 620 µs · parse_into structs&#10;citm_catalog.json: 1,205 µs · parse_into structs&#10;canada.json: 3,632 µs · parse&#10;jeopardy.json: 67,371 µs · parse_into structs">
<rect class="nj-heat-3" x="409" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="354" text-anchor="middle">3.33</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · edit&#10;3.26× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 1,362 µs&#10;citm_catalog.json: 2,002 µs&#10;canada.json: 6,523 µs&#10;jeopardy.json: 156,766 µs">
<rect class="nj-heat-3" x="501" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="354" text-anchor="middle">3.26</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · minify&#10;3.87× the time of the fastest library (fully validating)&#10;way: parse + serialize&#10;twitter.json: 1,382 µs&#10;citm_catalog.json: 1,991 µs&#10;canada.json: 6,534 µs&#10;jeopardy.json: 152,254 µs">
<rect class="nj-heat-3" x="593" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="354" text-anchor="middle">3.87</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · write&#10;3.68× the time of the fastest library (fully validating)&#10;way: serialize&#10;twitter.json: 498 µs&#10;citm_catalog.json: 502 µs&#10;canada.json: 2,871 µs&#10;jeopardy.json: 62,307 µs">
<rect class="nj-heat-3" x="685" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="354" text-anchor="middle">3.68</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="390" text-anchor="end">serde_json (Rust)</text>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · validate&#10;2.51× the time of the fastest library (fully validating)&#10;way: from_utf8 + IgnoredAny&#10;twitter.json: 461 µs&#10;citm_catalog.json: 1,104 µs&#10;canada.json: 1,561 µs&#10;jeopardy.json: 46,689 µs">
<rect class="nj-heat-3" x="225" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="247.5" y="390" text-anchor="middle">2.51</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · validate, checking less&#10;2.27× the time of the fastest fully validating library&#10;way: IgnoredAny&#10;twitter.json: 357 µs&#10;citm_catalog.json: 1,055 µs&#10;canada.json: 1,460 µs&#10;jeopardy.json: 45,135 µs&#10;trusts U&#8203;TF-8 in the strings it skips (from_slice); strings it reads are checked">
<rect class="nj-heat-2" x="271" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="292.5" y="384" text-anchor="middle">2.27</text>
<text class="nj-charts-cell nj-charts-cell--small" x="292.5" y="397" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · sum&#10;2.64× the time of the fastest library (fully validating)&#10;way: visitor&#10;twitter.json: 661 µs&#10;citm_catalog.json: 1,238 µs&#10;canada.json: 4,799 µs&#10;jeopardy.json: 68,254 µs">
<rect class="nj-heat-3" x="317" y="369" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="390" text-anchor="middle">2.64</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · select&#10;2.45× the time of the fastest library (fully validating)&#10;way: from_utf8 + structs&#10;twitter.json: 484 µs&#10;citm_catalog.json: 1,126 µs&#10;canada.json: 1,559 µs&#10;jeopardy.json: 63,574 µs">
<rect class="nj-heat-2" x="409" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="431.5" y="390" text-anchor="middle">2.45</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · select, checking less&#10;2.29× the time of the fastest fully validating library&#10;twitter.json: 412 µs · structs&#10;citm_catalog.json: 1,086 µs · structs&#10;canada.json: 1,454 µs · structs&#10;jeopardy.json: 63,574 µs · from_utf8 + structs (validates fully)&#10;trusts U&#8203;TF-8 in the strings it skips (from_slice); strings it reads are checked">
<rect class="nj-heat-2" x="455" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="476.5" y="384" text-anchor="middle">2.29</text>
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="397" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · edit&#10;5.10× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 2,036 µs&#10;citm_catalog.json: 3,323 µs&#10;canada.json: 9,645 µs&#10;jeopardy.json: 255,608 µs">
<rect class="nj-heat-4" x="501" y="369" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="390" text-anchor="middle">5.10</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · minify&#10;5.91× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 2,020 µs&#10;citm_catalog.json: 3,296 µs&#10;canada.json: 9,635 µs&#10;jeopardy.json: 232,185 µs">
<rect class="nj-heat-4" x="593" y="369" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="390" text-anchor="middle">5.91</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · write&#10;2.98× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 340 µs&#10;citm_catalog.json: 497 µs&#10;canada.json: 2,257 µs&#10;jeopardy.json: 50,311 µs">
<rect class="nj-heat-3" x="685" y="369" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="390" text-anchor="middle">2.98</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="426" text-anchor="end">RapidJSON</text>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · validate&#10;4.77× the time of the fastest library (fully validating)&#10;twitter.json: 1,312 µs · insitu (copy)&#10;citm_catalog.json: 1,392 µs · S&#8203;AX (string stream, default precision)&#10;canada.json: 1,976 µs · S&#8203;AX (string stream, default precision)&#10;jeopardy.json: 134,644 µs · S&#8203;AX (string stream, default precision)&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-3" x="225" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="247.5" y="426" text-anchor="middle">4.77</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · validate, checking less&#10;3.13× the time of the fastest fully validating library&#10;twitter.json: 690 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,029 µs · S&#8203;AX (string stream, default precision) (no encoding check)&#10;canada.json: 1,976 µs · S&#8203;AX (string stream, default precision) (validates fully)&#10;jeopardy.json: 64,302 µs · insitu (copy) (no encoding check)&#10;trusts U&#8203;TF-8: RapidJSON&#x27;s default (kParseValidateEncodingFlag checks it)&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-3" x="271" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="292.5" y="420" text-anchor="middle">3.13</text>
<text class="nj-charts-cell nj-charts-cell--small" x="292.5" y="433" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · sum&#10;4.20× the time of the fastest library (fully validating)&#10;twitter.json: 1,346 µs · S&#8203;AX&#10;citm_catalog.json: 1,454 µs · S&#8203;AX (string stream)&#10;canada.json: 6,453 µs · S&#8203;AX (string stream)&#10;jeopardy.json: 135,579 µs · S&#8203;AX (string stream)">
<rect class="nj-heat-3" x="317" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="339.5" y="426" text-anchor="middle">4.20</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · sum, checking less&#10;2.87× the time of the fastest fully validating library&#10;twitter.json: 730 µs · S&#8203;AX (string stream) (no encoding check)&#10;citm_catalog.json: 1,132 µs · S&#8203;AX (string stream) (no encoding check)&#10;canada.json: 6,427 µs · S&#8203;AX (string stream) (no encoding check)&#10;jeopardy.json: 70,706 µs · insitu (copy) (no encoding check)&#10;trusts U&#8203;TF-8: RapidJSON&#x27;s default (kParseValidateEncodingFlag checks it)&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-3" x="363" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="384.5" y="420" text-anchor="middle">2.87</text>
<text class="nj-charts-cell nj-charts-cell--small" x="384.5" y="433" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · select&#10;6.05× the time of the fastest library (fully validating)&#10;way: insitu (copy)&#10;twitter.json: 1,317 µs&#10;citm_catalog.json: 1,564 µs&#10;canada.json: 6,761 µs&#10;jeopardy.json: 143,406 µs&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-4" x="409" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="431.5" y="426" text-anchor="middle">6.05</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · select, checking less&#10;3.96× the time of the fastest fully validating library&#10;twitter.json: 703 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,152 µs · insitu (copy) (no encoding check)&#10;canada.json: 6,761 µs · insitu (copy) (validates fully)&#10;jeopardy.json: 67,167 µs · insitu (copy) (no encoding check)&#10;trusts U&#8203;TF-8: RapidJSON&#x27;s default (kParseValidateEncodingFlag checks it)&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-3" x="455" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="476.5" y="420" text-anchor="middle">3.96</text>
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="433" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · edit&#10;4.89× the time of the fastest library (fully validating)&#10;twitter.json: 1,928 µs · Document&#10;citm_catalog.json: 2,385 µs · Document (string stream)&#10;canada.json: 13,768 µs · Document (string stream)&#10;jeopardy.json: 222,367 µs · Document (string stream)">
<rect class="nj-heat-3" x="501" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="523.5" y="426" text-anchor="middle">4.89</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · edit, checking less&#10;3.87× the time of the fastest fully validating library&#10;way: insitu (copy) (no encoding check)&#10;twitter.json: 1,358 µs&#10;citm_catalog.json: 1,993 µs&#10;canada.json: 13,737 µs&#10;jeopardy.json: 147,900 µs&#10;trusts U&#8203;TF-8: RapidJSON&#x27;s default (kParseValidateEncodingFlag checks it)&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-3" x="547" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="568.5" y="420" text-anchor="middle">3.87</text>
<text class="nj-charts-cell nj-charts-cell--small" x="568.5" y="433" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · minify&#10;4.84× the time of the fastest library (fully validating)&#10;twitter.json: 1,501 µs · S&#8203;AX to Writer&#10;citm_catalog.json: 1,784 µs · S&#8203;AX to Writer (string stream)&#10;canada.json: 14,332 µs · Document + Writer&#10;jeopardy.json: 173,504 µs · S&#8203;AX to Writer (string stream)">
<rect class="nj-heat-3" x="593" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="426" text-anchor="middle">4.84</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · minify, checking less&#10;3.60× the time of the fastest fully validating library&#10;twitter.json: 1,045 µs · S&#8203;AX to Writer (string stream) (no encoding check)&#10;citm_catalog.json: 1,474 µs · S&#8203;AX to Writer (string stream) (no encoding check)&#10;canada.json: 10,853 µs · S&#8203;AX to Writer (raw numbers) (no encoding check)&#10;jeopardy.json: 122,744 µs · S&#8203;AX to Writer (string stream) (no encoding check)&#10;trusts U&#8203;TF-8: RapidJSON&#x27;s default (kParseValidateEncodingFlag checks it)&#10;copies each number&#x27;s text instead of formatting it (kParseNumbersAsStringsFlag)">
<rect class="nj-heat-3" x="639" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="420" text-anchor="middle">3.60</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="433" text-anchor="middle">U N</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · write&#10;5.86× the time of the fastest library (fully validating)&#10;way: Writer&#10;twitter.json: 606 µs&#10;citm_catalog.json: 838 µs&#10;canada.json: 6,906 µs&#10;jeopardy.json: 82,072 µs">
<rect class="nj-heat-4" x="685" y="405" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="426" text-anchor="middle">5.86</text>
</g>
<text class="nj-charts-tick nj-charts-tick--l" x="8" y="472">time relative to the fastest fully validating library, less is better</text>
<g><rect class="nj-heat-0" x="8" y="482" width="76" height="20" rx="3"/>
<text class="nj-charts-cell nj-charts-cell--small" x="46" y="496" text-anchor="middle">below 1.15</text></g>
<g><rect class="nj-heat-1" x="88" y="482" width="76" height="20" rx="3"/>
<text class="nj-charts-cell nj-charts-cell--small" x="126" y="496" text-anchor="middle">1.15 to 1.5</text></g>
<g><rect class="nj-heat-2" x="168" y="482" width="76" height="20" rx="3"/>
<text class="nj-charts-cell nj-charts-cell--small" x="206" y="496" text-anchor="middle">1.5 to 2.5</text></g>
<g><rect class="nj-heat-3" x="248" y="482" width="76" height="20" rx="3"/>
<text class="nj-charts-cell nj-charts-cell--small" x="286" y="496" text-anchor="middle">2.5 to 5</text></g>
<g><rect class="nj-heat-4" x="328" y="482" width="76" height="20" rx="3"/>
<text class="nj-charts-cell nj-charts-cell--small" x="366" y="496" text-anchor="middle">5 and more</text></g>
<rect class="nj-heat-na" x="420" y="482" width="40" height="20" rx="3"/>
<text class="nj-charts-tick" x="440" y="496">n/a</text>
<text class="nj-charts-tick nj-charts-tick--l" x="468" y="496">no A&#8203;PI for it</text>
</svg>