docs: blog post: measure the x86-64 comparison on a bare-metal EC2 server

Run the comparison with other libraries on x86-64 again on an EC2
c7i.metal-24xl (Xeon Platinum 8488C, Sapphire Rapids) instead of the
shared virtual server: same programs, compilers and -march=haswell, 2 runs.
Run-to-run noise drops from 9-11% to 2.9-5.8% at the 95th percentile.

simdjson dispatches to AVX-512 on this CPU, so it now validates and sums
twitter.json and most of the held-out files faster than json_document;
the prose, the held-out section, the method and Appendix G say so, and
mention the earlier results without AVX-512.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
Niels Lohmann committed 2026-11-25 11:03:32 +01:00
1 parent 8ddda7fc3e
commit e239b95619
9 files changed
+13880 -13858

No files matched your search

@@ -11,8 +11,9 @@
D (9 runs; the probe programs were written again from the descriptions in the table, so their inputs differ in D (9 runs; the probe programs were written again from the descriptions in the table, so their inputs differ in
detail from the earlier ones), the stream gap, the allocator check, and the comparison: on the Mac with Apple clang detail from the earlier ones), the stream gap, the allocator check, and the comparison: on the Mac with Apple clang
(2 runs), GCC 16 and Clang 23 (1 run each) and Rust (1 run), on x86-64 with GCC 16.2, GCC 13.4, Clang 23 and Rust (2 runs), GCC 16 and Clang 23 (1 run each) and Rust (1 run), on x86-64 with GCC 16.2, GCC 13.4, Clang 23 and Rust
(3 runs each), the held-out files and JSONTestSuite on both. Not measured again: the check with link-time (2 runs each, on an EC2 c7i.metal-24xl, 11-25; ~/perf-work/aws has the scripts), the held-out files and
optimization in "Conformance" (Appendix E, 11-03) and the numbers the theme sections quote from pull requests. --> JSONTestSuite on both. Not measured again: the check with link-time optimization in "Conformance" (Appendix E,
11-03) and the numbers the theme sections quote from pull requests. -->
Since 2016, the [README](https://github.com/nlohmann/json#readme) of this library has said this about speed: Since 2016, the [README](https://github.com/nlohmann/json#readme) of this library has said this about speed:
@@ -483,10 +484,10 @@ decimal point 16 bytes at a time with SSE2: a compare and a bit mask instead of
instructions for a 12-digit fraction. Parsing `canada.json` got 22% faster on x86-64, a file of 10,000 floats 28–32%. instructions for a 12-digit fraction. Parsing `canada.json` got 22% faster on x86-64, a file of 10,000 floats 28–32%.
One row got slower: with GCC 16, `citm_catalog.json` took 8% longer with the same number of instructions, because more One row got slower: with GCC 16, `citm_catalog.json` took 8% longer with the same number of instructions, because more
of its hot jumps now crossed a 32-byte boundary. The microcode fix for Intel's JCC erratum makes that slow on our of its hot jumps now crossed a 32-byte boundary. The microcode fix for Intel's JCC erratum makes that slow on the
server. Assembling with `-Wa,-mbranches-within-32B-boundaries` shrinks the loss to about 4%, but a header-only library virtual server we checked it on. Assembling with `-Wa,-mbranches-within-32B-boundaries` shrinks the loss to about 4%,
can't choose the assembler flags of the programs that include it, so we left the code as it is, and all numbers in this but a header-only library can't choose the assembler flags of the programs that include it, so we left the code as it
post are measured without that flag. is, and all numbers in this post are measured without that flag.
### Validating UTF-8 16 bytes at a time ### Validating UTF-8 16 bytes at a time
@@ -1404,12 +1405,12 @@ operating system. It is not neutral in every detail, though:
- The string has 64 bytes of spare capacity, so simdjson, which reads up to 64 bytes past the end, can use it without a - The string has 64 bytes of spare capacity, so simdjson, which reads up to 64 bytes past the end, can use it without a
copy. A program would load the file into such a buffer in the first place. copy. A program would load the file into such a buffer in the first place.
- yyjson, RapidJSON, and simd-json can parse in place, which changes the buffer. So every call gets a fresh copy of the - yyjson, RapidJSON, and simd-json can parse in place, which changes the buffer. So every call gets a fresh copy of the
string, and the copy counts toward their time: about 9 µs for `twitter.json` on the Mac, and 44–60 µs on x86-64, where string, and the copy counts toward their time: about 9 µs for `twitter.json` on the Mac, and about 20 µs on x86-64,
fresh memory costs page faults. yyjson's normal read makes the same copy internally, which is why both ways take about where fresh memory costs page faults. yyjson's normal read makes the same copy internally, which is why both ways take
as long. A server that validates a request and then passes it on needs the copy. A program that reads a file into a about as long. A server that validates a request and then passes it on needs the copy. A program that reads a file
buffer it owns can skip it, so we also timed the in-place ways with the copy made before the timer starts. On the Mac, into a buffer it owns can skip it, so we also timed the in-place ways with the copy made before the timer starts. On
yyjson then comes 3–4% closer, and on `twitter.json` it selects 1.5% faster than `json_document` and sums as fast. On the Mac, yyjson then comes 3–4% closer, and on `twitter.json` it selects 1.5% faster than `json_document` and sums as
x86-64, it ties `json_document` in *sum* with Clang and takes 1.05× and 1.16× its time with GCC 16 and GCC 13. fast. On x86-64, it then takes 1.08–1.10× `json_document`'s time in *sum*.
- `json_document` reads the string in place and keeps pointing into it. A document that owns its text - `json_document` reads the string in place and keeps pointing into it. A document that owns its text
([`parse_copy()`](../../api/basic_json_document/parse_copy.md)) costs one copy more: 3–5% on the Mac. ([`parse_copy()`](../../api/basic_json_document/parse_copy.md)) costs one copy more: 3–5% on the Mac.
- Reading from files and streams is not part of the comparison. - Reading from files and streams is not part of the comparison.
@@ -1475,7 +1476,7 @@ Some caveats belong next to that:
comparison for floats; there, `json_document` is still slightly ahead of yyjson. comparison for floats; there, `json_document` is still slightly ahead of yyjson.
- **Checking less pays in *select*.** If the input needn't be checked fully, simdjson's On-Demand API and Glaze reading - **Checking less pays in *select*.** If the input needn't be checked fully, simdjson's On-Demand API and Glaze reading
into structs select in 0.76× and 0.83× `json_document`'s time (Glaze is faster only on `citm_catalog.json` and into structs select in 0.76× and 0.83× `json_document`'s time (Glaze is faster only on `citm_catalog.json` and
`canada.json`), and in 0.55–0.61× on x86-64: the right halves of the *select* column. `canada.json`), and in 0.44× and 0.64–0.68× on x86-64: the right halves of the *select* column.
- **Indentation.** Two of the four files are indented, which theme - **Indentation.** Two of the four files are indented, which theme
<a class="nj-theme" href="#theme-2" title="theme 2">2</a> helps. On minified copies of `twitter.json` and <a class="nj-theme" href="#theme-2" title="theme 2">2</a> helps. On minified copies of `twitter.json` and
`citm_catalog.json`, yyjson comes closer in *sum* (1.11 → 1.03) and hardly in *validate* (1.27 → 1.26), and `citm_catalog.json`, yyjson comes closer in *sum* (1.11 → 1.03) and hardly in *validate* (1.27 → 1.26), and
@@ -1485,9 +1486,9 @@ Some caveats belong next to that:
numbers as text and write them back unchanged. The output keeps the source's spelling of each number, which is all a numbers as text and write them back unchanged. The output keeps the source's spelling of each number, which is all a
minifier needs. It makes writing `canada.json` with `json_document` 4.1× as fast and minifying it 1.9× as fast; the minifier needs. It makes writing `canada.json` with `json_document` 4.1× as fast and minifying it 1.9× as fast; the
"N" halves of *edit*, *minify*, and *write* show it. "N" halves of *edit*, *minify*, and *write* show it.
- **Small documents.** On a 2.5 KB message, the fastest libraries take about a microsecond on the Mac and 1.1–2 on - **Small documents.** On a 2.5 KB message, the fastest libraries take about a microsecond on the Mac and 0.7–1.1 on
x86-64. yyjson sums it 4% faster than `json_document` on the Mac and validates it in 1.06× its time, and with GCC on x86-64. yyjson sums it 4% faster than `json_document` on the Mac and validates it in 1.06× its time. On x86-64,
x86-64, simdjson and yyjson sum it about as fast. simdjson sums it 18–25% faster with GCC, and with GCC 16 simdjson and yyjson also validate it 13% faster.
### Reading into structs ### Reading into structs
@@ -1505,7 +1506,7 @@ And nlohmann/json without `json_document`? `json` builds a tree of separate allo
needed, the fused parser ([One loop instead of two](#one-loop-instead-of-two)) puts it among the fastest: needed, the fused parser ([One loop instead of two](#one-loop-instead-of-two)) puts it among the fastest:
[`json::accept()`](../../api/basic_json/accept.md) validates the four files in 1.40× `json_document`'s time on the Mac, [`json::accept()`](../../api/basic_json/accept.md) validates the four files in 1.40× `json_document`'s time on the Mac,
ahead of every other library, and a SAX handler sums them in 1.35×, behind only yyjson and simdjson. Boost.JSON takes ahead of every other library, and a SAX handler sums them in 1.35×, behind only yyjson and simdjson. Boost.JSON takes
1.8× and 1.5× as long as `json` there, and 1.2–1.4× and 1.1–1.3× on x86-64. `dump()` writes faster than Boost.JSON, 1.8× and 1.5× as long as `json` there, and 1.4× and 1.3–1.4× on x86-64. `dump()` writes faster than Boost.JSON,
RapidJSON and serde_json, and about as fast as Glaze. RapidJSON and serde_json, and about as fast as Glaze.
Much of Boost.JSON's lead in building a tree comes from its allocator: here it builds the tree in a Much of Boost.JSON's lead in building a tree comes from its allocator: here it builds the tree in a
@@ -1516,11 +1517,13 @@ allocates every string, array, and object on its own as `json` does, `boost::jso
### Results on x86-64 ### Results on x86-64
On x86-64, the same programs ran on a virtual server with Ubuntu 26.04 whose CPU presents itself as Haswell, pinned to On x86-64, the same programs ran on a rented bare-metal server, an Amazon EC2 `c7i.metal-24xl` with an Intel Xeon
one core. We built them with `-march=haswell` and three compilers: the newest GCC, 16.2 (the figure below), GCC 13.4, Platinum 8488C (Sapphire Rapids) and Ubuntu 26.04, pinned to one core, with nothing else running on the machine. We
and Clang 23 (both in [Appendix E](#e-comparison-with-other-libraries)). The compiler matters less than one might think. built them with `-march=haswell`, so nothing is compiled for AVX-512, and three compilers: the newest GCC, 16.2 (the
On the Mac, GCC 16 and Clang 23 put the same library first in every column as Apple clang, and on x86-64, the three figure below), GCC 13.4, and Clang 23 (both in [Appendix E](#e-comparison-with-other-libraries)). simdjson picks its
compilers disagree only about *sum*. kernel when the program starts, though, and uses AVX-512 on this CPU; no other library here does. The compiler matters
less than one might think. On the Mac, GCC 16 and Clang 23 put the same library first in every column as Apple clang,
and on x86-64, the three compilers disagree only about *sum*.
<div class="nj-fig-wrap" markdown> <div class="nj-fig-wrap" markdown>
--8<-- "images/perf_blog_usecases_x86-gcc.svg" --8<-- "images/perf_blog_usecases_x86-gcc.svg"
@@ -1530,34 +1533,32 @@ compilers disagree only about *sum*.
the figure above. Less is better; hover over or tap a cell for the times and the way. The figures for GCC 13 and Clang the figure above. Less is better; hover over or tap a cell for the times and the way. The figures for GCC 13 and Clang
23 are in [Appendix E](#e-comparison-with-other-libraries).</p> 23 are in [Appendix E](#e-comparison-with-other-libraries).</p>
`json_document` has the lowest mean in five of the six columns with every compiler. The exception is *sum*, where `json_document` has the lowest mean in five of the six columns with GCC and in all six with Clang. The exception is
simdjson is ahead with GCC (and sonic-rs, by 1%, with GCC 13), and `json` with a SAX handler with GCC 13 and Clang 23 *sum* with GCC, where simdjson takes 0.81–0.85× its time; with Clang, `json_document` is 4% ahead of simdjson. Between
(with Clang by 5%, all of it on `jeopardy.json`; below). This machine is noisy, though: between two runs, a library's two runs, a library's time relative to `json_document`'s moved by 2.9–5.8% at the 95th percentile (3.0% on the Mac). In
time relative to `json_document`'s moved by up to 9–11% (95th percentile; 3.0% on the Mac), so a lead of 5% is no *validate*, the next ways are simdjson's at 1.40–1.48× and `json::accept()` at 1.46–1.50×, which builds nothing either
result. In *validate*, the next library takes 1.8–1.9× as long, or 1.6–1.7× if every library may reuse its parser, ([One loop instead of two](#one-loop-instead-of-two)); validating no longer builds an index (theme
because validating no longer builds an index (theme <a class="nj-theme" href="#theme-8" title="theme 8">8</a>). The only <a class="nj-theme" href="#theme-8" title="theme 8">8</a>). If every library may reuse its parser, simdjson comes within
way in between is `json::accept()` at 1.4–1.7×, which builds nothing either ([One loop instead of 1.09–1.16×. Behind those means, `json_document` loses on single files:
two](#one-loop-instead-of-two)). Behind those means, `json_document` loses on single files:
- **One pass over every value, with GCC.** simdjson's On-Demand API sums all numbers of `twitter.json`, - **simdjson with AVX-512, on `twitter.json`.** With every compiler, simdjson validates `twitter.json` in 0.77–0.81×
`citm_catalog.json`, and `canada.json` in 0.75–0.92× `json_document`'s time with GCC 16 (0.73–0.94× with GCC 13). With `json_document`'s time, sums it in 0.77–0.84×, and selects from it in 0.73–0.81× (the minified copy alike). It also
Clang, `json_document` is ahead there, except on `canada.json`, where yyjson, which converts the floats during the selects from `citm_catalog.json` in 0.82–0.92×. With GCC, its On-Demand API sums `citm_catalog.json` in 0.72–0.78×
parse, is faster than converting them on access, and on `citm_catalog.json`, where `json`'s SAX handler and and `canada.json` in 0.88–0.99×. On `canada.json`, `json_document` validates and selects fastest with every compiler,
Boost.JSON's are 2% faster. and on `jeopardy.json` it validates faster than a fresh simdjson parser.
- **Fresh large documents.** For the 56 MB `jeopardy.json`, a fresh document needs a fresh 52 MB index, and on Linux the - **Fresh large documents.** For the 56 MB `jeopardy.json`, a fresh document needs a fresh 52 MB index, and on Linux the
page faults of that much new memory are a large part of the time: copying the file into fresh memory alone takes about page faults of that much new memory are a large part of the time: copying the file into fresh memory alone takes about
50% as long as `json_document`'s parse. Boost.JSON's SAX parser and sonic-rs, which build nothing, sum it in half as long as `json_document`'s parse. Boost.JSON's SAX parser and sonic-rs, which build nothing, sum it in
0.62–0.72× the time, and `json`'s SAX handler in 0.70–0.80×. Reusing the document cuts `json_document`'s time by 0.69–0.91× the time, and `json`'s SAX handler in 0.76–0.83×; sonic-rs also selects from it into structs in 0.86–0.87×.
39–40%, to 54–56 ms, slightly less than sonic-rs's 57 ms. Validating needs no index: `json_document::accept()` takes Reusing the document cuts `json_document`'s time by 31–32%, to 31–32 ms, about as fast as sonic-rs's 32 ms.
35–37 ms, `json::accept()` 38–43 ms, and no other library validates `jeopardy.json` faster, even reused (the next are Validating needs no index: `json_document::accept()` takes 23 ms, `json::accept()` 24–25 ms, sonic-rs 34 ms, and a
simdjson's reused parser and sonic-rs at 48–53 ms). On the Mac, a fresh document costs hardly more than a reused one. fresh simdjson parser 48–49 ms; only simdjson's reused parser is faster, at 17–19 ms. On the Mac, a fresh document
- **Writing floats.** yyjson writes `canada.json` in 0.87–0.96× the time (and Glaze with GCC 13 and `json`'s `dump()` costs hardly more than a reused one.
with GCC 16, which start from `double`s, in 0.96× and 1.00×), because `json_document` first converts most floats from - **The minified `citm_catalog.json`.** Without the indentation, Boost.JSON's SAX parser sums it in 0.78–0.84×
their text. Writing the source text instead (`number_format::source`, the "N" half) avoids that. - **simdjson's DOM.** `json_document`'s time, and `json`'s SAX handler and yyjson in 0.84–0.95×.
It selects from `citm_catalog.json` 20% faster with GCC 16 and 8–12% faster with GCC 13 and Clang 23, and from
`twitter.json` 2% faster with GCC 16. Boost.JSON, Glaze, sonic-cpp, and yyjson are ahead in a few more cells, by The rest is close: yyjson sums and selects from the minified `twitter.json` and `citm_catalog.json` 2–13% faster with
1–10%: summing `citm_catalog.json` (Boost.JSON), selecting from `jeopardy.json` (Glaze) or writing it (sonic-cpp with GCC, and writes `canada.json` 2% faster with GCC 16.
Clang), and summing or selecting from the minified `citm_catalog.json` (yyjson). Most of that is within the noise.
The full tables, with each library's variants, are in [Appendix E](#e-comparison-with-other-libraries). The full tables, with each library's variants, are in [Appendix E](#e-comparison-with-other-libraries).
@@ -1565,9 +1566,10 @@ The full tables, with each library's variants, are in [Appendix E](#e-comparison
The four files are the ones 3.13.0 was tuned on, so we also ran *validate*, *sum*, *minify*, and *write* on the 19 other The four files are the ones 3.13.0 was tuned on, so we also ran *validate*, *sum*, *minify*, and *write* on the 19 other
files of simdjson's [`jsonexamples`](https://github.com/simdjson/simdjson-data/tree/master/jsonexamples). By geometric files of simdjson's [`jsonexamples`](https://github.com/simdjson/simdjson-data/tree/master/jsonexamples). By geometric
mean, `json_document` stays the fastest in *validate*, *minify*, and *write* on every compiler, and in *sum* with Clang mean, `json_document` stays the fastest in *minify* and *write* on every compiler, and in *validate* and *sum* on the
and on the Mac; with GCC, simdjson sums in 0.86–0.87× its time. `json::accept()` validates them in 1.4–1.6× the time Mac. On x86-64, simdjson with AVX-512 sums them in 0.73–0.87× its time and validates them in 0.94× and 0.98× with GCC 16
of `json_document` on x86-64, close to simdjson (1.43–1.46×), the fastest other library. File by file, for *validate*: and GCC 13; with Clang, `json_document` validates them 2% faster. `json::accept()` validates them in 1.4–1.5× the time
of `json_document` on x86-64. File by file, for *validate*:
<div class="nj-fig-wrap" markdown> <div class="nj-fig-wrap" markdown>
--8<-- "images/perf_blog_heldout.svg" --8<-- "images/perf_blog_heldout.svg"
@@ -1577,13 +1579,15 @@ of `json_document` on x86-64, close to simdjson (1.43–1.46×), the fastest oth
fastest other library's, per file; below 1.0× it is the fastest. Less is better. The right column names the next library fastest other library's, per file; below 1.0× it is the fastest. Less is better. The right column names the next library
on x86-64 (GCC 16.2).</p> on x86-64 (GCC 16.2).</p>
`json_document` validates all 19 files fastest with GCC 16 and Clang 23, though simdjson comes within 2% on On the Mac, `json_document` validates 18 of the 19 files fastest; simdjson validates `apache_builds` 9% faster. On
`google_maps_api_response` with GCC 16 and within 1% on `tree-pretty` with Clang 23. On the Mac and with GCC 13 it is x86-64, simdjson's AVX-512 kernel validates 11–12 of them faster, up to 1.6× as fast (`random` and `apache_builds`),
18: simdjson validates `apache_builds` 9% faster on the Mac, and Boost.JSON validates `mesh.pretty` 1% faster with GCC yyjson `google_maps_api_compact_response` and Boost.JSON `numbers`. `json_document` stays the fastest on five files with
13. Before validating every compiler (six with GCC 13): by 1.3–1.8× on the number-heavy `mesh`, `marine_ik`, `gsoc-2018`, and
without an index (theme <a class="nj-theme" href="#theme-8" title="theme 8">8</a>) and skipping fraction digits 16 bytes `semanticscholar-corpus`, whose floats it converts only when read, and by 2–11% on `mesh.pretty`. On the virtual server
at a time (theme <a class="nj-theme" href="#theme-2" title="theme 2">2</a>), Boost.JSON validated the number-heavy files without AVX-512 that we measured on before, a Haswell-class CPU, `json_document` validated all 19 files fastest with GCC
up to 1.5× as fast on x86-64. 16 and Clang 23 and 18 with GCC 13. Before validating without an index (theme <a class="nj-theme" href="#theme-8"
title="theme 8">8</a>) and skipping fraction digits 16 bytes at a time (theme <a class="nj-theme" href="#theme-2"
title="theme 2">2</a>), Boost.JSON validated the number-heavy files up to 1.5× as fast on that server.
The four probes are broken inputs that tell full validation from less ([Appendix E](#e-comparison-with-other-libraries) The four probes are broken inputs that tell full validation from less ([Appendix E](#e-comparison-with-other-libraries)
lists them). As a further check, every *validate* way also ran the 318 files of lists them). As a further check, every *validate* way also ran the 318 files of
@@ -2060,12 +2064,12 @@ libraries: [yyjson](https://github.com/ibireme/yyjson) 0.13.0, [simdjson](https:
and Clang 23 with `-march=haswell` on Ubuntu 26.04, pinned to one core; Rust 1.100 on the Mac and 1.99 with `-C and Clang 23 with `-march=haswell` on Ubuntu 26.04, pinned to one core; Rust 1.100 on the Mac and 1.99 with `-C
target-cpu=haswell` on x86-64. Every variant runs in every round, in a different order each round (a shuffle with a target-cpu=haswell` on x86-64. Every variant runs in every round, in a different order each round (a shuffle with a
fixed seed), each timed call after an untimed one; the time is the best of 2 × 30 rounds on the Mac (1 × 30 for the Rust fixed seed), each timed call after an untimed one; the time is the best of 2 × 30 rounds on the Mac (1 × 30 for the Rust
programs) and 3 × 30 on x86-64 (6 rounds per run for `jeopardy.json`). Boost.JSON uses a monotonic resource and precise programs) and 2 × 30 on x86-64 (6 rounds per run for `jeopardy.json`). Boost.JSON uses a monotonic resource and precise
number parsing, RapidJSON `kParseFullPrecisionFlag` (except in *validate*, which reads no number), serde_json number parsing, RapidJSON `kParseFullPrecisionFlag` (except in *validate*, which reads no number), serde_json
`float_roundtrip`: every number a library converts has to be exact. That rule, like the others here, is our choice. `float_roundtrip`: every number a library converts has to be exact. That rule, like the others here, is our choice.
Between two runs, a C++ library's time relative to `json_document`'s moved by 0.3% at the median and 3.0% at the 95th Between two runs, a C++ library's time relative to `json_document`'s moved by 0.3% at the median and 3.0% at the 95th
percentile on the Mac, and by 2.7–3.4% and 9–11% on x86-64, a virtual server that shares its cores (we added the third percentile on the Mac, and by 0.4–0.6% and 2.9–5.8% on x86-64. The x86-64 server is a whole machine rented by the hour
run there for that reason). (EC2 `c7i.metal-24xl`), so anyone can rerun the comparison on the same hardware.
**Validation levels.** A way validates fully if it rejects all four broken inputs (cut short by one byte, a stray comma, **Validation levels.** A way validates fully if it rejects all four broken inputs (cut short by one byte, a stray comma,
an invalid UTF-8 byte in a string, garbage after the value); "U" accepts the invalid UTF-8 byte; "P" accepts one of the an invalid UTF-8 byte in a string, garbage after the value); "U" accepts the invalid UTF-8 byte; "P" accepts one of the
@@ -2084,10 +2088,11 @@ the input; [`JSON_STRICT_NUL_HANDLING`](../../api/macros/json_strict_nul_handlin
`json_document`), an incomplete UTF-8 byte-order mark in RapidJSON, an invalid `\u` escape in sonic-rs's `IgnoredAny`, `json_document`), an incomplete UTF-8 byte-order mark in RapidJSON, an invalid `\u` escape in sonic-rs's `IgnoredAny`,
and, in 17 files, garbage after the value in Glaze's generic reader without `validate_trailing_whitespace`. sonic-rs, and, in 17 files, garbage after the value in Glaze's generic reader without `validate_trailing_whitespace`. sonic-rs,
and RapidJSON's SAX reader with GCC 16.2 on x86-64, crash with a stack overflow on the two files nested 100,000 levels and RapidJSON's SAX reader with GCC 16.2 on x86-64, crash with a stack overflow on the two files nested 100,000 levels
deep (arrays, and arrays and objects in turn). Neither machine has AVX-512, so simdjson's fastest kernel never ran, and deep (arrays, and arrays and objects in turn). The x86-64 server has AVX-512, which simdjson uses through its runtime
yyjson and simdjson are compiled as separate files without link-time optimization, while the header-only libraries dispatch even though everything is compiled with `-march=haswell`; the Mac has no AVX-512. yyjson and simdjson are
inline into the benchmark. Built with link-time optimization, and simdjson as C++23 like the rest, they moved by less compiled as separate files without link-time optimization, while the header-only libraries inline into the benchmark.
than 3% against `json_document` on average (Apple clang and GCC 16). Built with link-time optimization, and simdjson as C++23 like the rest, they moved by less than 3% against
`json_document` on average (Apple clang and GCC 16, measured on the Mac and on the earlier virtual server).
**Choices.** A library's time is its fastest fully validating way per file; "(U …)", "(P …)" and "(N …)" give a faster **Choices.** A library's time is its fastest fully validating way per file; "(U …)", "(P …)" and "(N …)" give a faster
way that checks or does less. A cell of the figures is the geometric mean of a library's four times, divided by the way that checks or does less. A cell of the figures is the geometric mean of a library's four times, divided by the
@@ -2218,96 +2223,96 @@ cell for the times and the way.</p>
| library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) | | library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) |
| --- | --- | --: | --: | --: | --: | --: | | --- | --- | --: | --: | --: | --: | --: |
| **nlohmann/json `json_document`** | accept | 256 | 521 | 928 | 36,964 | 1.1 | | **nlohmann/json `json_document`** | accept | 161 | 314 | 674 | 23,002 | 0.8 |
| nlohmann/json `json` | accept | 371 | 890 | 2,471 | 42,859 | 1.3 | | simdjson | DOM | 124 | 316 | 1,619 | 48,032 | 0.7 |
| sonic-rs (Rust) | IgnoredAny | 481 | 972 | 2,300 | 53,361 | 1.8 | | nlohmann/json `json` | accept | 228 | 509 | 1,425 | 24,220 | 0.9 |
| Boost.JSON | SAX, SAX (numbers: none) | 681 | 909 | 1,644 | 59,913 | 2.9 | | sonic-rs (Rust) | IgnoredAny, Value | 290 | 548 | 1,234 | 34,104 | 1.2 |
| yyjson | insitu (copy), read, read (raw numbers) | 394 | 934 | 2,136 | 132,469 | 1.6 | | yyjson | insitu (copy), read, read (raw numbers) | 201 | 569 | 1,479 | 66,298 | 0.7 |
| simdjson | DOM | 309 | 680 | 3,226 | 122,358 | 1.7 | | sonic-cpp | Document [U] | – (U 249) | – (U 607) | – (U 1,895) | – (U 49,126) | – (U 0.9) |
| sonic-cpp | Document [U] | – (U 403) | – (U 930) | – (U 3,204) | – (U 101,665) | – (U 1.6) | | Boost.JSON | SAX, SAX (numbers: none) | 451 | 675 | 1,102 | 40,709 | 1.5 |
| serde_json (Rust) | IgnoredAny [U], from_utf8 + IgnoredAny | 623 (U 481) | 1,442 (U 1,371) | 2,426 (U 2,325) | 64,116 (U 58,120) | 2.4 (U 1.9) | | Glaze | validate_json | 365 | 819 | 1,368 | 45,611 | 1.5 |
| Glaze | validate_json | 712 | 1,982 | 2,536 | 76,300 | 2.5 | | serde_json (Rust) | IgnoredAny [U], from_utf8 + IgnoredAny | 387 (U 258) | 992 (U 846) | 1,558 (U 1,428) | 32,686 (U 30,731) | 1.5 (U 1.0) |
| simd-json (Rust) | tape (copy) | 596 | 1,434 | 4,216 | 201,446 | 3.0 | | simd-json (Rust) | tape (copy) | 323 | 887 | 2,670 | 107,087 | 1.7 |
| RapidJSON | SAX (default precision) (no encoding check) [U], SAX (string stream), SAX (string stream) (no encoding check) [U], SAX (string stream, default precision), SAX (string stream, default precision) (no encoding check) [U], insitu (copy), insitu (copy) (no encoding check) [U] | 1,209 (U 1,048) | 1,545 (U 1,448) | 3,639 | 134,406 (U 115,752) | 4.9 (U 3.3) | | RapidJSON | SAX (default precision) (no encoding check) [U], SAX (no encoding check) [U], SAX (string stream), SAX (string stream) (no encoding check) [U], SAX (string stream, default precision), SAX (string stream, default precision) (no encoding check) [U], insitu (copy) | 720 (U 527) | 834 (U 671) | 2,085 | 71,142 (U 62,900) | 2.6 (U 1.9) |
**sum** **sum**
| library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) | | library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) |
| --- | --- | --: | --: | --: | --: | --: | | --- | --- | --: | --: | --: | --: | --: |
| simdjson | On-Demand | 354 | 794 | 3,423 | 98,904 | 1.9 | | simdjson | On-Demand | 162 | 413 | 1,841 | 40,935 | 0.9 |
| **nlohmann/json `json_document`** | parse | 389 | 1,063 | 3,706 | 92,004 | 1.9 | | **nlohmann/json `json_document`** | parse | 212 | 527 | 1,865 | 46,072 | 1.2 |
| sonic-rs (Rust) | visitor | 502 | 1,138 | 4,363 | 56,951 | 2.5 | | nlohmann/json `json` | sax | 279 | 603 | 2,154 | 38,169 | 1.2 |
| sonic-cpp | Document [U] | – (U 462) | – (U 1,115) | – (U 3,806) | – (U 111,650) | – (U 2.0) | | sonic-rs (Rust) | visitor | 287 | 604 | 2,643 | 32,088 | 1.3 |
| nlohmann/json `json` | sax | 534 | 1,104 | 4,194 | 73,399 | 2.3 | | yyjson | insitu (copy), read | 243 | 675 | 2,261 | 72,368 | 1.0 |
| yyjson | insitu (copy) | 448 | 1,093 | 4,264 | 149,359 | 1.9 | | sonic-cpp | Document [U] | – (U 287) | – (U 738) | – (U 2,244) | – (U 56,954) | – (U 1.2) |
| Boost.JSON | SAX | 696 | 966 | 5,723 | 64,788 | 2.9 | | Boost.JSON | SAX | 453 | 683 | 2,991 | 40,992 | 1.6 |
| simd-json (Rust) | visitor (copy) | 697 | 1,627 | 5,110 | 218,368 | 3.6 | | simd-json (Rust) | visitor (copy) | 384 | 1,021 | 3,151 | 118,952 | 2.1 |
| serde_json (Rust) | visitor | 1,308 | 2,338 | 7,232 | 122,584 | 4.3 | | serde_json (Rust) | visitor | 772 | 1,228 | 4,790 | 70,198 | 2.5 |
| RapidJSON | SAX (string stream), SAX (string stream) (no encoding check) [U], insitu (copy), insitu (copy) (no encoding check) [U] | 1,256 (U 1,099) | 1,730 (U 1,630) | 9,592 (U 9,201) | 135,774 (U 121,847) | 5.3 (U 3.6) | | RapidJSON | SAX (no encoding check) [U], SAX (string stream), SAX (string stream) (no encoding check) [U], insitu (copy) | 768 (U 554) | 848 (U 769) | 6,147 | 73,302 (U 67,805) | 2.8 (U 1.9) |
| Glaze | generic (double) [P], generic (double, strict), lazy_json [P] | 2,330 | 4,187 | 10,661 | 249,277 | 8.6 (P 6.6) | | Glaze | generic (double) [P], generic (double, strict), lazy_json [P] | 1,307 | 2,173 | 5,243 | 135,830 | 4.6 (P 3.4) |
**select** **select**
| library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) | | library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) |
| --- | --- | --: | --: | --: | --: | --: | | --- | --- | --: | --: | --: | --: | --: |
| **nlohmann/json `json_document`** | parse | 328 | 860 | 1,305 | 90,569 | 1.6 | | **nlohmann/json `json_document`** | parse, structs (from_json) | 177 | 394 | 699 | 46,890 | 1.0 |
| yyjson | insitu (copy), read, read (raw numbers) | 406 | 953 | 2,209 | 142,873 | 1.7 | | simdjson | DOM, On-Demand (key selectors) [P], On-Demand [P] | 130 (P 72.0) | 324 (P 228) | 1,622 (P 274) | 56,255 (P 19,511) | 0.9 (P 0.5) |
| sonic-rs (Rust) | structs | 503 | 1,034 | 2,299 | 93,390 | 2.0 | | yyjson | insitu (copy), read (raw numbers) | 197 | 575 | 1,470 | 72,154 | 0.9 |
| simdjson | DOM, On-Demand (key selectors) [P], On-Demand [P] | 323 (P 188) | 691 (P 484) | 3,260 (P 691) | 130,073 (P 49,348) | 2.0 (P 1.1) | | sonic-rs (Rust) | Value, structs | 294 | 609 | 1,237 | 40,453 | 1.3 |
| sonic-cpp | Document [U] | – (U 408) | – (U 929) | – (U 3,448) | – (U 109,315) | – (U 1.7) | | sonic-cpp | Document [U] | – (U 252) | – (U 609) | – (U 1,903) | – (U 57,482) | – (U 1.0) |
| Glaze | structs (validate_skipped), structs [P] | 605 (P 342) | 1,968 (P 399) | 2,726 (P 416) | 87,932 (P 69,639) | 2.1 (P 1.5) | | Glaze | structs (validate_skipped), structs [P] | 324 (P 210) | 836 (P 214) | 1,337 (P 263) | 46,893 (P 34,599) | 1.2 (P 0.9) |
| serde_json (Rust) | from_utf8 + structs, structs [U] | 731 | 1,546 | 2,458 (U 2,377) | 117,515 | 2.9 | | serde_json (Rust) | from_utf8 + structs, structs [U] | 434 (U 367) | 1,055 (U 946) | 1,560 (U 1,420) | 53,880 | 1.7 (U 1.6) |
| Boost.JSON | parse_into structs | 876 | 1,233 | 7,075 | 99,149 | 3.7 | | Boost.JSON | parse, parse_into structs | 509 | 728 | 3,345 | 54,057 | 2.0 |
| simd-json (Rust) | structs (copy) | 704 | 1,788 | 4,953 | 257,184 | 3.5 | | simd-json (Rust) | structs (copy) | 401 | 1,106 | 3,070 | 134,048 | 2.1 |
| RapidJSON | Document (string stream), Document (string stream) (no encoding check) [U], insitu (copy), insitu (copy) (no encoding check) [U] | 1,220 (U 1,056) | 1,806 | 10,273 | 150,859 (U 141,002) | 5.1 (U 3.5) | | RapidJSON | Document (no encoding check) [U], Document (raw numbers), Document (string stream), Document (string stream) (no encoding check) [U], insitu (copy), insitu (copy) (no encoding check) [U] | 731 (U 635) | 999 (U 948) | 5,153 | 84,837 | 2.8 (U 2.1) |
| nlohmann/json `json` | parse, structs (from_json) | 3,056 | 4,512 | 9,774 | 399,063 | 15.6 | | nlohmann/json `json` | parse, structs (from_json) | 1,702 | 2,626 | 4,787 | 233,043 | 8.6 |
**edit** **edit**
| library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) | | library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) |
| --- | --- | --: | --: | --: | --: | --: | | --- | --- | --: | --: | --: | --: | --: |
| **nlohmann/json `json_document`** | editable, editable (source numbers) [N] | 533 | 1,238 | 5,830 (N 2,233) | 199,767 | 3.1 (N 3.0) | | **nlohmann/json `json_document`** | editable, editable (source numbers) [N] | 285 | 593 | 2,935 (N 1,211) | 103,015 | 1.8 |
| sonic-cpp | Document [U] | – (U 618) | – (U 1,494) | – (U 8,986) | – (U 189,566) | – (U 3.4) | | sonic-cpp | Document [U] | – (U 364) | – (U 903) | – (U 5,172) | – (U 101,668) | – (U 1.8) |
| yyjson | insitu (copy) + mut copy, mut copy | 791 | 1,640 | 7,936 | 312,064 | 3.7 | | yyjson | insitu (copy) + mut copy, mut copy | 473 | 1,030 | 4,352 | 170,778 | 2.1 |
| sonic-rs (Rust) | Value | 1,259 | 2,509 | 7,762 | 422,005 | 7.3 | | sonic-rs (Rust) | Value | 668 | 1,374 | 4,662 | 246,664 | 4.2 |
| Boost.JSON | parse | 1,771 | 2,584 | 13,346 | 356,511 | 8.5 | | Boost.JSON | parse | 970 | 1,240 | 6,520 | 186,182 | 4.2 |
| RapidJSON | Document (string stream), Document (string stream) (no encoding check) [U], insitu (copy), insitu (copy) (no encoding check) [U] | 1,904 (U 1,739) | 2,848 | 19,321 | 281,952 (U 272,848) | 8.9 (U 7.4) | | RapidJSON | Document (no encoding check) [U], Document (string stream), Document (string stream) (no encoding check) [U], insitu (copy), insitu (copy) (no encoding check) [U] | 1,214 (U 1,045) | 1,525 (U 1,444) | 13,209 | 169,737 | 5.0 (U 4.1) |
| simd-json (Rust) | borrowed (copy), owned (copy) | 1,891 | 4,398 | 14,798 | 425,344 | 9.3 | | simd-json (Rust) | borrowed (copy) | 1,224 | 2,630 | 8,994 | 226,271 | 5.8 |
| nlohmann/json `json` | ordered_json, parse | 2,528 | 4,619 | 14,018 | 639,844 | 11.8 | | nlohmann/json `json` | ordered_json, parse | 1,539 | 2,433 | 7,166 | 360,524 | 7.0 |
| Glaze | generic (strict), generic [P] | 3,407 | 5,979 | 21,368 | 655,655 | 14.5 | | Glaze | generic (strict), generic [P] | 1,997 | 3,422 | 11,754 | 344,348 | 8.4 |
| serde_json (Rust) | Value | 4,374 | 6,628 | 16,819 | 729,615 | 17.5 | | serde_json (Rust) | Value | 2,423 | 3,549 | 10,095 | 389,645 | 9.5 |
**minify** **minify**
| library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) | | library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) |
| --- | --- | --: | --: | --: | --: | --: | | --- | --- | --: | --: | --: | --: | --: |
| **nlohmann/json `json_document`** | parse + dump, parse + dump (source numbers) [N] | 486 (N 464) | 1,142 | 5,420 (N 2,155) | 148,094 | 2.5 (N 2.4) | | **nlohmann/json `json_document`** | parse + dump, parse + dump (source numbers) [N] | 253 | 551 | 2,759 (N 1,186) | 74,924 | 1.4 |
| yyjson | insitu (copy) + write, read (raw numbers) + write [N], read + write | 616 | 1,280 (N 1,217) | 6,769 (N 2,947) | 195,258 | 3.0 (N 2.9) | | yyjson | insitu (copy) + write, read (raw numbers) + write [N], read + write | 354 | 773 | 3,881 (N 2,009) | 108,260 | 1.6 |
| sonic-cpp | Document + Serialize [U] | – (U 636) | – (U 1,464) | – (U 8,499) | – (U 175,278) | – (U 3.3) | | sonic-cpp | Document + Serialize [U] | – (U 372) | – (U 904) | – (U 5,165) | – (U 88,729) | – (U 1.7) |
| simdjson | DOM + to_string, minify [P] | 685 (P 107) | 1,350 (P 248) | 9,034 (P 361) | 285,582 (P 45,130) | 3.7 (P 0.5) | | simdjson | DOM + to_string, minify [P] | 312 (P 28.4) | 649 (P 73.3) | 5,335 (P 132) | 141,097 (P 18,285) | 1.8 (P 0.1) |
| sonic-rs (Rust) | Value | 1,004 | 2,128 | 7,896 | 222,496 | 5.3 | | sonic-rs (Rust) | Value | 521 | 1,163 | 4,568 | 112,037 | 2.9 |
| Boost.JSON | parse + serialize | 1,785 | 2,461 | 12,928 | 327,846 | 8.5 | | Boost.JSON | parse + serialize | 980 | 1,226 | 6,526 | 168,104 | 4.3 |
| RapidJSON | SAX to Writer (raw numbers) (no encoding check) [U N], SAX to Writer (string stream), SAX to Writer (string stream) (no encoding check) [U] | 1,864 (U 1,698) | 2,424 | 19,538 (U N 14,842) | 240,185 (U 227,210) | 8.4 (U 6.3) | | RapidJSON | SAX to Writer (no encoding check) [U], SAX to Writer (raw numbers) [N], SAX to Writer (string stream), SAX to Writer (string stream) (no encoding check) [U] | 1,077 (U 840) | 1,214 (U 1,112) | 12,631 (N 5,855) | 142,919 (U 133,903) | 4.3 (U 3.6) |
| simd-json (Rust) | borrowed (copy) | 1,858 | 4,281 | 15,500 | 405,012 | 8.9 | | simd-json (Rust) | borrowed (copy) | 1,194 | 2,602 | 8,985 | 217,085 | 5.7 |
| Glaze | generic (strict), minify_json [P] | 3,235 (P 416) | 6,052 (P 1,293) | 21,639 (P 2,680) | 478,428 (P 97,816) | 14.0 (P 1.9) | | nlohmann/json `json` | parse + dump | 2,075 | 2,952 | 7,166 | 297,955 | 9.7 |
| nlohmann/json `json` | parse + dump | 3,546 | 5,252 | 13,446 | 517,087 | 17.6 | | Glaze | generic (strict), minify_json [P] | 1,928 (P 259) | 3,380 (P 749) | 11,774 (P 1,610) | 256,577 (P 51,976) | 8.0 (P 1.3) |
| serde_json (Rust) | Value | 4,034 | 6,745 | 16,795 | 525,375 | 16.3 | | serde_json (Rust) | Value | 2,396 | 3,633 | 10,095 | 271,504 | 9.6 |
**write** **write**
| library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) | | library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) |
| --- | --- | --: | --: | --: | --: | --: | | --- | --- | --: | --: | --: | --: | --: |
| **nlohmann/json `json_document`** | dump, dump (source numbers) [N] | 156 (N 137) | 252 (N 230) | 3,972 (N 828) | 73,004 (N 69,980) | 0.9 (N 0.8) | | **nlohmann/json `json_document`** | dump, dump (source numbers) [N] | 79.3 (N 69.8) | 157 (N 143) | 2,058 (N 467) | 33,000 | 0.5 (N 0.4) |
| yyjson | write | 184 | 320 | 3,473 | 75,045 | 1.3 | | yyjson | write | 129 | 193 | 2,025 | 39,462 | 0.8 |
| sonic-cpp | Serialize | 259 | 506 | 5,302 | 76,633 | 1.6 | | sonic-cpp | Serialize | 120 | 298 | 3,275 | 34,116 | 0.7 |
| nlohmann/json `json` | dump | 418 | 602 | 3,971 | 123,598 | 1.8 | | simdjson | to_string | 168 | 320 | 3,632 | 82,490 | 0.9 |
| simdjson | to_string | 347 | 611 | 5,531 | 176,034 | 1.9 | | sonic-rs (Rust) | Value | 230 | 515 | 2,458 | 49,042 | 1.3 |
| Glaze | generic | 380 | 739 | 4,230 | 141,486 | 2.0 | | Boost.JSON | serialize | 244 | 408 | 3,162 | 71,417 | 1.2 |
| sonic-rs (Rust) | Value | 437 | 907 | 4,002 | 100,023 | 2.7 | | nlohmann/json `json` | dump | 305 | 370 | 2,385 | 80,091 | 1.1 |
| Boost.JSON | serialize | 454 | 830 | 5,720 | 156,687 | 2.4 | | Glaze | generic, generic (strict) | 265 | 423 | 2,384 | 72,074 | 1.4 |
| simd-json (Rust) | borrowed | 584 | 833 | 4,983 | 114,016 | 2.8 | | simd-json (Rust) | borrowed | 390 | 501 | 3,146 | 59,808 | 1.5 |
| serde_json (Rust) | Value | 562 | 837 | 4,122 | 130,002 | 3.2 | | serde_json (Rust) | Value | 399 | 590 | 2,432 | 73,863 | 2.2 |
| RapidJSON | Writer | 640 | 976 | 9,324 | 144,013 | 3.7 | | RapidJSON | Writer | 368 | 500 | 6,527 | 81,166 | 2.2 |
??? info "Times in µs on x86-64 with GCC 13.4" ??? info "Times in µs on x86-64 with GCC 13.4"
@@ -2315,96 +2320,96 @@ cell for the times and the way.</p>
| library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) | | library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) |
| --- | --- | --: | --: | --: | --: | --: | | --- | --- | --: | --: | --: | --: | --: |
| **nlohmann/json `json_document`** | accept | 267 | 556 | 989 | 34,784 | 1.2 | | **nlohmann/json `json_document`** | accept | 163 | 317 | 707 | 22,634 | 0.8 |
| nlohmann/json `json` | accept | 312 | 693 | 2,325 | 38,149 | 1.3 | | nlohmann/json `json` | accept | 215 | 464 | 1,527 | 24,556 | 0.9 |
| sonic-rs (Rust) | IgnoredAny | 481 | 972 | 2,300 | 53,361 | 1.8 | | simdjson | DOM | 132 | 335 | 1,616 | 48,463 | 0.8 |
| Boost.JSON | SAX, SAX (numbers: none) | 706 | 934 | 1,653 | 61,295 | 3.2 | | sonic-rs (Rust) | IgnoredAny, Value | 290 | 548 | 1,234 | 34,104 | 1.2 |
| simdjson | DOM | 315 | 740 | 3,156 | 115,609 | 1.8 | | yyjson | insitu (copy), read, read (raw numbers) | 213 | 547 | 1,476 | 67,966 | 0.9 |
| yyjson | insitu (copy), read, read (raw numbers) | 390 | 988 | 2,242 | 129,865 | 1.7 | | sonic-cpp | Document [U] | – (U 260) | – (U 626) | – (U 1,959) | – (U 50,164) | – (U 1.0) |
| Glaze | validate_json | 585 | 1,415 | 1,841 | 72,992 | 2.4 | | Glaze | validate_json | 337 | 830 | 1,204 | 47,033 | 1.4 |
| sonic-cpp | Document [U] | – (U 407) | – (U 1,038) | – (U 3,585) | – (U 94,110) | – (U 1.6) | | Boost.JSON | SAX, SAX (numbers: none) | 469 | 673 | 1,110 | 41,431 | 1.6 |
| serde_json (Rust) | IgnoredAny [U], from_utf8 + IgnoredAny | 623 (U 481) | 1,442 (U 1,371) | 2,426 (U 2,325) | 64,116 (U 58,120) | 2.4 (U 1.9) | | serde_json (Rust) | IgnoredAny [U], from_utf8 + IgnoredAny | 387 (U 258) | 992 (U 846) | 1,558 (U 1,428) | 32,686 (U 30,731) | 1.5 (U 1.0) |
| simd-json (Rust) | tape (copy) | 596 | 1,434 | 4,216 | 201,446 | 3.0 | | simd-json (Rust) | tape (copy) | 323 | 887 | 2,670 | 107,087 | 1.7 |
| RapidJSON | SAX (default precision), SAX (default precision) (no encoding check) [U], SAX (string stream) (no encoding check) [U], SAX (string stream, default precision), insitu (copy), insitu (copy) (no encoding check) [U] | 1,670 (U 1,118) | 2,088 (U 1,496) | 4,079 | 210,237 (U 127,764) | 7.5 (U 3.7) | | RapidJSON | SAX (default precision), SAX (default precision) (no encoding check) [U], SAX (raw numbers) (no encoding check) [U], SAX (string stream), SAX (string stream) (no encoding check) [U], SAX (string stream, default precision) (no encoding check) [U], insitu (copy) | 951 (U 637) | 959 (U 742) | 2,406 | 126,804 (U 90,124) | 3.5 (U 2.1) |
**sum** **sum**
| library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) | | library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) |
| --- | --- | --: | --: | --: | --: | --: | | --- | --- | --: | --: | --: | --: | --: |
| simdjson | On-Demand | 363 | 802 | 3,324 | 97,185 | 2.0 | | simdjson | On-Demand | 165 | 387 | 1,721 | 41,228 | 0.9 |
| nlohmann/json `json` | sax | 451 | 934 | 3,981 | 66,877 | 2.3 | | **nlohmann/json `json_document`** | parse | 212 | 535 | 1,959 | 46,233 | 1.1 |
| **nlohmann/json `json_document`** | parse | 388 | 1,091 | 3,889 | 90,821 | 2.0 | | nlohmann/json `json` | sax | 252 | 570 | 2,166 | 35,846 | 1.2 |
| sonic-rs (Rust) | visitor | 502 | 1,138 | 4,363 | 56,951 | 2.5 | | sonic-rs (Rust) | visitor | 287 | 604 | 2,643 | 32,088 | 1.3 |
| sonic-cpp | Document [U] | – (U 477) | – (U 1,234) | – (U 4,592) | – (U 108,471) | – (U 2.0) | | yyjson | insitu (copy), read | 251 | 648 | 2,390 | 74,294 | 1.1 |
| yyjson | insitu (copy), read | 447 | 1,151 | 6,089 | 143,993 | 2.1 | | sonic-cpp | Document [U] | – (U 294) | – (U 746) | – (U 2,339) | – (U 57,826) | – (U 1.2) |
| Boost.JSON | SAX | 726 | 1,044 | 5,769 | 65,800 | 3.2 | | Boost.JSON | SAX | 470 | 686 | 3,030 | 41,988 | 1.7 |
| simd-json (Rust) | visitor (copy) | 697 | 1,627 | 5,110 | 218,368 | 3.6 | | simd-json (Rust) | visitor (copy) | 384 | 1,021 | 3,151 | 118,952 | 2.1 |
| serde_json (Rust) | visitor | 1,308 | 2,338 | 7,232 | 122,584 | 4.3 | | serde_json (Rust) | visitor | 772 | 1,228 | 4,790 | 70,198 | 2.5 |
| RapidJSON | SAX (no encoding check) [U], SAX (string stream), SAX (string stream) (no encoding check) [U], insitu (copy), insitu (copy) (no encoding check) [U] | 1,669 (U 1,168) | 2,463 (U 1,801) | 11,062 | 227,084 (U 128,664) | 7.4 (U 4.0) | | RapidJSON | SAX, SAX (no encoding check) [U], SAX (string stream), SAX (string stream) (no encoding check) [U], insitu (copy) | 1,007 (U 621) | 1,091 (U 810) | 6,884 | 132,180 (U 83,148) | 4.0 (U 2.3) |
| Glaze | generic (double, strict), lazy_json [P] | 2,300 | 4,139 | 11,207 | 258,486 (P 221,626) | 8.5 (P 6.5) | | Glaze | generic (double) [P], generic (double, strict), lazy_json [P] | 1,381 (P 1,301) | 2,416 (P 2,270) | 5,536 | 145,097 (P 136,554) | 4.9 (P 3.5) |
**select** **select**
| library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) | | library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) |
| --- | --- | --: | --: | --: | --: | --: | | --- | --- | --: | --: | --: | --: | --: |
| **nlohmann/json `json_document`** | parse, structs (from_json) | 330 | 856 | 1,359 | 93,555 | 1.6 | | **nlohmann/json `json_document`** | parse | 175 | 411 | 739 | 47,064 | 1.0 |
| sonic-rs (Rust) | structs | 503 | 1,034 | 2,299 | 93,390 | 2.0 | | simdjson | DOM, On-Demand (key selectors) [P], On-Demand [P] | 137 (P 74.2) | 343 (P 230) | 1,616 (P 278) | 56,960 (P 19,882) | 0.9 (P 0.5) |
| yyjson | insitu (copy), read, read (raw numbers) | 401 | 998 | 2,224 | 145,375 | 1.8 | | sonic-rs (Rust) | Value, structs | 294 | 609 | 1,237 | 40,453 | 1.3 |
| simdjson | DOM, On-Demand (key selectors) [P], On-Demand [P] | 331 (P 195) | 752 (P 500) | 3,113 (P 712) | 131,434 (P 50,740) | 2.0 (P 1.2) | | yyjson | insitu (copy), read, read (raw numbers) | 211 | 552 | 1,480 | 73,477 | 1.0 |
| Glaze | structs (validate_skipped), structs [P] | 524 (P 340) | 1,508 (P 418) | 1,842 (P 425) | 89,876 (P 69,179) | 1.9 (P 1.4) | | sonic-cpp | Document [U] | – (U 252) | – (U 636) | – (U 1,969) | – (U 58,807) | – (U 1.0) |
| sonic-cpp | Document [U] | – (U 426) | – (U 1,043) | – (U 3,620) | – (U 111,296) | – (U 1.7) | | Glaze | structs (validate_skipped), structs [P] | 325 (P 205) | 955 (P 224) | 1,134 (P 262) | 47,661 (P 34,634) | 1.2 (P 0.8) |
| serde_json (Rust) | from_utf8 + structs, structs [U] | 731 | 1,546 | 2,458 (U 2,377) | 117,515 | 2.9 | | serde_json (Rust) | from_utf8 + structs, structs [U] | 434 (U 367) | 1,055 (U 946) | 1,560 (U 1,420) | 53,880 | 1.7 (U 1.6) |
| simd-json (Rust) | structs (copy) | 704 | 1,788 | 4,953 | 257,184 | 3.5 | | Boost.JSON | parse, parse_into structs | 501 | 738 | 3,510 | 54,976 | 2.2 |
| Boost.JSON | parse_into structs | 878 | 1,376 | 6,923 | 99,339 | 3.9 | | simd-json (Rust) | structs (copy) | 401 | 1,106 | 3,070 | 134,048 | 2.1 |
| RapidJSON | Document (no encoding check) [U], insitu (copy), insitu (copy) (no encoding check) [U] | 1,689 (U 1,141) | 2,293 (U 1,933) | 11,368 | 219,141 (U 166,136) | 7.5 (U 4.0) | | RapidJSON | Document (no encoding check) [U], Document (raw numbers), insitu (copy), insitu (copy) (no encoding check) [U] | 972 (U 731) | 1,210 (U 988) | 5,602 | 138,557 (U 98,816) | 3.6 (U 2.4) |
| nlohmann/json `json` | parse, structs (from_json) | 3,064 | 4,711 | 9,429 | 402,074 | 15.7 | | nlohmann/json `json` | parse, structs (from_json) | 1,692 | 2,506 | 5,048 | 232,140 | 8.8 |
**edit** **edit**
| library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) | | library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) |
| --- | --- | --: | --: | --: | --: | --: | | --- | --- | --: | --: | --: | --: | --: |
| **nlohmann/json `json_document`** | editable, editable (source numbers) [N] | 537 | 1,204 | 5,808 (N 2,626) | 201,668 | 3.0 | | **nlohmann/json `json_document`** | editable, editable (source numbers) [N] | 281 | 610 | 3,060 (N 1,387) | 103,192 | 1.8 |
| sonic-cpp | Document [U] | – (U 634) | – (U 1,551) | – (U 8,997) | – (U 194,991) | – (U 3.4) | | sonic-cpp | Document [U] | – (U 381) | – (U 948) | – (U 5,392) | – (U 104,318) | – (U 1.8) |
| yyjson | insitu (copy) + mut copy, mut copy | 804 | 1,712 | 10,035 | 326,615 | 3.8 | | yyjson | insitu (copy) + mut copy, mut copy | 499 | 1,013 | 4,676 | 177,912 | 2.3 |
| sonic-rs (Rust) | Value | 1,259 | 2,509 | 7,762 | 422,005 | 7.3 | | sonic-rs (Rust) | Value | 668 | 1,374 | 4,662 | 246,664 | 4.2 |
| Boost.JSON | parse | 1,976 | 2,879 | 13,688 | 375,667 | 9.4 | | Boost.JSON | parse | 1,023 | 1,414 | 6,793 | 192,570 | 4.7 |
| simd-json (Rust) | borrowed (copy), owned (copy) | 1,891 | 4,398 | 14,798 | 425,344 | 9.3 | | simd-json (Rust) | borrowed (copy) | 1,224 | 2,630 | 8,994 | 226,271 | 5.8 |
| RapidJSON | Document (string stream), insitu (copy), insitu (copy) (no encoding check) [U] | 2,376 (U 1,857) | 3,337 (U 2,879) | 20,168 | 377,995 (U 311,780) | 11.6 (U 7.7) | | RapidJSON | Document (no encoding check) [U], Document (string stream), insitu (copy), insitu (copy) (no encoding check) [U] | 1,469 (U 1,094) | 1,708 (U 1,486) | 13,755 | 223,070 (U 183,792) | 6.2 (U 4.5) |
| nlohmann/json `json` | ordered_json, parse | 2,557 | 4,346 | 13,389 | 632,590 | 12.4 | | nlohmann/json `json` | ordered_json, parse | 1,546 | 2,561 | 7,456 | 365,109 | 7.0 |
| Glaze | generic (strict), generic [P] | 3,545 | 6,349 | 23,341 | 683,028 | 15.7 | | Glaze | generic (strict), generic [P] | 2,007 | 3,558 | 12,681 | 352,094 | 8.6 |
| serde_json (Rust) | Value | 4,374 | 6,628 | 16,819 | 729,615 | 17.5 | | serde_json (Rust) | Value | 2,423 | 3,549 | 10,095 | 389,645 | 9.5 |
**minify** **minify**
| library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) | | library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) |
| --- | --- | --: | --: | --: | --: | --: | | --- | --- | --: | --: | --: | --: | --: |
| **nlohmann/json `json_document`** | parse + dump, parse + dump (source numbers) [N] | 480 | 1,128 | 5,283 (N 2,250) | 141,931 | 2.4 | | **nlohmann/json `json_document`** | parse + dump, parse + dump (source numbers) [N] | 258 | 557 | 2,872 (N 1,259) | 74,762 | 1.4 |
| yyjson | insitu (copy) + write, read (raw numbers) + write [N], read + write | 617 | 1,328 | 8,961 (N 2,946) | 201,616 | 3.0 | | yyjson | insitu (copy) + write, read (raw numbers) + write [N], read + write | 340 | 724 | 4,199 (N 1,912) | 109,351 | 1.7 |
| sonic-cpp | Document + Serialize [U] | – (U 657) | – (U 1,589) | – (U 8,871) | – (U 170,528) | – (U 3.3) | | simdjson | DOM + to_string, minify [P] | 325 (P 28.6) | 669 (P 73.4) | 4,935 (P 132) | 139,695 (P 18,644) | 1.8 (P 0.1) |
| simdjson | DOM + to_string, minify [P] | 699 (P 132) | 1,393 (P 324) | 8,627 (P 456) | 287,360 (P 47,323) | 3.9 (P 0.6) | | sonic-cpp | Document + Serialize [U] | – (U 390) | – (U 963) | – (U 5,388) | – (U 90,851) | – (U 1.8) |
| sonic-rs (Rust) | Value | 1,004 | 2,128 | 7,896 | 222,496 | 5.3 | | sonic-rs (Rust) | Value | 521 | 1,163 | 4,568 | 112,037 | 2.9 |
| Boost.JSON | parse + serialize | 1,986 | 2,952 | 13,108 | 340,742 | 9.4 | | Boost.JSON | parse + serialize | 1,043 | 1,408 | 6,792 | 174,241 | 4.8 |
| simd-json (Rust) | borrowed (copy) | 1,858 | 4,281 | 15,500 | 405,012 | 8.9 | | simd-json (Rust) | borrowed (copy) | 1,194 | 2,602 | 8,985 | 217,085 | 5.7 |
| RapidJSON | SAX to Writer, SAX to Writer (no encoding check) [U], SAX to Writer (raw numbers) [N], SAX to Writer (string stream), SAX to Writer (string stream) (no encoding check) [U] | 2,779 (U 1,825) | 3,186 (U 2,589) | 20,444 (N 15,112) | 365,448 (U 249,502) | 14.6 (U 8.1) | | RapidJSON | SAX to Writer, SAX to Writer (no encoding check) [U], SAX to Writer (raw numbers) (no encoding check) [U N], SAX to Writer (raw numbers) [N], SAX to Writer (string stream), SAX to Writer (string stream) (no encoding check) [U] | 1,389 (U N 900) | 1,464 (U 1,211) | 13,219 (N 6,518) | 204,970 (U 150,245) | 7.3 (U 3.9) |
| nlohmann/json `json` | parse + dump | 3,501 | 5,137 | 13,474 | 515,010 | 17.9 | | nlohmann/json `json` | parse + dump | 2,054 | 2,863 | 7,502 | 296,521 | 9.9 |
| Glaze | generic (strict), minify_json [P] | 3,450 (P 424) | 6,536 (P 1,152) | 23,496 (P 2,338) | 479,270 (P 94,568) | 15.3 (P 2.0) | | Glaze | generic (strict), minify_json [P] | 1,953 (P 280) | 3,499 (P 826) | 12,670 (P 1,492) | 264,336 (P 53,780) | 8.0 (P 1.3) |
| serde_json (Rust) | Value | 4,034 | 6,745 | 16,795 | 525,375 | 16.3 | | serde_json (Rust) | Value | 2,396 | 3,633 | 10,095 | 271,504 | 9.6 |
**write** **write**
| library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) | | library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) |
| --- | --- | --: | --: | --: | --: | --: | | --- | --- | --: | --: | --: | --: | --: |
| **nlohmann/json `json_document`** | dump, dump (source numbers) [N] | 152 (N 145) | 273 (N 256) | 3,935 (N 867) | 68,184 | 0.9 (N 0.8) | | **nlohmann/json `json_document`** | dump, dump (source numbers) [N] | 80.5 (N 75.2) | 158 (N 148) | 2,124 (N 498) | 32,579 | 0.5 |
| yyjson | write | 194 | 334 | 3,611 | 74,399 | 1.3 | | yyjson | write | 111 | 167 | 2,183 | 38,692 | 0.7 |
| sonic-cpp | Serialize | 265 | 543 | 5,106 | 74,824 | 1.6 | | sonic-cpp | Serialize | 131 | 293 | 3,421 | 34,783 | 0.8 |
| Glaze | generic | 341 | 682 | 3,764 | 131,880 | 1.8 | | simdjson | to_string | 169 | 323 | 3,239 | 80,814 | 0.9 |
| nlohmann/json `json` | dump | 424 | 621 | 4,129 | 122,334 | 2.0 | | Glaze | generic | 193 | 388 | 2,334 | 73,274 | 0.9 |
| simdjson | to_string | 364 | 636 | 5,171 | 166,268 | 2.0 | | sonic-rs (Rust) | Value | 230 | 515 | 2,458 | 49,042 | 1.3 |
| sonic-rs (Rust) | Value | 437 | 907 | 4,002 | 100,023 | 2.7 | | nlohmann/json `json` | dump | 296 | 380 | 2,451 | 80,667 | 1.1 |
| simd-json (Rust) | borrowed | 584 | 833 | 4,983 | 114,016 | 2.8 | | Boost.JSON | serialize | 261 | 540 | 3,272 | 71,770 | 1.4 |
| serde_json (Rust) | Value | 562 | 837 | 4,122 | 130,002 | 3.2 | | simd-json (Rust) | borrowed | 390 | 501 | 3,146 | 59,808 | 1.5 |
| Boost.JSON | serialize | 476 | 1,016 | 6,029 | 150,430 | 2.6 | | serde_json (Rust) | Value | 399 | 590 | 2,432 | 73,863 | 2.2 |
| RapidJSON | Writer | 672 | 1,013 | 8,930 | 141,949 | 4.1 | | RapidJSON | Writer | 355 | 500 | 6,686 | 78,122 | 2.1 |
??? info "Times in µs on x86-64 with Clang 23" ??? info "Times in µs on x86-64 with Clang 23"
@@ -2412,96 +2417,96 @@ cell for the times and the way.</p>
| library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) | | library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) |
| --- | --- | --: | --: | --: | --: | --: | | --- | --- | --: | --: | --: | --: | --: |
| **nlohmann/json `json_document`** | accept | 252 | 510 | 1,050 | 35,577 | 1.1 | | **nlohmann/json `json_document`** | accept | 158 | 301 | 692 | 22,891 | 0.8 |
| nlohmann/json `json` | accept | 336 | 737 | 2,027 | 40,932 | 1.4 | | nlohmann/json `json` | accept | 219 | 494 | 1,247 | 25,192 | 0.9 |
| sonic-rs (Rust) | IgnoredAny | 481 | 972 | 2,300 | 53,361 | 1.8 | | simdjson | DOM | 129 | 339 | 1,706 | 49,134 | 0.8 |
| Boost.JSON | SAX, SAX (numbers: none) | 581 | 912 | 1,760 | 57,050 | 2.3 | | sonic-rs (Rust) | IgnoredAny, Value | 290 | 548 | 1,234 | 34,104 | 1.2 |
| yyjson | insitu (copy), read (raw numbers) | 385 | 910 | 2,581 | 132,858 | 1.6 | | sonic-cpp | Document [U] | – (U 246) | – (U 564) | – (U 1,750) | – (U 50,682) | – (U 1.0) |
| simdjson | DOM | 311 | 761 | 3,351 | 122,419 | 1.8 | | Glaze | validate_json | 314 | 688 | 1,119 | 42,232 | 1.4 |
| sonic-cpp | Document [U] | – (U 445) | – (U 1,016) | – (U 3,131) | – (U 103,050) | – (U 1.9) | | Boost.JSON | SAX, SAX (numbers: none) | 395 | 672 | 1,144 | 40,109 | 1.2 |
| Glaze | validate_json | 597 | 1,248 | 2,185 | 79,602 | 2.5 | | yyjson | insitu (copy), read | 206 | 531 | 1,676 | 69,260 | 0.9 |
| serde_json (Rust) | IgnoredAny [U], from_utf8 + IgnoredAny | 623 (U 481) | 1,442 (U 1,371) | 2,426 (U 2,325) | 64,116 (U 58,120) | 2.4 (U 1.9) | | serde_json (Rust) | IgnoredAny [U], from_utf8 + IgnoredAny | 387 (U 258) | 992 (U 846) | 1,558 (U 1,428) | 32,686 (U 30,731) | 1.5 (U 1.0) |
| simd-json (Rust) | tape (copy) | 596 | 1,434 | 4,216 | 201,446 | 3.0 | | simd-json (Rust) | tape (copy) | 323 | 887 | 2,670 | 107,087 | 1.7 |
| RapidJSON | SAX (default precision), SAX (default precision) (no encoding check) [U], SAX (string stream, default precision), SAX (string stream, default precision) (no encoding check) [U], insitu (copy), insitu (copy) (no encoding check) [U] | 1,876 (U 1,188) | 1,936 (U 1,511) | 4,075 | 249,149 (U 140,226) | 8.2 (U 4.1) | | RapidJSON | SAX (default precision), SAX (default precision) (no encoding check) [U], SAX (no encoding check) [U], SAX (raw numbers), SAX (string stream, default precision), SAX (string stream, default precision) (no encoding check) [U], insitu (copy) | 937 (U 623) | 900 (U 728) | 2,075 | 123,143 (U 93,128) | 4.4 (U 2.2) |
**sum** **sum**
| library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) | | library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) |
| --- | --- | --: | --: | --: | --: | --: | | --- | --- | --: | --: | --: | --: | --: |
| nlohmann/json `json` | sax | 435 | 924 | 3,856 | 62,754 | 2.1 | | **nlohmann/json `json_document`** | parse | 208 | 501 | 1,918 | 46,213 | 1.1 |
| **nlohmann/json `json_document`** | parse | 371 | 946 | 3,678 | 90,047 | 1.9 | | simdjson | DOM | 174 | 479 | 2,160 | 59,125 | 1.1 |
| sonic-rs (Rust) | visitor | 502 | 1,138 | 4,363 | 56,951 | 2.5 | | nlohmann/json `json` | sax | 256 | 601 | 2,131 | 35,298 | 1.2 |
| simdjson | DOM, On-Demand | 400 | 966 | 4,170 | 123,672 | 2.2 | | sonic-rs (Rust) | visitor | 287 | 604 | 2,643 | 32,088 | 1.3 |
| yyjson | insitu (copy), read | 441 | 1,049 | 3,558 | 137,831 | 1.9 | | yyjson | insitu (copy), read | 241 | 634 | 2,079 | 75,758 | 1.2 |
| sonic-cpp | Document [U] | – (U 513) | – (U 1,179) | – (U 3,721) | – (U 111,659) | – (U 2.2) | | sonic-cpp | Document [U] | – (U 293) | – (U 692) | – (U 2,141) | – (U 58,785) | – (U 1.2) |
| Boost.JSON | SAX | 622 | 931 | 5,982 | 59,067 | 2.3 | | Boost.JSON | SAX | 392 | 675 | 3,399 | 39,552 | 1.2 |
| simd-json (Rust) | visitor (copy) | 697 | 1,627 | 5,110 | 218,368 | 3.6 | | simd-json (Rust) | visitor (copy) | 384 | 1,021 | 3,151 | 118,952 | 2.1 |
| serde_json (Rust) | visitor | 1,308 | 2,338 | 7,232 | 122,584 | 4.3 | | serde_json (Rust) | visitor | 772 | 1,228 | 4,790 | 70,198 | 2.5 |
| RapidJSON | SAX, SAX (no encoding check) [U], SAX (string stream), SAX (string stream) (no encoding check) [U], insitu (copy), insitu (copy) (no encoding check) [U] | 2,016 (U 1,293) | 2,185 (U 1,788) | 10,785 | 250,615 (U 138,375) | 8.5 (U 4.5) | | RapidJSON | SAX, SAX (no encoding check) [U], SAX (string stream), SAX (string stream) (no encoding check) [U], insitu (copy) | 977 (U 606) | 1,025 (U 804) | 6,628 | 129,798 (U 94,996) | 4.6 (U 2.5) |
| Glaze | generic (double) [P], generic (double, strict), lazy_json [P] | 2,554 (P 2,457) | 4,115 (P 3,970) | 12,368 | 262,454 (P 214,642) | 9.5 (P 6.0) | | Glaze | generic (double) [P], generic (double, strict), lazy_json [P] | 1,362 | 2,299 | 6,012 | 143,894 (P 122,038) | 5.0 (P 3.2) |
**select** **select**
| library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) | | library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) |
| --- | --- | --: | --: | --: | --: | --: | | --- | --- | --: | --: | --: | --: | --: |
| **nlohmann/json `json_document`** | parse, structs (from_json) | 318 | 785 | 1,369 | 91,072 | 1.6 | | **nlohmann/json `json_document`** | parse | 170 | 374 | 714 | 46,743 | 1.0 |
| sonic-rs (Rust) | structs | 503 | 1,034 | 2,299 | 93,390 | 2.0 | | simdjson | DOM, On-Demand (key selectors) [P], On-Demand [P], On-Demand structs [P] | 137 (P 69.1) | 345 (P 219) | 1,704 (P 261) | 57,080 (P 19,564) | 0.9 (P 0.5) |
| yyjson | insitu (copy), read, read (raw numbers) | 393 | 898 | 2,573 | 141,566 | 1.7 | | sonic-rs (Rust) | Value, structs | 294 | 609 | 1,237 | 40,453 | 1.3 |
| simdjson | DOM, On-Demand (key selectors) [P], On-Demand [P] | 324 (P 189) | 725 (P 490) | 3,466 (P 722) | 129,588 (P 50,946) | 1.9 (P 1.1) | | yyjson | insitu (copy), read | 202 | 532 | 1,674 | 75,109 | 1.0 |
| Glaze | structs (validate_skipped), structs [P] | 547 (P 339) | 1,363 (P 415) | 1,986 (P 444) | 88,526 (P 68,385) | 2.2 (P 1.6) | | Glaze | structs (validate_skipped), structs [P] | 303 (P 200) | 750 (P 226) | 1,129 (P 280) | 47,576 (P 35,865) | 1.2 (P 0.9) |
| sonic-cpp | Document [U] | – (U 459) | – (U 1,027) | – (U 3,080) | – (U 117,426) | – (U 1.9) | | sonic-cpp | Document [U] | – (U 261) | – (U 572) | – (U 1,752) | – (U 59,327) | – (U 1.0) |
| serde_json (Rust) | from_utf8 + structs, structs [U] | 731 | 1,546 | 2,458 (U 2,377) | 117,515 | 2.9 | | serde_json (Rust) | from_utf8 + structs, structs [U] | 434 (U 367) | 1,055 (U 946) | 1,560 (U 1,420) | 53,880 | 1.7 (U 1.6) |
| Boost.JSON | parse, parse_into structs | 774 | 1,390 | 7,402 | 103,660 | 3.3 | | Boost.JSON | parse, parse_into structs | 422 | 715 | 3,815 | 53,913 | 1.7 |
| simd-json (Rust) | structs (copy) | 704 | 1,788 | 4,953 | 257,184 | 3.5 | | simd-json (Rust) | structs (copy) | 401 | 1,106 | 3,070 | 134,048 | 2.1 |
| RapidJSON | Document (string stream), Document (string stream) (no encoding check) [U], insitu (copy), insitu (copy) (no encoding check) [U] | 1,914 (U 1,189) | 2,348 (U 1,944) | 12,212 | 265,247 (U 184,135) | 8.7 (U 4.5) | | RapidJSON | Document, Document (no encoding check) [U], Document (raw numbers), Document (string stream) (no encoding check) [U], insitu (copy), insitu (copy) (no encoding check) [U] | 1,034 (U 694) | 1,171 (U 901) | 5,223 | 147,421 (U 111,804) | 4.4 (U 2.8) |
| nlohmann/json `json` | parse, structs (from_json) | 3,372 | 4,542 | 10,118 | 421,436 | 19.1 | | nlohmann/json `json` | parse, structs (from_json) | 1,858 | 2,782 | 5,057 | 256,520 | 9.8 |
**edit** **edit**
| library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) | | library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) |
| --- | --- | --: | --: | --: | --: | --: | | --- | --- | --: | --: | --: | --: | --: |
| **nlohmann/json `json_document`** | editable, editable (source numbers) [N] | 520 | 1,151 | 5,756 (N 2,431) | 205,350 | 3.0 | | **nlohmann/json `json_document`** | editable, editable (source numbers) [N] | 276 | 594 | 2,949 (N 1,324) | 103,847 | 1.8 (N 1.7) |
| sonic-cpp | Document [U] | – (U 637) | – (U 1,486) | – (U 7,877) | – (U 186,385) | – (U 3.3) | | sonic-cpp | Document [U] | – (U 364) | – (U 843) | – (U 5,309) | – (U 102,212) | – (U 1.7) |
| yyjson | insitu (copy) + mut copy, mut copy | 819 | 1,670 | 7,475 | 322,774 | 4.0 | | yyjson | insitu (copy) + mut copy, mut copy | 482 | 1,008 | 4,242 | 173,943 | 2.4 |
| sonic-rs (Rust) | Value | 1,259 | 2,509 | 7,762 | 422,005 | 7.3 | | sonic-rs (Rust) | Value | 668 | 1,374 | 4,662 | 246,664 | 4.2 |
| Boost.JSON | parse | 1,763 | 2,592 | 13,530 | 357,829 | 8.4 | | Boost.JSON | parse | 936 | 1,302 | 6,990 | 191,545 | 4.2 |
| simd-json (Rust) | borrowed (copy), owned (copy) | 1,891 | 4,398 | 14,798 | 425,344 | 9.3 | | simd-json (Rust) | borrowed (copy) | 1,224 | 2,630 | 8,994 | 226,271 | 5.8 |
| RapidJSON | Document (string stream) (no encoding check) [U], insitu (copy), insitu (copy) (no encoding check) [U] | 2,472 (U 1,931) | 3,226 (U 2,868) | 22,184 (U 21,421) | 393,111 (U 300,467) | 12.2 (U 8.2) | | RapidJSON | Document, Document (no encoding check) [U], Document (string stream), Document (string stream) (no encoding check) [U], insitu (copy), insitu (copy) (no encoding check) [U] | 1,344 (U 989) | 1,610 (U 1,349) | 13,274 | 224,631 (U 188,305) | 6.9 (U 4.6) |
| nlohmann/json `json` | ordered_json, parse | 2,512 | 4,312 | 14,541 | 638,556 | 11.6 | | nlohmann/json `json` | ordered_json, parse | 1,556 | 2,610 | 8,452 | 380,266 | 7.1 |
| serde_json (Rust) | Value | 4,374 | 6,628 | 16,819 | 729,615 | 17.5 | | serde_json (Rust) | Value | 2,423 | 3,549 | 10,095 | 389,645 | 9.5 |
| Glaze | generic (strict), generic [P] | 4,179 | 7,326 | 27,788 | 763,876 | 19.4 | | Glaze | generic (strict), generic [P] | 2,229 | 4,175 | 15,470 | 379,283 | 10.0 |
**minify** **minify**
| library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) | | library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) |
| --- | --- | --: | --: | --: | --: | --: | | --- | --- | --: | --: | --: | --: | --: |
| **nlohmann/json `json_document`** | parse + dump, parse + dump (source numbers) [N] | 478 | 1,057 | 5,326 (N 2,418) | 157,291 | 2.6 (N 2.4) | | **nlohmann/json `json_document`** | parse + dump, parse + dump (source numbers) [N] | 257 | 535 | 2,705 (N 1,321) | 74,831 | 1.4 |
| yyjson | insitu (copy) + write, read (raw numbers) + write [N], read + write | 643 | 1,251 | 6,386 (N 3,553) | 217,100 | 3.1 | | yyjson | insitu (copy) + write, read (raw numbers) + write [N], read + write | 359 | 725 | 3,731 (N 2,460) | 113,348 | 1.8 |
| sonic-cpp | Document + Serialize [U] | – (U 663) | – (U 1,499) | – (U 8,121) | – (U 180,856) | – (U 3.3) | | sonic-cpp | Document + Serialize [U] | – (U 366) | – (U 842) | – (U 5,313) | – (U 89,464) | – (U 1.6) |
| simdjson | DOM + to_string, minify [P] | 722 (P 108) | 1,405 (P 259) | 8,342 (P 345) | 302,765 (P 49,411) | 4.2 (P 0.5) | | simdjson | DOM + to_string, minify [P] | 335 (P 25.8) | 706 (P 66.2) | 4,879 (P 133) | 143,106 (P 18,402) | 2.0 (P 0.1) |
| sonic-rs (Rust) | Value | 1,004 | 2,128 | 7,896 | 222,496 | 5.3 | | sonic-rs (Rust) | Value | 521 | 1,163 | 4,568 | 112,037 | 2.9 |
| Boost.JSON | parse + serialize | 1,724 | 2,580 | 13,291 | 359,550 | 8.5 | | Boost.JSON | parse + serialize | 949 | 1,277 | 6,991 | 173,183 | 4.2 |
| simd-json (Rust) | borrowed (copy) | 1,858 | 4,281 | 15,500 | 405,012 | 8.9 | | simd-json (Rust) | borrowed (copy) | 1,194 | 2,602 | 8,985 | 217,085 | 5.7 |
| RapidJSON | Document + Writer, SAX to Writer, SAX to Writer (no encoding check) [U], SAX to Writer (raw numbers) (no encoding check) [U N], SAX to Writer (string stream), SAX to Writer (string stream) (no encoding check) [U] | 2,530 (U 1,877) | 2,871 (U 2,460) | 22,749 (U N 15,410) | 380,506 (U 280,252) | 13.4 (U 7.3) | | RapidJSON | Document + Writer, SAX to Writer, SAX to Writer (no encoding check) [U], SAX to Writer (raw numbers) [N], SAX to Writer (string stream), SAX to Writer (string stream) (no encoding check) [U] | 1,273 (U 887) | 1,412 (U 1,141) | 13,200 (N 6,113) | 215,385 (U 159,026) | 7.2 (U 5.0) |
| nlohmann/json `json` | parse + dump | 3,703 | 5,077 | 15,286 | 542,919 | 20.8 | | nlohmann/json `json` | parse + dump | 2,190 | 3,111 | 8,509 | 306,446 | 10.9 |
| serde_json (Rust) | Value | 4,034 | 6,745 | 16,795 | 525,375 | 16.3 | | serde_json (Rust) | Value | 2,396 | 3,633 | 10,095 | 271,504 | 9.6 |
| Glaze | generic (strict), minify_json [P] | 4,180 (P 418) | 7,253 (P 1,022) | 28,874 (P 2,433) | 573,896 (P 99,184) | 18.1 (P 2.1) | | Glaze | generic (strict), minify_json [P] | 2,161 (P 234) | 4,119 (P 659) | 15,484 (P 1,511) | 284,691 (P 48,839) | 9.6 (P 1.1) |
**write** **write**
| library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) | | library | variant | `twitter.json` | `citm_catalog.json` | `canada.json` | `jeopardy.json` | one status (2.5 KB) |
| --- | --- | --: | --: | --: | --: | --: | | --- | --- | --: | --: | --: | --: | --: |
| **nlohmann/json `json_document`** | dump, dump (source numbers) [N] | 161 (N 154) | 279 | 3,842 (N 979) | 71,224 | 0.9 | | **nlohmann/json `json_document`** | dump, dump (source numbers) [N] | 80.0 | 162 | 1,978 (N 602) | 33,185 | 0.5 |
| yyjson | write | 219 | 366 | 3,693 | 77,292 | 1.4 | | yyjson | write | 132 | 190 | 2,053 | 41,226 | 0.8 |
| sonic-cpp | Serialize | 233 | 479 | 5,050 | 70,819 | 1.4 | | sonic-cpp | Serialize | 115 | 262 | 3,560 | 33,218 | 0.7 |
| nlohmann/json `json` | dump | 450 | 601 | 4,556 | 122,333 | 2.0 | | simdjson | to_string | 189 | 356 | 3,256 | 83,260 | 1.1 |
| Glaze | generic, generic (strict) | 403 | 724 | 4,322 | 138,671 | 2.1 | | Glaze | generic, generic (strict) | 214 | 392 | 3,058 | 75,717 | 1.1 |
| simdjson | to_string | 418 | 660 | 5,358 | 172,454 | 2.2 | | sonic-rs (Rust) | Value | 230 | 515 | 2,458 | 49,042 | 1.3 |
| sonic-rs (Rust) | Value | 437 | 907 | 4,002 | 100,023 | 2.7 | | Boost.JSON | serialize | 253 | 438 | 3,162 | 72,223 | 1.3 |
| simd-json (Rust) | borrowed | 584 | 833 | 4,983 | 114,016 | 2.8 | | nlohmann/json `json` | dump | 308 | 382 | 3,330 | 81,811 | 1.2 |
| Boost.JSON | serialize | 479 | 903 | 5,870 | 155,380 | 2.6 | | simd-json (Rust) | borrowed | 390 | 501 | 3,146 | 59,808 | 1.5 |
| serde_json (Rust) | Value | 562 | 837 | 4,122 | 130,002 | 3.2 | | RapidJSON | Writer | 296 | 454 | 6,485 | 73,086 | 1.7 |
| RapidJSON | Writer | 664 | 962 | 10,228 | 132,977 | 3.7 | | serde_json (Rust) | Value | 399 | 590 | 2,432 | 73,863 | 2.2 |
### F. Behavior changes ### F. Behavior changes
@@ -2696,13 +2701,15 @@ time of the compiler, median of 5 runs). Building the precompiled header took 91
**What we did not measure.** The timeline and the algorithmic fixes ran on one Apple silicon laptop with Clang, the **What we did not measure.** The timeline and the algorithmic fixes ran on one Apple silicon laptop with Clang, the
suite also on an Intel laptop with Clang. The comparison with other libraries also ran on an x86-64 server with GCC suite also on an Intel laptop with Clang. The comparison with other libraries also ran on an x86-64 server with GCC
16.2, GCC 13, and Clang 23, and on the Mac with GCC 16.2 and Clang 23 as a check. That server is a virtual machine with 16.2, GCC 13, and Clang 23, and on the Mac with GCC 16.2 and Clang 23 as a check. That server is a bare-metal Amazon EC2
8 cores that present themselves as Haswell; its timings show the penalty of the microcode fix for Intel's JCC erratum, `c7i.metal-24xl` (Intel Xeon Platinum 8488C, Sapphire Rapids, with AVX-512) with nothing else running on it. An earlier
which Haswell doesn't have, so the real CPU is probably a later one. It shares its cores with other work, so its run of the comparison on a virtual server with 8 cores that present themselves as Haswell, without AVX-512, put
differences of a few percent are noise. The theme sections quote x86-64 numbers where a pull request measured them, `json_document` first in the same columns except *sum* with Clang 23, where `json`'s SAX handler was 5% ahead, and
mostly with GCC 13 and Clang 18. Expect smaller gains for some workloads on x86-64 with glibc: its `FILE*` locking is simdjson validated the four files in about 2× `json_document`'s time instead of 1.4–1.5×; its run-to-run noise was
cheaper to begin with, so taking it once per parse gains less, its allocator behaves differently, and fresh output 9–12%. The theme sections quote x86-64 numbers where a pull request measured them, mostly with GCC 13 and Clang 18.
memory costs more page faults. We did not measure on Windows, and we did not measure binary size or memory use. Expect smaller gains for some workloads on x86-64 with glibc: its `FILE*` locking is cheaper to begin with, so taking it
once per parse gains less, its allocator behaves differently, and fresh output memory costs more page faults. We did not
measure on Windows, and we did not measure binary size or memory use.
### H. Pull requests by theme ### H. Pull requests by theme
+72 -72
View File
@@ -1,6 +1,6 @@
<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"> <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> <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.42 (Boost.J&#8203;SON); semanticscholar-corpus: Mac 0.77, x86-64 0.63 (sonic-rs (Rust)); gsoc-2018: Mac 0.59, x86-64 0.64 (Boost.J&#8203;SON); marine_ik: Mac 0.59, x86-64 0.65 (Boost.J&#8203;SON); twitter_api_compact_response: Mac 0.91, x86-64 0.68 (simdjson); update-center: Mac 0.88, x86-64 0.75 (simdjson); twitterescaped: Mac 0.94, x86-64 0.76 (simdjson); numbers: Mac 0.62, x86-64 0.77 (Boost.J&#8203;SON); github_events: Mac 0.79, x86-64 0.78 (simdjson); google_maps_api_compact_response: Mac 0.86, x86-64 0.79 (yyjson); twitter_api_response: Mac 0.95, x86-64 0.81 (simdjson); twitter_timeline: Mac 0.97, x86-64 0.81 (yyjson); random: Mac 0.81, x86-64 0.88 (simdjson); instruments: Mac 0.92, x86-64 0.89 (simdjson); apache_builds: Mac 1.10, x86-64 0.90 (simdjson); repeat: Mac 0.65, x86-64 0.91 (simdjson); mesh.pretty: Mac 0.86, x86-64 0.92 (Boost.J&#8203;SON); tree-pretty: Mac 0.93, x86-64 0.95 (simdjson); google_maps_api_response: Mac 0.91, x86-64 0.98 (simdjson).</desc> <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"/> <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> <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"/> <line class="nj-charts-grid" x1="291.867" y1="50" x2="291.867" y2="438"/>
@@ -23,80 +23,80 @@
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="48">next on x86-64</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> <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-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="268.7" cy="67.5" r="4.5"><title>mesh, x86-64, G&#8203;CC 16.2: 0.42&#215; the time of Boost.J&#8203;SON</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">Boost.J&#8203;SON</text> <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">semanticscholar-corpus</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="373.3" cy="80.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-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="329.7" cy="87.5" r="4.5"><title>semanticscholar-corpus, x86-64, G&#8203;CC 16.2: 0.63&#215; the time of sonic-rs (Rust)</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">sonic-rs (Rust)</text> <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">gsoc-2018</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="319.2" cy="100.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-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="332.5" cy="107.5" r="4.5"><title>gsoc-2018, x86-64, G&#8203;CC 16.2: 0.64&#215; the time of Boost.J&#8203;SON</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">Boost.J&#8203;SON</text> <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">marine&#95;ik</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.7" cy="120.5" r="4.5"><title>marine&#95;ik, Apple M1 Max: 0.59&#215; the time of Glaze</title></circle> <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="335.5" cy="127.5" r="4.5"><title>marine&#95;ik, x86-64, G&#8203;CC 16.2: 0.65&#215; the time of Boost.J&#8203;SON</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">Boost.J&#8203;SON</text> <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">twitter&#95;api&#95;compact&#95;response</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="414.0" cy="140.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-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="346.9" cy="147.5" r="4.5"><title>twitter&#95;api&#95;compact&#95;response, x86-64, G&#8203;CC 16.2: 0.68&#215; the time of simdjson</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-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">update-center</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="405.3" cy="160.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-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="367.8" cy="167.5" r="4.5"><title>update-center, x86-64, G&#8203;CC 16.2: 0.75&#215; the time of simdjson</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" x="500" y="168">simdjson</text> <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">twitterescaped</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="423.9" cy="180.5" r="4.5"><title>twitterescaped, Apple M1 Max: 0.94&#215; the time of yyjson</title></circle> <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="370.2" cy="187.5" r="4.5"><title>twitterescaped, x86-64, G&#8203;CC 16.2: 0.76&#215; the time of simdjson</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" x="500" y="188">simdjson</text> <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">numbers</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="326.8" cy="200.5" r="4.5"><title>numbers, Apple M1 Max: 0.62&#215; the time of Glaze</title></circle> <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="371.9" cy="207.5" r="4.5"><title>numbers, x86-64, G&#8203;CC 16.2: 0.77&#215; the time of Boost.J&#8203;SON</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" x="500" y="208">Boost.J&#8203;SON</text> <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">github&#95;events</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="377.4" cy="220.5" r="4.5"><title>github&#95;events, Apple M1 Max: 0.79&#215; the time of simdjson</title></circle> <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="374.7" cy="227.5" r="4.5"><title>github&#95;events, x86-64, G&#8203;CC 16.2: 0.78&#215; the time of simdjson</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" x="500" y="228">simdjson</text> <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">google&#95;maps&#95;api&#95;compact&#95;response</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="398.5" cy="240.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-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="378.8" cy="247.5" r="4.5"><title>google&#95;maps&#95;api&#95;compact&#95;response, x86-64, G&#8203;CC 16.2: 0.79&#215; the time of yyjson</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" x="500" y="248">yyjson</text> <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> <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-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="384.1" cy="267.5" r="4.5"><title>twitter&#95;api&#95;response, x86-64, G&#8203;CC 16.2: 0.81&#215; the time of simdjson</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" x="500" y="268">simdjson</text> <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">twitter&#95;timeline</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="431.5" cy="280.5" r="4.5"><title>twitter&#95;timeline, Apple M1 Max: 0.97&#215; the time of yyjson</title></circle> <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="385.5" cy="287.5" r="4.5"><title>twitter&#95;timeline, x86-64, G&#8203;CC 16.2: 0.81&#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" x="500" y="288">yyjson</text> <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">random</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="383.8" cy="300.5" r="4.5"><title>random, Apple M1 Max: 0.81&#215; the time of simdjson</title></circle> <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="405.5" cy="307.5" r="4.5"><title>random, x86-64, G&#8203;CC 16.2: 0.88&#215; the time of simdjson</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" x="500" y="308">simdjson</text> <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">instruments</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="417.4" cy="320.5" r="4.5"><title>instruments, Apple M1 Max: 0.92&#215; the time of yyjson</title></circle> <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="407.5" cy="327.5" r="4.5"><title>instruments, x86-64, G&#8203;CC 16.2: 0.89&#215; the time of simdjson</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" x="500" y="328">simdjson</text> <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">apache&#95;builds</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="471.0" cy="340.5" r="4.5"><title>apache&#95;builds, Apple M1 Max: 1.10&#215; the time of simdjson</title></circle> <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="411.1" cy="347.5" r="4.5"><title>apache&#95;builds, x86-64, G&#8203;CC 16.2: 0.90&#215; the time of simdjson</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" x="500" y="348">simdjson</text> <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">repeat</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="336.7" cy="360.5" r="4.5"><title>repeat, Apple M1 Max: 0.65&#215; the time of simdjson</title></circle> <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="414.0" cy="367.5" r="4.5"><title>repeat, x86-64, G&#8203;CC 16.2: 0.91&#215; the time of simdjson</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" x="500" y="368">simdjson</text> <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">mesh.pretty</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="398.0" cy="380.5" r="4.5"><title>mesh.pretty, Apple M1 Max: 0.86&#215; the time of Glaze</title></circle> <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="418.8" cy="387.5" r="4.5"><title>mesh.pretty, x86-64, G&#8203;CC 16.2: 0.92&#215; the time of Boost.J&#8203;SON</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" x="500" y="388">Boost.J&#8203;SON</text> <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">tree-pretty</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="419.9" cy="400.5" r="4.5"><title>tree-pretty, Apple M1 Max: 0.93&#215; the time of yyjson</title></circle> <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="425.8" cy="407.5" r="4.5"><title>tree-pretty, x86-64, G&#8203;CC 16.2: 0.95&#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" x="500" y="408">simdjson</text> <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">google&#95;maps&#95;api&#95;response</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="415.8" cy="420.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-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="434.8" cy="427.5" r="4.5"><title>google&#95;maps&#95;api&#95;response, x86-64, G&#8203;CC 16.2: 0.98&#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" x="500" y="428">simdjson</text> <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"/> <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> <text class="nj-charts-tick" x="441.2" y="44">as fast as the next</text>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

@@ -1,6 +1,6 @@
<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-clang nj-blog-uc-x86-clang-d" xmlns="http://www.w3.org/2000/svg"> <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-clang nj-blog-uc-x86-clang-d" xmlns="http://www.w3.org/2000/svg">
<title id="nj-blog-uc-x86-clang">Use cases: time of each library relative to the fastest, x86-64 with Clang 23</title> <title id="nj-blog-uc-x86-clang">Use cases: time of each library relative to the fastest, x86-64 with Clang 23</title>
<desc id="nj-blog-uc-x86-clang-d">Table of relative times, libraries by use case. nlohmann/json json_document validate: 1.00; nlohmann/json json_document sum: 1.05; nlohmann/json json_document select: 1.00; nlohmann/json json_document edit: 1.00 (0.81 doing less, N); nlohmann/json json_document minify: 1.00 (0.82 doing less, N); nlohmann/json json_document write: 1.00 (0.70 doing less, N); yyjson validate: 2.24; yyjson sum: 1.24; yyjson select: 1.43; yyjson edit: 1.47; yyjson minify: 1.27 (1.09 doing less, N); yyjson write: 1.17; sonic-cpp validate: no fully validating way (2.35 doing less, U); sonic-cpp sum: no fully validating way (1.27 doing less, U); sonic-cpp select: no fully validating way (1.53 doing less, U); sonic-cpp edit: no fully validating way (1.18 doing less, U); sonic-cpp minify: no fully validating way (1.36 doing less, U); sonic-cpp write: 1.34; sonic-rs (Rust) validate: 1.86; sonic-rs (Rust) sum: 1.10; sonic-rs (Rust) select: 1.38; sonic-rs (Rust) edit: 1.96; sonic-rs (Rust) minify: 1.73; sonic-rs (Rust) write: 1.89; simdjson validate: 2.12; simdjson sum: 1.20; simdjson select: 1.36 (0.58 doing less, P); simdjson edit: n/a; simdjson minify: 1.57 (0.18 doing less, P); simdjson write: 2.13; Boost.J&#8203;SON validate: 1.82; Boost.J&#8203;SON sum: 1.20; Boost.J&#8203;SON select: 2.27; Boost.J&#8203;SON edit: 2.36; Boost.J&#8203;SON minify: 2.66; Boost.J&#8203;SON write: 2.38; nlohmann/json json validate: 1.44; nlohmann/json json sum: 1.00; nlohmann/json json select: 6.77; nlohmann/json json edit: 3.45; nlohmann/json json minify: 4.38; nlohmann/json json write: 1.87; simd-json (Rust) validate: 3.51; simd-json (Rust) sum: 1.90; simd-json (Rust) select: 2.68; simd-json (Rust) edit: 2.93; simd-json (Rust) minify: 3.30; simd-json (Rust) write: 2.18; serde_json (Rust) validate: 2.32 (2.08 doing less, U); serde_json (Rust) sum: 2.30; serde_json (Rust) select: 1.80; serde_json (Rust) edit: 4.73; serde_json (Rust) minify: 4.88; serde_json (Rust) write: 2.13; Glaze validate: 2.28; Glaze sum: 4.33 (4.04 doing less, P); Glaze select: 1.43 (0.61 doing less, P); Glaze edit: 5.50; Glaze minify: 5.87 (0.70 doing less, P); Glaze write: 1.94; RapidJSON validate: 5.26 (3.82 doing less, U); RapidJSON sum: 3.33 (2.44 doing less, U); RapidJSON select: 4.65 (3.59 doing less, U); RapidJSON edit: 3.15 (2.66 doing less, U); RapidJSON minify: 3.49 (2.62 doing less, U N); RapidJSON write: 2.90.</desc> <desc id="nj-blog-uc-x86-clang-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.82 doing less, N); nlohmann/json json_document minify: 1.00 (0.83 doing less, N); nlohmann/json json_document write: 1.00 (0.74 doing less, N); simdjson validate: 1.48; simdjson sum: 1.04; simdjson select: 1.21 (0.44 doing less, P); simdjson edit: n/a; simdjson minify: 1.56 (0.11 doing less, P); simdjson write: 2.15; yyjson validate: 2.02; yyjson sum: 1.27; yyjson select: 1.59; yyjson edit: 1.63; yyjson minify: 1.41 (1.27 doing less, N); yyjson write: 1.26; sonic-cpp validate: no fully validating way (2.01 doing less, U); sonic-cpp sum: no fully validating way (1.29 doing less, U); sonic-cpp select: no fully validating way (1.64 doing less, U); sonic-cpp edit: no fully validating way (1.35 doing less, U); sonic-cpp minify: no fully validating way (1.51 doing less, U); sonic-cpp write: 1.43; sonic-rs (Rust) validate: 1.73; sonic-rs (Rust) sum: 1.12; sonic-rs (Rust) select: 1.43; sonic-rs (Rust) edit: 2.14; sonic-rs (Rust) minify: 1.83; sonic-rs (Rust) write: 2.03; Boost.J&#8203;SON validate: 2.01; Boost.J&#8203;SON sum: 1.40; Boost.J&#8203;SON select: 2.33; Boost.J&#8203;SON edit: 2.39; Boost.J&#8203;SON minify: 2.69; Boost.J&#8203;SON write: 2.34; nlohmann/json json validate: 1.46; nlohmann/json json sum: 1.06; nlohmann/json json select: 7.50; nlohmann/json json edit: 4.02; nlohmann/json json minify: 5.03; nlohmann/json json write: 2.48; simd-json (Rust) validate: 3.23; simd-json (Rust) sum: 2.00; simd-json (Rust) select: 3.04; simd-json (Rust) edit: 3.38; simd-json (Rust) minify: 3.84; simd-json (Rust) write: 2.57; serde_json (Rust) validate: 2.26 (1.89 doing less, U); serde_json (Rust) sum: 2.42; serde_json (Rust) select: 2.06 (1.88 doing less, U); serde_json (Rust) edit: 5.10; serde_json (Rust) minify: 5.41; serde_json (Rust) write: 2.66; Glaze validate: 1.92; Glaze sum: 4.14 (3.96 doing less, P); Glaze select: 1.55 (0.68 doing less, P); Glaze edit: 5.74; Glaze minify: 6.13 (0.80 doing less, P); Glaze write: 2.19; RapidJSON validate: 4.11 (3.28 doing less, U); RapidJSON sum: 3.11 (2.40 doing less, U); RapidJSON select: 4.58 (3.62 doing less, U); RapidJSON edit: 3.37 (2.86 doing less, U); RapidJSON minify: 3.68 (2.44 doing less, U N); RapidJSON write: 2.94.</desc>
<text class="nj-charts-tick" x="270" y="34">validate</text> <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="362" y="34">sum</text>
<text class="nj-charts-tick" x="454" y="34">select</text> <text class="nj-charts-tick" x="454" y="34">select</text>
@@ -8,359 +8,364 @@
<text class="nj-charts-tick" x="638" y="34">minify</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-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> <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: 252 µs&#10;citm_catalog.json: 510 µs&#10;canada.json: 1,050 µs&#10;jeopardy.json: 35,577 µs"> <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: 158 µs&#10;citm_catalog.json: 301 µs&#10;canada.json: 692 µs&#10;jeopardy.json: 22,891 µs">
<rect class="nj-heat-0" x="225" y="45" width="90" height="34" rx="3"/> <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> <text class="nj-charts-cell" x="270" y="66" text-anchor="middle">1.00</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · sum&#10;1.05× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 371 µs&#10;citm_catalog.json: 946 µs&#10;canada.json: 3,678 µs&#10;jeopardy.json: 90,047 µs"> <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: 208 µs&#10;citm_catalog.json: 501 µs&#10;canada.json: 1,918 µs&#10;jeopardy.json: 46,213 µs">
<rect class="nj-heat-0" x="317" y="45" width="90" height="34" rx="3"/> <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.05</text> <text class="nj-charts-cell" x="362" y="66" text-anchor="middle">1.00</text>
</g> </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: 318 µs&#10;citm_catalog.json: 785 µs&#10;canada.json: 1,369 µs&#10;jeopardy.json: 91,072 µs"> <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: 170 µs&#10;citm_catalog.json: 374 µs&#10;canada.json: 714 µs&#10;jeopardy.json: 46,743 µs">
<rect class="nj-heat-0" x="409" y="45" width="90" height="34" rx="3"/> <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> <text class="nj-charts-cell" x="454" y="66" text-anchor="middle">1.00</text>
</g> </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: 520 µs&#10;citm_catalog.json: 1,151 µs&#10;canada.json: 5,756 µs&#10;jeopardy.json: 205,350 µs"> <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: 276 µs&#10;citm_catalog.json: 594 µs&#10;canada.json: 2,949 µs&#10;jeopardy.json: 103,847 µs">
<rect class="nj-heat-0" x="501" y="45" width="44" height="34" rx="3"/> <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> <text class="nj-charts-cell" x="523.5" y="66" text-anchor="middle">1.00</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · edit, checking less&#10;0.81× the time of the fastest fully validating library&#10;twitter.json: 520 µs · editable (validates fully)&#10;citm_catalog.json: 1,151 µs · editable (validates fully)&#10;canada.json: 2,431 µs · editable (source numbers) (validates fully)&#10;jeopardy.json: 205,350 µs · editable (validates fully)&#10;copies each number&#x27;s text instead of formatting it (number_format::source)"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · edit, checking less&#10;0.82× the time of the fastest fully validating library&#10;twitter.json: 276 µs · editable (validates fully)&#10;citm_catalog.json: 594 µs · editable (validates fully)&#10;canada.json: 1,324 µs · editable (source numbers) (validates fully)&#10;jeopardy.json: 103,734 µ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"/> <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.81</text> <text class="nj-charts-cell" x="568.5" y="60" text-anchor="middle">0.82</text>
<text class="nj-charts-cell nj-charts-cell--small" x="568.5" y="73" text-anchor="middle">N</text> <text class="nj-charts-cell nj-charts-cell--small" x="568.5" y="73" text-anchor="middle">N</text>
</g> </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: 478 µs&#10;citm_catalog.json: 1,057 µs&#10;canada.json: 5,326 µs&#10;jeopardy.json: 157,291 µs"> <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: 257 µs&#10;citm_catalog.json: 535 µs&#10;canada.json: 2,705 µs&#10;jeopardy.json: 74,831 µs">
<rect class="nj-heat-0" x="593" y="45" width="44" height="34" rx="3"/> <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> <text class="nj-charts-cell" x="615.5" y="66" text-anchor="middle">1.00</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · minify, checking less&#10;0.82× the time of the fastest fully validating library&#10;twitter.json: 470 µs · parse + dump (source numbers) (validates fully)&#10;citm_catalog.json: 1,054 µs · parse + dump (source numbers) (validates fully)&#10;canada.json: 2,418 µs · parse + dump (source numbers) (validates fully)&#10;jeopardy.json: 157,291 µs · parse + dump (validates fully)&#10;copies each number&#x27;s text instead of formatting it (number_format::source)"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · minify, checking less&#10;0.83× the time of the fastest fully validating library&#10;twitter.json: 257 µs · parse + dump (validates fully)&#10;citm_catalog.json: 535 µs · parse + dump (validates fully)&#10;canada.json: 1,321 µs · parse + dump (source numbers) (validates fully)&#10;jeopardy.json: 74,348 µs · parse + dump (source numbers) (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"/> <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.82</text> <text class="nj-charts-cell" x="660.5" y="60" text-anchor="middle">0.83</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="73" text-anchor="middle">N</text> <text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="73" text-anchor="middle">N</text>
</g> </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: 161 µs&#10;citm_catalog.json: 279 µs&#10;canada.json: 3,842 µs&#10;jeopardy.json: 71,224 µs"> <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: 80.0 µs&#10;citm_catalog.json: 162 µs&#10;canada.json: 1,978 µs&#10;jeopardy.json: 33,185 µs">
<rect class="nj-heat-0" x="685" y="45" width="44" height="34" rx="3"/> <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> <text class="nj-charts-cell" x="707.5" y="66" text-anchor="middle">1.00</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · write, checking less&#10;0.70× the time of the fastest fully validating library&#10;way: dump (source numbers)&#10;twitter.json: 154 µs (validates fully)&#10;citm_catalog.json: 276 µs (validates fully)&#10;canada.json: 979 µs (validates fully)&#10;jeopardy.json: 71,095 µs (validates fully)&#10;copies each number&#x27;s text instead of formatting it (number_format::source)"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · write, checking less&#10;0.74× the time of the fastest fully validating library&#10;twitter.json: 80.0 µs · dump (validates fully)&#10;citm_catalog.json: 162 µs · dump (validates fully)&#10;canada.json: 602 µs · dump (source numbers) (validates fully)&#10;jeopardy.json: 32,746 µs · dump (source numbers) (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"/> <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.70</text> <text class="nj-charts-cell" x="752.5" y="60" text-anchor="middle">0.74</text>
<text class="nj-charts-cell nj-charts-cell--small" x="752.5" y="73" text-anchor="middle">N</text> <text class="nj-charts-cell nj-charts-cell--small" x="752.5" y="73" text-anchor="middle">N</text>
</g> </g>
<text class="nj-charts-rowlabel " x="216" y="102" text-anchor="end">yyjson</text> <text class="nj-charts-rowlabel " x="216" y="102" text-anchor="end">simdjson</text>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · validate&#10;2.24× the time of the fastest library (fully validating)&#10;twitter.json: 385 µs · insitu (copy)&#10;citm_catalog.json: 910 µs · read (raw numbers)&#10;canada.json: 2,581 µs · read (raw numbers)&#10;jeopardy.json: 132,858 µs · read (raw numbers)&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="simdjson · validate&#10;1.48× the time of the fastest library (fully validating)&#10;way: D&#8203;OM&#10;twitter.json: 129 µs&#10;citm_catalog.json: 339 µs&#10;canada.json: 1,706 µs&#10;jeopardy.json: 49,134 µs">
<rect class="nj-heat-2" x="225" y="81" width="90" height="34" rx="3"/> <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">2.24</text> <text class="nj-charts-cell" x="270" y="102" text-anchor="middle">1.48</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · sum&#10;1.24× the time of the fastest library (fully validating)&#10;way: read&#10;twitter.json: 441 µs&#10;citm_catalog.json: 1,049 µs&#10;canada.json: 3,558 µs&#10;jeopardy.json: 137,831 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="simdjson · sum&#10;1.04× the time of the fastest library (fully validating)&#10;way: D&#8203;OM&#10;twitter.json: 174 µs&#10;citm_catalog.json: 479 µs&#10;canada.json: 2,160 µs&#10;jeopardy.json: 59,125 µs">
<rect class="nj-heat-1" x="317" y="81" width="90" height="34" rx="3"/> <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.24</text> <text class="nj-charts-cell" x="362" y="102" text-anchor="middle">1.04</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · select&#10;1.43× the time of the fastest library (fully validating)&#10;twitter.json: 393 µs · insitu (copy)&#10;citm_catalog.json: 898 µs · read&#10;canada.json: 2,573 µs · read (raw numbers)&#10;jeopardy.json: 141,566 µs · insitu (copy)&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="simdjson · select&#10;1.21× the time of the fastest library (fully validating)&#10;way: D&#8203;OM&#10;twitter.json: 137 µs&#10;citm_catalog.json: 345 µs&#10;canada.json: 1,704 µs&#10;jeopardy.json: 57,080 µs">
<rect class="nj-heat-1" x="409" y="81" width="90" height="34" rx="3"/> <rect class="nj-heat-1" x="409" y="81" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="102" text-anchor="middle">1.43</text> <text class="nj-charts-cell" x="431.5" y="102" text-anchor="middle">1.21</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · edit&#10;1.47× the time of the fastest library (fully validating)&#10;twitter.json: 819 µs · mut copy&#10;citm_catalog.json: 1,670 µs · insitu (copy) + mut copy&#10;canada.json: 7,475 µs · mut copy&#10;jeopardy.json: 322,774 µs · insitu (copy) + mut copy&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="simdjson · select, checking less&#10;0.44× the time of the fastest fully validating library&#10;twitter.json: 69.1 µs · On-Demand structs&#10;citm_catalog.json: 219 µs · On-Demand&#10;canada.json: 261 µs · On-Demand (key selectors)&#10;jeopardy.json: 19,564 µ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-1" x="501" y="81" width="90" height="34" rx="3"/> <rect class="nj-heat-0" x="455" y="81" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="102" text-anchor="middle">1.47</text> <text class="nj-charts-cell" x="476.5" y="96" text-anchor="middle">0.44</text>
</g> <text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="109" text-anchor="middle">P</text>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · minify&#10;1.27× the time of the fastest library (fully validating)&#10;twitter.json: 643 µs · read + write&#10;citm_catalog.json: 1,251 µs · read + write&#10;canada.json: 6,386 µs · read + write&#10;jeopardy.json: 217,100 µs · insitu (copy) + write&#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.27</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · minify, checking less&#10;1.09× the time of the fastest fully validating library&#10;twitter.json: 636 µs · read (raw numbers) + write (validates fully)&#10;citm_catalog.json: 1,240 µs · read (raw numbers) + write (validates fully)&#10;canada.json: 3,553 µs · read (raw numbers) + write (validates fully)&#10;jeopardy.json: 217,100 µ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-0" x="639" y="81" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="96" text-anchor="middle">1.09</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.17× the time of the fastest library (fully validating)&#10;way: write&#10;twitter.json: 219 µs&#10;citm_catalog.json: 366 µs&#10;canada.json: 3,693 µs&#10;jeopardy.json: 77,292 µ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.17</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&#10;2.35× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 445 µs&#10;citm_catalog.json: 1,016 µs&#10;canada.json: 3,131 µs&#10;jeopardy.json: 103,050 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;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.35</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&#10;1.27× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 513 µs&#10;citm_catalog.json: 1,179 µs&#10;canada.json: 3,721 µs&#10;jeopardy.json: 111,659 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;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.27</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&#10;1.53× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 459 µs&#10;citm_catalog.json: 1,027 µs&#10;canada.json: 3,080 µs&#10;jeopardy.json: 117,426 µ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="117" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="132" text-anchor="middle">1.53</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&#10;1.18× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 637 µs&#10;citm_catalog.json: 1,486 µs&#10;canada.json: 7,877 µs&#10;jeopardy.json: 186,385 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;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&#10;1.36× the time of the fastest fully validating library&#10;way: Document + Serialize&#10;twitter.json: 663 µs&#10;citm_catalog.json: 1,499 µs&#10;canada.json: 8,121 µs&#10;jeopardy.json: 180,856 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;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.36</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&#10;1.34× the time of the fastest library (fully validating)&#10;way: Serialize&#10;twitter.json: 233 µs&#10;citm_catalog.json: 479 µs&#10;canada.json: 5,050 µs&#10;jeopardy.json: 70,819 µ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.34</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.86× the time of the fastest library (fully validating)&#10;way: IgnoredAny&#10;twitter.json: 481 µs&#10;citm_catalog.json: 972 µs&#10;canada.json: 2,300 µs&#10;jeopardy.json: 53,361 µ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.86</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · sum&#10;1.10× the time of the fastest library (fully validating)&#10;way: visitor&#10;twitter.json: 502 µs&#10;citm_catalog.json: 1,138 µs&#10;canada.json: 4,363 µs&#10;jeopardy.json: 56,951 µ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.10</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · select&#10;1.38× the time of the fastest library (fully validating)&#10;way: structs&#10;twitter.json: 503 µs&#10;citm_catalog.json: 1,034 µs&#10;canada.json: 2,299 µs&#10;jeopardy.json: 93,390 µs">
<rect class="nj-heat-1" x="409" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="174" text-anchor="middle">1.38</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · edit&#10;1.96× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 1,259 µs&#10;citm_catalog.json: 2,509 µs&#10;canada.json: 7,762 µs&#10;jeopardy.json: 422,005 µ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">1.96</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · minify&#10;1.73× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 1,004 µs&#10;citm_catalog.json: 2,128 µs&#10;canada.json: 7,896 µs&#10;jeopardy.json: 222,496 µ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.73</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · write&#10;1.89× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 437 µs&#10;citm_catalog.json: 907 µs&#10;canada.json: 4,002 µs&#10;jeopardy.json: 100,023 µ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">1.89</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="210" text-anchor="end">simdjson</text>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · validate&#10;2.12× the time of the fastest library (fully validating)&#10;way: D&#8203;OM&#10;twitter.json: 311 µs&#10;citm_catalog.json: 761 µs&#10;canada.json: 3,351 µs&#10;jeopardy.json: 122,419 µ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">2.12</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: 400 µs · D&#8203;OM&#10;citm_catalog.json: 966 µs · D&#8203;OM&#10;canada.json: 4,170 µs · D&#8203;OM&#10;jeopardy.json: 123,672 µs · On-Demand">
<rect class="nj-heat-1" x="317" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="210" text-anchor="middle">1.20</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · select&#10;1.36× the time of the fastest library (fully validating)&#10;way: D&#8203;OM&#10;twitter.json: 324 µs&#10;citm_catalog.json: 725 µs&#10;canada.json: 3,466 µs&#10;jeopardy.json: 129,588 µs">
<rect class="nj-heat-1" x="409" y="189" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="431.5" y="210" text-anchor="middle">1.36</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · select, checking less&#10;0.58× the time of the fastest fully validating library&#10;twitter.json: 189 µs · On-Demand (key selectors)&#10;citm_catalog.json: 490 µs · On-Demand&#10;canada.json: 722 µs · On-Demand&#10;jeopardy.json: 50,946 µ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="189" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="476.5" y="204" text-anchor="middle">0.58</text>
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="217" text-anchor="middle">P</text>
</g> </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"> <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="189" width="90" height="34" rx="3"/> <rect class="nj-heat-na" x="501" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-tick" x="546" y="210">n/a</text> <text class="nj-charts-tick" x="546" y="102">n/a</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · minify&#10;1.57× the time of the fastest library (fully validating)&#10;way: D&#8203;OM + to_string&#10;twitter.json: 722 µs&#10;citm_catalog.json: 1,405 µs&#10;canada.json: 8,342 µs&#10;jeopardy.json: 302,765 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="simdjson · minify&#10;1.56× the time of the fastest library (fully validating)&#10;way: D&#8203;OM + to_string&#10;twitter.json: 335 µs&#10;citm_catalog.json: 706 µs&#10;canada.json: 4,879 µs&#10;jeopardy.json: 143,106 µs">
<rect class="nj-heat-2" x="593" y="189" width="44" height="34" rx="3"/> <rect class="nj-heat-2" x="593" y="81" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="210" text-anchor="middle">1.57</text> <text class="nj-charts-cell" x="615.5" y="102" text-anchor="middle">1.56</text>
</g> </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: 108 µs&#10;citm_catalog.json: 259 µs&#10;canada.json: 345 µs&#10;jeopardy.json: 49,411 µs&#10;simdjson::minify() only removes whitespace, without parsing the values"> <g class="nj-heat-cell" tabindex="0" data-tip="simdjson · minify, checking less&#10;0.11× the time of the fastest fully validating library&#10;way: minify&#10;twitter.json: 25.8 µs&#10;citm_catalog.json: 66.2 µs&#10;canada.json: 133 µs&#10;jeopardy.json: 18,402 µs&#10;simdjson::minify() only removes whitespace, without parsing the values">
<rect class="nj-heat-0" x="639" y="189" width="44" height="34" rx="3"/> <rect class="nj-heat-0" x="639" y="81" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="204" text-anchor="middle">0.18</text> <text class="nj-charts-cell" x="660.5" y="96" text-anchor="middle">0.11</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="217" text-anchor="middle">P</text> <text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="109" text-anchor="middle">P</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · write&#10;2.13× the time of the fastest library (fully validating)&#10;way: to_string&#10;twitter.json: 418 µs&#10;citm_catalog.json: 660 µs&#10;canada.json: 5,358 µs&#10;jeopardy.json: 172,454 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="simdjson · write&#10;2.15× the time of the fastest library (fully validating)&#10;way: to_string&#10;twitter.json: 189 µs&#10;citm_catalog.json: 356 µs&#10;canada.json: 3,256 µs&#10;jeopardy.json: 83,260 µs">
<rect class="nj-heat-2" x="685" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="102" text-anchor="middle">2.15</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="138" text-anchor="end">yyjson</text>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · validate&#10;2.02× the time of the fastest library (fully validating)&#10;twitter.json: 206 µs · read&#10;citm_catalog.json: 531 µs · insitu (copy)&#10;canada.json: 1,676 µs · insitu (copy)&#10;jeopardy.json: 69,260 µs · insitu (copy)&#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="117" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="138" text-anchor="middle">2.02</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · sum&#10;1.27× the time of the fastest library (fully validating)&#10;twitter.json: 241 µs · read&#10;citm_catalog.json: 634 µs · read&#10;canada.json: 2,079 µs · insitu (copy)&#10;jeopardy.json: 75,758 µs · insitu (copy)&#10;(copy): parses in place, on a copy of the input that is part of the time">
<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.27</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · select&#10;1.59× the time of the fastest library (fully validating)&#10;twitter.json: 202 µs · insitu (copy)&#10;citm_catalog.json: 532 µs · read&#10;canada.json: 1,674 µs · read&#10;jeopardy.json: 75,109 µs · insitu (copy)&#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="117" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="138" text-anchor="middle">1.59</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · edit&#10;1.63× the time of the fastest library (fully validating)&#10;way: mut copy&#10;twitter.json: 482 µs&#10;citm_catalog.json: 1,008 µs&#10;canada.json: 4,242 µs&#10;jeopardy.json: 173,943 µs">
<rect class="nj-heat-2" x="501" y="117" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="138" text-anchor="middle">1.63</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · minify&#10;1.41× the time of the fastest library (fully validating)&#10;twitter.json: 359 µs · insitu (copy) + write&#10;citm_catalog.json: 725 µs · read + write&#10;canada.json: 3,731 µs · insitu (copy) + write&#10;jeopardy.json: 113,348 µs · insitu (copy) + write&#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="117" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="138" text-anchor="middle">1.41</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · minify, checking less&#10;1.27× the time of the fastest fully validating library&#10;twitter.json: 359 µs · insitu (copy) + write (validates fully)&#10;citm_catalog.json: 725 µs · read + write (validates fully)&#10;canada.json: 2,460 µs · read (raw numbers) + write (validates fully)&#10;jeopardy.json: 113,348 µ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="117" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="132" text-anchor="middle">1.27</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="145" text-anchor="middle">N</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · write&#10;1.26× the time of the fastest library (fully validating)&#10;way: write&#10;twitter.json: 132 µs&#10;citm_catalog.json: 190 µs&#10;canada.json: 2,053 µs&#10;jeopardy.json: 41,226 µ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.26</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="174" text-anchor="end">sonic-cpp</text>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · validate, checking less&#10;2.01× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 246 µs&#10;citm_catalog.json: 564 µs&#10;canada.json: 1,750 µs&#10;jeopardy.json: 50,682 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<rect class="nj-heat-2" x="225" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="168" text-anchor="middle">2.01</text>
<text class="nj-charts-cell nj-charts-cell--small" x="270" y="181" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · sum, checking less&#10;1.29× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 293 µs&#10;citm_catalog.json: 692 µs&#10;canada.json: 2,141 µs&#10;jeopardy.json: 58,785 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<rect class="nj-heat-1" x="317" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="168" text-anchor="middle">1.29</text>
<text class="nj-charts-cell nj-charts-cell--small" x="362" y="181" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · select, checking less&#10;1.64× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 261 µs&#10;citm_catalog.json: 572 µs&#10;canada.json: 1,752 µs&#10;jeopardy.json: 59,327 µ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="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="168" text-anchor="middle">1.64</text>
<text class="nj-charts-cell nj-charts-cell--small" x="454" y="181" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · edit, checking less&#10;1.35× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 364 µs&#10;citm_catalog.json: 843 µs&#10;canada.json: 5,309 µs&#10;jeopardy.json: 102,212 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<rect class="nj-heat-1" x="501" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="168" text-anchor="middle">1.35</text>
<text class="nj-charts-cell nj-charts-cell--small" x="546" y="181" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · minify, checking less&#10;1.51× the time of the fastest fully validating library&#10;way: Document + Serialize&#10;twitter.json: 366 µs&#10;citm_catalog.json: 842 µs&#10;canada.json: 5,313 µs&#10;jeopardy.json: 89,464 µ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="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="168" text-anchor="middle">1.51</text>
<text class="nj-charts-cell nj-charts-cell--small" x="638" y="181" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · write&#10;1.43× the time of the fastest library (fully validating)&#10;way: Serialize&#10;twitter.json: 115 µs&#10;citm_catalog.json: 262 µs&#10;canada.json: 3,560 µs&#10;jeopardy.json: 33,218 µs">
<rect class="nj-heat-1" x="685" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="174" text-anchor="middle">1.43</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&#10;1.73× the time of the fastest library (fully validating)&#10;twitter.json: 290 µs · Value&#10;citm_catalog.json: 548 µs · IgnoredAny&#10;canada.json: 1,234 µs · IgnoredAny&#10;jeopardy.json: 34,104 µs · IgnoredAny">
<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.73</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · sum&#10;1.12× the time of the fastest library (fully validating)&#10;way: visitor&#10;twitter.json: 287 µs&#10;citm_catalog.json: 604 µs&#10;canada.json: 2,643 µs&#10;jeopardy.json: 32,088 µ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.12</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · select&#10;1.43× the time of the fastest library (fully validating)&#10;twitter.json: 294 µs · Value&#10;citm_catalog.json: 609 µs · structs&#10;canada.json: 1,237 µs · structs&#10;jeopardy.json: 40,453 µs · structs">
<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.43</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · edit&#10;2.14× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 668 µs&#10;citm_catalog.json: 1,374 µs&#10;canada.json: 4,662 µs&#10;jeopardy.json: 246,664 µ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">2.14</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · minify&#10;1.83× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 521 µs&#10;citm_catalog.json: 1,163 µs&#10;canada.json: 4,568 µs&#10;jeopardy.json: 112,037 µ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.83</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · write&#10;2.03× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 230 µs&#10;citm_catalog.json: 515 µs&#10;canada.json: 2,458 µs&#10;jeopardy.json: 49,042 µs">
<rect class="nj-heat-2" x="685" y="189" width="90" height="34" rx="3"/> <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.13</text> <text class="nj-charts-cell" x="730" y="210" text-anchor="middle">2.03</text>
</g> </g>
<text class="nj-charts-rowlabel " x="216" y="246" text-anchor="end">Boost.J&#8203;SON</text> <text class="nj-charts-rowlabel " x="216" y="246" text-anchor="end">Boost.J&#8203;SON</text>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · validate&#10;1.82× the time of the fastest library (fully validating)&#10;twitter.json: 581 µs · S&#8203;AX (numbers: none)&#10;citm_catalog.json: 912 µs · S&#8203;AX (numbers: none)&#10;canada.json: 1,760 µs · S&#8203;AX (numbers: none)&#10;jeopardy.json: 57,050 µs · S&#8203;AX"> <g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · validate&#10;2.01× the time of the fastest library (fully validating)&#10;twitter.json: 395 µs · S&#8203;AX (numbers: none)&#10;citm_catalog.json: 672 µs · S&#8203;AX (numbers: none)&#10;canada.json: 1,144 µs · S&#8203;AX (numbers: none)&#10;jeopardy.json: 40,109 µs · S&#8203;AX">
<rect class="nj-heat-2" x="225" y="225" width="90" height="34" rx="3"/> <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.82</text> <text class="nj-charts-cell" x="270" y="246" text-anchor="middle">2.01</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · sum&#10;1.20× the time of the fastest library (fully validating)&#10;way: S&#8203;AX&#10;twitter.json: 622 µs&#10;citm_catalog.json: 931 µs&#10;canada.json: 5,982 µs&#10;jeopardy.json: 59,067 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · sum&#10;1.40× the time of the fastest library (fully validating)&#10;way: S&#8203;AX&#10;twitter.json: 392 µs&#10;citm_catalog.json: 675 µs&#10;canada.json: 3,399 µs&#10;jeopardy.json: 39,552 µs">
<rect class="nj-heat-1" x="317" y="225" width="90" height="34" rx="3"/> <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.20</text> <text class="nj-charts-cell" x="362" y="246" text-anchor="middle">1.40</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · select&#10;2.27× the time of the fastest library (fully validating)&#10;twitter.json: 774 µs · parse_into structs&#10;citm_catalog.json: 1,390 µs · parse_into structs&#10;canada.json: 7,402 µs · parse&#10;jeopardy.json: 103,660 µs · parse_into structs"> <g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · select&#10;2.33× the time of the fastest library (fully validating)&#10;twitter.json: 422 µs · parse_into structs&#10;citm_catalog.json: 715 µs · parse_into structs&#10;canada.json: 3,815 µs · parse&#10;jeopardy.json: 53,913 µs · parse_into structs">
<rect class="nj-heat-2" x="409" y="225" width="90" height="34" rx="3"/> <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.27</text> <text class="nj-charts-cell" x="454" y="246" text-anchor="middle">2.33</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · edit&#10;2.36× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 1,763 µs&#10;citm_catalog.json: 2,592 µs&#10;canada.json: 13,530 µs&#10;jeopardy.json: 357,829 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · edit&#10;2.39× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 936 µs&#10;citm_catalog.json: 1,302 µs&#10;canada.json: 6,990 µs&#10;jeopardy.json: 191,545 µs">
<rect class="nj-heat-2" x="501" y="225" width="90" height="34" rx="3"/> <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.36</text> <text class="nj-charts-cell" x="546" y="246" text-anchor="middle">2.39</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · minify&#10;2.66× the time of the fastest library (fully validating)&#10;way: parse + serialize&#10;twitter.json: 1,724 µs&#10;citm_catalog.json: 2,580 µs&#10;canada.json: 13,291 µs&#10;jeopardy.json: 359,550 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · minify&#10;2.69× the time of the fastest library (fully validating)&#10;way: parse + serialize&#10;twitter.json: 949 µs&#10;citm_catalog.json: 1,277 µs&#10;canada.json: 6,991 µs&#10;jeopardy.json: 173,183 µs">
<rect class="nj-heat-3" x="593" y="225" width="90" height="34" rx="3"/> <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.66</text> <text class="nj-charts-cell" x="638" y="246" text-anchor="middle">2.69</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · write&#10;2.38× the time of the fastest library (fully validating)&#10;way: serialize&#10;twitter.json: 479 µs&#10;citm_catalog.json: 903 µs&#10;canada.json: 5,870 µs&#10;jeopardy.json: 155,380 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · write&#10;2.34× the time of the fastest library (fully validating)&#10;way: serialize&#10;twitter.json: 253 µs&#10;citm_catalog.json: 438 µs&#10;canada.json: 3,162 µs&#10;jeopardy.json: 72,223 µs">
<rect class="nj-heat-2" x="685" y="225" width="90" height="34" rx="3"/> <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.38</text> <text class="nj-charts-cell" x="730" y="246" text-anchor="middle">2.34</text>
</g> </g>
<text class="nj-charts-rowlabel nj-charts-name-json" x="216" y="282" text-anchor="end">nlohmann/json json</text> <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.44× the time of the fastest library (fully validating)&#10;way: accept&#10;twitter.json: 336 µs&#10;citm_catalog.json: 737 µs&#10;canada.json: 2,027 µs&#10;jeopardy.json: 40,932 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · validate&#10;1.46× the time of the fastest library (fully validating)&#10;way: accept&#10;twitter.json: 219 µs&#10;citm_catalog.json: 494 µs&#10;canada.json: 1,247 µs&#10;jeopardy.json: 25,192 µs">
<rect class="nj-heat-1" x="225" y="261" width="90" height="34" rx="3"/> <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.44</text> <text class="nj-charts-cell" x="270" y="282" text-anchor="middle">1.46</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · sum&#10;1.00× the time of the fastest library (fully validating)&#10;way: sax&#10;twitter.json: 435 µs&#10;citm_catalog.json: 924 µs&#10;canada.json: 3,856 µs&#10;jeopardy.json: 62,754 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · sum&#10;1.06× the time of the fastest library (fully validating)&#10;way: sax&#10;twitter.json: 256 µs&#10;citm_catalog.json: 601 µs&#10;canada.json: 2,131 µs&#10;jeopardy.json: 35,298 µs">
<rect class="nj-heat-0" x="317" y="261" width="90" height="34" rx="3"/> <rect class="nj-heat-0" x="317" y="261" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="282" text-anchor="middle">1.00</text> <text class="nj-charts-cell" x="362" y="282" text-anchor="middle">1.06</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · select&#10;6.77× the time of the fastest library (fully validating)&#10;twitter.json: 3,372 µs · parse&#10;citm_catalog.json: 4,542 µs · parse&#10;canada.json: 10,118 µs · parse&#10;jeopardy.json: 421,436 µs · structs (from_json)"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · select&#10;7.50× the time of the fastest library (fully validating)&#10;twitter.json: 1,858 µs · structs (from_json)&#10;citm_catalog.json: 2,782 µs · parse&#10;canada.json: 5,057 µs · parse&#10;jeopardy.json: 256,520 µs · parse">
<rect class="nj-heat-4" x="409" y="261" width="90" height="34" rx="3"/> <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.77</text> <text class="nj-charts-cell" x="454" y="282" text-anchor="middle">7.50</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · edit&#10;3.45× the time of the fastest library (fully validating)&#10;twitter.json: 2,512 µs · ordered_json&#10;citm_catalog.json: 4,312 µs · ordered_json&#10;canada.json: 14,541 µs · parse&#10;jeopardy.json: 638,556 µs · ordered_json"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · edit&#10;4.02× the time of the fastest library (fully validating)&#10;twitter.json: 1,556 µs · ordered_json&#10;citm_catalog.json: 2,610 µs · ordered_json&#10;canada.json: 8,452 µs · parse&#10;jeopardy.json: 380,266 µs · ordered_json">
<rect class="nj-heat-3" x="501" y="261" width="90" height="34" rx="3"/> <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.45</text> <text class="nj-charts-cell" x="546" y="282" text-anchor="middle">4.02</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · minify&#10;4.38× the time of the fastest library (fully validating)&#10;way: parse + dump&#10;twitter.json: 3,703 µs&#10;citm_catalog.json: 5,077 µs&#10;canada.json: 15,286 µs&#10;jeopardy.json: 542,919 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · minify&#10;5.03× the time of the fastest library (fully validating)&#10;way: parse + dump&#10;twitter.json: 2,190 µs&#10;citm_catalog.json: 3,111 µs&#10;canada.json: 8,509 µs&#10;jeopardy.json: 306,446 µs">
<rect class="nj-heat-3" x="593" y="261" width="90" height="34" rx="3"/> <rect class="nj-heat-4" x="593" y="261" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="282" text-anchor="middle">4.38</text> <text class="nj-charts-cell" x="638" y="282" text-anchor="middle">5.03</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · write&#10;1.87× the time of the fastest library (fully validating)&#10;way: dump&#10;twitter.json: 450 µs&#10;citm_catalog.json: 601 µs&#10;canada.json: 4,556 µs&#10;jeopardy.json: 122,333 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · write&#10;2.48× the time of the fastest library (fully validating)&#10;way: dump&#10;twitter.json: 308 µs&#10;citm_catalog.json: 382 µs&#10;canada.json: 3,330 µs&#10;jeopardy.json: 81,811 µs">
<rect class="nj-heat-2" x="685" y="261" width="90" height="34" rx="3"/> <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.87</text> <text class="nj-charts-cell" x="730" y="282" text-anchor="middle">2.48</text>
</g> </g>
<text class="nj-charts-rowlabel " x="216" y="318" text-anchor="end">simd-json (Rust)</text> <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&#10;3.51× the time of the fastest library (fully validating)&#10;way: tape (copy)&#10;twitter.json: 596 µs&#10;citm_catalog.json: 1,434 µs&#10;canada.json: 4,216 µs&#10;jeopardy.json: 201,446 µs&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · validate&#10;3.23× the time of the fastest library (fully validating)&#10;way: tape (copy)&#10;twitter.json: 323 µs&#10;citm_catalog.json: 887 µs&#10;canada.json: 2,670 µs&#10;jeopardy.json: 107,087 µs&#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="297" width="90" height="34" rx="3"/> <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.51</text> <text class="nj-charts-cell" x="270" y="318" text-anchor="middle">3.23</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · sum&#10;1.90× the time of the fastest library (fully validating)&#10;way: visitor (copy)&#10;twitter.json: 697 µs&#10;citm_catalog.json: 1,627 µs&#10;canada.json: 5,110 µs&#10;jeopardy.json: 218,368 µs&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · sum&#10;2.00× the time of the fastest library (fully validating)&#10;way: visitor (copy)&#10;twitter.json: 384 µs&#10;citm_catalog.json: 1,021 µs&#10;canada.json: 3,151 µs&#10;jeopardy.json: 118,952 µ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="297" width="90" height="34" rx="3"/> <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.90</text> <text class="nj-charts-cell" x="362" y="318" text-anchor="middle">2.00</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · select&#10;2.68× the time of the fastest library (fully validating)&#10;way: structs (copy)&#10;twitter.json: 704 µs&#10;citm_catalog.json: 1,788 µs&#10;canada.json: 4,953 µs&#10;jeopardy.json: 257,184 µs&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · select&#10;3.04× the time of the fastest library (fully validating)&#10;way: structs (copy)&#10;twitter.json: 401 µs&#10;citm_catalog.json: 1,106 µs&#10;canada.json: 3,070 µs&#10;jeopardy.json: 134,048 µs&#10;(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"/> <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.68</text> <text class="nj-charts-cell" x="454" y="318" text-anchor="middle">3.04</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · edit&#10;2.93× the time of the fastest library (fully validating)&#10;twitter.json: 1,891 µs · borrowed (copy)&#10;citm_catalog.json: 4,398 µs · borrowed (copy)&#10;canada.json: 14,798 µs · owned (copy)&#10;jeopardy.json: 425,344 µs · borrowed (copy)&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · edit&#10;3.38× the time of the fastest library (fully validating)&#10;way: borrowed (copy)&#10;twitter.json: 1,224 µs&#10;citm_catalog.json: 2,630 µs&#10;canada.json: 8,994 µs&#10;jeopardy.json: 226,271 µs&#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="297" width="90" height="34" rx="3"/> <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.93</text> <text class="nj-charts-cell" x="546" y="318" text-anchor="middle">3.38</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · minify&#10;3.30× the time of the fastest library (fully validating)&#10;way: borrowed (copy)&#10;twitter.json: 1,858 µs&#10;citm_catalog.json: 4,281 µs&#10;canada.json: 15,500 µs&#10;jeopardy.json: 405,012 µs&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · minify&#10;3.84× the time of the fastest library (fully validating)&#10;way: borrowed (copy)&#10;twitter.json: 1,194 µs&#10;citm_catalog.json: 2,602 µs&#10;canada.json: 8,985 µs&#10;jeopardy.json: 217,085 µ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="297" width="90" height="34" rx="3"/> <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> <text class="nj-charts-cell" x="638" y="318" text-anchor="middle">3.84</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · write&#10;2.18× the time of the fastest library (fully validating)&#10;way: borrowed&#10;twitter.json: 584 µs&#10;citm_catalog.json: 833 µs&#10;canada.json: 4,983 µs&#10;jeopardy.json: 114,016 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · write&#10;2.57× the time of the fastest library (fully validating)&#10;way: borrowed&#10;twitter.json: 390 µs&#10;citm_catalog.json: 501 µs&#10;canada.json: 3,146 µs&#10;jeopardy.json: 59,808 µs">
<rect class="nj-heat-2" x="685" y="297" width="90" height="34" rx="3"/> <rect class="nj-heat-3" x="685" y="297" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="318" text-anchor="middle">2.18</text> <text class="nj-charts-cell" x="730" y="318" text-anchor="middle">2.57</text>
</g> </g>
<text class="nj-charts-rowlabel " x="216" y="354" text-anchor="end">serde_json (Rust)</text> <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&#10;2.32× the time of the fastest library (fully validating)&#10;way: from_utf8 + IgnoredAny&#10;twitter.json: 623 µs&#10;citm_catalog.json: 1,442 µs&#10;canada.json: 2,426 µs&#10;jeopardy.json: 64,116 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · validate&#10;2.26× the time of the fastest library (fully validating)&#10;way: from_utf8 + IgnoredAny&#10;twitter.json: 387 µs&#10;citm_catalog.json: 992 µs&#10;canada.json: 1,558 µs&#10;jeopardy.json: 32,686 µs">
<rect class="nj-heat-2" x="225" y="333" width="44" height="34" rx="3"/> <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.32</text> <text class="nj-charts-cell" x="247.5" y="354" text-anchor="middle">2.26</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · validate, checking less&#10;2.08× the time of the fastest fully validating library&#10;way: IgnoredAny&#10;twitter.json: 481 µs&#10;citm_catalog.json: 1,371 µs&#10;canada.json: 2,325 µs&#10;jeopardy.json: 58,120 µs&#10;trusts U&#8203;TF-8 in the strings it skips (from_slice); strings it reads are checked"> <g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · validate, checking less&#10;1.89× the time of the fastest fully validating library&#10;way: IgnoredAny&#10;twitter.json: 258 µs&#10;citm_catalog.json: 846 µs&#10;canada.json: 1,428 µs&#10;jeopardy.json: 30,731 µ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="333" width="44" height="34" rx="3"/> <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.08</text> <text class="nj-charts-cell" x="292.5" y="348" text-anchor="middle">1.89</text>
<text class="nj-charts-cell nj-charts-cell--small" x="292.5" y="361" text-anchor="middle">U</text> <text class="nj-charts-cell nj-charts-cell--small" x="292.5" y="361" text-anchor="middle">U</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · sum&#10;2.30× the time of the fastest library (fully validating)&#10;way: visitor&#10;twitter.json: 1,308 µs&#10;citm_catalog.json: 2,338 µs&#10;canada.json: 7,232 µs&#10;jeopardy.json: 122,584 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · sum&#10;2.42× the time of the fastest library (fully validating)&#10;way: visitor&#10;twitter.json: 772 µs&#10;citm_catalog.json: 1,228 µs&#10;canada.json: 4,790 µs&#10;jeopardy.json: 70,198 µs">
<rect class="nj-heat-2" x="317" y="333" width="90" height="34" rx="3"/> <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.30</text> <text class="nj-charts-cell" x="362" y="354" text-anchor="middle">2.42</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · select&#10;1.80× the time of the fastest library (fully validating)&#10;way: from_utf8 + structs&#10;twitter.json: 731 µs&#10;citm_catalog.json: 1,546 µs&#10;canada.json: 2,458 µs&#10;jeopardy.json: 117,515 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · select&#10;2.06× the time of the fastest library (fully validating)&#10;way: from_utf8 + structs&#10;twitter.json: 434 µs&#10;citm_catalog.json: 1,055 µs&#10;canada.json: 1,560 µs&#10;jeopardy.json: 53,880 µs">
<rect class="nj-heat-2" x="409" y="333" width="90" height="34" rx="3"/> <rect class="nj-heat-2" x="409" y="333" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="354" text-anchor="middle">1.80</text> <text class="nj-charts-cell" x="431.5" y="354" text-anchor="middle">2.06</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · edit&#10;4.73× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 4,374 µs&#10;citm_catalog.json: 6,628 µs&#10;canada.json: 16,819 µs&#10;jeopardy.json: 729,615 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · select, checking less&#10;1.88× the time of the fastest fully validating library&#10;twitter.json: 367 µs · structs&#10;citm_catalog.json: 946 µs · structs&#10;canada.json: 1,420 µs · structs&#10;jeopardy.json: 53,880 µ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-3" x="501" y="333" width="90" height="34" rx="3"/> <rect class="nj-heat-2" x="455" y="333" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="354" text-anchor="middle">4.73</text> <text class="nj-charts-cell" x="476.5" y="348" text-anchor="middle">1.88</text>
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="361" text-anchor="middle">U</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · minify&#10;4.88× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 4,034 µs&#10;citm_catalog.json: 6,745 µs&#10;canada.json: 16,795 µs&#10;jeopardy.json: 525,375 µs"> <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,423 µs&#10;citm_catalog.json: 3,549 µs&#10;canada.json: 10,095 µs&#10;jeopardy.json: 389,645 µs">
<rect class="nj-heat-3" x="593" y="333" width="90" height="34" rx="3"/> <rect class="nj-heat-4" x="501" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="354" text-anchor="middle">4.88</text> <text class="nj-charts-cell" x="546" y="354" text-anchor="middle">5.10</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · write&#10;2.13× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 562 µs&#10;citm_catalog.json: 837 µs&#10;canada.json: 4,122 µs&#10;jeopardy.json: 130,002 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · minify&#10;5.41× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 2,396 µs&#10;citm_catalog.json: 3,633 µs&#10;canada.json: 10,095 µs&#10;jeopardy.json: 271,504 µs">
<rect class="nj-heat-2" x="685" y="333" width="90" height="34" rx="3"/> <rect class="nj-heat-4" x="593" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="354" text-anchor="middle">2.13</text> <text class="nj-charts-cell" x="638" y="354" text-anchor="middle">5.41</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · write&#10;2.66× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 399 µs&#10;citm_catalog.json: 590 µs&#10;canada.json: 2,432 µs&#10;jeopardy.json: 73,863 µ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">2.66</text>
</g> </g>
<text class="nj-charts-rowlabel " x="216" y="390" text-anchor="end">Glaze</text> <text class="nj-charts-rowlabel " x="216" y="390" text-anchor="end">Glaze</text>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · validate&#10;2.28× the time of the fastest library (fully validating)&#10;way: validate_json&#10;twitter.json: 597 µs&#10;citm_catalog.json: 1,248 µs&#10;canada.json: 2,185 µs&#10;jeopardy.json: 79,602 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Glaze · validate&#10;1.92× the time of the fastest library (fully validating)&#10;way: validate_json&#10;twitter.json: 314 µs&#10;citm_catalog.json: 688 µs&#10;canada.json: 1,119 µs&#10;jeopardy.json: 42,232 µs">
<rect class="nj-heat-2" x="225" y="369" width="90" height="34" rx="3"/> <rect class="nj-heat-2" x="225" y="369" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="390" text-anchor="middle">2.28</text> <text class="nj-charts-cell" x="270" y="390" text-anchor="middle">1.92</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · sum&#10;4.33× the time of the fastest library (fully validating)&#10;way: generic (double, strict)&#10;twitter.json: 2,554 µs&#10;citm_catalog.json: 4,115 µs&#10;canada.json: 12,368 µs&#10;jeopardy.json: 262,454 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Glaze · sum&#10;4.14× the time of the fastest library (fully validating)&#10;way: generic (double, strict)&#10;twitter.json: 1,362 µs&#10;citm_catalog.json: 2,299 µs&#10;canada.json: 6,012 µs&#10;jeopardy.json: 143,894 µs">
<rect class="nj-heat-3" x="317" y="369" width="44" height="34" rx="3"/> <rect class="nj-heat-3" x="317" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="339.5" y="390" text-anchor="middle">4.33</text> <text class="nj-charts-cell" x="339.5" y="390" text-anchor="middle">4.14</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · sum, checking less&#10;4.04× the time of the fastest fully validating library&#10;twitter.json: 2,457 µs · generic (double)&#10;citm_catalog.json: 3,970 µs · generic (double)&#10;canada.json: 12,368 µs · generic (double, strict) (validates fully)&#10;jeopardy.json: 214,642 µs · lazy_json&#10;accepts trailing garbage after the value: Glaze&#x27;s default (validate_trailing_whitespace checks it)&#10;reads lazily: lazy_json reads only what you ask for and steps over the rest"> <g class="nj-heat-cell" tabindex="0" data-tip="Glaze · sum, checking less&#10;3.96× the time of the fastest fully validating library&#10;twitter.json: 1,358 µs · generic (double)&#10;citm_catalog.json: 2,286 µs · generic (double)&#10;canada.json: 6,012 µs · generic (double, strict) (validates fully)&#10;jeopardy.json: 122,038 µs · lazy_json&#10;accepts trailing garbage after the value: Glaze&#x27;s default (validate_trailing_whitespace checks it)&#10;reads lazily: lazy_json reads only what you ask for and steps over the rest">
<rect class="nj-heat-3" x="363" y="369" width="44" height="34" rx="3"/> <rect class="nj-heat-3" x="363" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="384.5" y="384" text-anchor="middle">4.04</text> <text class="nj-charts-cell" x="384.5" y="384" text-anchor="middle">3.96</text>
<text class="nj-charts-cell nj-charts-cell--small" x="384.5" y="397" text-anchor="middle">P</text> <text class="nj-charts-cell nj-charts-cell--small" x="384.5" y="397" text-anchor="middle">P</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · select&#10;1.43× the time of the fastest library (fully validating)&#10;way: structs (validate_skipped)&#10;twitter.json: 547 µs&#10;citm_catalog.json: 1,363 µs&#10;canada.json: 1,986 µs&#10;jeopardy.json: 88,526 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Glaze · select&#10;1.55× the time of the fastest library (fully validating)&#10;way: structs (validate_skipped)&#10;twitter.json: 303 µs&#10;citm_catalog.json: 750 µs&#10;canada.json: 1,129 µs&#10;jeopardy.json: 47,576 µs">
<rect class="nj-heat-1" x="409" y="369" width="44" height="34" rx="3"/> <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">1.43</text> <text class="nj-charts-cell" x="431.5" y="390" text-anchor="middle">1.55</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · select, checking less&#10;0.61× the time of the fastest fully validating library&#10;way: structs&#10;twitter.json: 339 µs&#10;citm_catalog.json: 415 µs&#10;canada.json: 444 µs&#10;jeopardy.json: 68,385 µs&#10;reads into structs and steps over fields it doesn&#x27;t know without checking them (validate_skipped checks them too)"> <g class="nj-heat-cell" tabindex="0" data-tip="Glaze · select, checking less&#10;0.68× the time of the fastest fully validating library&#10;way: structs&#10;twitter.json: 200 µs&#10;citm_catalog.json: 226 µs&#10;canada.json: 280 µs&#10;jeopardy.json: 35,865 µ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="369" width="44" height="34" rx="3"/> <rect class="nj-heat-0" x="455" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="476.5" y="384" text-anchor="middle">0.61</text> <text class="nj-charts-cell" x="476.5" y="384" text-anchor="middle">0.68</text>
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="397" text-anchor="middle">P</text> <text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="397" text-anchor="middle">P</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · edit&#10;5.50× the time of the fastest library (fully validating)&#10;way: generic (strict)&#10;twitter.json: 4,179 µs&#10;citm_catalog.json: 7,326 µs&#10;canada.json: 27,788 µs&#10;jeopardy.json: 763,876 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Glaze · edit&#10;5.74× the time of the fastest library (fully validating)&#10;way: generic (strict)&#10;twitter.json: 2,229 µs&#10;citm_catalog.json: 4,175 µs&#10;canada.json: 15,470 µs&#10;jeopardy.json: 379,283 µs">
<rect class="nj-heat-4" x="501" y="369" width="90" height="34" rx="3"/> <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.50</text> <text class="nj-charts-cell" x="546" y="390" text-anchor="middle">5.74</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · minify&#10;5.87× the time of the fastest library (fully validating)&#10;way: generic (strict)&#10;twitter.json: 4,180 µs&#10;citm_catalog.json: 7,253 µs&#10;canada.json: 28,874 µs&#10;jeopardy.json: 573,896 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Glaze · minify&#10;6.13× the time of the fastest library (fully validating)&#10;way: generic (strict)&#10;twitter.json: 2,161 µs&#10;citm_catalog.json: 4,119 µs&#10;canada.json: 15,484 µs&#10;jeopardy.json: 284,691 µs">
<rect class="nj-heat-4" x="593" y="369" width="44" height="34" rx="3"/> <rect class="nj-heat-4" x="593" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="390" text-anchor="middle">5.87</text> <text class="nj-charts-cell" x="615.5" y="390" text-anchor="middle">6.13</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · minify, checking less&#10;0.70× the time of the fastest fully validating library&#10;way: minify_json&#10;twitter.json: 418 µs&#10;citm_catalog.json: 1,022 µs&#10;canada.json: 2,433 µs&#10;jeopardy.json: 99,184 µs&#10;minify_json only removes whitespace, without parsing the values"> <g class="nj-heat-cell" tabindex="0" data-tip="Glaze · minify, checking less&#10;0.80× the time of the fastest fully validating library&#10;way: minify_json&#10;twitter.json: 234 µs&#10;citm_catalog.json: 659 µs&#10;canada.json: 1,511 µs&#10;jeopardy.json: 48,839 µs&#10;minify_json only removes whitespace, without parsing the values">
<rect class="nj-heat-0" x="639" y="369" width="44" height="34" rx="3"/> <rect class="nj-heat-0" x="639" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="384" text-anchor="middle">0.70</text> <text class="nj-charts-cell" x="660.5" y="384" text-anchor="middle">0.80</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="397" text-anchor="middle">P</text> <text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="397" text-anchor="middle">P</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · write&#10;1.94× the time of the fastest library (fully validating)&#10;twitter.json: 403 µs · generic&#10;citm_catalog.json: 724 µs · generic (strict)&#10;canada.json: 4,322 µs · generic&#10;jeopardy.json: 138,671 µs · generic"> <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: 214 µs · generic&#10;citm_catalog.json: 392 µs · generic&#10;canada.json: 3,058 µs · generic (strict)&#10;jeopardy.json: 75,717 µs · generic">
<rect class="nj-heat-2" x="685" y="369" width="90" height="34" rx="3"/> <rect class="nj-heat-2" x="685" y="369" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="390" text-anchor="middle">1.94</text> <text class="nj-charts-cell" x="730" y="390" text-anchor="middle">2.19</text>
</g> </g>
<text class="nj-charts-rowlabel " x="216" y="426" text-anchor="end">RapidJSON</text> <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;5.26× the time of the fastest library (fully validating)&#10;twitter.json: 1,876 µs · insitu (copy)&#10;citm_catalog.json: 1,936 µs · S&#8203;AX (default precision)&#10;canada.json: 4,075 µs · S&#8203;AX (string stream, default precision)&#10;jeopardy.json: 249,149 µ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"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · validate&#10;4.11× the time of the fastest library (fully validating)&#10;twitter.json: 937 µs · S&#8203;AX (default precision)&#10;citm_catalog.json: 900 µs · S&#8203;AX (default precision)&#10;canada.json: 2,075 µs · S&#8203;AX (string stream, default precision)&#10;jeopardy.json: 123,143 µs · S&#8203;AX (raw numbers)">
<rect class="nj-heat-4" x="225" y="405" width="44" height="34" rx="3"/> <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">5.26</text> <text class="nj-charts-cell" x="247.5" y="426" text-anchor="middle">4.11</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · validate, checking less&#10;3.82× the time of the fastest fully validating library&#10;twitter.json: 1,188 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,511 µs · S&#8203;AX (default precision) (no encoding check)&#10;canada.json: 4,075 µs · S&#8203;AX (string stream, default precision) (validates fully)&#10;jeopardy.json: 140,226 µs · S&#8203;AX (string stream, default precision) (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"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · validate, checking less&#10;3.28× the time of the fastest fully validating library&#10;twitter.json: 623 µs · S&#8203;AX (no encoding check)&#10;citm_catalog.json: 728 µs · S&#8203;AX (default precision) (no encoding check)&#10;canada.json: 2,075 µs · S&#8203;AX (string stream, default precision) (validates fully)&#10;jeopardy.json: 93,128 µs · S&#8203;AX (string stream, default precision) (no encoding check)&#10;trusts U&#8203;TF-8: RapidJSON&#x27;s default (kParseValidateEncodingFlag checks it)">
<rect class="nj-heat-3" x="271" y="405" width="44" height="34" rx="3"/> <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.82</text> <text class="nj-charts-cell" x="292.5" y="420" text-anchor="middle">3.28</text>
<text class="nj-charts-cell nj-charts-cell--small" x="292.5" y="433" text-anchor="middle">U</text> <text class="nj-charts-cell nj-charts-cell--small" x="292.5" y="433" text-anchor="middle">U</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · sum&#10;3.33× the time of the fastest library (fully validating)&#10;twitter.json: 2,016 µs · insitu (copy)&#10;citm_catalog.json: 2,185 µs · S&#8203;AX&#10;canada.json: 10,785 µs · S&#8203;AX (string stream)&#10;jeopardy.json: 250,615 µs · S&#8203;AX (string stream)&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · sum&#10;3.11× the time of the fastest library (fully validating)&#10;twitter.json: 977 µs · S&#8203;AX&#10;citm_catalog.json: 1,025 µs · S&#8203;AX&#10;canada.json: 6,628 µs · S&#8203;AX (string stream)&#10;jeopardy.json: 129,798 µs · S&#8203;AX">
<rect class="nj-heat-3" x="317" y="405" width="44" height="34" rx="3"/> <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">3.33</text> <text class="nj-charts-cell" x="339.5" y="426" text-anchor="middle">3.11</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · sum, checking less&#10;2.44× the time of the fastest fully validating library&#10;twitter.json: 1,293 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,788 µs · S&#8203;AX (no encoding check)&#10;canada.json: 10,785 µs · S&#8203;AX (string stream) (validates fully)&#10;jeopardy.json: 138,375 µs · S&#8203;AX (string stream) (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"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · sum, checking less&#10;2.40× the time of the fastest fully validating library&#10;twitter.json: 606 µs · S&#8203;AX (no encoding check)&#10;citm_catalog.json: 804 µs · S&#8203;AX (no encoding check)&#10;canada.json: 6,588 µs · S&#8203;AX (string stream) (no encoding check)&#10;jeopardy.json: 94,996 µs · S&#8203;AX (string stream) (no encoding check)&#10;trusts U&#8203;TF-8: RapidJSON&#x27;s default (kParseValidateEncodingFlag checks it)">
<rect class="nj-heat-2" x="363" y="405" width="44" height="34" rx="3"/> <rect class="nj-heat-2" x="363" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="384.5" y="420" text-anchor="middle">2.44</text> <text class="nj-charts-cell" x="384.5" y="420" text-anchor="middle">2.40</text>
<text class="nj-charts-cell nj-charts-cell--small" x="384.5" y="433" text-anchor="middle">U</text> <text class="nj-charts-cell nj-charts-cell--small" x="384.5" y="433" text-anchor="middle">U</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · select&#10;4.65× the time of the fastest library (fully validating)&#10;twitter.json: 1,914 µs · insitu (copy)&#10;citm_catalog.json: 2,348 µs · insitu (copy)&#10;canada.json: 12,212 µs · Document (string stream)&#10;jeopardy.json: 265,247 µs · insitu (copy)&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · select&#10;4.58× the time of the fastest library (fully validating)&#10;twitter.json: 1,034 µs · Document&#10;citm_catalog.json: 1,171 µs · Document&#10;canada.json: 5,223 µs · Document (raw numbers)&#10;jeopardy.json: 147,421 µs · Document">
<rect class="nj-heat-3" x="409" y="405" width="44" height="34" rx="3"/> <rect class="nj-heat-3" x="409" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="431.5" y="426" text-anchor="middle">4.65</text> <text class="nj-charts-cell" x="431.5" y="426" text-anchor="middle">4.58</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · select, checking less&#10;3.59× the time of the fastest fully validating library&#10;twitter.json: 1,189 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,944 µs · insitu (copy) (no encoding check)&#10;canada.json: 12,098 µs · Document (string stream) (no encoding check)&#10;jeopardy.json: 184,135 µs · Document (string stream) (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"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · select, checking less&#10;3.62× the time of the fastest fully validating library&#10;twitter.json: 694 µs · Document (no encoding check)&#10;citm_catalog.json: 901 µs · Document (no encoding check)&#10;canada.json: 5,223 µs · Document (raw numbers) (validates fully)&#10;jeopardy.json: 111,804 µs · Document (string stream) (no encoding check)&#10;trusts U&#8203;TF-8: RapidJSON&#x27;s default (kParseValidateEncodingFlag checks it)">
<rect class="nj-heat-3" x="455" y="405" width="44" height="34" rx="3"/> <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.59</text> <text class="nj-charts-cell" x="476.5" y="420" text-anchor="middle">3.62</text>
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="433" text-anchor="middle">U</text> <text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="433" text-anchor="middle">U</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · edit&#10;3.15× the time of the fastest library (fully validating)&#10;way: insitu (copy)&#10;twitter.json: 2,472 µs&#10;citm_catalog.json: 3,226 µs&#10;canada.json: 22,184 µs&#10;jeopardy.json: 393,111 µs&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · edit&#10;3.37× the time of the fastest library (fully validating)&#10;twitter.json: 1,344 µs · Document&#10;citm_catalog.json: 1,610 µs · Document&#10;canada.json: 13,274 µs · Document (string stream)&#10;jeopardy.json: 224,631 µs · Document">
<rect class="nj-heat-3" x="501" y="405" width="44" height="34" rx="3"/> <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">3.15</text> <text class="nj-charts-cell" x="523.5" y="426" text-anchor="middle">3.37</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · edit, checking less&#10;2.66× the time of the fastest fully validating library&#10;twitter.json: 1,931 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 2,868 µs · insitu (copy) (no encoding check)&#10;canada.json: 21,421 µs · Document (string stream) (no encoding check)&#10;jeopardy.json: 300,467 µs · Document (string stream) (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"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · edit, checking less&#10;2.86× the time of the fastest fully validating library&#10;twitter.json: 989 µs · Document (no encoding check)&#10;citm_catalog.json: 1,349 µs · Document (no encoding check)&#10;canada.json: 13,274 µs · Document (string stream) (validates fully)&#10;jeopardy.json: 188,305 µs · Document (string stream) (no encoding check)&#10;trusts U&#8203;TF-8: RapidJSON&#x27;s default (kParseValidateEncodingFlag checks it)">
<rect class="nj-heat-3" x="547" y="405" width="44" height="34" rx="3"/> <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">2.66</text> <text class="nj-charts-cell" x="568.5" y="420" text-anchor="middle">2.86</text>
<text class="nj-charts-cell nj-charts-cell--small" x="568.5" y="433" text-anchor="middle">U</text> <text class="nj-charts-cell nj-charts-cell--small" x="568.5" y="433" text-anchor="middle">U</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · minify&#10;3.49× the time of the fastest library (fully validating)&#10;twitter.json: 2,530 µs · S&#8203;AX to Writer&#10;citm_catalog.json: 2,871 µs · S&#8203;AX to Writer&#10;canada.json: 22,749 µs · Document + Writer&#10;jeopardy.json: 380,506 µs · S&#8203;AX to Writer (string stream)"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · minify&#10;3.68× the time of the fastest library (fully validating)&#10;twitter.json: 1,273 µs · S&#8203;AX to Writer&#10;citm_catalog.json: 1,412 µs · S&#8203;AX to Writer&#10;canada.json: 13,200 µs · S&#8203;AX to Writer (string stream)&#10;jeopardy.json: 215,385 µs · Document + Writer">
<rect class="nj-heat-3" x="593" y="405" width="44" height="34" rx="3"/> <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">3.49</text> <text class="nj-charts-cell" x="615.5" y="426" text-anchor="middle">3.68</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · minify, checking less&#10;2.62× the time of the fastest fully validating library&#10;twitter.json: 1,877 µs · S&#8203;AX to Writer (no encoding check)&#10;citm_catalog.json: 2,460 µs · S&#8203;AX to Writer (no encoding check)&#10;canada.json: 15,410 µs · S&#8203;AX to Writer (raw numbers) (no encoding check)&#10;jeopardy.json: 280,252 µ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)"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · minify, checking less&#10;2.44× the time of the fastest fully validating library&#10;twitter.json: 887 µs · S&#8203;AX to Writer (no encoding check)&#10;citm_catalog.json: 1,141 µs · S&#8203;AX to Writer (no encoding check)&#10;canada.json: 6,113 µs · S&#8203;AX to Writer (raw numbers) (validates fully)&#10;jeopardy.json: 159,026 µ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"/> <rect class="nj-heat-2" x="639" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="420" text-anchor="middle">2.62</text> <text class="nj-charts-cell" x="660.5" y="420" text-anchor="middle">2.44</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="433" text-anchor="middle">U N</text> <text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="433" text-anchor="middle">U N</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · write&#10;2.90× the time of the fastest library (fully validating)&#10;way: Writer&#10;twitter.json: 664 µs&#10;citm_catalog.json: 962 µs&#10;canada.json: 10,228 µs&#10;jeopardy.json: 132,977 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · write&#10;2.94× the time of the fastest library (fully validating)&#10;way: Writer&#10;twitter.json: 296 µs&#10;citm_catalog.json: 454 µs&#10;canada.json: 6,485 µs&#10;jeopardy.json: 73,086 µs">
<rect class="nj-heat-3" x="685" y="405" width="90" height="34" rx="3"/> <rect class="nj-heat-3" x="685" y="405" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="426" text-anchor="middle">2.90</text> <text class="nj-charts-cell" x="730" y="426" text-anchor="middle">2.94</text>
</g> </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> <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"/> <g><rect class="nj-heat-0" x="8" y="482" width="76" height="20" rx="3"/>

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 46 KiB

@@ -1,6 +1,6 @@
<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"> <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&#8203;CC 16.2</title> <title id="nj-blog-uc-x86-gcc">Use cases: time of each library relative to the fastest, x86-64 with G&#8203;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.79 doing less, N); nlohmann/json json_document minify: 1.00 (0.78 doing less, N); nlohmann/json json_document write: 1.00 (0.63 doing less, N); yyjson validate: 2.19; yyjson sum: 1.35; yyjson select: 1.38; 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.27 doing less, U); sonic-cpp sum: no fully validating way (1.23 doing less, U); sonic-cpp select: no fully validating way (1.44 doing less, U); sonic-cpp edit: no fully validating way (1.20 doing less, U); sonic-cpp minify: no fully validating way (1.33 doing less, U); sonic-cpp write: 1.47; simdjson validate: 2.06; simdjson sum: 1.00; simdjson select: 1.30 (0.55 doing less, P); simdjson edit: n/a; simdjson minify: 1.52 (0.18 doing less, P); simdjson write: 2.06; sonic-rs (Rust) validate: 1.88; sonic-rs (Rust) sum: 1.10; sonic-rs (Rust) select: 1.35; sonic-rs (Rust) edit: 1.92; sonic-rs (Rust) minify: 1.70; sonic-rs (Rust) write: 1.93; Boost.J&#8203;SON validate: 1.91; Boost.J&#8203;SON sum: 1.27; Boost.J&#8203;SON select: 2.18; Boost.J&#8203;SON edit: 2.31; Boost.J&#8203;SON minify: 2.54; Boost.J&#8203;SON write: 2.33; nlohmann/json json validate: 1.66; nlohmann/json json sum: 1.17; nlohmann/json json select: 6.34; nlohmann/json json edit: 3.42; nlohmann/json json minify: 4.13; nlohmann/json json write: 1.81; simd-json (Rust) validate: 3.55; simd-json (Rust) sum: 1.91; simd-json (Rust) select: 2.63; simd-json (Rust) edit: 2.87; simd-json (Rust) minify: 3.25; simd-json (Rust) write: 2.22; serde_json (Rust) validate: 2.35 (2.10 doing less, U); serde_json (Rust) sum: 2.31; serde_json (Rust) select: 1.77; serde_json (Rust) edit: 4.64; serde_json (Rust) minify: 4.82; serde_json (Rust) write: 2.17; RapidJSON validate: 3.76 (3.43 doing less, U); RapidJSON sum: 2.33 (2.14 doing less, U); RapidJSON select: 3.18 (2.99 doing less, U); RapidJSON edit: 2.49 (2.41 doing less, U); RapidJSON minify: 2.63 (2.36 doing less, U N); RapidJSON write: 2.93; Glaze validate: 2.78; Glaze sum: 4.06; Glaze select: 1.71 (0.59 doing less, P); Glaze edit: 4.39; Glaze minify: 4.62 (0.75 doing less, P); Glaze write: 1.96.</desc> <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.17; nlohmann/json json_document select: 1.00; nlohmann/json json_document edit: 1.00 (0.80 doing less, N); nlohmann/json json_document minify: 1.00 (0.80 doing less, N); nlohmann/json json_document write: 1.00 (0.65 doing less, N); simdjson validate: 1.40; simdjson sum: 1.00; simdjson select: 1.14 (0.44 doing less, P); simdjson edit: n/a; simdjson minify: 1.52 (0.11 doing less, P); simdjson write: 2.09; yyjson validate: 1.94; yyjson sum: 1.52; yyjson select: 1.51; yyjson edit: 1.63; yyjson minify: 1.41 (1.20 doing less, N); yyjson write: 1.24; sonic-cpp validate: no fully validating way (2.06 doing less, U); sonic-cpp sum: no fully validating way (1.52 doing less, U); sonic-cpp select: no fully validating way (1.65 doing less, U); sonic-cpp edit: no fully validating way (1.36 doing less, U); sonic-cpp minify: no fully validating way (1.52 doing less, U); sonic-cpp write: 1.47; sonic-rs (Rust) validate: 1.71; sonic-rs (Rust) sum: 1.31; sonic-rs (Rust) select: 1.41; sonic-rs (Rust) edit: 2.13; sonic-rs (Rust) minify: 1.81; sonic-rs (Rust) write: 2.03; Boost.J&#8203;SON validate: 2.04; Boost.J&#8203;SON sum: 1.66; Boost.J&#8203;SON select: 2.33; Boost.J&#8203;SON edit: 2.31; Boost.J&#8203;SON minify: 2.60; Boost.J&#8203;SON write: 2.27; nlohmann/json json validate: 1.50; nlohmann/json json sum: 1.29; nlohmann/json json select: 6.84; nlohmann/json json edit: 3.71; nlohmann/json json minify: 4.62; nlohmann/json json write: 2.25; simd-json (Rust) validate: 3.20; simd-json (Rust) sum: 2.32; simd-json (Rust) select: 2.99; simd-json (Rust) edit: 3.37; simd-json (Rust) minify: 3.81; simd-json (Rust) write: 2.57; Glaze validate: 2.21; Glaze sum: 4.47; Glaze select: 1.65 (0.65 doing less, P); Glaze edit: 4.83; Glaze minify: 5.11 (0.87 doing less, P); Glaze write: 2.18; RapidJSON validate: 3.26 (2.77 doing less, U); RapidJSON sum: 2.76 (2.44 doing less, U); RapidJSON select: 3.44 (3.26 doing less, U); RapidJSON edit: 3.00 (2.84 doing less, U); RapidJSON minify: 3.01 (2.25 doing less, U N); RapidJSON write: 3.28; serde_json (Rust) validate: 2.23 (1.87 doing less, U); serde_json (Rust) sum: 2.82; serde_json (Rust) select: 2.03 (1.85 doing less, U); serde_json (Rust) edit: 5.07; serde_json (Rust) minify: 5.37; serde_json (Rust) write: 2.66.</desc>
<text class="nj-charts-tick" x="270" y="34">validate</text> <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="362" y="34">sum</text>
<text class="nj-charts-tick" x="454" y="34">select</text> <text class="nj-charts-tick" x="454" y="34">select</text>
@@ -8,354 +8,359 @@
<text class="nj-charts-tick" x="638" y="34">minify</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-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> <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: 256 µs&#10;citm_catalog.json: 521 µs&#10;canada.json: 928 µs&#10;jeopardy.json: 36,964 µs"> <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: 161 µs&#10;citm_catalog.json: 314 µs&#10;canada.json: 674 µs&#10;jeopardy.json: 23,002 µs">
<rect class="nj-heat-0" x="225" y="45" width="90" height="34" rx="3"/> <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> <text class="nj-charts-cell" x="270" y="66" text-anchor="middle">1.00</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · sum&#10;1.10× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 389 µs&#10;citm_catalog.json: 1,063 µs&#10;canada.json: 3,706 µs&#10;jeopardy.json: 92,004 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · sum&#10;1.17× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 212 µs&#10;citm_catalog.json: 527 µs&#10;canada.json: 1,865 µs&#10;jeopardy.json: 46,072 µs">
<rect class="nj-heat-0" x="317" y="45" width="90" height="34" rx="3"/> <rect class="nj-heat-1" 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> <text class="nj-charts-cell" x="362" y="66" text-anchor="middle">1.17</text>
</g> </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: 328 µs&#10;citm_catalog.json: 860 µs&#10;canada.json: 1,305 µs&#10;jeopardy.json: 90,569 µs"> <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;twitter.json: 177 µs · structs (from_json)&#10;citm_catalog.json: 394 µs · parse&#10;canada.json: 699 µs · structs (from_json)&#10;jeopardy.json: 46,890 µs · parse">
<rect class="nj-heat-0" x="409" y="45" width="90" height="34" rx="3"/> <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> <text class="nj-charts-cell" x="454" y="66" text-anchor="middle">1.00</text>
</g> </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: 533 µs&#10;citm_catalog.json: 1,238 µs&#10;canada.json: 5,830 µs&#10;jeopardy.json: 199,767 µs"> <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: 285 µs&#10;citm_catalog.json: 593 µs&#10;canada.json: 2,935 µs&#10;jeopardy.json: 103,015 µs">
<rect class="nj-heat-0" x="501" y="45" width="44" height="34" rx="3"/> <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> <text class="nj-charts-cell" x="523.5" y="66" text-anchor="middle">1.00</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · edit, checking less&#10;0.79× the time of the fastest fully validating library&#10;twitter.json: 533 µs · editable (validates fully)&#10;citm_catalog.json: 1,228 µs · editable (source numbers) (validates fully)&#10;canada.json: 2,233 µs · editable (source numbers) (validates fully)&#10;jeopardy.json: 199,767 µs · editable (validates fully)&#10;copies each number&#x27;s text instead of formatting it (number_format::source)"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · edit, checking less&#10;0.80× the time of the fastest fully validating library&#10;twitter.json: 283 µs · editable (source numbers) (validates fully)&#10;citm_catalog.json: 593 µs · editable (validates fully)&#10;canada.json: 1,211 µs · editable (source numbers) (validates fully)&#10;jeopardy.json: 103,015 µs · editable (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"/> <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.79</text> <text class="nj-charts-cell" x="568.5" y="60" text-anchor="middle">0.80</text>
<text class="nj-charts-cell nj-charts-cell--small" x="568.5" y="73" text-anchor="middle">N</text> <text class="nj-charts-cell nj-charts-cell--small" x="568.5" y="73" text-anchor="middle">N</text>
</g> </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: 486 µs&#10;citm_catalog.json: 1,142 µs&#10;canada.json: 5,420 µs&#10;jeopardy.json: 148,094 µs"> <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: 253 µs&#10;citm_catalog.json: 551 µs&#10;canada.json: 2,759 µs&#10;jeopardy.json: 74,924 µs">
<rect class="nj-heat-0" x="593" y="45" width="44" height="34" rx="3"/> <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> <text class="nj-charts-cell" x="615.5" y="66" text-anchor="middle">1.00</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · minify, checking less&#10;0.78× the time of the fastest fully validating library&#10;twitter.json: 464 µs · parse + dump (source numbers) (validates fully)&#10;citm_catalog.json: 1,142 µs · parse + dump (validates fully)&#10;canada.json: 2,155 µs · parse + dump (source numbers) (validates fully)&#10;jeopardy.json: 148,094 µs · parse + dump (validates fully)&#10;copies each number&#x27;s text instead of formatting it (number_format::source)"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · minify, checking less&#10;0.80× 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: 537 µs (validates fully)&#10;canada.json: 1,186 µs (validates fully)&#10;jeopardy.json: 74,197 µ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"/> <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" x="660.5" y="60" text-anchor="middle">0.80</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="73" text-anchor="middle">N</text> <text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="73" text-anchor="middle">N</text>
</g> </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: 156 µs&#10;citm_catalog.json: 252 µs&#10;canada.json: 3,972 µs&#10;jeopardy.json: 73,004 µs"> <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: 79.3 µs&#10;citm_catalog.json: 157 µs&#10;canada.json: 2,058 µs&#10;jeopardy.json: 33,000 µs">
<rect class="nj-heat-0" x="685" y="45" width="44" height="34" rx="3"/> <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> <text class="nj-charts-cell" x="707.5" y="66" text-anchor="middle">1.00</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · write, checking less&#10;0.63× the time of the fastest fully validating library&#10;way: dump (source numbers)&#10;twitter.json: 137 µs (validates fully)&#10;citm_catalog.json: 230 µs (validates fully)&#10;canada.json: 828 µs (validates fully)&#10;jeopardy.json: 69,980 µs (validates fully)&#10;copies each number&#x27;s text instead of formatting it (number_format::source)"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · write, checking less&#10;0.65× the time of the fastest fully validating library&#10;way: dump (source numbers)&#10;twitter.json: 69.8 µs (validates fully)&#10;citm_catalog.json: 143 µs (validates fully)&#10;canada.json: 467 µs (validates fully)&#10;jeopardy.json: 32,463 µs (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"/> <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.63</text> <text class="nj-charts-cell" x="752.5" y="60" text-anchor="middle">0.65</text>
<text class="nj-charts-cell nj-charts-cell--small" x="752.5" y="73" text-anchor="middle">N</text> <text class="nj-charts-cell nj-charts-cell--small" x="752.5" y="73" text-anchor="middle">N</text>
</g> </g>
<text class="nj-charts-rowlabel " x="216" y="102" text-anchor="end">yyjson</text> <text class="nj-charts-rowlabel " x="216" y="102" text-anchor="end">simdjson</text>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · validate&#10;2.19× the time of the fastest library (fully validating)&#10;twitter.json: 394 µs · read (raw numbers)&#10;citm_catalog.json: 934 µs · read (raw numbers)&#10;canada.json: 2,136 µs · read (raw numbers)&#10;jeopardy.json: 132,469 µs · read"> <g class="nj-heat-cell" tabindex="0" data-tip="simdjson · validate&#10;1.40× the time of the fastest library (fully validating)&#10;way: D&#8203;OM&#10;twitter.json: 124 µs&#10;citm_catalog.json: 316 µs&#10;canada.json: 1,619 µs&#10;jeopardy.json: 48,032 µs">
<rect class="nj-heat-2" x="225" y="81" width="90" height="34" rx="3"/> <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">2.19</text> <text class="nj-charts-cell" x="270" y="102" text-anchor="middle">1.40</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · sum&#10;1.35× the time of the fastest library (fully validating)&#10;way: insitu (copy)&#10;twitter.json: 448 µs&#10;citm_catalog.json: 1,093 µs&#10;canada.json: 4,264 µs&#10;jeopardy.json: 149,359 µs&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="simdjson · sum&#10;1.00× the time of the fastest library (fully validating)&#10;way: On-Demand&#10;twitter.json: 162 µs&#10;citm_catalog.json: 413 µs&#10;canada.json: 1,841 µs&#10;jeopardy.json: 40,935 µs">
<rect class="nj-heat-1" x="317" y="81" width="90" height="34" rx="3"/> <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.35</text> <text class="nj-charts-cell" x="362" y="102" text-anchor="middle">1.00</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · select&#10;1.38× the time of the fastest library (fully validating)&#10;twitter.json: 406 µs · read&#10;citm_catalog.json: 953 µs · read&#10;canada.json: 2,209 µs · read (raw numbers)&#10;jeopardy.json: 142,873 µs · insitu (copy)&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="simdjson · select&#10;1.14× the time of the fastest library (fully validating)&#10;way: D&#8203;OM&#10;twitter.json: 130 µs&#10;citm_catalog.json: 324 µs&#10;canada.json: 1,622 µs&#10;jeopardy.json: 56,255 µs">
<rect class="nj-heat-1" x="409" y="81" width="90" height="34" rx="3"/> <rect class="nj-heat-0" x="409" y="81" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="102" text-anchor="middle">1.38</text> <text class="nj-charts-cell" x="431.5" y="102" text-anchor="middle">1.14</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · edit&#10;1.43× the time of the fastest library (fully validating)&#10;twitter.json: 791 µs · insitu (copy) + mut copy&#10;citm_catalog.json: 1,640 µs · mut copy&#10;canada.json: 7,936 µs · mut copy&#10;jeopardy.json: 312,064 µs · mut copy&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="simdjson · select, checking less&#10;0.44× the time of the fastest fully validating library&#10;twitter.json: 72.0 µs · On-Demand&#10;citm_catalog.json: 228 µs · On-Demand (key selectors)&#10;canada.json: 274 µs · On-Demand&#10;jeopardy.json: 19,511 µ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-1" x="501" y="81" width="90" height="34" rx="3"/> <rect class="nj-heat-0" x="455" y="81" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="102" text-anchor="middle">1.43</text> <text class="nj-charts-cell" x="476.5" y="96" text-anchor="middle">0.44</text>
</g> <text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="109" text-anchor="middle">P</text>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · minify&#10;1.24× the time of the fastest library (fully validating)&#10;twitter.json: 616 µs · insitu (copy) + write&#10;citm_catalog.json: 1,280 µs · insitu (copy) + write&#10;canada.json: 6,769 µs · read + write&#10;jeopardy.json: 195,258 µs · read + write&#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.24</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · minify, checking less&#10;0.99× the time of the fastest fully validating library&#10;twitter.json: 616 µs · insitu (copy) + write (validates fully)&#10;citm_catalog.json: 1,217 µs · read (raw numbers) + write (validates fully)&#10;canada.json: 2,947 µs · read (raw numbers) + write (validates fully)&#10;jeopardy.json: 195,258 µs · read + 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-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&#10;1.08× the time of the fastest library (fully validating)&#10;way: write&#10;twitter.json: 184 µs&#10;citm_catalog.json: 320 µs&#10;canada.json: 3,473 µs&#10;jeopardy.json: 75,045 µ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&#10;2.27× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 403 µs&#10;citm_catalog.json: 930 µs&#10;canada.json: 3,204 µs&#10;jeopardy.json: 101,665 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;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.27</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&#10;1.23× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 462 µs&#10;citm_catalog.json: 1,115 µs&#10;canada.json: 3,806 µs&#10;jeopardy.json: 111,650 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;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.23</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&#10;1.44× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 408 µs&#10;citm_catalog.json: 929 µs&#10;canada.json: 3,448 µs&#10;jeopardy.json: 109,315 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;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.44</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&#10;1.20× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 618 µs&#10;citm_catalog.json: 1,494 µs&#10;canada.json: 8,986 µs&#10;jeopardy.json: 189,566 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;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.20</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&#10;1.33× the time of the fastest fully validating library&#10;way: Document + Serialize&#10;twitter.json: 636 µs&#10;citm_catalog.json: 1,464 µs&#10;canada.json: 8,499 µs&#10;jeopardy.json: 175,278 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;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&#10;1.47× the time of the fastest library (fully validating)&#10;way: Serialize&#10;twitter.json: 259 µs&#10;citm_catalog.json: 506 µs&#10;canada.json: 5,302 µs&#10;jeopardy.json: 76,633 µ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.47</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&#10;2.06× the time of the fastest library (fully validating)&#10;way: D&#8203;OM&#10;twitter.json: 309 µs&#10;citm_catalog.json: 680 µs&#10;canada.json: 3,226 µs&#10;jeopardy.json: 122,358 µ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.06</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · sum&#10;1.00× the time of the fastest library (fully validating)&#10;way: On-Demand&#10;twitter.json: 354 µs&#10;citm_catalog.json: 794 µs&#10;canada.json: 3,423 µs&#10;jeopardy.json: 98,904 µ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&#10;1.30× the time of the fastest library (fully validating)&#10;way: D&#8203;OM&#10;twitter.json: 323 µs&#10;citm_catalog.json: 691 µs&#10;canada.json: 3,260 µs&#10;jeopardy.json: 130,073 µ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.30</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · select, checking less&#10;0.55× the time of the fastest fully validating library&#10;twitter.json: 188 µs · On-Demand (key selectors)&#10;citm_catalog.json: 484 µs · On-Demand (key selectors)&#10;canada.json: 691 µs · On-Demand (key selectors)&#10;jeopardy.json: 49,348 µ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="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>
<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"> <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="153" width="90" height="34" rx="3"/> <rect class="nj-heat-na" x="501" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-tick" x="546" y="174">n/a</text> <text class="nj-charts-tick" x="546" y="102">n/a</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · minify&#10;1.52× the time of the fastest library (fully validating)&#10;way: D&#8203;OM + to_string&#10;twitter.json: 685 µs&#10;citm_catalog.json: 1,350 µs&#10;canada.json: 9,034 µs&#10;jeopardy.json: 285,582 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="simdjson · minify&#10;1.52× the time of the fastest library (fully validating)&#10;way: D&#8203;OM + to_string&#10;twitter.json: 312 µs&#10;citm_catalog.json: 649 µs&#10;canada.json: 5,335 µs&#10;jeopardy.json: 141,097 µs">
<rect class="nj-heat-2" x="593" y="153" width="44" height="34" rx="3"/> <rect class="nj-heat-2" x="593" y="81" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="174" text-anchor="middle">1.52</text> <text class="nj-charts-cell" x="615.5" y="102" text-anchor="middle">1.52</text>
</g> </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: 107 µs&#10;citm_catalog.json: 248 µs&#10;canada.json: 361 µs&#10;jeopardy.json: 45,130 µs&#10;simdjson::minify() only removes whitespace, without parsing the values"> <g class="nj-heat-cell" tabindex="0" data-tip="simdjson · minify, checking less&#10;0.11× the time of the fastest fully validating library&#10;way: minify&#10;twitter.json: 28.4 µs&#10;citm_catalog.json: 73.3 µs&#10;canada.json: 132 µs&#10;jeopardy.json: 18,285 µs&#10;simdjson::minify() only removes whitespace, without parsing the values">
<rect class="nj-heat-0" x="639" y="153" width="44" height="34" rx="3"/> <rect class="nj-heat-0" x="639" y="81" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="168" text-anchor="middle">0.18</text> <text class="nj-charts-cell" x="660.5" y="96" text-anchor="middle">0.11</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="181" text-anchor="middle">P</text> <text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="109" text-anchor="middle">P</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · write&#10;2.06× the time of the fastest library (fully validating)&#10;way: to_string&#10;twitter.json: 347 µs&#10;citm_catalog.json: 611 µs&#10;canada.json: 5,531 µs&#10;jeopardy.json: 176,034 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="simdjson · write&#10;2.09× the time of the fastest library (fully validating)&#10;way: to_string&#10;twitter.json: 168 µs&#10;citm_catalog.json: 320 µs&#10;canada.json: 3,632 µs&#10;jeopardy.json: 82,490 µs">
<rect class="nj-heat-2" x="685" y="153" width="90" height="34" rx="3"/> <rect class="nj-heat-2" x="685" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="174" text-anchor="middle">2.06</text> <text class="nj-charts-cell" x="730" y="102" text-anchor="middle">2.09</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="138" text-anchor="end">yyjson</text>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · validate&#10;1.94× the time of the fastest library (fully validating)&#10;twitter.json: 201 µs · read&#10;citm_catalog.json: 569 µs · read&#10;canada.json: 1,479 µs · read (raw numbers)&#10;jeopardy.json: 66,298 µs · insitu (copy)&#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="117" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="138" text-anchor="middle">1.94</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · sum&#10;1.52× the time of the fastest library (fully validating)&#10;twitter.json: 243 µs · insitu (copy)&#10;citm_catalog.json: 675 µs · insitu (copy)&#10;canada.json: 2,261 µs · read&#10;jeopardy.json: 72,368 µs · insitu (copy)&#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="117" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="138" text-anchor="middle">1.52</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · select&#10;1.51× the time of the fastest library (fully validating)&#10;twitter.json: 197 µs · insitu (copy)&#10;citm_catalog.json: 575 µs · insitu (copy)&#10;canada.json: 1,470 µs · read (raw numbers)&#10;jeopardy.json: 72,154 µs · insitu (copy)&#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="117" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="138" text-anchor="middle">1.51</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · edit&#10;1.63× the time of the fastest library (fully validating)&#10;twitter.json: 473 µs · insitu (copy) + mut copy&#10;citm_catalog.json: 1,030 µs · insitu (copy) + mut copy&#10;canada.json: 4,352 µs · mut copy&#10;jeopardy.json: 170,778 µs · insitu (copy) + mut copy&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-2" x="501" y="117" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="138" text-anchor="middle">1.63</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · minify&#10;1.41× the time of the fastest library (fully validating)&#10;twitter.json: 354 µs · read + write&#10;citm_catalog.json: 773 µs · read + write&#10;canada.json: 3,881 µs · read + write&#10;jeopardy.json: 108,260 µs · insitu (copy) + write&#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="117" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="138" text-anchor="middle">1.41</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · minify, checking less&#10;1.20× the time of the fastest fully validating library&#10;twitter.json: 354 µs · read + write (validates fully)&#10;citm_catalog.json: 773 µs · read + write (validates fully)&#10;canada.json: 2,009 µs · read (raw numbers) + write (validates fully)&#10;jeopardy.json: 108,260 µ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="117" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="132" text-anchor="middle">1.20</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="145" text-anchor="middle">N</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · write&#10;1.24× the time of the fastest library (fully validating)&#10;way: write&#10;twitter.json: 129 µs&#10;citm_catalog.json: 193 µs&#10;canada.json: 2,025 µs&#10;jeopardy.json: 39,462 µ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.24</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="174" text-anchor="end">sonic-cpp</text>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · validate, checking less&#10;2.06× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 249 µs&#10;citm_catalog.json: 607 µs&#10;canada.json: 1,895 µs&#10;jeopardy.json: 49,126 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<rect class="nj-heat-2" x="225" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="168" text-anchor="middle">2.06</text>
<text class="nj-charts-cell nj-charts-cell--small" x="270" y="181" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · sum, checking less&#10;1.52× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 287 µs&#10;citm_catalog.json: 738 µs&#10;canada.json: 2,244 µs&#10;jeopardy.json: 56,954 µ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="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="168" text-anchor="middle">1.52</text>
<text class="nj-charts-cell nj-charts-cell--small" x="362" y="181" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · select, checking less&#10;1.65× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 252 µs&#10;citm_catalog.json: 609 µs&#10;canada.json: 1,903 µs&#10;jeopardy.json: 57,482 µ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="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="168" text-anchor="middle">1.65</text>
<text class="nj-charts-cell nj-charts-cell--small" x="454" y="181" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · edit, checking less&#10;1.36× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 364 µs&#10;citm_catalog.json: 903 µs&#10;canada.json: 5,172 µs&#10;jeopardy.json: 101,668 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<rect class="nj-heat-1" x="501" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="168" text-anchor="middle">1.36</text>
<text class="nj-charts-cell nj-charts-cell--small" x="546" y="181" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · minify, checking less&#10;1.52× the time of the fastest fully validating library&#10;way: Document + Serialize&#10;twitter.json: 372 µs&#10;citm_catalog.json: 904 µs&#10;canada.json: 5,165 µs&#10;jeopardy.json: 88,729 µ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="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="168" text-anchor="middle">1.52</text>
<text class="nj-charts-cell nj-charts-cell--small" x="638" y="181" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · write&#10;1.47× the time of the fastest library (fully validating)&#10;way: Serialize&#10;twitter.json: 120 µs&#10;citm_catalog.json: 298 µs&#10;canada.json: 3,275 µs&#10;jeopardy.json: 34,116 µs">
<rect class="nj-heat-1" x="685" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="174" text-anchor="middle">1.47</text>
</g> </g>
<text class="nj-charts-rowlabel " x="216" y="210" text-anchor="end">sonic-rs (Rust)</text> <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&#10;1.88× the time of the fastest library (fully validating)&#10;way: IgnoredAny&#10;twitter.json: 481 µs&#10;citm_catalog.json: 972 µs&#10;canada.json: 2,300 µs&#10;jeopardy.json: 53,361 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · validate&#10;1.71× the time of the fastest library (fully validating)&#10;twitter.json: 290 µs · Value&#10;citm_catalog.json: 548 µs · IgnoredAny&#10;canada.json: 1,234 µs · IgnoredAny&#10;jeopardy.json: 34,104 µs · IgnoredAny">
<rect class="nj-heat-2" x="225" y="189" width="90" height="34" rx="3"/> <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.88</text> <text class="nj-charts-cell" x="270" y="210" text-anchor="middle">1.71</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · sum&#10;1.10× the time of the fastest library (fully validating)&#10;way: visitor&#10;twitter.json: 502 µs&#10;citm_catalog.json: 1,138 µs&#10;canada.json: 4,363 µs&#10;jeopardy.json: 56,951 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · sum&#10;1.31× the time of the fastest library (fully validating)&#10;way: visitor&#10;twitter.json: 287 µs&#10;citm_catalog.json: 604 µs&#10;canada.json: 2,643 µs&#10;jeopardy.json: 32,088 µs">
<rect class="nj-heat-0" x="317" y="189" width="90" height="34" rx="3"/> <rect class="nj-heat-1" x="317" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="210" text-anchor="middle">1.10</text> <text class="nj-charts-cell" x="362" y="210" text-anchor="middle">1.31</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · select&#10;1.35× the time of the fastest library (fully validating)&#10;way: structs&#10;twitter.json: 503 µs&#10;citm_catalog.json: 1,034 µs&#10;canada.json: 2,299 µs&#10;jeopardy.json: 93,390 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · select&#10;1.41× the time of the fastest library (fully validating)&#10;twitter.json: 294 µs · Value&#10;citm_catalog.json: 609 µs · structs&#10;canada.json: 1,237 µs · structs&#10;jeopardy.json: 40,453 µs · structs">
<rect class="nj-heat-1" x="409" y="189" width="90" height="34" rx="3"/> <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.35</text> <text class="nj-charts-cell" x="454" y="210" text-anchor="middle">1.41</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · edit&#10;1.92× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 1,259 µs&#10;citm_catalog.json: 2,509 µs&#10;canada.json: 7,762 µs&#10;jeopardy.json: 422,005 µs"> <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: 668 µs&#10;citm_catalog.json: 1,374 µs&#10;canada.json: 4,662 µs&#10;jeopardy.json: 246,664 µs">
<rect class="nj-heat-2" x="501" y="189" width="90" height="34" rx="3"/> <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.92</text> <text class="nj-charts-cell" x="546" y="210" text-anchor="middle">2.13</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · minify&#10;1.70× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 1,004 µs&#10;citm_catalog.json: 2,128 µs&#10;canada.json: 7,896 µs&#10;jeopardy.json: 222,496 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · minify&#10;1.81× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 521 µs&#10;citm_catalog.json: 1,163 µs&#10;canada.json: 4,568 µs&#10;jeopardy.json: 112,037 µs">
<rect class="nj-heat-2" x="593" y="189" width="90" height="34" rx="3"/> <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.70</text> <text class="nj-charts-cell" x="638" y="210" text-anchor="middle">1.81</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · write&#10;1.93× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 437 µs&#10;citm_catalog.json: 907 µs&#10;canada.json: 4,002 µs&#10;jeopardy.json: 100,023 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · write&#10;2.03× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 230 µs&#10;citm_catalog.json: 515 µs&#10;canada.json: 2,458 µs&#10;jeopardy.json: 49,042 µs">
<rect class="nj-heat-2" x="685" y="189" width="90" height="34" rx="3"/> <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.93</text> <text class="nj-charts-cell" x="730" y="210" text-anchor="middle">2.03</text>
</g> </g>
<text class="nj-charts-rowlabel " x="216" y="246" text-anchor="end">Boost.J&#8203;SON</text> <text class="nj-charts-rowlabel " x="216" y="246" text-anchor="end">Boost.J&#8203;SON</text>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · validate&#10;1.91× the time of the fastest library (fully validating)&#10;twitter.json: 681 µs · S&#8203;AX (numbers: none)&#10;citm_catalog.json: 909 µs · S&#8203;AX (numbers: none)&#10;canada.json: 1,644 µs · S&#8203;AX (numbers: none)&#10;jeopardy.json: 59,913 µs · S&#8203;AX"> <g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · validate&#10;2.04× the time of the fastest library (fully validating)&#10;twitter.json: 451 µs · S&#8203;AX&#10;citm_catalog.json: 675 µs · S&#8203;AX (numbers: none)&#10;canada.json: 1,102 µs · S&#8203;AX (numbers: none)&#10;jeopardy.json: 40,709 µs · S&#8203;AX (numbers: none)">
<rect class="nj-heat-2" x="225" y="225" width="90" height="34" rx="3"/> <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.91</text> <text class="nj-charts-cell" x="270" y="246" text-anchor="middle">2.04</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · sum&#10;1.27× the time of the fastest library (fully validating)&#10;way: S&#8203;AX&#10;twitter.json: 696 µs&#10;citm_catalog.json: 966 µs&#10;canada.json: 5,723 µs&#10;jeopardy.json: 64,788 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · sum&#10;1.66× the time of the fastest library (fully validating)&#10;way: S&#8203;AX&#10;twitter.json: 453 µs&#10;citm_catalog.json: 683 µs&#10;canada.json: 2,991 µs&#10;jeopardy.json: 40,992 µs">
<rect class="nj-heat-1" x="317" y="225" width="90" height="34" rx="3"/> <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.27</text> <text class="nj-charts-cell" x="362" y="246" text-anchor="middle">1.66</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · select&#10;2.18× the time of the fastest library (fully validating)&#10;way: parse_into structs&#10;twitter.json: 876 µs&#10;citm_catalog.json: 1,233 µs&#10;canada.json: 7,075 µs&#10;jeopardy.json: 99,149 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · select&#10;2.33× the time of the fastest library (fully validating)&#10;twitter.json: 509 µs · parse_into structs&#10;citm_catalog.json: 728 µs · parse_into structs&#10;canada.json: 3,345 µs · parse&#10;jeopardy.json: 54,057 µs · parse_into structs">
<rect class="nj-heat-2" x="409" y="225" width="90" height="34" rx="3"/> <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.18</text> <text class="nj-charts-cell" x="454" y="246" text-anchor="middle">2.33</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · edit&#10;2.31× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 1,771 µs&#10;citm_catalog.json: 2,584 µs&#10;canada.json: 13,346 µs&#10;jeopardy.json: 356,511 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · edit&#10;2.31× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 970 µs&#10;citm_catalog.json: 1,240 µs&#10;canada.json: 6,520 µs&#10;jeopardy.json: 186,182 µs">
<rect class="nj-heat-2" x="501" y="225" width="90" height="34" rx="3"/> <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.31</text> <text class="nj-charts-cell" x="546" y="246" text-anchor="middle">2.31</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · minify&#10;2.54× the time of the fastest library (fully validating)&#10;way: parse + serialize&#10;twitter.json: 1,785 µs&#10;citm_catalog.json: 2,461 µs&#10;canada.json: 12,928 µs&#10;jeopardy.json: 327,846 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · minify&#10;2.60× the time of the fastest library (fully validating)&#10;way: parse + serialize&#10;twitter.json: 980 µs&#10;citm_catalog.json: 1,226 µs&#10;canada.json: 6,526 µs&#10;jeopardy.json: 168,104 µs">
<rect class="nj-heat-3" x="593" y="225" width="90" height="34" rx="3"/> <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> <text class="nj-charts-cell" x="638" y="246" text-anchor="middle">2.60</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · write&#10;2.33× the time of the fastest library (fully validating)&#10;way: serialize&#10;twitter.json: 454 µs&#10;citm_catalog.json: 830 µs&#10;canada.json: 5,720 µs&#10;jeopardy.json: 156,687 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · write&#10;2.27× the time of the fastest library (fully validating)&#10;way: serialize&#10;twitter.json: 244 µs&#10;citm_catalog.json: 408 µs&#10;canada.json: 3,162 µs&#10;jeopardy.json: 71,417 µs">
<rect class="nj-heat-2" x="685" y="225" width="90" height="34" rx="3"/> <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> <text class="nj-charts-cell" x="730" y="246" text-anchor="middle">2.27</text>
</g> </g>
<text class="nj-charts-rowlabel nj-charts-name-json" x="216" y="282" text-anchor="end">nlohmann/json json</text> <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.66× the time of the fastest library (fully validating)&#10;way: accept&#10;twitter.json: 371 µs&#10;citm_catalog.json: 890 µs&#10;canada.json: 2,471 µs&#10;jeopardy.json: 42,859 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · validate&#10;1.50× the time of the fastest library (fully validating)&#10;way: accept&#10;twitter.json: 228 µs&#10;citm_catalog.json: 509 µs&#10;canada.json: 1,425 µs&#10;jeopardy.json: 24,220 µs">
<rect class="nj-heat-2" x="225" y="261" width="90" height="34" rx="3"/> <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.66</text> <text class="nj-charts-cell" x="270" y="282" text-anchor="middle">1.50</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · sum&#10;1.17× the time of the fastest library (fully validating)&#10;way: sax&#10;twitter.json: 534 µs&#10;citm_catalog.json: 1,104 µs&#10;canada.json: 4,194 µs&#10;jeopardy.json: 73,399 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · sum&#10;1.29× the time of the fastest library (fully validating)&#10;way: sax&#10;twitter.json: 279 µs&#10;citm_catalog.json: 603 µs&#10;canada.json: 2,154 µs&#10;jeopardy.json: 38,169 µs">
<rect class="nj-heat-1" x="317" y="261" width="90" height="34" rx="3"/> <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> <text class="nj-charts-cell" x="362" y="282" text-anchor="middle">1.29</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · select&#10;6.34× the time of the fastest library (fully validating)&#10;twitter.json: 3,056 µs · parse&#10;citm_catalog.json: 4,512 µs · parse&#10;canada.json: 9,774 µs · structs (from_json)&#10;jeopardy.json: 399,063 µs · structs (from_json)"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · select&#10;6.84× the time of the fastest library (fully validating)&#10;twitter.json: 1,702 µs · parse&#10;citm_catalog.json: 2,626 µs · parse&#10;canada.json: 4,787 µs · structs (from_json)&#10;jeopardy.json: 233,043 µs · parse">
<rect class="nj-heat-4" x="409" y="261" width="90" height="34" rx="3"/> <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.34</text> <text class="nj-charts-cell" x="454" y="282" text-anchor="middle">6.84</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · edit&#10;3.42× the time of the fastest library (fully validating)&#10;twitter.json: 2,528 µs · ordered_json&#10;citm_catalog.json: 4,619 µs · ordered_json&#10;canada.json: 14,018 µs · parse&#10;jeopardy.json: 639,844 µs · ordered_json"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · edit&#10;3.71× the time of the fastest library (fully validating)&#10;twitter.json: 1,539 µs · ordered_json&#10;citm_catalog.json: 2,433 µs · ordered_json&#10;canada.json: 7,166 µs · parse&#10;jeopardy.json: 360,524 µs · ordered_json">
<rect class="nj-heat-3" x="501" y="261" width="90" height="34" rx="3"/> <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> <text class="nj-charts-cell" x="546" y="282" text-anchor="middle">3.71</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · minify&#10;4.13× the time of the fastest library (fully validating)&#10;way: parse + dump&#10;twitter.json: 3,546 µs&#10;citm_catalog.json: 5,252 µs&#10;canada.json: 13,446 µs&#10;jeopardy.json: 517,087 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · minify&#10;4.62× the time of the fastest library (fully validating)&#10;way: parse + dump&#10;twitter.json: 2,075 µs&#10;citm_catalog.json: 2,952 µs&#10;canada.json: 7,166 µs&#10;jeopardy.json: 297,955 µs">
<rect class="nj-heat-3" x="593" y="261" width="90" height="34" rx="3"/> <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.13</text> <text class="nj-charts-cell" x="638" y="282" text-anchor="middle">4.62</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · write&#10;1.81× the time of the fastest library (fully validating)&#10;way: dump&#10;twitter.json: 418 µs&#10;citm_catalog.json: 602 µs&#10;canada.json: 3,971 µs&#10;jeopardy.json: 123,598 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · write&#10;2.25× the time of the fastest library (fully validating)&#10;way: dump&#10;twitter.json: 305 µs&#10;citm_catalog.json: 370 µs&#10;canada.json: 2,385 µs&#10;jeopardy.json: 80,091 µs">
<rect class="nj-heat-2" x="685" y="261" width="90" height="34" rx="3"/> <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.81</text> <text class="nj-charts-cell" x="730" y="282" text-anchor="middle">2.25</text>
</g> </g>
<text class="nj-charts-rowlabel " x="216" y="318" text-anchor="end">simd-json (Rust)</text> <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&#10;3.55× the time of the fastest library (fully validating)&#10;way: tape (copy)&#10;twitter.json: 596 µs&#10;citm_catalog.json: 1,434 µs&#10;canada.json: 4,216 µs&#10;jeopardy.json: 201,446 µs&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · validate&#10;3.20× the time of the fastest library (fully validating)&#10;way: tape (copy)&#10;twitter.json: 323 µs&#10;citm_catalog.json: 887 µs&#10;canada.json: 2,670 µs&#10;jeopardy.json: 107,087 µs&#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="297" width="90" height="34" rx="3"/> <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.55</text> <text class="nj-charts-cell" x="270" y="318" text-anchor="middle">3.20</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · sum&#10;1.91× the time of the fastest library (fully validating)&#10;way: visitor (copy)&#10;twitter.json: 697 µs&#10;citm_catalog.json: 1,627 µs&#10;canada.json: 5,110 µs&#10;jeopardy.json: 218,368 µs&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · sum&#10;2.32× the time of the fastest library (fully validating)&#10;way: visitor (copy)&#10;twitter.json: 384 µs&#10;citm_catalog.json: 1,021 µs&#10;canada.json: 3,151 µs&#10;jeopardy.json: 118,952 µ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="297" width="90" height="34" rx="3"/> <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.91</text> <text class="nj-charts-cell" x="362" y="318" text-anchor="middle">2.32</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · select&#10;2.63× the time of the fastest library (fully validating)&#10;way: structs (copy)&#10;twitter.json: 704 µs&#10;citm_catalog.json: 1,788 µs&#10;canada.json: 4,953 µs&#10;jeopardy.json: 257,184 µs&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · select&#10;2.99× the time of the fastest library (fully validating)&#10;way: structs (copy)&#10;twitter.json: 401 µs&#10;citm_catalog.json: 1,106 µs&#10;canada.json: 3,070 µs&#10;jeopardy.json: 134,048 µs&#10;(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"/> <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.63</text> <text class="nj-charts-cell" x="454" y="318" text-anchor="middle">2.99</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · edit&#10;2.87× the time of the fastest library (fully validating)&#10;twitter.json: 1,891 µs · borrowed (copy)&#10;citm_catalog.json: 4,398 µs · borrowed (copy)&#10;canada.json: 14,798 µs · owned (copy)&#10;jeopardy.json: 425,344 µs · borrowed (copy)&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · edit&#10;3.37× the time of the fastest library (fully validating)&#10;way: borrowed (copy)&#10;twitter.json: 1,224 µs&#10;citm_catalog.json: 2,630 µs&#10;canada.json: 8,994 µs&#10;jeopardy.json: 226,271 µs&#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="297" width="90" height="34" rx="3"/> <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.87</text> <text class="nj-charts-cell" x="546" y="318" text-anchor="middle">3.37</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · minify&#10;3.25× the time of the fastest library (fully validating)&#10;way: borrowed (copy)&#10;twitter.json: 1,858 µs&#10;citm_catalog.json: 4,281 µs&#10;canada.json: 15,500 µs&#10;jeopardy.json: 405,012 µs&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · minify&#10;3.81× the time of the fastest library (fully validating)&#10;way: borrowed (copy)&#10;twitter.json: 1,194 µs&#10;citm_catalog.json: 2,602 µs&#10;canada.json: 8,985 µs&#10;jeopardy.json: 217,085 µ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="297" width="90" height="34" rx="3"/> <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.25</text> <text class="nj-charts-cell" x="638" y="318" text-anchor="middle">3.81</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · write&#10;2.22× the time of the fastest library (fully validating)&#10;way: borrowed&#10;twitter.json: 584 µs&#10;citm_catalog.json: 833 µs&#10;canada.json: 4,983 µs&#10;jeopardy.json: 114,016 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · write&#10;2.57× the time of the fastest library (fully validating)&#10;way: borrowed&#10;twitter.json: 390 µs&#10;citm_catalog.json: 501 µs&#10;canada.json: 3,146 µs&#10;jeopardy.json: 59,808 µs">
<rect class="nj-heat-2" x="685" y="297" width="90" height="34" rx="3"/> <rect class="nj-heat-3" x="685" y="297" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="318" text-anchor="middle">2.22</text> <text class="nj-charts-cell" x="730" y="318" text-anchor="middle">2.57</text>
</g> </g>
<text class="nj-charts-rowlabel " x="216" y="354" text-anchor="end">serde_json (Rust)</text> <text class="nj-charts-rowlabel " x="216" y="354" text-anchor="end">Glaze</text>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · validate&#10;2.35× the time of the fastest library (fully validating)&#10;way: from_utf8 + IgnoredAny&#10;twitter.json: 623 µs&#10;citm_catalog.json: 1,442 µs&#10;canada.json: 2,426 µs&#10;jeopardy.json: 64,116 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Glaze · validate&#10;2.21× the time of the fastest library (fully validating)&#10;way: validate_json&#10;twitter.json: 365 µs&#10;citm_catalog.json: 819 µs&#10;canada.json: 1,368 µs&#10;jeopardy.json: 45,611 µs">
<rect class="nj-heat-2" x="225" y="333" width="44" height="34" rx="3"/> <rect class="nj-heat-2" x="225" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="247.5" y="354" text-anchor="middle">2.35</text> <text class="nj-charts-cell" x="270" y="354" text-anchor="middle">2.21</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · validate, checking less&#10;2.10× the time of the fastest fully validating library&#10;way: IgnoredAny&#10;twitter.json: 481 µs&#10;citm_catalog.json: 1,371 µs&#10;canada.json: 2,325 µs&#10;jeopardy.json: 58,120 µs&#10;trusts U&#8203;TF-8 in the strings it skips (from_slice); strings it reads are checked"> <g class="nj-heat-cell" tabindex="0" data-tip="Glaze · sum&#10;4.47× the time of the fastest library (fully validating)&#10;way: generic (double, strict)&#10;twitter.json: 1,307 µs&#10;citm_catalog.json: 2,173 µs&#10;canada.json: 5,243 µs&#10;jeopardy.json: 135,830 µs">
<rect class="nj-heat-2" x="271" y="333" width="44" height="34" rx="3"/> <rect class="nj-heat-3" x="317" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="292.5" y="348" text-anchor="middle">2.10</text> <text class="nj-charts-cell" x="362" y="354" text-anchor="middle">4.47</text>
<text class="nj-charts-cell nj-charts-cell--small" x="292.5" y="361" text-anchor="middle">U</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · sum&#10;2.31× the time of the fastest library (fully validating)&#10;way: visitor&#10;twitter.json: 1,308 µs&#10;citm_catalog.json: 2,338 µs&#10;canada.json: 7,232 µs&#10;jeopardy.json: 122,584 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Glaze · select&#10;1.65× the time of the fastest library (fully validating)&#10;way: structs (validate_skipped)&#10;twitter.json: 324 µs&#10;citm_catalog.json: 836 µs&#10;canada.json: 1,337 µs&#10;jeopardy.json: 46,893 µs">
<rect class="nj-heat-2" x="317" y="333" width="90" height="34" rx="3"/> <rect class="nj-heat-2" x="409" y="333" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="354" text-anchor="middle">2.31</text> <text class="nj-charts-cell" x="431.5" y="354" text-anchor="middle">1.65</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · select&#10;1.77× the time of the fastest library (fully validating)&#10;way: from_utf8 + structs&#10;twitter.json: 731 µs&#10;citm_catalog.json: 1,546 µs&#10;canada.json: 2,458 µs&#10;jeopardy.json: 117,515 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Glaze · select, checking less&#10;0.65× the time of the fastest fully validating library&#10;way: structs&#10;twitter.json: 210 µs&#10;citm_catalog.json: 214 µs&#10;canada.json: 263 µs&#10;jeopardy.json: 34,599 µ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-2" x="409" y="333" width="90" height="34" rx="3"/> <rect class="nj-heat-0" x="455" y="333" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="354" text-anchor="middle">1.77</text> <text class="nj-charts-cell" x="476.5" y="348" text-anchor="middle">0.65</text>
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="361" text-anchor="middle">P</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · edit&#10;4.64× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 4,374 µs&#10;citm_catalog.json: 6,628 µs&#10;canada.json: 16,819 µs&#10;jeopardy.json: 729,615 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Glaze · edit&#10;4.83× the time of the fastest library (fully validating)&#10;way: generic (strict)&#10;twitter.json: 1,997 µs&#10;citm_catalog.json: 3,422 µs&#10;canada.json: 11,754 µs&#10;jeopardy.json: 344,348 µs">
<rect class="nj-heat-3" x="501" y="333" width="90" height="34" rx="3"/> <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.64</text> <text class="nj-charts-cell" x="546" y="354" text-anchor="middle">4.83</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · minify&#10;4.82× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 4,034 µs&#10;citm_catalog.json: 6,745 µs&#10;canada.json: 16,795 µs&#10;jeopardy.json: 525,375 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Glaze · minify&#10;5.11× the time of the fastest library (fully validating)&#10;way: generic (strict)&#10;twitter.json: 1,928 µs&#10;citm_catalog.json: 3,380 µs&#10;canada.json: 11,774 µs&#10;jeopardy.json: 256,577 µs">
<rect class="nj-heat-3" x="593" y="333" width="90" height="34" rx="3"/> <rect class="nj-heat-4" x="593" y="333" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="354" text-anchor="middle">4.82</text> <text class="nj-charts-cell" x="615.5" y="354" text-anchor="middle">5.11</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · write&#10;2.17× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 562 µs&#10;citm_catalog.json: 837 µs&#10;canada.json: 4,122 µs&#10;jeopardy.json: 130,002 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Glaze · minify, checking less&#10;0.87× the time of the fastest fully validating library&#10;way: minify_json&#10;twitter.json: 259 µs&#10;citm_catalog.json: 749 µs&#10;canada.json: 1,610 µs&#10;jeopardy.json: 51,976 µs&#10;minify_json only removes whitespace, without parsing the values">
<rect class="nj-heat-0" x="639" y="333" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="348" text-anchor="middle">0.87</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="361" text-anchor="middle">P</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · write&#10;2.18× the time of the fastest library (fully validating)&#10;twitter.json: 265 µs · generic&#10;citm_catalog.json: 423 µs · generic&#10;canada.json: 2,384 µs · generic (strict)&#10;jeopardy.json: 72,074 µs · generic">
<rect class="nj-heat-2" x="685" y="333" width="90" height="34" rx="3"/> <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.17</text> <text class="nj-charts-cell" x="730" y="354" text-anchor="middle">2.18</text>
</g> </g>
<text class="nj-charts-rowlabel " x="216" y="390" text-anchor="end">RapidJSON</text> <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&#10;3.76× the time of the fastest library (fully validating)&#10;twitter.json: 1,209 µs · insitu (copy)&#10;citm_catalog.json: 1,545 µs · S&#8203;AX (string stream, default precision)&#10;canada.json: 3,639 µs · S&#8203;AX (string stream, default precision)&#10;jeopardy.json: 134,406 µs · S&#8203;AX (string stream)&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · validate&#10;3.26× the time of the fastest library (fully validating)&#10;twitter.json: 720 µs · insitu (copy)&#10;citm_catalog.json: 834 µs · S&#8203;AX (string stream, default precision)&#10;canada.json: 2,085 µs · S&#8203;AX (string stream, default precision)&#10;jeopardy.json: 71,142 µs · S&#8203;AX (string stream)&#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="369" width="44" height="34" rx="3"/> <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.76</text> <text class="nj-charts-cell" x="247.5" y="390" text-anchor="middle">3.26</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · validate, checking less&#10;3.43× the time of the fastest fully validating library&#10;twitter.json: 1,048 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,448 µs · S&#8203;AX (default precision) (no encoding check)&#10;canada.json: 3,609 µs · S&#8203;AX (string stream, default precision) (no encoding check)&#10;jeopardy.json: 115,752 µs · S&#8203;AX (string stream) (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"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · validate, checking less&#10;2.77× the time of the fastest fully validating library&#10;twitter.json: 527 µs · S&#8203;AX (no encoding check)&#10;citm_catalog.json: 671 µs · S&#8203;AX (default precision) (no encoding check)&#10;canada.json: 2,080 µs · S&#8203;AX (string stream, default precision) (no encoding check)&#10;jeopardy.json: 62,900 µs · S&#8203;AX (string stream) (no encoding check)&#10;trusts U&#8203;TF-8: RapidJSON&#x27;s default (kParseValidateEncodingFlag checks it)">
<rect class="nj-heat-3" x="271" y="369" width="44" height="34" rx="3"/> <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.43</text> <text class="nj-charts-cell" x="292.5" y="384" text-anchor="middle">2.77</text>
<text class="nj-charts-cell nj-charts-cell--small" x="292.5" y="397" text-anchor="middle">U</text> <text class="nj-charts-cell nj-charts-cell--small" x="292.5" y="397" text-anchor="middle">U</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · sum&#10;2.33× the time of the fastest library (fully validating)&#10;twitter.json: 1,256 µs · insitu (copy)&#10;citm_catalog.json: 1,730 µs · S&#8203;AX (string stream)&#10;canada.json: 9,592 µs · S&#8203;AX (string stream)&#10;jeopardy.json: 135,774 µs · S&#8203;AX (string stream)&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · sum&#10;2.76× the time of the fastest library (fully validating)&#10;twitter.json: 768 µs · insitu (copy)&#10;citm_catalog.json: 848 µs · S&#8203;AX (string stream)&#10;canada.json: 6,147 µs · S&#8203;AX (string stream)&#10;jeopardy.json: 73,302 µs · S&#8203;AX (string stream)&#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="369" width="44" height="34" rx="3"/> <rect class="nj-heat-3" x="317" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="339.5" y="390" text-anchor="middle">2.33</text> <text class="nj-charts-cell" x="339.5" y="390" text-anchor="middle">2.76</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · sum, checking less&#10;2.14× the time of the fastest fully validating library&#10;twitter.json: 1,099 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,630 µs · S&#8203;AX (string stream) (no encoding check)&#10;canada.json: 9,201 µs · S&#8203;AX (string stream) (no encoding check)&#10;jeopardy.json: 121,847 µs · S&#8203;AX (string stream) (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"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · sum, checking less&#10;2.44× the time of the fastest fully validating library&#10;twitter.json: 554 µs · S&#8203;AX (no encoding check)&#10;citm_catalog.json: 769 µs · S&#8203;AX (no encoding check)&#10;canada.json: 6,147 µs · S&#8203;AX (string stream) (validates fully)&#10;jeopardy.json: 67,805 µs · S&#8203;AX (string stream) (no encoding check)&#10;trusts U&#8203;TF-8: RapidJSON&#x27;s default (kParseValidateEncodingFlag checks it)">
<rect class="nj-heat-2" x="363" y="369" width="44" height="34" rx="3"/> <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.14</text> <text class="nj-charts-cell" x="384.5" y="384" text-anchor="middle">2.44</text>
<text class="nj-charts-cell nj-charts-cell--small" x="384.5" y="397" text-anchor="middle">U</text> <text class="nj-charts-cell nj-charts-cell--small" x="384.5" y="397" text-anchor="middle">U</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · select&#10;3.18× the time of the fastest library (fully validating)&#10;twitter.json: 1,220 µs · insitu (copy)&#10;citm_catalog.json: 1,806 µs · insitu (copy)&#10;canada.json: 10,273 µs · Document (string stream)&#10;jeopardy.json: 150,859 µs · Document (string stream)&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · select&#10;3.44× the time of the fastest library (fully validating)&#10;twitter.json: 731 µs · insitu (copy)&#10;citm_catalog.json: 999 µs · Document (string stream)&#10;canada.json: 5,153 µs · Document (raw numbers)&#10;jeopardy.json: 84,837 µs · Document (string stream)&#10;(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"/> <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.18</text> <text class="nj-charts-cell" x="431.5" y="390" text-anchor="middle">3.44</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · select, checking less&#10;2.99× the time of the fastest fully validating library&#10;twitter.json: 1,056 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,754 µs · insitu (copy) (no encoding check)&#10;canada.json: 10,273 µs · Document (string stream) (validates fully)&#10;jeopardy.json: 141,002 µs · Document (string stream) (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"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · select, checking less&#10;3.26× the time of the fastest fully validating library&#10;twitter.json: 635 µs · Document (no encoding check)&#10;citm_catalog.json: 948 µs · Document (no encoding check)&#10;canada.json: 5,153 µs · Document (raw numbers) (validates fully)&#10;jeopardy.json: 83,243 µs · Document (string stream) (no encoding check)&#10;trusts U&#8203;TF-8: RapidJSON&#x27;s default (kParseValidateEncodingFlag checks it)">
<rect class="nj-heat-3" x="455" y="369" width="44" height="34" rx="3"/> <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">2.99</text> <text class="nj-charts-cell" x="476.5" y="384" text-anchor="middle">3.26</text>
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="397" text-anchor="middle">U</text> <text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="397" text-anchor="middle">U</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · edit&#10;2.49× the time of the fastest library (fully validating)&#10;twitter.json: 1,904 µs · insitu (copy)&#10;citm_catalog.json: 2,848 µs · insitu (copy)&#10;canada.json: 19,321 µs · Document (string stream)&#10;jeopardy.json: 281,952 µs · Document (string stream)&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · edit&#10;3.00× the time of the fastest library (fully validating)&#10;twitter.json: 1,214 µs · insitu (copy)&#10;citm_catalog.json: 1,525 µs · insitu (copy)&#10;canada.json: 13,209 µs · Document (string stream)&#10;jeopardy.json: 169,737 µs · Document (string stream)&#10;(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"/> <rect class="nj-heat-3" 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> <text class="nj-charts-cell" x="523.5" y="390" text-anchor="middle">3.00</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · edit, checking less&#10;2.41× the time of the fastest fully validating library&#10;twitter.json: 1,739 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 2,822 µs · insitu (copy) (no encoding check)&#10;canada.json: 19,321 µs · Document (string stream) (validates fully)&#10;jeopardy.json: 272,848 µs · Document (string stream) (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"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · edit, checking less&#10;2.84× the time of the fastest fully validating library&#10;twitter.json: 1,045 µs · Document (no encoding check)&#10;citm_catalog.json: 1,444 µs · Document (no encoding check)&#10;canada.json: 13,209 µs · Document (string stream) (validates fully)&#10;jeopardy.json: 166,376 µs · Document (string stream) (no encoding check)&#10;trusts U&#8203;TF-8: RapidJSON&#x27;s default (kParseValidateEncodingFlag checks it)">
<rect class="nj-heat-2" x="547" y="369" width="44" height="34" rx="3"/> <rect class="nj-heat-3" x="547" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="568.5" y="384" text-anchor="middle">2.41</text> <text class="nj-charts-cell" x="568.5" y="384" text-anchor="middle">2.84</text>
<text class="nj-charts-cell nj-charts-cell--small" x="568.5" y="397" text-anchor="middle">U</text> <text class="nj-charts-cell nj-charts-cell--small" x="568.5" y="397" text-anchor="middle">U</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · minify&#10;2.63× the time of the fastest library (fully validating)&#10;way: S&#8203;AX to Writer (string stream)&#10;twitter.json: 1,864 µs&#10;citm_catalog.json: 2,424 µs&#10;canada.json: 19,538 µs&#10;jeopardy.json: 240,185 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · minify&#10;3.01× the time of the fastest library (fully validating)&#10;way: S&#8203;AX to Writer (string stream)&#10;twitter.json: 1,077 µs&#10;citm_catalog.json: 1,214 µs&#10;canada.json: 12,631 µs&#10;jeopardy.json: 142,919 µs">
<rect class="nj-heat-3" x="593" y="369" width="44" height="34" rx="3"/> <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.63</text> <text class="nj-charts-cell" x="615.5" y="390" text-anchor="middle">3.01</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · minify, checking less&#10;2.36× the time of the fastest fully validating library&#10;twitter.json: 1,698 µs · S&#8203;AX to Writer (string stream) (no encoding check)&#10;citm_catalog.json: 2,409 µs · S&#8203;AX to Writer (string stream) (no encoding check)&#10;canada.json: 14,842 µs · S&#8203;AX to Writer (raw numbers) (no encoding check)&#10;jeopardy.json: 227,210 µ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)"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · minify, checking less&#10;2.25× the time of the fastest fully validating library&#10;twitter.json: 840 µs · S&#8203;AX to Writer (no encoding check)&#10;citm_catalog.json: 1,112 µs · S&#8203;AX to Writer (no encoding check)&#10;canada.json: 5,855 µs · S&#8203;AX to Writer (raw numbers) (validates fully)&#10;jeopardy.json: 133,903 µ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-2" x="639" y="369" width="44" height="34" rx="3"/> <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" x="660.5" y="384" text-anchor="middle">2.25</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="397" text-anchor="middle">U N</text> <text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="397" text-anchor="middle">U N</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · write&#10;2.93× the time of the fastest library (fully validating)&#10;way: Writer&#10;twitter.json: 640 µs&#10;citm_catalog.json: 976 µs&#10;canada.json: 9,324 µs&#10;jeopardy.json: 144,013 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · write&#10;3.28× the time of the fastest library (fully validating)&#10;way: Writer&#10;twitter.json: 368 µs&#10;citm_catalog.json: 500 µs&#10;canada.json: 6,527 µs&#10;jeopardy.json: 81,166 µs">
<rect class="nj-heat-3" x="685" y="369" width="90" height="34" rx="3"/> <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.93</text> <text class="nj-charts-cell" x="730" y="390" text-anchor="middle">3.28</text>
</g> </g>
<text class="nj-charts-rowlabel " x="216" y="426" text-anchor="end">Glaze</text> <text class="nj-charts-rowlabel " x="216" y="426" text-anchor="end">serde_json (Rust)</text>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · validate&#10;2.78× the time of the fastest library (fully validating)&#10;way: validate_json&#10;twitter.json: 712 µs&#10;citm_catalog.json: 1,982 µs&#10;canada.json: 2,536 µs&#10;jeopardy.json: 76,300 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · validate&#10;2.23× the time of the fastest library (fully validating)&#10;way: from_utf8 + IgnoredAny&#10;twitter.json: 387 µs&#10;citm_catalog.json: 992 µs&#10;canada.json: 1,558 µs&#10;jeopardy.json: 32,686 µs">
<rect class="nj-heat-3" x="225" y="405" width="90" height="34" rx="3"/> <rect class="nj-heat-2" x="225" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="426" text-anchor="middle">2.78</text> <text class="nj-charts-cell" x="247.5" y="426" text-anchor="middle">2.23</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · sum&#10;4.06× the time of the fastest library (fully validating)&#10;way: generic (double, strict)&#10;twitter.json: 2,330 µs&#10;citm_catalog.json: 4,187 µs&#10;canada.json: 10,661 µs&#10;jeopardy.json: 249,277 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · validate, checking less&#10;1.87× the time of the fastest fully validating library&#10;way: IgnoredAny&#10;twitter.json: 258 µs&#10;citm_catalog.json: 846 µs&#10;canada.json: 1,428 µs&#10;jeopardy.json: 30,731 µ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="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="292.5" y="420" text-anchor="middle">1.87</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="serde_json (Rust) · sum&#10;2.82× the time of the fastest library (fully validating)&#10;way: visitor&#10;twitter.json: 772 µs&#10;citm_catalog.json: 1,228 µs&#10;canada.json: 4,790 µs&#10;jeopardy.json: 70,198 µs">
<rect class="nj-heat-3" x="317" y="405" width="90" height="34" rx="3"/> <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.06</text> <text class="nj-charts-cell" x="362" y="426" text-anchor="middle">2.82</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · select&#10;1.71× the time of the fastest library (fully validating)&#10;way: structs (validate_skipped)&#10;twitter.json: 605 µs&#10;citm_catalog.json: 1,968 µs&#10;canada.json: 2,726 µs&#10;jeopardy.json: 87,932 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · select&#10;2.03× the time of the fastest library (fully validating)&#10;way: from_utf8 + structs&#10;twitter.json: 434 µs&#10;citm_catalog.json: 1,055 µs&#10;canada.json: 1,560 µs&#10;jeopardy.json: 53,880 µs">
<rect class="nj-heat-2" x="409" y="405" width="44" height="34" rx="3"/> <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> <text class="nj-charts-cell" x="431.5" y="426" text-anchor="middle">2.03</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · select, checking less&#10;0.59× the time of the fastest fully validating library&#10;way: structs&#10;twitter.json: 342 µs&#10;citm_catalog.json: 399 µs&#10;canada.json: 416 µs&#10;jeopardy.json: 69,639 µs&#10;reads into structs and steps over fields it doesn&#x27;t know without checking them (validate_skipped checks them too)"> <g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · select, checking less&#10;1.85× the time of the fastest fully validating library&#10;twitter.json: 367 µs · structs&#10;citm_catalog.json: 946 µs · structs&#10;canada.json: 1,420 µs · structs&#10;jeopardy.json: 53,880 µ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-0" x="455" y="405" width="44" height="34" rx="3"/> <rect class="nj-heat-2" 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" x="476.5" y="420" text-anchor="middle">1.85</text>
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="433" text-anchor="middle">P</text> <text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="433" text-anchor="middle">U</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · edit&#10;4.39× the time of the fastest library (fully validating)&#10;way: generic (strict)&#10;twitter.json: 3,407 µs&#10;citm_catalog.json: 5,979 µs&#10;canada.json: 21,368 µs&#10;jeopardy.json: 655,655 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · edit&#10;5.07× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 2,423 µs&#10;citm_catalog.json: 3,549 µs&#10;canada.json: 10,095 µs&#10;jeopardy.json: 389,645 µs">
<rect class="nj-heat-3" x="501" y="405" width="90" height="34" rx="3"/> <rect class="nj-heat-4" x="501" y="405" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="426" text-anchor="middle">4.39</text> <text class="nj-charts-cell" x="546" y="426" text-anchor="middle">5.07</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · minify&#10;4.62× the time of the fastest library (fully validating)&#10;way: generic (strict)&#10;twitter.json: 3,235 µs&#10;citm_catalog.json: 6,052 µs&#10;canada.json: 21,639 µs&#10;jeopardy.json: 478,428 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · minify&#10;5.37× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 2,396 µs&#10;citm_catalog.json: 3,633 µs&#10;canada.json: 10,095 µs&#10;jeopardy.json: 271,504 µs">
<rect class="nj-heat-3" x="593" y="405" width="44" height="34" rx="3"/> <rect class="nj-heat-4" x="593" y="405" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="426" text-anchor="middle">4.62</text> <text class="nj-charts-cell" x="638" y="426" text-anchor="middle">5.37</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · minify, checking less&#10;0.75× the time of the fastest fully validating library&#10;way: minify_json&#10;twitter.json: 416 µs&#10;citm_catalog.json: 1,293 µs&#10;canada.json: 2,680 µs&#10;jeopardy.json: 97,816 µs&#10;minify_json only removes whitespace, without parsing the values"> <g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · write&#10;2.66× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 399 µs&#10;citm_catalog.json: 590 µs&#10;canada.json: 2,432 µs&#10;jeopardy.json: 73,863 µs">
<rect class="nj-heat-0" x="639" y="405" width="44" height="34" rx="3"/> <rect class="nj-heat-3" x="685" y="405" width="90" 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" x="730" y="426" text-anchor="middle">2.66</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&#10;1.96× the time of the fastest library (fully validating)&#10;way: generic&#10;twitter.json: 380 µs&#10;citm_catalog.json: 739 µs&#10;canada.json: 4,230 µs&#10;jeopardy.json: 141,486 µ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> </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> <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"/> <g><rect class="nj-heat-0" x="8" y="482" width="76" height="20" rx="3"/>

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

@@ -1,6 +1,6 @@
<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-gcc13 nj-blog-uc-x86-gcc13-d" xmlns="http://www.w3.org/2000/svg"> <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-gcc13 nj-blog-uc-x86-gcc13-d" xmlns="http://www.w3.org/2000/svg">
<title id="nj-blog-uc-x86-gcc13">Use cases: time of each library relative to the fastest, x86-64 with G&#8203;CC 13</title> <title id="nj-blog-uc-x86-gcc13">Use cases: time of each library relative to the fastest, x86-64 with G&#8203;CC 13</title>
<desc id="nj-blog-uc-x86-gcc13-d">Table of relative times, libraries by use case. nlohmann/json json_document validate: 1.00; nlohmann/json json_document sum: 1.12; nlohmann/json json_document select: 1.00; nlohmann/json json_document edit: 1.00 (0.82 doing less, N); nlohmann/json json_document minify: 1.00 (0.80 doing less, N); nlohmann/json json_document write: 1.00 (0.67 doing less, N); yyjson validate: 2.17; yyjson sum: 1.48; yyjson select: 1.38; yyjson edit: 1.56; yyjson minify: 1.38 (1.04 doing less, N); yyjson write: 1.12; sonic-cpp validate: no fully validating way (2.30 doing less, U); sonic-cpp sum: no fully validating way (1.33 doing less, U); sonic-cpp select: no fully validating way (1.49 doing less, U); sonic-cpp edit: no fully validating way (1.23 doing less, U); sonic-cpp minify: no fully validating way (1.40 doing less, U); sonic-cpp write: 1.49; simdjson validate: 2.02; simdjson sum: 1.00; simdjson select: 1.30 (0.56 doing less, P); simdjson edit: n/a; simdjson minify: 1.56 (0.22 doing less, P); simdjson write: 2.05; sonic-rs (Rust) validate: 1.83; sonic-rs (Rust) sum: 1.11; sonic-rs (Rust) select: 1.33; sonic-rs (Rust) edit: 1.92; sonic-rs (Rust) minify: 1.74; sonic-rs (Rust) write: 1.94; Boost.J&#8203;SON validate: 1.90; Boost.J&#8203;SON sum: 1.32; Boost.J&#8203;SON select: 2.19; Boost.J&#8203;SON edit: 2.49; Boost.J&#8203;SON minify: 2.83; Boost.J&#8203;SON write: 2.50; nlohmann/json json validate: 1.39; nlohmann/json json sum: 1.04; nlohmann/json json select: 6.25; nlohmann/json json edit: 3.34; nlohmann/json json minify: 4.19; nlohmann/json json write: 1.86; simd-json (Rust) validate: 3.45; simd-json (Rust) sum: 1.91; simd-json (Rust) select: 2.59; simd-json (Rust) edit: 2.88; simd-json (Rust) minify: 3.33; simd-json (Rust) write: 2.23; serde_json (Rust) validate: 2.29 (2.04 doing less, U); serde_json (Rust) sum: 2.32; serde_json (Rust) select: 1.74; serde_json (Rust) edit: 4.66; serde_json (Rust) minify: 4.93; serde_json (Rust) write: 2.18; Glaze validate: 2.16; Glaze sum: 4.14 (3.98 doing less, P); Glaze select: 1.38 (0.58 doing less, P); Glaze edit: 4.67; Glaze minify: 5.00 (0.72 doing less, P); Glaze write: 1.79; RapidJSON validate: 4.92 (3.62 doing less, U); RapidJSON sum: 3.24 (2.37 doing less, U); RapidJSON select: 4.05 (3.27 doing less, U); RapidJSON edit: 2.99 (2.58 doing less, U); RapidJSON minify: 3.57 (2.57 doing less, U N); RapidJSON write: 2.96.</desc> <desc id="nj-blog-uc-x86-gcc13-d">Table of relative times, libraries by use case. nlohmann/json json_document validate: 1.00; nlohmann/json json_document sum: 1.23; nlohmann/json json_document select: 1.00; nlohmann/json json_document edit: 1.00 (0.82 doing less, N); nlohmann/json json_document minify: 1.00 (0.81 doing less, N); nlohmann/json json_document write: 1.00 (0.67 doing less, N); simdjson validate: 1.43; simdjson sum: 1.00; simdjson select: 1.15 (0.44 doing less, P); simdjson edit: n/a; simdjson minify: 1.48 (0.11 doing less, P); simdjson write: 2.01; yyjson validate: 1.94; yyjson sum: 1.59; yyjson select: 1.50; yyjson edit: 1.67; yyjson minify: 1.38 (1.13 doing less, N); yyjson write: 1.16; sonic-cpp validate: no fully validating way (2.10 doing less, U); sonic-cpp sum: no fully validating way (1.60 doing less, U); sonic-cpp select: no fully validating way (1.65 doing less, U); sonic-cpp edit: no fully validating way (1.39 doing less, U); sonic-cpp minify: no fully validating way (1.56 doing less, U); sonic-cpp write: 1.51; sonic-rs (Rust) validate: 1.69; sonic-rs (Rust) sum: 1.34; sonic-rs (Rust) select: 1.38; sonic-rs (Rust) edit: 2.10; sonic-rs (Rust) minify: 1.78; sonic-rs (Rust) write: 2.01; Boost.J&#8203;SON validate: 2.05; Boost.J&#8203;SON sum: 1.73; Boost.J&#8203;SON select: 2.31; Boost.J&#8203;SON edit: 2.43; Boost.J&#8203;SON minify: 2.74; Boost.J&#8203;SON write: 2.48; nlohmann/json json validate: 1.46; nlohmann/json json sum: 1.25; nlohmann/json json select: 6.68; nlohmann/json json edit: 3.76; nlohmann/json json minify: 4.54; nlohmann/json json write: 2.24; simd-json (Rust) validate: 3.15; simd-json (Rust) sum: 2.39; simd-json (Rust) select: 2.92; simd-json (Rust) edit: 3.32; simd-json (Rust) minify: 3.74; simd-json (Rust) write: 2.54; Glaze validate: 2.09; Glaze sum: 4.93 (4.68 doing less, P); Glaze select: 1.61 (0.64 doing less, P); Glaze edit: 4.93; Glaze minify: 5.22 (0.88 doing less, P); Glaze write: 1.95; serde_json (Rust) validate: 2.20 (1.85 doing less, U); serde_json (Rust) sum: 2.90; serde_json (Rust) select: 1.98 (1.80 doing less, U); serde_json (Rust) edit: 5.00; serde_json (Rust) minify: 5.27; serde_json (Rust) write: 2.63; RapidJSON validate: 4.28 (3.34 doing less, U); RapidJSON sum: 3.85 (2.82 doing less, U); RapidJSON select: 4.37 (3.56 doing less, U); RapidJSON edit: 3.45 (2.95 doing less, U); RapidJSON minify: 3.66 (2.43 doing less, U N); RapidJSON write: 3.21.</desc>
<text class="nj-charts-tick" x="270" y="34">validate</text> <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="362" y="34">sum</text>
<text class="nj-charts-tick" x="454" y="34">select</text> <text class="nj-charts-tick" x="454" y="34">select</text>
@@ -8,359 +8,364 @@
<text class="nj-charts-tick" x="638" y="34">minify</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-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> <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: 267 µs&#10;citm_catalog.json: 556 µs&#10;canada.json: 989 µs&#10;jeopardy.json: 34,784 µs"> <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: 163 µs&#10;citm_catalog.json: 317 µs&#10;canada.json: 707 µs&#10;jeopardy.json: 22,634 µs">
<rect class="nj-heat-0" x="225" y="45" width="90" height="34" rx="3"/> <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> <text class="nj-charts-cell" x="270" y="66" text-anchor="middle">1.00</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · sum&#10;1.12× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 388 µs&#10;citm_catalog.json: 1,091 µs&#10;canada.json: 3,889 µs&#10;jeopardy.json: 90,821 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · sum&#10;1.23× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 212 µs&#10;citm_catalog.json: 535 µs&#10;canada.json: 1,959 µs&#10;jeopardy.json: 46,233 µs">
<rect class="nj-heat-0" x="317" y="45" width="90" height="34" rx="3"/> <rect class="nj-heat-1" x="317" y="45" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="66" text-anchor="middle">1.12</text> <text class="nj-charts-cell" x="362" y="66" text-anchor="middle">1.23</text>
</g> </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;twitter.json: 330 µs · parse&#10;citm_catalog.json: 856 µs · parse&#10;canada.json: 1,359 µs · structs (from_json)&#10;jeopardy.json: 93,555 µs · parse"> <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: 175 µs&#10;citm_catalog.json: 411 µs&#10;canada.json: 739 µs&#10;jeopardy.json: 47,064 µs">
<rect class="nj-heat-0" x="409" y="45" width="90" height="34" rx="3"/> <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> <text class="nj-charts-cell" x="454" y="66" text-anchor="middle">1.00</text>
</g> </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: 537 µs&#10;citm_catalog.json: 1,204 µs&#10;canada.json: 5,808 µs&#10;jeopardy.json: 201,668 µs"> <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: 610 µs&#10;canada.json: 3,060 µs&#10;jeopardy.json: 103,192 µs">
<rect class="nj-heat-0" x="501" y="45" width="44" height="34" rx="3"/> <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> <text class="nj-charts-cell" x="523.5" y="66" text-anchor="middle">1.00</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · edit, checking less&#10;0.82× the time of the fastest fully validating library&#10;twitter.json: 537 µs · editable (validates fully)&#10;citm_catalog.json: 1,204 µs · editable (validates fully)&#10;canada.json: 2,626 µs · editable (source numbers) (validates fully)&#10;jeopardy.json: 201,668 µs · editable (validates fully)&#10;copies each number&#x27;s text instead of formatting it (number_format::source)"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · edit, checking less&#10;0.82× the time of the fastest fully validating library&#10;twitter.json: 281 µs · editable (validates fully)&#10;citm_catalog.json: 610 µs · editable (validates fully)&#10;canada.json: 1,387 µs · editable (source numbers) (validates fully)&#10;jeopardy.json: 103,192 µs · editable (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"/> <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.82</text> <text class="nj-charts-cell" x="568.5" y="60" text-anchor="middle">0.82</text>
<text class="nj-charts-cell nj-charts-cell--small" x="568.5" y="73" text-anchor="middle">N</text> <text class="nj-charts-cell nj-charts-cell--small" x="568.5" y="73" text-anchor="middle">N</text>
</g> </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: 480 µs&#10;citm_catalog.json: 1,128 µs&#10;canada.json: 5,283 µs&#10;jeopardy.json: 141,931 µs"> <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: 258 µs&#10;citm_catalog.json: 557 µs&#10;canada.json: 2,872 µs&#10;jeopardy.json: 74,762 µs">
<rect class="nj-heat-0" x="593" y="45" width="44" height="34" rx="3"/> <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> <text class="nj-charts-cell" x="615.5" y="66" text-anchor="middle">1.00</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · minify, checking less&#10;0.80× the time of the fastest fully validating library&#10;twitter.json: 474 µs · parse + dump (source numbers) (validates fully)&#10;citm_catalog.json: 1,112 µs · parse + dump (source numbers) (validates fully)&#10;canada.json: 2,250 µs · parse + dump (source numbers) (validates fully)&#10;jeopardy.json: 141,931 µs · parse + dump (validates fully)&#10;copies each number&#x27;s text instead of formatting it (number_format::source)"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · minify, checking less&#10;0.81× the time of the fastest fully validating library&#10;twitter.json: 255 µs · parse + dump (source numbers) (validates fully)&#10;citm_catalog.json: 557 µs · parse + dump (validates fully)&#10;canada.json: 1,259 µs · parse + dump (source numbers) (validates fully)&#10;jeopardy.json: 74,491 µs · parse + dump (source numbers) (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"/> <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.80</text> <text class="nj-charts-cell" x="660.5" y="60" text-anchor="middle">0.81</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="73" text-anchor="middle">N</text> <text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="73" text-anchor="middle">N</text>
</g> </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: 152 µs&#10;citm_catalog.json: 273 µs&#10;canada.json: 3,935 µs&#10;jeopardy.json: 68,184 µs"> <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: 80.5 µs&#10;citm_catalog.json: 158 µs&#10;canada.json: 2,124 µs&#10;jeopardy.json: 32,579 µs">
<rect class="nj-heat-0" x="685" y="45" width="44" height="34" rx="3"/> <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> <text class="nj-charts-cell" x="707.5" y="66" text-anchor="middle">1.00</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · write, checking less&#10;0.67× the time of the fastest fully validating library&#10;twitter.json: 145 µs · dump (source numbers) (validates fully)&#10;citm_catalog.json: 256 µs · dump (source numbers) (validates fully)&#10;canada.json: 867 µs · dump (source numbers) (validates fully)&#10;jeopardy.json: 68,184 µs · dump (validates fully)&#10;copies each number&#x27;s text instead of formatting it (number_format::source)"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · write, checking less&#10;0.67× the time of the fastest fully validating library&#10;twitter.json: 75.2 µs · dump (source numbers) (validates fully)&#10;citm_catalog.json: 148 µs · dump (source numbers) (validates fully)&#10;canada.json: 498 µs · dump (source numbers) (validates fully)&#10;jeopardy.json: 32,579 µ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"/> <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.67</text> <text class="nj-charts-cell" x="752.5" y="60" text-anchor="middle">0.67</text>
<text class="nj-charts-cell nj-charts-cell--small" x="752.5" y="73" text-anchor="middle">N</text> <text class="nj-charts-cell nj-charts-cell--small" x="752.5" y="73" text-anchor="middle">N</text>
</g> </g>
<text class="nj-charts-rowlabel " x="216" y="102" text-anchor="end">yyjson</text> <text class="nj-charts-rowlabel " x="216" y="102" text-anchor="end">simdjson</text>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · validate&#10;2.17× the time of the fastest library (fully validating)&#10;twitter.json: 390 µs · read (raw numbers)&#10;citm_catalog.json: 988 µs · read&#10;canada.json: 2,242 µs · read (raw numbers)&#10;jeopardy.json: 129,865 µs · read (raw numbers)"> <g class="nj-heat-cell" tabindex="0" data-tip="simdjson · validate&#10;1.43× the time of the fastest library (fully validating)&#10;way: D&#8203;OM&#10;twitter.json: 132 µs&#10;citm_catalog.json: 335 µs&#10;canada.json: 1,616 µs&#10;jeopardy.json: 48,463 µs">
<rect class="nj-heat-2" x="225" y="81" width="90" height="34" rx="3"/> <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">2.17</text> <text class="nj-charts-cell" x="270" y="102" text-anchor="middle">1.43</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · sum&#10;1.48× the time of the fastest library (fully validating)&#10;way: read&#10;twitter.json: 447 µs&#10;citm_catalog.json: 1,151 µs&#10;canada.json: 6,089 µs&#10;jeopardy.json: 143,993 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="simdjson · sum&#10;1.00× the time of the fastest library (fully validating)&#10;way: On-Demand&#10;twitter.json: 165 µs&#10;citm_catalog.json: 387 µs&#10;canada.json: 1,721 µs&#10;jeopardy.json: 41,228 µs">
<rect class="nj-heat-1" x="317" y="81" width="90" height="34" rx="3"/> <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.48</text> <text class="nj-charts-cell" x="362" y="102" text-anchor="middle">1.00</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · select&#10;1.38× the time of the fastest library (fully validating)&#10;twitter.json: 401 µs · read&#10;citm_catalog.json: 998 µs · insitu (copy)&#10;canada.json: 2,224 µs · read (raw numbers)&#10;jeopardy.json: 145,375 µs · read&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="simdjson · select&#10;1.15× the time of the fastest library (fully validating)&#10;way: D&#8203;OM&#10;twitter.json: 137 µs&#10;citm_catalog.json: 343 µs&#10;canada.json: 1,616 µs&#10;jeopardy.json: 56,960 µs">
<rect class="nj-heat-1" x="409" y="81" width="90" height="34" rx="3"/> <rect class="nj-heat-0" x="409" y="81" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="102" text-anchor="middle">1.38</text> <text class="nj-charts-cell" x="431.5" y="102" text-anchor="middle">1.15</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · edit&#10;1.56× the time of the fastest library (fully validating)&#10;twitter.json: 804 µs · insitu (copy) + mut copy&#10;citm_catalog.json: 1,712 µs · insitu (copy) + mut copy&#10;canada.json: 10,035 µs · mut copy&#10;jeopardy.json: 326,615 µs · mut copy&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="simdjson · select, checking less&#10;0.44× the time of the fastest fully validating library&#10;twitter.json: 74.2 µs · On-Demand (key selectors)&#10;citm_catalog.json: 230 µs · On-Demand (key selectors)&#10;canada.json: 278 µs · On-Demand&#10;jeopardy.json: 19,882 µ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-2" x="501" y="81" width="90" height="34" rx="3"/> <rect class="nj-heat-0" x="455" y="81" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="102" text-anchor="middle">1.56</text> <text class="nj-charts-cell" x="476.5" y="96" text-anchor="middle">0.44</text>
</g> <text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="109" text-anchor="middle">P</text>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · minify&#10;1.38× the time of the fastest library (fully validating)&#10;twitter.json: 617 µs · read + write&#10;citm_catalog.json: 1,328 µs · read + write&#10;canada.json: 8,961 µs · insitu (copy) + write&#10;jeopardy.json: 201,616 µs · read + write&#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.38</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · minify, checking less&#10;1.04× the time of the fastest fully validating library&#10;twitter.json: 617 µs · read + write (validates fully)&#10;citm_catalog.json: 1,303 µs · read (raw numbers) + write (validates fully)&#10;canada.json: 2,946 µs · read (raw numbers) + write (validates fully)&#10;jeopardy.json: 201,616 µs · read + write (validates fully)&#10;copies each number&#x27;s text instead of formatting it (YYJSON_READ_NUMBER_AS_RAW)">
<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">1.04</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.12× the time of the fastest library (fully validating)&#10;way: write&#10;twitter.json: 194 µs&#10;citm_catalog.json: 334 µs&#10;canada.json: 3,611 µs&#10;jeopardy.json: 74,399 µ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.12</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&#10;2.30× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 407 µs&#10;citm_catalog.json: 1,038 µs&#10;canada.json: 3,585 µs&#10;jeopardy.json: 94,110 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;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.30</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&#10;1.33× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 477 µs&#10;citm_catalog.json: 1,234 µs&#10;canada.json: 4,592 µs&#10;jeopardy.json: 108,471 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;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.33</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&#10;1.49× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 426 µs&#10;citm_catalog.json: 1,043 µs&#10;canada.json: 3,620 µs&#10;jeopardy.json: 111,296 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;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.49</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&#10;1.23× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 634 µs&#10;citm_catalog.json: 1,551 µs&#10;canada.json: 8,997 µs&#10;jeopardy.json: 194,991 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;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.23</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&#10;1.40× the time of the fastest fully validating library&#10;way: Document + Serialize&#10;twitter.json: 657 µs&#10;citm_catalog.json: 1,589 µs&#10;canada.json: 8,871 µs&#10;jeopardy.json: 170,528 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;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.40</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&#10;1.49× the time of the fastest library (fully validating)&#10;way: Serialize&#10;twitter.json: 265 µs&#10;citm_catalog.json: 543 µs&#10;canada.json: 5,106 µs&#10;jeopardy.json: 74,824 µ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&#10;2.02× the time of the fastest library (fully validating)&#10;way: D&#8203;OM&#10;twitter.json: 315 µs&#10;citm_catalog.json: 740 µs&#10;canada.json: 3,156 µs&#10;jeopardy.json: 115,609 µ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.02</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · sum&#10;1.00× the time of the fastest library (fully validating)&#10;way: On-Demand&#10;twitter.json: 363 µs&#10;citm_catalog.json: 802 µs&#10;canada.json: 3,324 µs&#10;jeopardy.json: 97,185 µ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&#10;1.30× the time of the fastest library (fully validating)&#10;way: D&#8203;OM&#10;twitter.json: 331 µs&#10;citm_catalog.json: 752 µs&#10;canada.json: 3,113 µs&#10;jeopardy.json: 131,434 µ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.30</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · select, checking less&#10;0.56× the time of the fastest fully validating library&#10;twitter.json: 195 µs · On-Demand&#10;citm_catalog.json: 500 µs · On-Demand&#10;canada.json: 712 µs · On-Demand&#10;jeopardy.json: 50,740 µs · On-Demand (key selectors)&#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="153" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="476.5" y="168" text-anchor="middle">0.56</text>
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="181" text-anchor="middle">P</text>
</g> </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"> <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="153" width="90" height="34" rx="3"/> <rect class="nj-heat-na" x="501" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-tick" x="546" y="174">n/a</text> <text class="nj-charts-tick" x="546" y="102">n/a</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · minify&#10;1.56× the time of the fastest library (fully validating)&#10;way: D&#8203;OM + to_string&#10;twitter.json: 699 µs&#10;citm_catalog.json: 1,393 µs&#10;canada.json: 8,627 µs&#10;jeopardy.json: 287,360 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="simdjson · minify&#10;1.48× the time of the fastest library (fully validating)&#10;way: D&#8203;OM + to_string&#10;twitter.json: 325 µs&#10;citm_catalog.json: 669 µs&#10;canada.json: 4,935 µs&#10;jeopardy.json: 139,695 µs">
<rect class="nj-heat-2" x="593" y="153" width="44" height="34" rx="3"/> <rect class="nj-heat-1" x="593" y="81" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="174" text-anchor="middle">1.56</text> <text class="nj-charts-cell" x="615.5" y="102" text-anchor="middle">1.48</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · minify, checking less&#10;0.22× the time of the fastest fully validating library&#10;way: minify&#10;twitter.json: 132 µs&#10;citm_catalog.json: 324 µs&#10;canada.json: 456 µs&#10;jeopardy.json: 47,323 µs&#10;simdjson::minify() only removes whitespace, without parsing the values"> <g class="nj-heat-cell" tabindex="0" data-tip="simdjson · minify, checking less&#10;0.11× the time of the fastest fully validating library&#10;way: minify&#10;twitter.json: 28.6 µs&#10;citm_catalog.json: 73.4 µs&#10;canada.json: 132 µs&#10;jeopardy.json: 18,644 µs&#10;simdjson::minify() only removes whitespace, without parsing the values">
<rect class="nj-heat-0" x="639" y="153" width="44" height="34" rx="3"/> <rect class="nj-heat-0" x="639" y="81" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="168" text-anchor="middle">0.22</text> <text class="nj-charts-cell" x="660.5" y="96" text-anchor="middle">0.11</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="181" text-anchor="middle">P</text> <text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="109" text-anchor="middle">P</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · write&#10;2.05× the time of the fastest library (fully validating)&#10;way: to_string&#10;twitter.json: 364 µs&#10;citm_catalog.json: 636 µs&#10;canada.json: 5,171 µs&#10;jeopardy.json: 166,268 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="simdjson · write&#10;2.01× the time of the fastest library (fully validating)&#10;way: to_string&#10;twitter.json: 169 µs&#10;citm_catalog.json: 323 µs&#10;canada.json: 3,239 µs&#10;jeopardy.json: 80,814 µs">
<rect class="nj-heat-2" x="685" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="102" text-anchor="middle">2.01</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="138" text-anchor="end">yyjson</text>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · validate&#10;1.94× the time of the fastest library (fully validating)&#10;twitter.json: 213 µs · insitu (copy)&#10;citm_catalog.json: 547 µs · read&#10;canada.json: 1,476 µs · read (raw numbers)&#10;jeopardy.json: 67,966 µs · insitu (copy)&#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="117" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="138" text-anchor="middle">1.94</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · sum&#10;1.59× the time of the fastest library (fully validating)&#10;twitter.json: 251 µs · insitu (copy)&#10;citm_catalog.json: 648 µs · read&#10;canada.json: 2,390 µs · read&#10;jeopardy.json: 74,294 µs · insitu (copy)&#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="117" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="138" text-anchor="middle">1.59</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · select&#10;1.50× the time of the fastest library (fully validating)&#10;twitter.json: 211 µs · insitu (copy)&#10;citm_catalog.json: 552 µs · read&#10;canada.json: 1,480 µs · read (raw numbers)&#10;jeopardy.json: 73,477 µs · insitu (copy)&#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="117" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="138" text-anchor="middle">1.50</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · edit&#10;1.67× the time of the fastest library (fully validating)&#10;twitter.json: 499 µs · insitu (copy) + mut copy&#10;citm_catalog.json: 1,013 µs · insitu (copy) + mut copy&#10;canada.json: 4,676 µs · insitu (copy) + mut copy&#10;jeopardy.json: 177,912 µs · mut copy&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-2" x="501" y="117" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="138" text-anchor="middle">1.67</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · minify&#10;1.38× the time of the fastest library (fully validating)&#10;twitter.json: 340 µs · read + write&#10;citm_catalog.json: 724 µs · insitu (copy) + write&#10;canada.json: 4,199 µs · read + write&#10;jeopardy.json: 109,351 µs · insitu (copy) + write&#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="117" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="138" text-anchor="middle">1.38</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · minify, checking less&#10;1.13× the time of the fastest fully validating library&#10;twitter.json: 340 µs · read + write (validates fully)&#10;citm_catalog.json: 720 µs · read (raw numbers) + write (validates fully)&#10;canada.json: 1,912 µs · read (raw numbers) + write (validates fully)&#10;jeopardy.json: 109,351 µ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-0" x="639" y="117" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="132" text-anchor="middle">1.13</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="145" text-anchor="middle">N</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · write&#10;1.16× the time of the fastest library (fully validating)&#10;way: write&#10;twitter.json: 111 µs&#10;citm_catalog.json: 167 µs&#10;canada.json: 2,183 µs&#10;jeopardy.json: 38,692 µ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.16</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="174" text-anchor="end">sonic-cpp</text>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · validate, checking less&#10;2.10× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 260 µs&#10;citm_catalog.json: 626 µs&#10;canada.json: 1,959 µs&#10;jeopardy.json: 50,164 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<rect class="nj-heat-2" x="225" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="168" text-anchor="middle">2.10</text>
<text class="nj-charts-cell nj-charts-cell--small" x="270" y="181" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · sum, checking less&#10;1.60× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 294 µs&#10;citm_catalog.json: 746 µs&#10;canada.json: 2,339 µs&#10;jeopardy.json: 57,826 µ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="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="168" text-anchor="middle">1.60</text>
<text class="nj-charts-cell nj-charts-cell--small" x="362" y="181" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · select, checking less&#10;1.65× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 252 µs&#10;citm_catalog.json: 636 µs&#10;canada.json: 1,969 µs&#10;jeopardy.json: 58,807 µ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="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="168" text-anchor="middle">1.65</text>
<text class="nj-charts-cell nj-charts-cell--small" x="454" y="181" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · edit, checking less&#10;1.39× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 381 µs&#10;citm_catalog.json: 948 µs&#10;canada.json: 5,392 µs&#10;jeopardy.json: 104,318 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<rect class="nj-heat-1" x="501" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="168" text-anchor="middle">1.39</text>
<text class="nj-charts-cell nj-charts-cell--small" x="546" y="181" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · minify, checking less&#10;1.56× the time of the fastest fully validating library&#10;way: Document + Serialize&#10;twitter.json: 390 µs&#10;citm_catalog.json: 963 µs&#10;canada.json: 5,388 µs&#10;jeopardy.json: 90,851 µ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="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="168" text-anchor="middle">1.56</text>
<text class="nj-charts-cell nj-charts-cell--small" x="638" y="181" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · write&#10;1.51× the time of the fastest library (fully validating)&#10;way: Serialize&#10;twitter.json: 131 µs&#10;citm_catalog.json: 293 µs&#10;canada.json: 3,421 µs&#10;jeopardy.json: 34,783 µs">
<rect class="nj-heat-2" x="685" y="153" width="90" height="34" rx="3"/> <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.05</text> <text class="nj-charts-cell" x="730" y="174" text-anchor="middle">1.51</text>
</g> </g>
<text class="nj-charts-rowlabel " x="216" y="210" text-anchor="end">sonic-rs (Rust)</text> <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&#10;1.83× the time of the fastest library (fully validating)&#10;way: IgnoredAny&#10;twitter.json: 481 µs&#10;citm_catalog.json: 972 µs&#10;canada.json: 2,300 µs&#10;jeopardy.json: 53,361 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · validate&#10;1.69× the time of the fastest library (fully validating)&#10;twitter.json: 290 µs · Value&#10;citm_catalog.json: 548 µs · IgnoredAny&#10;canada.json: 1,234 µs · IgnoredAny&#10;jeopardy.json: 34,104 µs · IgnoredAny">
<rect class="nj-heat-2" x="225" y="189" width="90" height="34" rx="3"/> <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.83</text> <text class="nj-charts-cell" x="270" y="210" text-anchor="middle">1.69</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · sum&#10;1.11× the time of the fastest library (fully validating)&#10;way: visitor&#10;twitter.json: 502 µs&#10;citm_catalog.json: 1,138 µs&#10;canada.json: 4,363 µs&#10;jeopardy.json: 56,951 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · sum&#10;1.34× the time of the fastest library (fully validating)&#10;way: visitor&#10;twitter.json: 287 µs&#10;citm_catalog.json: 604 µs&#10;canada.json: 2,643 µs&#10;jeopardy.json: 32,088 µs">
<rect class="nj-heat-0" x="317" y="189" width="90" height="34" rx="3"/> <rect class="nj-heat-1" x="317" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="210" text-anchor="middle">1.11</text> <text class="nj-charts-cell" x="362" y="210" text-anchor="middle">1.34</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · select&#10;1.33× the time of the fastest library (fully validating)&#10;way: structs&#10;twitter.json: 503 µs&#10;citm_catalog.json: 1,034 µs&#10;canada.json: 2,299 µs&#10;jeopardy.json: 93,390 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · select&#10;1.38× the time of the fastest library (fully validating)&#10;twitter.json: 294 µs · Value&#10;citm_catalog.json: 609 µs · structs&#10;canada.json: 1,237 µs · structs&#10;jeopardy.json: 40,453 µs · structs">
<rect class="nj-heat-1" x="409" y="189" width="90" height="34" rx="3"/> <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.33</text> <text class="nj-charts-cell" x="454" y="210" text-anchor="middle">1.38</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · edit&#10;1.92× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 1,259 µs&#10;citm_catalog.json: 2,509 µs&#10;canada.json: 7,762 µs&#10;jeopardy.json: 422,005 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · edit&#10;2.10× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 668 µs&#10;citm_catalog.json: 1,374 µs&#10;canada.json: 4,662 µs&#10;jeopardy.json: 246,664 µs">
<rect class="nj-heat-2" x="501" y="189" width="90" height="34" rx="3"/> <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.92</text> <text class="nj-charts-cell" x="546" y="210" text-anchor="middle">2.10</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · minify&#10;1.74× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 1,004 µs&#10;citm_catalog.json: 2,128 µs&#10;canada.json: 7,896 µs&#10;jeopardy.json: 222,496 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · minify&#10;1.78× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 521 µs&#10;citm_catalog.json: 1,163 µs&#10;canada.json: 4,568 µs&#10;jeopardy.json: 112,037 µs">
<rect class="nj-heat-2" x="593" y="189" width="90" height="34" rx="3"/> <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.74</text> <text class="nj-charts-cell" x="638" y="210" text-anchor="middle">1.78</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · write&#10;1.94× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 437 µs&#10;citm_catalog.json: 907 µs&#10;canada.json: 4,002 µs&#10;jeopardy.json: 100,023 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · write&#10;2.01× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 230 µs&#10;citm_catalog.json: 515 µs&#10;canada.json: 2,458 µs&#10;jeopardy.json: 49,042 µs">
<rect class="nj-heat-2" x="685" y="189" width="90" height="34" rx="3"/> <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.94</text> <text class="nj-charts-cell" x="730" y="210" text-anchor="middle">2.01</text>
</g> </g>
<text class="nj-charts-rowlabel " x="216" y="246" text-anchor="end">Boost.J&#8203;SON</text> <text class="nj-charts-rowlabel " x="216" y="246" text-anchor="end">Boost.J&#8203;SON</text>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · validate&#10;1.90× the time of the fastest library (fully validating)&#10;way: S&#8203;AX (numbers: none)&#10;twitter.json: 706 µs&#10;citm_catalog.json: 934 µs&#10;canada.json: 1,653 µs&#10;jeopardy.json: 61,295 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · validate&#10;2.05× the time of the fastest library (fully validating)&#10;twitter.json: 469 µs · S&#8203;AX&#10;citm_catalog.json: 673 µs · S&#8203;AX (numbers: none)&#10;canada.json: 1,110 µs · S&#8203;AX (numbers: none)&#10;jeopardy.json: 41,431 µs · S&#8203;AX (numbers: none)">
<rect class="nj-heat-2" x="225" y="225" width="90" height="34" rx="3"/> <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.90</text> <text class="nj-charts-cell" x="270" y="246" text-anchor="middle">2.05</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · sum&#10;1.32× the time of the fastest library (fully validating)&#10;way: S&#8203;AX&#10;twitter.json: 726 µs&#10;citm_catalog.json: 1,044 µs&#10;canada.json: 5,769 µs&#10;jeopardy.json: 65,800 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · sum&#10;1.73× the time of the fastest library (fully validating)&#10;way: S&#8203;AX&#10;twitter.json: 470 µs&#10;citm_catalog.json: 686 µs&#10;canada.json: 3,030 µs&#10;jeopardy.json: 41,988 µs">
<rect class="nj-heat-1" x="317" y="225" width="90" height="34" rx="3"/> <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.32</text> <text class="nj-charts-cell" x="362" y="246" text-anchor="middle">1.73</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · select&#10;2.19× the time of the fastest library (fully validating)&#10;way: parse_into structs&#10;twitter.json: 878 µs&#10;citm_catalog.json: 1,376 µs&#10;canada.json: 6,923 µs&#10;jeopardy.json: 99,339 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · select&#10;2.31× the time of the fastest library (fully validating)&#10;twitter.json: 501 µs · parse_into structs&#10;citm_catalog.json: 738 µs · parse_into structs&#10;canada.json: 3,510 µs · parse&#10;jeopardy.json: 54,976 µs · parse_into structs">
<rect class="nj-heat-2" x="409" y="225" width="90" height="34" rx="3"/> <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.19</text> <text class="nj-charts-cell" x="454" y="246" text-anchor="middle">2.31</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · edit&#10;2.49× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 1,976 µs&#10;citm_catalog.json: 2,879 µs&#10;canada.json: 13,688 µs&#10;jeopardy.json: 375,667 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · edit&#10;2.43× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 1,023 µs&#10;citm_catalog.json: 1,414 µs&#10;canada.json: 6,793 µs&#10;jeopardy.json: 192,570 µs">
<rect class="nj-heat-2" x="501" y="225" width="90" height="34" rx="3"/> <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.49</text> <text class="nj-charts-cell" x="546" y="246" text-anchor="middle">2.43</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · minify&#10;2.83× the time of the fastest library (fully validating)&#10;way: parse + serialize&#10;twitter.json: 1,986 µs&#10;citm_catalog.json: 2,952 µs&#10;canada.json: 13,108 µs&#10;jeopardy.json: 340,742 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · minify&#10;2.74× the time of the fastest library (fully validating)&#10;way: parse + serialize&#10;twitter.json: 1,043 µs&#10;citm_catalog.json: 1,408 µs&#10;canada.json: 6,792 µs&#10;jeopardy.json: 174,241 µs">
<rect class="nj-heat-3" x="593" y="225" width="90" height="34" rx="3"/> <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.83</text> <text class="nj-charts-cell" x="638" y="246" text-anchor="middle">2.74</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · write&#10;2.50× the time of the fastest library (fully validating)&#10;way: serialize&#10;twitter.json: 476 µs&#10;citm_catalog.json: 1,016 µs&#10;canada.json: 6,029 µs&#10;jeopardy.json: 150,430 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · write&#10;2.48× the time of the fastest library (fully validating)&#10;way: serialize&#10;twitter.json: 261 µs&#10;citm_catalog.json: 540 µs&#10;canada.json: 3,272 µs&#10;jeopardy.json: 71,770 µs">
<rect class="nj-heat-3" x="685" y="225" width="90" height="34" rx="3"/> <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.50</text> <text class="nj-charts-cell" x="730" y="246" text-anchor="middle">2.48</text>
</g> </g>
<text class="nj-charts-rowlabel nj-charts-name-json" x="216" y="282" text-anchor="end">nlohmann/json json</text> <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.39× the time of the fastest library (fully validating)&#10;way: accept&#10;twitter.json: 312 µs&#10;citm_catalog.json: 693 µs&#10;canada.json: 2,325 µs&#10;jeopardy.json: 38,149 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · validate&#10;1.46× the time of the fastest library (fully validating)&#10;way: accept&#10;twitter.json: 215 µs&#10;citm_catalog.json: 464 µs&#10;canada.json: 1,527 µs&#10;jeopardy.json: 24,556 µs">
<rect class="nj-heat-1" x="225" y="261" width="90" height="34" rx="3"/> <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.39</text> <text class="nj-charts-cell" x="270" y="282" text-anchor="middle">1.46</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · sum&#10;1.04× the time of the fastest library (fully validating)&#10;way: sax&#10;twitter.json: 451 µs&#10;citm_catalog.json: 934 µs&#10;canada.json: 3,981 µs&#10;jeopardy.json: 66,877 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · sum&#10;1.25× the time of the fastest library (fully validating)&#10;way: sax&#10;twitter.json: 252 µs&#10;citm_catalog.json: 570 µs&#10;canada.json: 2,166 µs&#10;jeopardy.json: 35,846 µs">
<rect class="nj-heat-0" x="317" y="261" width="90" height="34" rx="3"/> <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.04</text> <text class="nj-charts-cell" x="362" y="282" text-anchor="middle">1.25</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · select&#10;6.25× the time of the fastest library (fully validating)&#10;way: structs (from_json)&#10;twitter.json: 3,064 µs&#10;citm_catalog.json: 4,711 µs&#10;canada.json: 9,429 µs&#10;jeopardy.json: 402,074 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · select&#10;6.68× the time of the fastest library (fully validating)&#10;twitter.json: 1,692 µs · parse&#10;citm_catalog.json: 2,506 µs · parse&#10;canada.json: 5,048 µs · structs (from_json)&#10;jeopardy.json: 232,140 µs · parse">
<rect class="nj-heat-4" x="409" y="261" width="90" height="34" rx="3"/> <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.25</text> <text class="nj-charts-cell" x="454" y="282" text-anchor="middle">6.68</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · edit&#10;3.34× the time of the fastest library (fully validating)&#10;twitter.json: 2,557 µs · ordered_json&#10;citm_catalog.json: 4,346 µs · ordered_json&#10;canada.json: 13,389 µs · parse&#10;jeopardy.json: 632,590 µs · ordered_json"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · edit&#10;3.76× the time of the fastest library (fully validating)&#10;twitter.json: 1,546 µs · ordered_json&#10;citm_catalog.json: 2,561 µs · ordered_json&#10;canada.json: 7,456 µs · parse&#10;jeopardy.json: 365,109 µs · ordered_json">
<rect class="nj-heat-3" x="501" y="261" width="90" height="34" rx="3"/> <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.34</text> <text class="nj-charts-cell" x="546" y="282" text-anchor="middle">3.76</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · minify&#10;4.19× the time of the fastest library (fully validating)&#10;way: parse + dump&#10;twitter.json: 3,501 µs&#10;citm_catalog.json: 5,137 µs&#10;canada.json: 13,474 µs&#10;jeopardy.json: 515,010 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · minify&#10;4.54× the time of the fastest library (fully validating)&#10;way: parse + dump&#10;twitter.json: 2,054 µs&#10;citm_catalog.json: 2,863 µs&#10;canada.json: 7,502 µs&#10;jeopardy.json: 296,521 µs">
<rect class="nj-heat-3" x="593" y="261" width="90" height="34" rx="3"/> <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.19</text> <text class="nj-charts-cell" x="638" y="282" text-anchor="middle">4.54</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · write&#10;1.86× the time of the fastest library (fully validating)&#10;way: dump&#10;twitter.json: 424 µs&#10;citm_catalog.json: 621 µs&#10;canada.json: 4,129 µs&#10;jeopardy.json: 122,334 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · write&#10;2.24× the time of the fastest library (fully validating)&#10;way: dump&#10;twitter.json: 296 µs&#10;citm_catalog.json: 380 µs&#10;canada.json: 2,451 µs&#10;jeopardy.json: 80,667 µs">
<rect class="nj-heat-2" x="685" y="261" width="90" height="34" rx="3"/> <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.86</text> <text class="nj-charts-cell" x="730" y="282" text-anchor="middle">2.24</text>
</g> </g>
<text class="nj-charts-rowlabel " x="216" y="318" text-anchor="end">simd-json (Rust)</text> <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&#10;3.45× the time of the fastest library (fully validating)&#10;way: tape (copy)&#10;twitter.json: 596 µs&#10;citm_catalog.json: 1,434 µs&#10;canada.json: 4,216 µs&#10;jeopardy.json: 201,446 µs&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · validate&#10;3.15× the time of the fastest library (fully validating)&#10;way: tape (copy)&#10;twitter.json: 323 µs&#10;citm_catalog.json: 887 µs&#10;canada.json: 2,670 µs&#10;jeopardy.json: 107,087 µs&#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="297" width="90" height="34" rx="3"/> <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.45</text> <text class="nj-charts-cell" x="270" y="318" text-anchor="middle">3.15</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · sum&#10;1.91× the time of the fastest library (fully validating)&#10;way: visitor (copy)&#10;twitter.json: 697 µs&#10;citm_catalog.json: 1,627 µs&#10;canada.json: 5,110 µs&#10;jeopardy.json: 218,368 µs&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · sum&#10;2.39× the time of the fastest library (fully validating)&#10;way: visitor (copy)&#10;twitter.json: 384 µs&#10;citm_catalog.json: 1,021 µs&#10;canada.json: 3,151 µs&#10;jeopardy.json: 118,952 µ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="297" width="90" height="34" rx="3"/> <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.91</text> <text class="nj-charts-cell" x="362" y="318" text-anchor="middle">2.39</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · select&#10;2.59× the time of the fastest library (fully validating)&#10;way: structs (copy)&#10;twitter.json: 704 µs&#10;citm_catalog.json: 1,788 µs&#10;canada.json: 4,953 µs&#10;jeopardy.json: 257,184 µs&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · select&#10;2.92× the time of the fastest library (fully validating)&#10;way: structs (copy)&#10;twitter.json: 401 µs&#10;citm_catalog.json: 1,106 µs&#10;canada.json: 3,070 µs&#10;jeopardy.json: 134,048 µs&#10;(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"/> <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> <text class="nj-charts-cell" x="454" y="318" text-anchor="middle">2.92</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · edit&#10;2.88× the time of the fastest library (fully validating)&#10;twitter.json: 1,891 µs · borrowed (copy)&#10;citm_catalog.json: 4,398 µs · borrowed (copy)&#10;canada.json: 14,798 µs · owned (copy)&#10;jeopardy.json: 425,344 µs · borrowed (copy)&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · edit&#10;3.32× the time of the fastest library (fully validating)&#10;way: borrowed (copy)&#10;twitter.json: 1,224 µs&#10;citm_catalog.json: 2,630 µs&#10;canada.json: 8,994 µs&#10;jeopardy.json: 226,271 µs&#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="297" width="90" height="34" rx="3"/> <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.88</text> <text class="nj-charts-cell" x="546" y="318" text-anchor="middle">3.32</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · minify&#10;3.33× the time of the fastest library (fully validating)&#10;way: borrowed (copy)&#10;twitter.json: 1,858 µs&#10;citm_catalog.json: 4,281 µs&#10;canada.json: 15,500 µs&#10;jeopardy.json: 405,012 µs&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · minify&#10;3.74× the time of the fastest library (fully validating)&#10;way: borrowed (copy)&#10;twitter.json: 1,194 µs&#10;citm_catalog.json: 2,602 µs&#10;canada.json: 8,985 µs&#10;jeopardy.json: 217,085 µ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="297" width="90" height="34" rx="3"/> <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.33</text> <text class="nj-charts-cell" x="638" y="318" text-anchor="middle">3.74</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · write&#10;2.23× the time of the fastest library (fully validating)&#10;way: borrowed&#10;twitter.json: 584 µs&#10;citm_catalog.json: 833 µs&#10;canada.json: 4,983 µs&#10;jeopardy.json: 114,016 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · write&#10;2.54× the time of the fastest library (fully validating)&#10;way: borrowed&#10;twitter.json: 390 µs&#10;citm_catalog.json: 501 µs&#10;canada.json: 3,146 µs&#10;jeopardy.json: 59,808 µs">
<rect class="nj-heat-2" x="685" y="297" width="90" height="34" rx="3"/> <rect class="nj-heat-3" x="685" y="297" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="318" text-anchor="middle">2.23</text> <text class="nj-charts-cell" x="730" y="318" text-anchor="middle">2.54</text>
</g> </g>
<text class="nj-charts-rowlabel " x="216" y="354" text-anchor="end">serde_json (Rust)</text> <text class="nj-charts-rowlabel " x="216" y="354" text-anchor="end">Glaze</text>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · validate&#10;2.29× the time of the fastest library (fully validating)&#10;way: from_utf8 + IgnoredAny&#10;twitter.json: 623 µs&#10;citm_catalog.json: 1,442 µs&#10;canada.json: 2,426 µs&#10;jeopardy.json: 64,116 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Glaze · validate&#10;2.09× the time of the fastest library (fully validating)&#10;way: validate_json&#10;twitter.json: 337 µs&#10;citm_catalog.json: 830 µs&#10;canada.json: 1,204 µs&#10;jeopardy.json: 47,033 µs">
<rect class="nj-heat-2" x="225" y="333" width="44" height="34" rx="3"/> <rect class="nj-heat-2" x="225" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="247.5" y="354" text-anchor="middle">2.29</text> <text class="nj-charts-cell" x="270" y="354" text-anchor="middle">2.09</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · validate, checking less&#10;2.04× the time of the fastest fully validating library&#10;way: IgnoredAny&#10;twitter.json: 481 µs&#10;citm_catalog.json: 1,371 µs&#10;canada.json: 2,325 µs&#10;jeopardy.json: 58,120 µs&#10;trusts U&#8203;TF-8 in the strings it skips (from_slice); strings it reads are checked"> <g class="nj-heat-cell" tabindex="0" data-tip="Glaze · sum&#10;4.93× the time of the fastest library (fully validating)&#10;way: generic (double, strict)&#10;twitter.json: 1,381 µs&#10;citm_catalog.json: 2,416 µs&#10;canada.json: 5,536 µs&#10;jeopardy.json: 145,097 µs">
<rect class="nj-heat-2" x="271" y="333" width="44" height="34" rx="3"/> <rect class="nj-heat-3" x="317" y="333" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="292.5" y="348" text-anchor="middle">2.04</text> <text class="nj-charts-cell" x="339.5" y="354" text-anchor="middle">4.93</text>
<text class="nj-charts-cell nj-charts-cell--small" x="292.5" y="361" text-anchor="middle">U</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · sum&#10;2.32× the time of the fastest library (fully validating)&#10;way: visitor&#10;twitter.json: 1,308 µs&#10;citm_catalog.json: 2,338 µs&#10;canada.json: 7,232 µs&#10;jeopardy.json: 122,584 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Glaze · sum, checking less&#10;4.68× the time of the fastest fully validating library&#10;twitter.json: 1,301 µs · generic (double)&#10;citm_catalog.json: 2,270 µs · generic (double)&#10;canada.json: 5,410 µs · generic (double)&#10;jeopardy.json: 136,554 µs · lazy_json&#10;accepts trailing garbage after the value: Glaze&#x27;s default (validate_trailing_whitespace checks it)&#10;reads lazily: lazy_json reads only what you ask for and steps over the rest">
<rect class="nj-heat-2" x="317" y="333" width="90" height="34" rx="3"/> <rect class="nj-heat-3" x="363" y="333" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="354" text-anchor="middle">2.32</text> <text class="nj-charts-cell" x="384.5" y="348" text-anchor="middle">4.68</text>
<text class="nj-charts-cell nj-charts-cell--small" x="384.5" y="361" text-anchor="middle">P</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · select&#10;1.74× the time of the fastest library (fully validating)&#10;way: from_utf8 + structs&#10;twitter.json: 731 µs&#10;citm_catalog.json: 1,546 µs&#10;canada.json: 2,458 µs&#10;jeopardy.json: 117,515 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Glaze · select&#10;1.61× the time of the fastest library (fully validating)&#10;way: structs (validate_skipped)&#10;twitter.json: 325 µs&#10;citm_catalog.json: 955 µs&#10;canada.json: 1,134 µs&#10;jeopardy.json: 47,661 µs">
<rect class="nj-heat-2" x="409" y="333" width="90" height="34" rx="3"/> <rect class="nj-heat-2" x="409" y="333" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="354" text-anchor="middle">1.74</text> <text class="nj-charts-cell" x="431.5" y="354" text-anchor="middle">1.61</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · edit&#10;4.66× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 4,374 µs&#10;citm_catalog.json: 6,628 µs&#10;canada.json: 16,819 µs&#10;jeopardy.json: 729,615 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Glaze · select, checking less&#10;0.64× the time of the fastest fully validating library&#10;way: structs&#10;twitter.json: 205 µs&#10;citm_catalog.json: 224 µs&#10;canada.json: 262 µs&#10;jeopardy.json: 34,634 µ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="333" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="476.5" y="348" text-anchor="middle">0.64</text>
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="361" text-anchor="middle">P</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · edit&#10;4.93× the time of the fastest library (fully validating)&#10;way: generic (strict)&#10;twitter.json: 2,007 µs&#10;citm_catalog.json: 3,558 µs&#10;canada.json: 12,681 µs&#10;jeopardy.json: 352,094 µs">
<rect class="nj-heat-3" x="501" y="333" width="90" height="34" rx="3"/> <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.66</text> <text class="nj-charts-cell" x="546" y="354" text-anchor="middle">4.93</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · minify&#10;4.93× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 4,034 µs&#10;citm_catalog.json: 6,745 µs&#10;canada.json: 16,795 µs&#10;jeopardy.json: 525,375 µs"> <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,953 µs&#10;citm_catalog.json: 3,499 µs&#10;canada.json: 12,670 µs&#10;jeopardy.json: 264,336 µs">
<rect class="nj-heat-3" x="593" y="333" width="90" height="34" rx="3"/> <rect class="nj-heat-4" x="593" y="333" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="354" text-anchor="middle">4.93</text> <text class="nj-charts-cell" x="615.5" y="354" text-anchor="middle">5.22</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · write&#10;2.18× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 562 µs&#10;citm_catalog.json: 837 µs&#10;canada.json: 4,122 µs&#10;jeopardy.json: 130,002 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="Glaze · minify, checking less&#10;0.88× the time of the fastest fully validating library&#10;way: minify_json&#10;twitter.json: 280 µs&#10;citm_catalog.json: 826 µs&#10;canada.json: 1,492 µs&#10;jeopardy.json: 53,780 µs&#10;minify_json only removes whitespace, without parsing the values">
<rect class="nj-heat-0" x="639" y="333" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="348" text-anchor="middle">0.88</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="361" text-anchor="middle">P</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · write&#10;1.95× the time of the fastest library (fully validating)&#10;way: generic&#10;twitter.json: 193 µs&#10;citm_catalog.json: 388 µs&#10;canada.json: 2,334 µs&#10;jeopardy.json: 73,274 µs">
<rect class="nj-heat-2" x="685" y="333" width="90" height="34" rx="3"/> <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.18</text> <text class="nj-charts-cell" x="730" y="354" text-anchor="middle">1.95</text>
</g> </g>
<text class="nj-charts-rowlabel " x="216" y="390" text-anchor="end">Glaze</text> <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="Glaze · validate&#10;2.16× the time of the fastest library (fully validating)&#10;way: validate_json&#10;twitter.json: 585 µs&#10;citm_catalog.json: 1,415 µs&#10;canada.json: 1,841 µs&#10;jeopardy.json: 72,992 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · validate&#10;2.20× the time of the fastest library (fully validating)&#10;way: from_utf8 + IgnoredAny&#10;twitter.json: 387 µs&#10;citm_catalog.json: 992 µs&#10;canada.json: 1,558 µs&#10;jeopardy.json: 32,686 µs">
<rect class="nj-heat-2" x="225" y="369" width="90" height="34" rx="3"/> <rect class="nj-heat-2" x="225" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="390" text-anchor="middle">2.16</text> <text class="nj-charts-cell" x="247.5" y="390" text-anchor="middle">2.20</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · sum&#10;4.14× the time of the fastest library (fully validating)&#10;way: generic (double, strict)&#10;twitter.json: 2,300 µs&#10;citm_catalog.json: 4,139 µs&#10;canada.json: 11,207 µs&#10;jeopardy.json: 258,486 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · validate, checking less&#10;1.85× the time of the fastest fully validating library&#10;way: IgnoredAny&#10;twitter.json: 258 µs&#10;citm_catalog.json: 846 µs&#10;canada.json: 1,428 µs&#10;jeopardy.json: 30,731 µs&#10;trusts U&#8203;TF-8 in the strings it skips (from_slice); strings it reads are checked">
<rect class="nj-heat-3" x="317" y="369" width="44" height="34" rx="3"/> <rect class="nj-heat-2" x="271" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="339.5" y="390" text-anchor="middle">4.14</text> <text class="nj-charts-cell" x="292.5" y="384" text-anchor="middle">1.85</text>
<text class="nj-charts-cell nj-charts-cell--small" x="292.5" y="397" text-anchor="middle">U</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · sum, checking less&#10;3.98× the time of the fastest fully validating library&#10;twitter.json: 2,300 µs · generic (double, strict) (validates fully)&#10;citm_catalog.json: 4,139 µs · generic (double, strict) (validates fully)&#10;canada.json: 11,207 µs · generic (double, strict) (validates fully)&#10;jeopardy.json: 221,626 µs · lazy_json&#10;reads lazily: lazy_json reads only what you ask for and steps over the rest"> <g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · sum&#10;2.90× the time of the fastest library (fully validating)&#10;way: visitor&#10;twitter.json: 772 µs&#10;citm_catalog.json: 1,228 µs&#10;canada.json: 4,790 µs&#10;jeopardy.json: 70,198 µs">
<rect class="nj-heat-3" x="363" y="369" width="44" height="34" rx="3"/> <rect class="nj-heat-3" x="317" y="369" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="384.5" y="384" text-anchor="middle">3.98</text> <text class="nj-charts-cell" x="362" y="390" text-anchor="middle">2.90</text>
<text class="nj-charts-cell nj-charts-cell--small" x="384.5" y="397" text-anchor="middle">P</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · select&#10;1.38× the time of the fastest library (fully validating)&#10;way: structs (validate_skipped)&#10;twitter.json: 524 µs&#10;citm_catalog.json: 1,508 µs&#10;canada.json: 1,842 µs&#10;jeopardy.json: 89,876 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · select&#10;1.98× the time of the fastest library (fully validating)&#10;way: from_utf8 + structs&#10;twitter.json: 434 µs&#10;citm_catalog.json: 1,055 µs&#10;canada.json: 1,560 µs&#10;jeopardy.json: 53,880 µs">
<rect class="nj-heat-1" x="409" y="369" width="44" height="34" rx="3"/> <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">1.38</text> <text class="nj-charts-cell" x="431.5" y="390" text-anchor="middle">1.98</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · select, checking less&#10;0.58× the time of the fastest fully validating library&#10;way: structs&#10;twitter.json: 340 µs&#10;citm_catalog.json: 418 µs&#10;canada.json: 425 µs&#10;jeopardy.json: 69,179 µs&#10;reads into structs and steps over fields it doesn&#x27;t know without checking them (validate_skipped checks them too)"> <g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · select, checking less&#10;1.80× the time of the fastest fully validating library&#10;twitter.json: 367 µs · structs&#10;citm_catalog.json: 946 µs · structs&#10;canada.json: 1,420 µs · structs&#10;jeopardy.json: 53,880 µ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-0" x="455" y="369" width="44" height="34" rx="3"/> <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">0.58</text> <text class="nj-charts-cell" x="476.5" y="384" text-anchor="middle">1.80</text>
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="397" text-anchor="middle">P</text> <text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="397" text-anchor="middle">U</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · edit&#10;4.67× the time of the fastest library (fully validating)&#10;way: generic (strict)&#10;twitter.json: 3,545 µs&#10;citm_catalog.json: 6,349 µs&#10;canada.json: 23,341 µs&#10;jeopardy.json: 683,028 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · edit&#10;5.00× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 2,423 µs&#10;citm_catalog.json: 3,549 µs&#10;canada.json: 10,095 µs&#10;jeopardy.json: 389,645 µs">
<rect class="nj-heat-3" x="501" y="369" width="90" height="34" rx="3"/> <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">4.67</text> <text class="nj-charts-cell" x="546" y="390" text-anchor="middle">5.00</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · minify&#10;5.00× the time of the fastest library (fully validating)&#10;way: generic (strict)&#10;twitter.json: 3,450 µs&#10;citm_catalog.json: 6,536 µs&#10;canada.json: 23,496 µs&#10;jeopardy.json: 479,270 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · minify&#10;5.27× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 2,396 µs&#10;citm_catalog.json: 3,633 µs&#10;canada.json: 10,095 µs&#10;jeopardy.json: 271,504 µs">
<rect class="nj-heat-3" x="593" y="369" width="44" height="34" rx="3"/> <rect class="nj-heat-4" x="593" y="369" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="390" text-anchor="middle">5.00</text> <text class="nj-charts-cell" x="638" y="390" text-anchor="middle">5.27</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · minify, checking less&#10;0.72× the time of the fastest fully validating library&#10;way: minify_json&#10;twitter.json: 424 µs&#10;citm_catalog.json: 1,152 µs&#10;canada.json: 2,338 µs&#10;jeopardy.json: 94,568 µs&#10;minify_json only removes whitespace, without parsing the values"> <g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · write&#10;2.63× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 399 µs&#10;citm_catalog.json: 590 µs&#10;canada.json: 2,432 µs&#10;jeopardy.json: 73,863 µs">
<rect class="nj-heat-0" x="639" y="369" width="44" height="34" rx="3"/> <rect class="nj-heat-3" x="685" y="369" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="384" text-anchor="middle">0.72</text> <text class="nj-charts-cell" x="730" y="390" text-anchor="middle">2.63</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="397" text-anchor="middle">P</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · write&#10;1.79× the time of the fastest library (fully validating)&#10;way: generic&#10;twitter.json: 341 µs&#10;citm_catalog.json: 682 µs&#10;canada.json: 3,764 µs&#10;jeopardy.json: 131,880 µs">
<rect class="nj-heat-2" x="685" y="369" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="390" text-anchor="middle">1.79</text>
</g> </g>
<text class="nj-charts-rowlabel " x="216" y="426" text-anchor="end">RapidJSON</text> <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.92× the time of the fastest library (fully validating)&#10;twitter.json: 1,670 µs · insitu (copy)&#10;citm_catalog.json: 2,088 µs · S&#8203;AX (default precision)&#10;canada.json: 4,079 µs · S&#8203;AX (string stream, default precision)&#10;jeopardy.json: 210,237 µs · insitu (copy)&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · validate&#10;4.28× the time of the fastest library (fully validating)&#10;twitter.json: 951 µs · insitu (copy)&#10;citm_catalog.json: 959 µs · S&#8203;AX (default precision)&#10;canada.json: 2,406 µs · S&#8203;AX (default precision)&#10;jeopardy.json: 126,804 µs · S&#8203;AX (string stream)&#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"/> <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.92</text> <text class="nj-charts-cell" x="247.5" y="426" text-anchor="middle">4.28</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · validate, checking less&#10;3.62× the time of the fastest fully validating library&#10;twitter.json: 1,118 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,496 µs · S&#8203;AX (default precision) (no encoding check)&#10;canada.json: 4,079 µs · S&#8203;AX (string stream, default precision) (validates fully)&#10;jeopardy.json: 127,764 µs · S&#8203;AX (string stream) (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"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · validate, checking less&#10;3.34× the time of the fastest fully validating library&#10;twitter.json: 637 µs · S&#8203;AX (raw numbers) (no encoding check)&#10;citm_catalog.json: 742 µs · S&#8203;AX (default precision) (no encoding check)&#10;canada.json: 2,406 µs · S&#8203;AX (default precision) (validates fully)&#10;jeopardy.json: 90,124 µs · S&#8203;AX (string stream) (no encoding check)&#10;trusts U&#8203;TF-8: RapidJSON&#x27;s default (kParseValidateEncodingFlag checks it)">
<rect class="nj-heat-3" x="271" y="405" width="44" height="34" rx="3"/> <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.62</text> <text class="nj-charts-cell" x="292.5" y="420" text-anchor="middle">3.34</text>
<text class="nj-charts-cell nj-charts-cell--small" x="292.5" y="433" text-anchor="middle">U</text> <text class="nj-charts-cell nj-charts-cell--small" x="292.5" y="433" text-anchor="middle">U</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · sum&#10;3.24× the time of the fastest library (fully validating)&#10;twitter.json: 1,669 µs · insitu (copy)&#10;citm_catalog.json: 2,463 µs · S&#8203;AX (string stream)&#10;canada.json: 11,062 µs · S&#8203;AX (string stream)&#10;jeopardy.json: 227,084 µs · insitu (copy)&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · sum&#10;3.85× the time of the fastest library (fully validating)&#10;twitter.json: 1,007 µs · insitu (copy)&#10;citm_catalog.json: 1,091 µs · S&#8203;AX&#10;canada.json: 6,884 µs · S&#8203;AX (string stream)&#10;jeopardy.json: 132,180 µs · S&#8203;AX (string stream)&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-3" x="317" y="405" width="44" height="34" rx="3"/> <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">3.24</text> <text class="nj-charts-cell" x="339.5" y="426" text-anchor="middle">3.85</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · sum, checking less&#10;2.37× the time of the fastest fully validating library&#10;twitter.json: 1,168 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,801 µs · S&#8203;AX (no encoding check)&#10;canada.json: 11,062 µs · S&#8203;AX (string stream) (validates fully)&#10;jeopardy.json: 128,664 µs · S&#8203;AX (string stream) (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"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · sum, checking less&#10;2.82× the time of the fastest fully validating library&#10;twitter.json: 621 µs · S&#8203;AX (no encoding check)&#10;citm_catalog.json: 810 µs · S&#8203;AX (no encoding check)&#10;canada.json: 6,838 µs · S&#8203;AX (string stream) (no encoding check)&#10;jeopardy.json: 83,148 µs · S&#8203;AX (string stream) (no encoding check)&#10;trusts U&#8203;TF-8: RapidJSON&#x27;s default (kParseValidateEncodingFlag checks it)">
<rect class="nj-heat-2" x="363" y="405" width="44" height="34" rx="3"/> <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.37</text> <text class="nj-charts-cell" x="384.5" y="420" text-anchor="middle">2.82</text>
<text class="nj-charts-cell nj-charts-cell--small" x="384.5" y="433" text-anchor="middle">U</text> <text class="nj-charts-cell nj-charts-cell--small" x="384.5" y="433" text-anchor="middle">U</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · select&#10;4.05× the time of the fastest library (fully validating)&#10;way: insitu (copy)&#10;twitter.json: 1,689 µs&#10;citm_catalog.json: 2,293 µs&#10;canada.json: 11,368 µs&#10;jeopardy.json: 219,141 µs&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · select&#10;4.37× the time of the fastest library (fully validating)&#10;twitter.json: 972 µs · insitu (copy)&#10;citm_catalog.json: 1,210 µs · insitu (copy)&#10;canada.json: 5,602 µs · Document (raw numbers)&#10;jeopardy.json: 138,557 µs · insitu (copy)&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-3" x="409" y="405" width="44" height="34" rx="3"/> <rect class="nj-heat-3" x="409" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="431.5" y="426" text-anchor="middle">4.05</text> <text class="nj-charts-cell" x="431.5" y="426" text-anchor="middle">4.37</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · select, checking less&#10;3.27× the time of the fastest fully validating library&#10;twitter.json: 1,141 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,933 µs · Document (no encoding check)&#10;canada.json: 11,231 µs · insitu (copy) (no encoding check)&#10;jeopardy.json: 166,136 µ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"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · select, checking less&#10;3.56× the time of the fastest fully validating library&#10;twitter.json: 731 µs · Document (no encoding check)&#10;citm_catalog.json: 988 µs · Document (no encoding check)&#10;canada.json: 5,602 µs · Document (raw numbers) (validates fully)&#10;jeopardy.json: 98,816 µ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"/> <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.27</text> <text class="nj-charts-cell" x="476.5" y="420" text-anchor="middle">3.56</text>
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="433" text-anchor="middle">U</text> <text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="433" text-anchor="middle">U</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · edit&#10;2.99× the time of the fastest library (fully validating)&#10;twitter.json: 2,376 µs · insitu (copy)&#10;citm_catalog.json: 3,337 µs · insitu (copy)&#10;canada.json: 20,168 µs · Document (string stream)&#10;jeopardy.json: 377,995 µs · insitu (copy)&#10;(copy): parses in place, on a copy of the input that is part of the time"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · edit&#10;3.45× the time of the fastest library (fully validating)&#10;twitter.json: 1,469 µs · insitu (copy)&#10;citm_catalog.json: 1,708 µs · insitu (copy)&#10;canada.json: 13,755 µs · Document (string stream)&#10;jeopardy.json: 223,070 µs · insitu (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="405" width="44" height="34" rx="3"/> <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">2.99</text> <text class="nj-charts-cell" x="523.5" y="426" text-anchor="middle">3.45</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · edit, checking less&#10;2.58× the time of the fastest fully validating library&#10;way: insitu (copy) (no encoding check)&#10;twitter.json: 1,857 µs&#10;citm_catalog.json: 2,879 µs&#10;canada.json: 20,144 µs&#10;jeopardy.json: 311,780 µ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"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · edit, checking less&#10;2.95× the time of the fastest fully validating library&#10;twitter.json: 1,094 µs · Document (no encoding check)&#10;citm_catalog.json: 1,486 µs · Document (no encoding check)&#10;canada.json: 13,755 µs · Document (string stream) (validates fully)&#10;jeopardy.json: 183,792 µ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="547" y="405" width="44" height="34" rx="3"/> <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">2.58</text> <text class="nj-charts-cell" x="568.5" y="420" text-anchor="middle">2.95</text>
<text class="nj-charts-cell nj-charts-cell--small" x="568.5" y="433" text-anchor="middle">U</text> <text class="nj-charts-cell nj-charts-cell--small" x="568.5" y="433" text-anchor="middle">U</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · minify&#10;3.57× the time of the fastest library (fully validating)&#10;twitter.json: 2,779 µs · S&#8203;AX to Writer (string stream)&#10;citm_catalog.json: 3,186 µs · S&#8203;AX to Writer&#10;canada.json: 20,444 µs · S&#8203;AX to Writer (string stream)&#10;jeopardy.json: 365,448 µs · S&#8203;AX to Writer (string stream)"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · minify&#10;3.66× the time of the fastest library (fully validating)&#10;twitter.json: 1,389 µs · S&#8203;AX to Writer&#10;citm_catalog.json: 1,464 µs · S&#8203;AX to Writer&#10;canada.json: 13,219 µs · S&#8203;AX to Writer (string stream)&#10;jeopardy.json: 204,970 µs · S&#8203;AX to Writer (string stream)">
<rect class="nj-heat-3" x="593" y="405" width="44" height="34" rx="3"/> <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">3.57</text> <text class="nj-charts-cell" x="615.5" y="426" text-anchor="middle">3.66</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · minify, checking less&#10;2.57× the time of the fastest fully validating library&#10;twitter.json: 1,825 µs · S&#8203;AX to Writer (string stream) (no encoding check)&#10;citm_catalog.json: 2,589 µs · S&#8203;AX to Writer (no encoding check)&#10;canada.json: 15,112 µs · S&#8203;AX to Writer (raw numbers) (validates fully)&#10;jeopardy.json: 249,502 µ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)"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · minify, checking less&#10;2.43× the time of the fastest fully validating library&#10;twitter.json: 900 µs · S&#8203;AX to Writer (raw numbers) (no encoding check)&#10;citm_catalog.json: 1,211 µs · S&#8203;AX to Writer (no encoding check)&#10;canada.json: 6,518 µs · S&#8203;AX to Writer (raw numbers) (validates fully)&#10;jeopardy.json: 150,245 µ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"/> <rect class="nj-heat-2" x="639" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="420" text-anchor="middle">2.57</text> <text class="nj-charts-cell" x="660.5" y="420" text-anchor="middle">2.43</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="433" text-anchor="middle">U N</text> <text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="433" text-anchor="middle">U N</text>
</g> </g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · write&#10;2.96× the time of the fastest library (fully validating)&#10;way: Writer&#10;twitter.json: 672 µs&#10;citm_catalog.json: 1,013 µs&#10;canada.json: 8,930 µs&#10;jeopardy.json: 141,949 µs"> <g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · write&#10;3.21× the time of the fastest library (fully validating)&#10;way: Writer&#10;twitter.json: 355 µs&#10;citm_catalog.json: 500 µs&#10;canada.json: 6,686 µs&#10;jeopardy.json: 78,122 µs">
<rect class="nj-heat-3" x="685" y="405" width="90" height="34" rx="3"/> <rect class="nj-heat-3" x="685" y="405" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="426" text-anchor="middle">2.96</text> <text class="nj-charts-cell" x="730" y="426" text-anchor="middle">3.21</text>
</g> </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> <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"/> <g><rect class="nj-heat-0" x="8" y="482" width="76" height="20" rx="3"/>

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 47 KiB

File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff