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

103 lines
13 KiB
XML

<svg class="nj-fig nj-charts nj-charts--blog" viewBox="0 0 620 482" role="img" aria-labelledby="nj-blog-heldout nj-blog-heldout-d" xmlns="http://www.w3.org/2000/svg">
<title id="nj-blog-heldout">Validating 19 files 3.13.0 was not tuned on: json_document&#x27;s time relative to the fastest other library per file</title>
<desc id="nj-blog-heldout-d">Dot plot per file, less is better; below 1.0 json_document is the fastest fully validating library. mesh: Mac 0.67, x86-64 0.57 (simdjson); marine_ik: Mac 0.59, x86-64 0.72 (Boost.J&#8203;SON); semanticscholar-corpus: Mac 0.77, x86-64 0.73 (sonic-rs (Rust)); gsoc-2018: Mac 0.59, x86-64 0.77 (simdjson); mesh.pretty: Mac 0.86, x86-64 0.90 (simdjson); twitterescaped: Mac 0.94, x86-64 1.05 (simdjson); numbers: Mac 0.62, x86-64 1.05 (Boost.J&#8203;SON); twitter_timeline: Mac 0.97, x86-64 1.16 (simdjson); twitter_api_compact_response: Mac 0.91, x86-64 1.17 (simdjson); github_events: Mac 0.79, x86-64 1.18 (simdjson); twitter_api_response: Mac 0.95, x86-64 1.25 (simdjson); instruments: Mac 0.92, x86-64 1.27 (simdjson); tree-pretty: Mac 0.93, x86-64 1.38 (simdjson); update-center: Mac 0.88, x86-64 1.42 (simdjson); google_maps_api_compact_response: Mac 0.86, x86-64 1.43 (yyjson); google_maps_api_response: Mac 0.91, x86-64 1.45 (simdjson); repeat: Mac 0.65, x86-64 1.54 (simdjson); apache_builds: Mac 1.10, x86-64 1.60 (simdjson); random: Mac 0.81, x86-64 1.60 (simdjson).</desc>
<line class="nj-charts-grid" x1="262" y1="50" x2="262" y2="438"/>
<text class="nj-charts-tick" x="262" y="454">0.4&#215;</text>
<line class="nj-charts-grid" x1="291.867" y1="50" x2="291.867" y2="438"/>
<text class="nj-charts-tick" x="291.867" y="454">0.5&#215;</text>
<line class="nj-charts-grid" x1="321.733" y1="50" x2="321.733" y2="438"/>
<text class="nj-charts-tick" x="321.733" y="454">0.6&#215;</text>
<line class="nj-charts-grid" x1="351.6" y1="50" x2="351.6" y2="438"/>
<text class="nj-charts-tick" x="351.6" y="454">0.7&#215;</text>
<line class="nj-charts-grid" x1="381.467" y1="50" x2="381.467" y2="438"/>
<text class="nj-charts-tick" x="381.467" y="454">0.8&#215;</text>
<line class="nj-charts-grid" x1="411.333" y1="50" x2="411.333" y2="438"/>
<text class="nj-charts-tick" x="411.333" y="454">0.9&#215;</text>
<line class="nj-charts-grid" x1="441.2" y1="50" x2="441.2" y2="438"/>
<text class="nj-charts-tick" x="441.2" y="454">1.0&#215;</text>
<line class="nj-charts-grid" x1="471.067" y1="50" x2="471.067" y2="438"/>
<text class="nj-charts-tick" x="471.067" y="454">1.1&#215;</text>
<text class="nj-charts-tick" x="374" y="472">json&#95;document&#8217;s time / the fastest other library&#8217;s, less is better</text>
<circle class="nj-charts-json-dot" cx="13" cy="14" r="5"/><text class="nj-charts-leg" x="23" y="18.5">Apple M1 Max</text>
<circle class="nj-charts-ojson-dot" cx="134.2" cy="14" r="5"/><text class="nj-charts-leg" x="144.2" y="18.5">x86-64, G&#8203;CC 16.2</text>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="48">next on x86-64</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="68" text-anchor="end">mesh</text>
<circle class="nj-charts-json-dot" cx="341.4" cy="60.5" r="4.5"><title>mesh, Apple M1 Max: 0.67&#215; the time of Glaze</title></circle>
<circle class="nj-charts-ojson-dot" cx="312.3" cy="67.5" r="4.5"><title>mesh, x86-64, G&#8203;CC 16.2: 0.57&#215; the time of simdjson</title></circle>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="68">simdjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="88" text-anchor="end">marine&#95;ik</text>
<circle class="nj-charts-json-dot" cx="319.7" cy="80.5" r="4.5"><title>marine&#95;ik, Apple M1 Max: 0.59&#215; the time of Glaze</title></circle>
<circle class="nj-charts-ojson-dot" cx="357.4" cy="87.5" r="4.5"><title>marine&#95;ik, x86-64, G&#8203;CC 16.2: 0.72&#215; the time of Boost.J&#8203;SON</title></circle>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="88">Boost.J&#8203;SON</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="108" text-anchor="end">semanticscholar-corpus</text>
<circle class="nj-charts-json-dot" cx="373.3" cy="100.5" r="4.5"><title>semanticscholar-corpus, Apple M1 Max: 0.77&#215; the time of sonic-rs (Rust)</title></circle>
<circle class="nj-charts-ojson-dot" cx="359.6" cy="107.5" r="4.5"><title>semanticscholar-corpus, x86-64, G&#8203;CC 16.2: 0.73&#215; the time of sonic-rs (Rust)</title></circle>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="108">sonic-rs (Rust)</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="128" text-anchor="end">gsoc-2018</text>
<circle class="nj-charts-json-dot" cx="319.2" cy="120.5" r="4.5"><title>gsoc-2018, Apple M1 Max: 0.59&#215; the time of sonic-rs (Rust)</title></circle>
<circle class="nj-charts-ojson-dot" cx="371.4" cy="127.5" r="4.5"><title>gsoc-2018, x86-64, G&#8203;CC 16.2: 0.77&#215; the time of simdjson</title></circle>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="128">simdjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="148" text-anchor="end">mesh.pretty</text>
<circle class="nj-charts-json-dot" cx="398.0" cy="140.5" r="4.5"><title>mesh.pretty, Apple M1 Max: 0.86&#215; the time of Glaze</title></circle>
<circle class="nj-charts-ojson-dot" cx="411.3" cy="147.5" r="4.5"><title>mesh.pretty, x86-64, G&#8203;CC 16.2: 0.90&#215; the time of simdjson</title></circle>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="148">simdjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="168" text-anchor="end">twitterescaped</text>
<circle class="nj-charts-json-dot" cx="423.9" cy="160.5" r="4.5"><title>twitterescaped, Apple M1 Max: 0.94&#215; the time of yyjson</title></circle>
<circle class="nj-charts-ojson-dot" cx="454.7" cy="167.5" r="4.5"><title>twitterescaped, x86-64, G&#8203;CC 16.2: 1.05&#215; the time of simdjson</title></circle>
<text class="nj-charts-tick nj-charts-tick--l nj-charts-best" x="500" y="168">simdjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="188" text-anchor="end">numbers</text>
<circle class="nj-charts-json-dot" cx="326.8" cy="180.5" r="4.5"><title>numbers, Apple M1 Max: 0.62&#215; the time of Glaze</title></circle>
<circle class="nj-charts-ojson-dot" cx="455.0" cy="187.5" r="4.5"><title>numbers, x86-64, G&#8203;CC 16.2: 1.05&#215; the time of Boost.J&#8203;SON</title></circle>
<text class="nj-charts-tick nj-charts-tick--l nj-charts-best" x="500" y="188">Boost.J&#8203;SON</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="208" text-anchor="end">twitter&#95;timeline</text>
<circle class="nj-charts-json-dot" cx="431.5" cy="200.5" r="4.5"><title>twitter&#95;timeline, Apple M1 Max: 0.97&#215; the time of yyjson</title></circle>
<circle class="nj-charts-ojson-dot" cx="486.0" cy="207.5" r="4.5"><title>twitter&#95;timeline, x86-64, G&#8203;CC 16.2: 1.16&#215; the time of simdjson</title></circle>
<text class="nj-charts-tick nj-charts-tick--l nj-charts-best" x="500" y="208">simdjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="228" text-anchor="end">twitter&#95;api&#95;compact&#95;response</text>
<circle class="nj-charts-json-dot" cx="414.0" cy="220.5" r="4.5"><title>twitter&#95;api&#95;compact&#95;response, Apple M1 Max: 0.91&#215; the time of yyjson</title></circle>
<circle class="nj-charts-ojson-dot" cx="486.0" cy="227.5" r="4.5"><title>twitter&#95;api&#95;compact&#95;response, x86-64, G&#8203;CC 16.2: 1.17&#215; the time of simdjson</title></circle>
<text class="nj-charts-tick nj-charts-tick--l nj-charts-best" x="500" y="228">simdjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="248" text-anchor="end">github&#95;events</text>
<circle class="nj-charts-json-dot" cx="377.4" cy="240.5" r="4.5"><title>github&#95;events, Apple M1 Max: 0.79&#215; the time of simdjson</title></circle>
<circle class="nj-charts-ojson-dot" cx="486.0" cy="247.5" r="4.5"><title>github&#95;events, x86-64, G&#8203;CC 16.2: 1.18&#215; the time of simdjson</title></circle>
<text class="nj-charts-tick nj-charts-tick--l nj-charts-best" x="500" y="248">simdjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="268" text-anchor="end">twitter&#95;api&#95;response</text>
<circle class="nj-charts-json-dot" cx="427.0" cy="260.5" r="4.5"><title>twitter&#95;api&#95;response, Apple M1 Max: 0.95&#215; the time of yyjson</title></circle>
<circle class="nj-charts-ojson-dot" cx="486.0" cy="267.5" r="4.5"><title>twitter&#95;api&#95;response, x86-64, G&#8203;CC 16.2: 1.25&#215; the time of simdjson</title></circle>
<text class="nj-charts-tick nj-charts-tick--l nj-charts-best" x="500" y="268">simdjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="288" text-anchor="end">instruments</text>
<circle class="nj-charts-json-dot" cx="417.4" cy="280.5" r="4.5"><title>instruments, Apple M1 Max: 0.92&#215; the time of yyjson</title></circle>
<circle class="nj-charts-ojson-dot" cx="486.0" cy="287.5" r="4.5"><title>instruments, x86-64, G&#8203;CC 16.2: 1.27&#215; the time of simdjson</title></circle>
<text class="nj-charts-tick nj-charts-tick--l nj-charts-best" x="500" y="288">simdjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="308" text-anchor="end">tree-pretty</text>
<circle class="nj-charts-json-dot" cx="419.9" cy="300.5" r="4.5"><title>tree-pretty, Apple M1 Max: 0.93&#215; the time of yyjson</title></circle>
<circle class="nj-charts-ojson-dot" cx="486.0" cy="307.5" r="4.5"><title>tree-pretty, x86-64, G&#8203;CC 16.2: 1.38&#215; the time of simdjson</title></circle>
<text class="nj-charts-tick nj-charts-tick--l nj-charts-best" x="500" y="308">simdjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="328" text-anchor="end">update-center</text>
<circle class="nj-charts-json-dot" cx="405.3" cy="320.5" r="4.5"><title>update-center, Apple M1 Max: 0.88&#215; the time of sonic-rs (Rust)</title></circle>
<circle class="nj-charts-ojson-dot" cx="486.0" cy="327.5" r="4.5"><title>update-center, x86-64, G&#8203;CC 16.2: 1.42&#215; the time of simdjson</title></circle>
<text class="nj-charts-tick nj-charts-tick--l nj-charts-best" x="500" y="328">simdjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="348" text-anchor="end">google&#95;maps&#95;api&#95;compact&#95;response</text>
<circle class="nj-charts-json-dot" cx="398.5" cy="340.5" r="4.5"><title>google&#95;maps&#95;api&#95;compact&#95;response, Apple M1 Max: 0.86&#215; the time of yyjson</title></circle>
<circle class="nj-charts-ojson-dot" cx="486.0" cy="347.5" r="4.5"><title>google&#95;maps&#95;api&#95;compact&#95;response, x86-64, G&#8203;CC 16.2: 1.43&#215; the time of yyjson</title></circle>
<text class="nj-charts-tick nj-charts-tick--l nj-charts-best" x="500" y="348">yyjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="368" text-anchor="end">google&#95;maps&#95;api&#95;response</text>
<circle class="nj-charts-json-dot" cx="415.8" cy="360.5" r="4.5"><title>google&#95;maps&#95;api&#95;response, Apple M1 Max: 0.91&#215; the time of yyjson</title></circle>
<circle class="nj-charts-ojson-dot" cx="486.0" cy="367.5" r="4.5"><title>google&#95;maps&#95;api&#95;response, x86-64, G&#8203;CC 16.2: 1.45&#215; the time of simdjson</title></circle>
<text class="nj-charts-tick nj-charts-tick--l nj-charts-best" x="500" y="368">simdjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="388" text-anchor="end">repeat</text>
<circle class="nj-charts-json-dot" cx="336.7" cy="380.5" r="4.5"><title>repeat, Apple M1 Max: 0.65&#215; the time of simdjson</title></circle>
<circle class="nj-charts-ojson-dot" cx="486.0" cy="387.5" r="4.5"><title>repeat, x86-64, G&#8203;CC 16.2: 1.54&#215; the time of simdjson</title></circle>
<text class="nj-charts-tick nj-charts-tick--l nj-charts-best" x="500" y="388">simdjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="408" text-anchor="end">apache&#95;builds</text>
<circle class="nj-charts-json-dot" cx="471.0" cy="400.5" r="4.5"><title>apache&#95;builds, Apple M1 Max: 1.10&#215; the time of simdjson</title></circle>
<circle class="nj-charts-ojson-dot" cx="486.0" cy="407.5" r="4.5"><title>apache&#95;builds, x86-64, G&#8203;CC 16.2: 1.60&#215; the time of simdjson</title></circle>
<text class="nj-charts-tick nj-charts-tick--l nj-charts-best" x="500" y="408">simdjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="428" text-anchor="end">random</text>
<circle class="nj-charts-json-dot" cx="383.8" cy="420.5" r="4.5"><title>random, Apple M1 Max: 0.81&#215; the time of simdjson</title></circle>
<circle class="nj-charts-ojson-dot" cx="486.0" cy="427.5" r="4.5"><title>random, x86-64, G&#8203;CC 16.2: 1.60&#215; the time of simdjson</title></circle>
<text class="nj-charts-tick nj-charts-tick--l nj-charts-best" x="500" y="428">simdjson</text>
<line class="nj-charts-ref" x1="441.2" y1="50" x2="441.2" y2="438"/>
<text class="nj-charts-tick" x="441.2" y="44">as fast as the next</text>
</svg>