375 lines
46 KiB
XML
375 lines
46 KiB
XML
<svg class="nj-fig nj-charts nj-charts--blog nj-charts--heat" viewBox="0 0 784 510" role="img" aria-labelledby="nj-blog-uc-x86-gcc nj-blog-uc-x86-gcc-d" xmlns="http://www.w3.org/2000/svg">
|
||
<title id="nj-blog-uc-x86-gcc">Use cases: time of each library relative to the fastest, x86-64 with G​CC 16.2</title>
|
||
<desc id="nj-blog-uc-x86-gcc-d">Table of relative times, libraries by use case. nlohmann/json json_document validate: 1.00; nlohmann/json json_document sum: 1.10; nlohmann/json json_document select: 1.00; nlohmann/json json_document edit: 1.00 (0.78 doing less, N); nlohmann/json json_document minify: 1.00 (0.78 doing less, N); nlohmann/json json_document write: 1.00 (0.64 doing less, N); yyjson validate: 2.23; yyjson sum: 1.31; yyjson select: 1.37; yyjson edit: 1.43; yyjson minify: 1.24 (0.99 doing less, N); yyjson write: 1.08; sonic-cpp validate: no fully validating way (2.32 doing less, U); sonic-cpp sum: no fully validating way (1.26 doing less, U); sonic-cpp select: no fully validating way (1.43 doing less, U); sonic-cpp edit: no fully validating way (1.18 doing less, U); sonic-cpp minify: no fully validating way (1.33 doing less, U); sonic-cpp write: 1.49; simdjson validate: 2.08; simdjson sum: 1.00; simdjson select: 1.29 (0.55 doing less, P); simdjson edit: n/a; simdjson minify: 1.49 (0.17 doing less, P); simdjson write: 2.09; sonic-rs (Rust) validate: 1.98; sonic-rs (Rust) sum: 1.14; sonic-rs (Rust) select: 1.36; sonic-rs (Rust) edit: 1.87; sonic-rs (Rust) minify: 1.68; sonic-rs (Rust) write: 2.05; Boost.J​SON validate: 1.98; Boost.J​SON sum: 1.29; Boost.J​SON select: 2.21; Boost.J​SON edit: 2.33; Boost.J​SON minify: 2.54; Boost.J​SON write: 2.33; nlohmann/json json validate: 1.69; nlohmann/json json sum: 1.17; nlohmann/json json select: 6.20; nlohmann/json json edit: 3.42; nlohmann/json json minify: 4.07; nlohmann/json json write: 1.84; simd-json (Rust) validate: 3.71; simd-json (Rust) sum: 1.93; simd-json (Rust) select: 2.59; simd-json (Rust) edit: 2.83; simd-json (Rust) minify: 3.30; simd-json (Rust) write: 2.34; serde_json (Rust) validate: 2.46 (2.19 doing less, U); serde_json (Rust) sum: 2.38; serde_json (Rust) select: 1.74; serde_json (Rust) edit: 4.45; serde_json (Rust) minify: 4.80; serde_json (Rust) write: 2.27; RapidJSON validate: 3.86 (3.48 doing less, U); RapidJSON sum: 2.35 (2.15 doing less, U); RapidJSON select: 3.17 (3.02 doing less, U); RapidJSON edit: 2.49 (2.40 doing less, U); RapidJSON minify: 2.58 (2.36 doing less, U N); RapidJSON write: 2.94; Glaze validate: 2.87; Glaze sum: 4.05; Glaze select: 1.71 (0.59 doing less, P); Glaze edit: 4.48; Glaze minify: 4.56 (0.75 doing less, P); Glaze write: 1.96.</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 1.00× the time of the fastest library (fully validating) way: accept twitter.json: 254 µs citm_catalog.json: 515 µs canada.json: 892 µs jeopardy.json: 33,006 µ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 1.10× the time of the fastest library (fully validating) way: parse twitter.json: 384 µs citm_catalog.json: 1,066 µs canada.json: 3,526 µs jeopardy.json: 88,527 µ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.10</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · select 1.00× the time of the fastest library (fully validating) way: parse twitter.json: 325 µs citm_catalog.json: 863 µs canada.json: 1,302 µs jeopardy.json: 87,940 µ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 1.00× the time of the fastest library (fully validating) way: editable twitter.json: 538 µs citm_catalog.json: 1,214 µs canada.json: 5,640 µs jeopardy.json: 193,024 µ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 0.78× the time of the fastest fully validating library twitter.json: 533 µs · editable (source numbers) (validates fully) citm_catalog.json: 1,214 µs · editable (validates fully) canada.json: 2,140 µs · editable (source numbers) (validates fully) jeopardy.json: 193,024 µs · editable (validates fully) copies each number'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.78</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 1.00× the time of the fastest library (fully validating) way: parse + dump twitter.json: 478 µs citm_catalog.json: 1,152 µs canada.json: 5,209 µs jeopardy.json: 152,631 µ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 0.78× the time of the fastest fully validating library way: parse + dump (source numbers) twitter.json: 467 µs (validates fully) citm_catalog.json: 1,118 µs (validates fully) canada.json: 2,150 µs (validates fully) jeopardy.json: 145,664 µs (validates fully) copies each number'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.78</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 1.00× the time of the fastest library (fully validating) way: dump twitter.json: 154 µs citm_catalog.json: 251 µs canada.json: 3,946 µs jeopardy.json: 64,776 µ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 0.64× the time of the fastest fully validating library way: dump (source numbers) twitter.json: 139 µs (validates fully) citm_catalog.json: 229 µs (validates fully) canada.json: 831 µs (validates fully) jeopardy.json: 62,866 µs (validates fully) copies each number'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.64</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 2.23× the time of the fastest library (fully validating) twitter.json: 393 µs · read citm_catalog.json: 930 µs · read (raw numbers) canada.json: 2,140 µs · read (raw numbers) jeopardy.json: 122,230 µs · insitu (copy) (copy): parses in place, on a copy of the input that is part of the time">
|
||
<rect class="nj-heat-2" x="225" y="81" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="270" y="102" text-anchor="middle">2.23</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · sum 1.31× the time of the fastest library (fully validating) way: read twitter.json: 445 µs citm_catalog.json: 1,093 µs canada.json: 3,948 µs jeopardy.json: 133,860 µs">
|
||
<rect class="nj-heat-1" x="317" y="81" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="362" y="102" text-anchor="middle">1.31</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · select 1.37× the time of the fastest library (fully validating) twitter.json: 402 µs · read (raw numbers) citm_catalog.json: 954 µs · read canada.json: 2,127 µs · read (raw numbers) jeopardy.json: 140,491 µs · read">
|
||
<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.37</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · edit 1.43× the time of the fastest library (fully validating) twitter.json: 786 µs · mut copy citm_catalog.json: 1,642 µs · insitu (copy) + mut copy canada.json: 7,599 µs · insitu (copy) + mut copy jeopardy.json: 303,303 µs · mut copy (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.43</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · minify 1.24× the time of the fastest library (fully validating) twitter.json: 610 µs · read + write citm_catalog.json: 1,277 µs · read + write canada.json: 6,630 µs · read + write jeopardy.json: 199,086 µs · insitu (copy) + write (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.24</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · minify, checking less 0.99× the time of the fastest fully validating library twitter.json: 609 µs · read (raw numbers) + write (validates fully) citm_catalog.json: 1,221 µs · read (raw numbers) + write (validates fully) canada.json: 2,860 µs · read (raw numbers) + write (validates fully) jeopardy.json: 199,086 µs · insitu (copy) + write (validates fully) copies each number's text instead of formatting it (YYJSON_READ_NUMBER_AS_RAW) (copy): parses in place, on a copy of the input that is part of the time">
|
||
<rect class="nj-heat-0" x="639" y="81" width="44" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="660.5" y="96" text-anchor="middle">0.99</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 1.08× the time of the fastest library (fully validating) way: write twitter.json: 185 µs citm_catalog.json: 318 µs canada.json: 3,330 µs jeopardy.json: 67,531 µs">
|
||
<rect class="nj-heat-0" x="685" y="81" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="730" y="102" text-anchor="middle">1.08</text>
|
||
</g>
|
||
<text class="nj-charts-rowlabel " x="216" y="138" text-anchor="end">sonic-cpp</text>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · validate, checking less 2.32× the time of the fastest fully validating library way: Document twitter.json: 404 µs citm_catalog.json: 923 µs canada.json: 3,216 µs jeopardy.json: 93,142 µs trusts U​TF-8: sonic-cpp 1.0.2 doesn't check it">
|
||
<rect class="nj-heat-2" x="225" y="117" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="270" y="132" text-anchor="middle">2.32</text>
|
||
<text class="nj-charts-cell nj-charts-cell--small" x="270" y="145" text-anchor="middle">U</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · sum, checking less 1.26× the time of the fastest fully validating library way: Document twitter.json: 458 µs citm_catalog.json: 1,120 µs canada.json: 3,887 µs jeopardy.json: 107,494 µs trusts U​TF-8: sonic-cpp 1.0.2 doesn't check it">
|
||
<rect class="nj-heat-1" x="317" y="117" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="362" y="132" text-anchor="middle">1.26</text>
|
||
<text class="nj-charts-cell nj-charts-cell--small" x="362" y="145" text-anchor="middle">U</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · select, checking less 1.43× the time of the fastest fully validating library way: Document twitter.json: 408 µs citm_catalog.json: 942 µs canada.json: 3,166 µs jeopardy.json: 110,763 µs trusts U​TF-8: sonic-cpp 1.0.2 doesn't check it">
|
||
<rect class="nj-heat-1" x="409" y="117" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="454" y="132" text-anchor="middle">1.43</text>
|
||
<text class="nj-charts-cell nj-charts-cell--small" x="454" y="145" text-anchor="middle">U</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · edit, checking less 1.18× the time of the fastest fully validating library way: Document twitter.json: 620 µs citm_catalog.json: 1,426 µs canada.json: 8,466 µs jeopardy.json: 181,035 µs trusts U​TF-8: sonic-cpp 1.0.2 doesn't check it">
|
||
<rect class="nj-heat-1" x="501" y="117" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="546" y="132" text-anchor="middle">1.18</text>
|
||
<text class="nj-charts-cell nj-charts-cell--small" x="546" y="145" text-anchor="middle">U</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · minify, checking less 1.33× the time of the fastest fully validating library way: Document + Serialize twitter.json: 636 µs citm_catalog.json: 1,498 µs canada.json: 8,354 µs jeopardy.json: 173,180 µs trusts U​TF-8: sonic-cpp 1.0.2 doesn't check it">
|
||
<rect class="nj-heat-1" x="593" y="117" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="638" y="132" text-anchor="middle">1.33</text>
|
||
<text class="nj-charts-cell nj-charts-cell--small" x="638" y="145" text-anchor="middle">U</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · write 1.49× the time of the fastest library (fully validating) way: Serialize twitter.json: 258 µs citm_catalog.json: 508 µs canada.json: 5,077 µs jeopardy.json: 72,262 µs">
|
||
<rect class="nj-heat-1" x="685" y="117" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="730" y="138" text-anchor="middle">1.49</text>
|
||
</g>
|
||
<text class="nj-charts-rowlabel " x="216" y="174" text-anchor="end">simdjson</text>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · validate 2.08× the time of the fastest library (fully validating) way: D​OM twitter.json: 297 µs citm_catalog.json: 687 µs canada.json: 3,165 µs jeopardy.json: 111,631 µ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">2.08</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · sum 1.00× the time of the fastest library (fully validating) way: On-Demand twitter.json: 344 µs citm_catalog.json: 809 µs canada.json: 3,405 µs jeopardy.json: 90,960 µs">
|
||
<rect class="nj-heat-0" x="317" y="153" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="362" y="174" text-anchor="middle">1.00</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · select 1.29× the time of the fastest library (fully validating) way: D​OM twitter.json: 311 µs citm_catalog.json: 698 µs canada.json: 3,141 µs jeopardy.json: 130,228 µs">
|
||
<rect class="nj-heat-1" x="409" y="153" width="44" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="431.5" y="174" text-anchor="middle">1.29</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · select, checking less 0.55× the time of the fastest fully validating library twitter.json: 178 µs · On-Demand citm_catalog.json: 494 µs · On-Demand (key selectors) canada.json: 674 µs · On-Demand jeopardy.json: 48,492 µs · On-Demand 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="153" width="44" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="476.5" y="168" text-anchor="middle">0.55</text>
|
||
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="181" text-anchor="middle">P</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · edit simdjson's documents are read-only: it has no A​PI to change a value and write the result">
|
||
<rect class="nj-heat-na" x="501" y="153" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-tick" x="546" y="174">n/a</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · minify 1.49× the time of the fastest library (fully validating) way: D​OM + to_string twitter.json: 666 µs citm_catalog.json: 1,354 µs canada.json: 8,606 µs jeopardy.json: 280,739 µs">
|
||
<rect class="nj-heat-1" x="593" y="153" width="44" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="615.5" y="174" text-anchor="middle">1.49</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · minify, checking less 0.17× the time of the fastest fully validating library way: minify twitter.json: 93.3 µs citm_catalog.json: 279 µs canada.json: 314 µs jeopardy.json: 46,006 µs simdjson::minify() only removes whitespace, without parsing the values">
|
||
<rect class="nj-heat-0" x="639" y="153" width="44" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="660.5" y="168" text-anchor="middle">0.17</text>
|
||
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="181" text-anchor="middle">P</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · write 2.09× the time of the fastest library (fully validating) way: to_string twitter.json: 346 µs citm_catalog.json: 610 µs canada.json: 5,580 µs jeopardy.json: 158,670 µ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.09</text>
|
||
</g>
|
||
<text class="nj-charts-rowlabel " x="216" y="210" text-anchor="end">sonic-rs (Rust)</text>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · validate 1.98× the time of the fastest library (fully validating) way: IgnoredAny twitter.json: 501 µs citm_catalog.json: 970 µs canada.json: 2,249 µs jeopardy.json: 54,369 µs">
|
||
<rect class="nj-heat-2" x="225" y="189" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="270" y="210" text-anchor="middle">1.98</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · sum 1.14× the time of the fastest library (fully validating) way: visitor twitter.json: 501 µs citm_catalog.json: 1,123 µs canada.json: 4,397 µs jeopardy.json: 59,583 µs">
|
||
<rect class="nj-heat-0" x="317" y="189" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="362" y="210" text-anchor="middle">1.14</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · select 1.36× the time of the fastest library (fully validating) way: structs twitter.json: 504 µs citm_catalog.json: 1,033 µs canada.json: 2,328 µs jeopardy.json: 90,486 µs">
|
||
<rect class="nj-heat-1" x="409" y="189" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="454" y="210" text-anchor="middle">1.36</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · edit 1.87× the time of the fastest library (fully validating) way: Value twitter.json: 1,197 µs citm_catalog.json: 2,389 µs canada.json: 7,744 µs jeopardy.json: 390,952 µs">
|
||
<rect class="nj-heat-2" x="501" y="189" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="546" y="210" text-anchor="middle">1.87</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · minify 1.68× the time of the fastest library (fully validating) way: Value twitter.json: 1,000 µs citm_catalog.json: 2,097 µs canada.json: 7,795 µs jeopardy.json: 215,280 µs">
|
||
<rect class="nj-heat-2" x="593" y="189" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="638" y="210" text-anchor="middle">1.68</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · write 2.05× the time of the fastest library (fully validating) way: Value twitter.json: 434 µs citm_catalog.json: 927 µs canada.json: 3,987 µs jeopardy.json: 109,176 µ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">2.05</text>
|
||
</g>
|
||
<text class="nj-charts-rowlabel " x="216" y="246" text-anchor="end">Boost.J​SON</text>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J​SON · validate 1.98× the time of the fastest library (fully validating) way: S​AX (numbers: none) twitter.json: 683 µs citm_catalog.json: 913 µs canada.json: 1,642 µs jeopardy.json: 57,932 µs">
|
||
<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">1.98</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J​SON · sum 1.29× the time of the fastest library (fully validating) way: S​AX twitter.json: 690 µs citm_catalog.json: 956 µs canada.json: 5,762 µs jeopardy.json: 62,051 µs">
|
||
<rect class="nj-heat-1" x="317" y="225" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="362" y="246" text-anchor="middle">1.29</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J​SON · select 2.21× the time of the fastest library (fully validating) twitter.json: 883 µs · parse_into structs citm_catalog.json: 1,286 µs · parse_into structs canada.json: 6,690 µs · parse jeopardy.json: 101,286 µs · parse_into structs">
|
||
<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.21</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J​SON · edit 2.33× the time of the fastest library (fully validating) way: parse twitter.json: 1,859 µs citm_catalog.json: 2,513 µs canada.json: 12,765 µs jeopardy.json: 348,703 µs">
|
||
<rect class="nj-heat-2" x="501" y="225" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="546" y="246" text-anchor="middle">2.33</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J​SON · minify 2.54× the time of the fastest library (fully validating) way: parse + serialize twitter.json: 1,783 µs citm_catalog.json: 2,498 µs canada.json: 12,367 µs jeopardy.json: 329,300 µs">
|
||
<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">2.54</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J​SON · write 2.33× the time of the fastest library (fully validating) way: serialize twitter.json: 451 µs citm_catalog.json: 832 µs canada.json: 5,570 µs jeopardy.json: 138,780 µs">
|
||
<rect class="nj-heat-2" x="685" y="225" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="730" y="246" text-anchor="middle">2.33</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 1.69× the time of the fastest library (fully validating) way: accept twitter.json: 370 µs citm_catalog.json: 883 µs canada.json: 2,441 µs jeopardy.json: 39,142 µs">
|
||
<rect class="nj-heat-2" x="225" y="261" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="270" y="282" text-anchor="middle">1.69</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · sum 1.17× the time of the fastest library (fully validating) way: sax twitter.json: 533 µs citm_catalog.json: 1,113 µs canada.json: 4,134 µs jeopardy.json: 66,403 µ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.17</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · select 6.20× the time of the fastest library (fully validating) twitter.json: 2,984 µs · parse citm_catalog.json: 4,548 µs · parse canada.json: 9,124 µs · structs (from_json) jeopardy.json: 383,108 µ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.20</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · edit 3.42× the time of the fastest library (fully validating) twitter.json: 2,535 µs · ordered_json citm_catalog.json: 4,484 µs · ordered_json canada.json: 13,526 µs · parse jeopardy.json: 635,912 µ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.42</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · minify 4.07× the time of the fastest library (fully validating) way: parse + dump twitter.json: 3,369 µs citm_catalog.json: 5,399 µs canada.json: 13,402 µs jeopardy.json: 493,302 µ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.07</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · write 1.84× the time of the fastest library (fully validating) way: dump twitter.json: 413 µs citm_catalog.json: 611 µs canada.json: 3,905 µs jeopardy.json: 113,990 µ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">1.84</text>
|
||
</g>
|
||
<text class="nj-charts-rowlabel " x="216" y="318" text-anchor="end">simd-json (Rust)</text>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · validate 3.71× the time of the fastest library (fully validating) way: tape (copy) twitter.json: 567 µs citm_catalog.json: 1,430 µs canada.json: 4,359 µs jeopardy.json: 207,551 µs (copy): parses in place, on a copy of the input that is part of the time">
|
||
<rect class="nj-heat-3" x="225" y="297" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="270" y="318" text-anchor="middle">3.71</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · sum 1.93× the time of the fastest library (fully validating) way: visitor (copy) twitter.json: 681 µs citm_catalog.json: 1,650 µs canada.json: 5,083 µs jeopardy.json: 210,185 µs (copy): parses in place, on a copy of the input that is part of the time">
|
||
<rect class="nj-heat-2" x="317" y="297" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="362" y="318" text-anchor="middle">1.93</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · select 2.59× the time of the fastest library (fully validating) way: structs (copy) twitter.json: 679 µs citm_catalog.json: 1,731 µs canada.json: 5,144 µs jeopardy.json: 239,164 µs (copy): parses in place, on a copy of the input that is part of the time">
|
||
<rect class="nj-heat-3" x="409" y="297" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="454" y="318" text-anchor="middle">2.59</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · edit 2.83× the time of the fastest library (fully validating) twitter.json: 1,862 µs · borrowed (copy) citm_catalog.json: 4,194 µs · borrowed (copy) canada.json: 14,896 µs · owned (copy) jeopardy.json: 391,369 µs · borrowed (copy) (copy): parses in place, on a copy of the input that is part of the time">
|
||
<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">2.83</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · minify 3.30× the time of the fastest library (fully validating) way: borrowed (copy) twitter.json: 1,889 µs citm_catalog.json: 4,196 µs canada.json: 15,716 µs jeopardy.json: 414,377 µs (copy): parses in place, on a copy of the input that is part of the time">
|
||
<rect class="nj-heat-3" x="593" y="297" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="638" y="318" text-anchor="middle">3.30</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · write 2.34× the time of the fastest library (fully validating) way: borrowed twitter.json: 582 µs citm_catalog.json: 800 µs canada.json: 5,147 µs jeopardy.json: 122,623 µs">
|
||
<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.34</text>
|
||
</g>
|
||
<text class="nj-charts-rowlabel " x="216" y="354" text-anchor="end">serde_json (Rust)</text>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · validate 2.46× the time of the fastest library (fully validating) way: from_utf8 + IgnoredAny twitter.json: 624 µs citm_catalog.json: 1,440 µs canada.json: 2,406 µs jeopardy.json: 64,720 µs">
|
||
<rect class="nj-heat-2" x="225" y="333" width="44" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="247.5" y="354" text-anchor="middle">2.46</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · validate, checking less 2.19× the time of the fastest fully validating library way: IgnoredAny twitter.json: 484 µs citm_catalog.json: 1,370 µs canada.json: 2,314 µs jeopardy.json: 58,247 µs trusts U​TF-8 in the strings it skips (from_slice); strings it reads are checked">
|
||
<rect class="nj-heat-2" x="271" y="333" width="44" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="292.5" y="348" text-anchor="middle">2.19</text>
|
||
<text class="nj-charts-cell nj-charts-cell--small" x="292.5" y="361" text-anchor="middle">U</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · sum 2.38× the time of the fastest library (fully validating) way: visitor twitter.json: 1,311 µs citm_catalog.json: 2,288 µs canada.json: 7,127 µs jeopardy.json: 129,497 µ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.38</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · select 1.74× the time of the fastest library (fully validating) way: from_utf8 + structs twitter.json: 701 µs citm_catalog.json: 1,532 µs canada.json: 2,529 µs jeopardy.json: 107,316 µs">
|
||
<rect class="nj-heat-2" x="409" y="333" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="454" y="354" text-anchor="middle">1.74</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · edit 4.45× the time of the fastest library (fully validating) way: Value twitter.json: 4,042 µs citm_catalog.json: 6,586 µs canada.json: 16,631 µs jeopardy.json: 632,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">4.45</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · minify 4.80× the time of the fastest library (fully validating) way: Value twitter.json: 4,012 µs citm_catalog.json: 6,583 µs canada.json: 17,306 µs jeopardy.json: 509,702 µ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">4.80</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · write 2.27× the time of the fastest library (fully validating) way: Value twitter.json: 550 µs citm_catalog.json: 887 µs canada.json: 4,005 µs jeopardy.json: 134,163 µs">
|
||
<rect class="nj-heat-2" x="685" y="333" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="730" y="354" text-anchor="middle">2.27</text>
|
||
</g>
|
||
<text class="nj-charts-rowlabel " x="216" y="390" text-anchor="end">RapidJSON</text>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · validate 3.86× the time of the fastest library (fully validating) twitter.json: 1,215 µs · insitu (copy) citm_catalog.json: 1,550 µs · S​AX (string stream, default precision) canada.json: 3,625 µs · S​AX (string stream, default precision) jeopardy.json: 125,139 µs · S​AX (string stream, default precision) (copy): parses in place, on a copy of the input that is part of the time">
|
||
<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">3.86</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · validate, checking less 3.48× the time of the fastest fully validating library twitter.json: 1,052 µs · insitu (copy) (no encoding check) citm_catalog.json: 1,427 µs · S​AX (default precision) (no encoding check) canada.json: 3,625 µs · S​AX (string stream, default precision) (validates fully) jeopardy.json: 104,342 µs · S​AX (string stream) (no encoding check) trusts U​TF-8: RapidJSON's default (kParseValidateEncodingFlag checks it) (copy): parses in place, on a copy of the input that is part of the time">
|
||
<rect class="nj-heat-3" x="271" y="369" width="44" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="292.5" y="384" text-anchor="middle">3.48</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="RapidJSON · sum 2.35× the time of the fastest library (fully validating) twitter.json: 1,256 µs · insitu (copy) citm_catalog.json: 1,713 µs · S​AX (string stream) canada.json: 9,547 µs · S​AX (string stream) jeopardy.json: 127,564 µs · S​AX (string stream) (copy): parses in place, on a copy of the input that is part of the time">
|
||
<rect class="nj-heat-2" x="317" y="369" width="44" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="339.5" y="390" text-anchor="middle">2.35</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · sum, checking less 2.15× the time of the fastest fully validating library twitter.json: 1,099 µs · insitu (copy) (no encoding check) citm_catalog.json: 1,635 µs · S​AX (string stream) (no encoding check) canada.json: 9,105 µs · S​AX (string stream) (no encoding check) jeopardy.json: 113,500 µs · S​AX (string stream) (no encoding check) trusts U​TF-8: RapidJSON's default (kParseValidateEncodingFlag checks it) (copy): parses in place, on a copy of the input that is part of the time">
|
||
<rect class="nj-heat-2" x="363" y="369" width="44" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="384.5" y="384" text-anchor="middle">2.15</text>
|
||
<text class="nj-charts-cell nj-charts-cell--small" x="384.5" y="397" text-anchor="middle">U</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · select 3.17× the time of the fastest library (fully validating) twitter.json: 1,217 µs · insitu (copy) citm_catalog.json: 1,807 µs · insitu (copy) canada.json: 9,688 µs · Document (string stream) jeopardy.json: 152,275 µs · Document (string stream) (copy): parses in place, on a copy of the input that is part of the time">
|
||
<rect class="nj-heat-3" x="409" y="369" width="44" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="431.5" y="390" text-anchor="middle">3.17</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · select, checking less 3.02× the time of the fastest fully validating library twitter.json: 1,056 µs · insitu (copy) (no encoding check) citm_catalog.json: 1,767 µs · insitu (copy) (no encoding check) canada.json: 9,632 µs · Document (string stream) (no encoding check) jeopardy.json: 148,964 µs · Document (string stream) (no encoding check) trusts U​TF-8: RapidJSON's default (kParseValidateEncodingFlag checks it) (copy): parses in place, on a copy of the input that is part of the time">
|
||
<rect class="nj-heat-3" x="455" y="369" width="44" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="476.5" y="384" text-anchor="middle">3.02</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="RapidJSON · edit 2.49× the time of the fastest library (fully validating) twitter.json: 1,896 µs · insitu (copy) citm_catalog.json: 2,754 µs · insitu (copy) canada.json: 19,359 µs · Document (string stream) jeopardy.json: 269,071 µs · Document (string stream) (copy): parses in place, on a copy of the input that is part of the time">
|
||
<rect class="nj-heat-2" x="501" y="369" width="44" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="523.5" y="390" text-anchor="middle">2.49</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · edit, checking less 2.40× the time of the fastest fully validating library twitter.json: 1,749 µs · insitu (copy) (no encoding check) citm_catalog.json: 2,730 µs · insitu (copy) (no encoding check) canada.json: 19,155 µs · Document (string stream) (no encoding check) jeopardy.json: 259,148 µs · Document (string stream) (no encoding check) trusts U​TF-8: RapidJSON's default (kParseValidateEncodingFlag checks it) (copy): parses in place, on a copy of the input that is part of the time">
|
||
<rect class="nj-heat-2" x="547" y="369" width="44" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="568.5" y="384" text-anchor="middle">2.40</text>
|
||
<text class="nj-charts-cell nj-charts-cell--small" x="568.5" y="397" text-anchor="middle">U</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · minify 2.58× the time of the fastest library (fully validating) way: S​AX to Writer (string stream) twitter.json: 1,851 µs citm_catalog.json: 2,429 µs canada.json: 18,810 µs jeopardy.json: 229,769 µs">
|
||
<rect class="nj-heat-3" x="593" y="369" width="44" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="615.5" y="390" text-anchor="middle">2.58</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · minify, checking less 2.36× the time of the fastest fully validating library twitter.json: 1,710 µs · S​AX to Writer (string stream) (no encoding check) citm_catalog.json: 2,429 µs · S​AX to Writer (string stream) (validates fully) canada.json: 14,205 µs · S​AX to Writer (raw numbers) (validates fully) jeopardy.json: 229,769 µs · S​AX to Writer (string stream) (validates fully) trusts U​TF-8: RapidJSON's default (kParseValidateEncodingFlag checks it) copies each number's text instead of formatting it (kParseNumbersAsStringsFlag)">
|
||
<rect class="nj-heat-2" x="639" y="369" width="44" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="660.5" y="384" text-anchor="middle">2.36</text>
|
||
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="397" text-anchor="middle">U N</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · write 2.94× the time of the fastest library (fully validating) way: Writer twitter.json: 638 µs citm_catalog.json: 984 µs canada.json: 8,886 µs jeopardy.json: 131,435 µ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.94</text>
|
||
</g>
|
||
<text class="nj-charts-rowlabel " x="216" y="426" text-anchor="end">Glaze</text>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · validate 2.87× the time of the fastest library (fully validating) way: validate_json twitter.json: 705 µs citm_catalog.json: 1,971 µs canada.json: 2,532 µs jeopardy.json: 74,805 µs">
|
||
<rect class="nj-heat-3" x="225" y="405" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="270" y="426" text-anchor="middle">2.87</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · sum 4.05× the time of the fastest library (fully validating) way: generic (double, strict) twitter.json: 2,317 µs citm_catalog.json: 4,068 µs canada.json: 10,333 µs jeopardy.json: 237,723 µs">
|
||
<rect class="nj-heat-3" x="317" y="405" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="362" y="426" text-anchor="middle">4.05</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · select 1.71× the time of the fastest library (fully validating) way: structs (validate_skipped) twitter.json: 608 µs citm_catalog.json: 1,978 µs canada.json: 2,521 µs jeopardy.json: 90,807 µs">
|
||
<rect class="nj-heat-2" x="409" y="405" width="44" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="431.5" y="426" text-anchor="middle">1.71</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · select, checking less 0.59× the time of the fastest fully validating library way: structs twitter.json: 345 µs citm_catalog.json: 401 µs canada.json: 415 µs jeopardy.json: 67,456 µs reads into structs and steps over fields it doesn't know without checking them (validate_skipped checks them too)">
|
||
<rect class="nj-heat-0" x="455" y="405" width="44" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="476.5" y="420" text-anchor="middle">0.59</text>
|
||
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="433" text-anchor="middle">P</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · edit 4.48× the time of the fastest library (fully validating) way: generic (strict) twitter.json: 3,364 µs citm_catalog.json: 6,036 µs canada.json: 21,592 µs jeopardy.json: 652,302 µs">
|
||
<rect class="nj-heat-3" x="501" y="405" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="546" y="426" text-anchor="middle">4.48</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · minify 4.56× the time of the fastest library (fully validating) way: generic (strict) twitter.json: 3,243 µs citm_catalog.json: 6,175 µs canada.json: 20,961 µs jeopardy.json: 451,368 µs">
|
||
<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.56</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · minify, checking less 0.75× the time of the fastest fully validating library way: minify_json twitter.json: 417 µs citm_catalog.json: 1,299 µs canada.json: 2,699 µs jeopardy.json: 93,794 µs minify_json only removes whitespace, without parsing the values">
|
||
<rect class="nj-heat-0" x="639" y="405" width="44" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="660.5" y="420" text-anchor="middle">0.75</text>
|
||
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="433" text-anchor="middle">P</text>
|
||
</g>
|
||
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · write 1.96× the time of the fastest library (fully validating) way: generic twitter.json: 377 µs citm_catalog.json: 730 µs canada.json: 4,050 µs jeopardy.json: 129,720 µs">
|
||
<rect class="nj-heat-2" x="685" y="405" width="90" height="34" rx="3"/>
|
||
<text class="nj-charts-cell" x="730" y="426" text-anchor="middle">1.96</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​PI for it</text>
|
||
</svg>
|