Compare commits

...
Author SHA1 Message Date
Niels Lohmann 8ddda7fc3e docs: blog post: remeasure on develop 322063822f as the 3.13.0 candidate
Measured again on November 23 with develop 322063822f standing in for
3.13.0: the suite on the M1 Max (3.3x, 184 benchmarks) and on the Intel
MacBook Pro (now 3.3x), the timeline (the 28 commits since November 7 and
twelve earlier ones as a check; #6031 is now a commit, not a pending
step), the compile times, the stream gap, the allocator check, Appendix D
(9 runs), and the comparison on the Mac and on x86-64 (three runs per
compiler there), with the held-out files and JSONTestSuite.

Describe the performance-relevant pull requests merged since then:
JSON_RECURSION_DEPTH_LIMIT (#6081), forced inlining only in optimized
builds (#6117), and the two quadratic cases of #5886 that #6076 and
#6077 fixed before the release.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-23 16:40:13 +01:00
Niels Lohmann 322063822f Cut long tokens in parse error messages at UTF-8 character boundaries (#6136)
* Cut long tokens in parse error messages at UTF-8 character boundaries

A parse error message shows a token of more than 8192 bytes by its
first and its last 4096 bytes around "...". The cuts were at fixed byte
offsets, so they could split a UTF-8 character: for valid UTF-8 input,
what() and the last token passed to SAX parse_error() were not valid
UTF-8, and storing the message in a json value and dumping it threw
type_error.316.

Move the end of the first part back and the start of the last part
forward to a character boundary, by at most three bytes each. The
lexer always reads bytes (wide strings are converted to UTF-8 first),
and the decision depends only on bytes inside the two parts, so the
message stays the same for every kind of input. Both parts only get
shorter, so the buffers that keep the token need no more room.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* Name the UTF-8 cut helpers after what they do to the buffer

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* Ignore the dump() result in the long-token test explicitly

GCC rejects the discarded nodiscard result with -Werror=unused-result.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

---------

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-23 08:34:10 +01:00
Dickson Wu ccbbe8d0f0 Add RFC 7396 section 2 merge patch test cases (#6153)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-23 08:31:31 +01:00
Prateek Singh 745efa2673 Fix three dead links in the list of customers (#6149)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-23 08:31:19 +01:00
Niels Lohmann 90987b2a63 Fix the AppVeyor build of develop with VS 2015 and VS 2017 (#6154)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-23 08:21:01 +01:00
Niels Lohmann d957a10f55 Copy instead of move when converting an rvalue non-owning range (#6133)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-23 08:20:42 +01:00
dependabot[bot] e20f6dc35d build(deps): bump jsdom in /docs/mkdocs/scripts/mermaid (#6151)
Bumps [jsdom](https://github.com/jsdom/jsdom) from 31.0.0 to 31.0.1.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Commits](https://github.com/jsdom/jsdom/compare/v31.0.0...v31.0.1)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-version: 31.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-21 16:13:15 +01:00
steve_cooks 7a67ccf6aa ci: add s390x big-endian test coverage (#6150)
* ci: add s390x big-endian test coverage

Signed-off-by: Jatin Chauhan <chauhanjatin0404@gmail.com>

* ci: install unzip for Ninja setup in Debian

Signed-off-by: Jatin Chauhan <chauhanjatin0404@gmail.com>

* ci: select Ninja for the outer Debian configuration

Signed-off-by: Jatin Chauhan <chauhanjatin0404@gmail.com>

* ci: address big-endian workflow review

Signed-off-by: Jatin Chauhan <chauhanjatin0404@gmail.com>

* ci: run big-endian tests on master and release pushes

Signed-off-by: Jatin Chauhan <chauhanjatin0404@gmail.com>

---------

Signed-off-by: Jatin Chauhan <chauhanjatin0404@gmail.com>
2026-11-21 16:13:08 +01:00
dependabot[bot]andNiels Lohmann 098eebd412 build(deps): bump mkdocs-git-revision-date-localized-plugin (#6142)
Bumps [mkdocs-git-revision-date-localized-plugin](https://github.com/timvink/mkdocs-git-revision-date-localized-plugin) from 1.6.3 to 1.7.0.
- [Release notes](https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/releases)
- [Commits](https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/compare/v1.6.3...v1.7.0)

---
updated-dependencies:
- dependency-name: mkdocs-git-revision-date-localized-plugin
  dependency-version: 1.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Niels Lohmann <mail@nlohmann.me>
2026-11-18 22:43:38 +01:00
Anshika Grover 555ef48fb6 Fix reverse iterator subscript exception for objects (#6125)
* Fix reverse iterator subscript exception for objects

Signed-off-by: Anshika Grover <anshikag.151107@gmail.com>

* Add reverse iterator subscript tests and comment

Signed-off-by: Anshika Grover <anshikag.151107@gmail.com>

* Add primitive reverse iterator subscript tests

Signed-off-by: Anshika Grover <anshikag.151107@gmail.com>

---------

Signed-off-by: Anshika Grover <anshikag.151107@gmail.com>
2026-11-18 22:43:28 +01:00
dependabot[bot] d732d616ba build(deps): bump semgrep from 1.184.0 to 1.185.0 in /cmake/requirements (#6146)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-18 08:57:29 +01:00
dependabot[bot] b927100ca1 build(deps): bump step-security/harden-runner from 2.22.3 to 2.22.4 (#6143)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-18 08:57:19 +01:00
dependabot[bot] ccb253baf1 build(deps): bump mkdocs-material from 9.8.0 to 9.8.1 in /docs/mkdocs (#6141)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-18 08:57:02 +01:00
Aditya Singh Bakawat 8c3335d41f docs: correct assertion conditions and remove stale diagnostic locations (#6131)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-18 08:56:51 +01:00
Shubham Shakti 0ac14610d6 docs: correct erase() empty-range and initializer-list move documentation (#6122)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-18 08:56:46 +01:00
Niels Lohmann 2951790d40 Fix three dead links in the list of customers (#6147)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-18 08:52:54 +01:00
Niels Lohmann 77611d412f Document the Nix package in the package manager list (#6145)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-18 08:52:44 +01:00
Niels Lohmann f6eb5e4fb1 Fix documentation errors and clean up repository leftovers (#6140)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-18 08:52:34 +01:00
Niels Lohmann ac0d25f51c Build the tests with C++17/C++20-only sections in those standards (#6139)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-18 08:52:24 +01:00
Niels Lohmann f91e900875 Fix stale comments in include/ (#6138)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-18 08:52:12 +01:00
Niels Lohmann 6ac411e14c Report the same error position for bulk number runs as for byte-wise input (#6137)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-18 08:52:02 +01:00
Niels Lohmann 1f7250f77f Write a binary subtype independently of number_unsigned_t in dump() (#6135)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-18 08:51:52 +01:00
Niels Lohmann 03ce377876 Pass the complete text of a UBJSON/BJData high-precision number to SAX number_float (#6134)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-18 08:51:42 +01:00
Niels Lohmann a1284028b2 json_view: fix a scalar set() through a view of an erased value (#6132)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-18 08:50:36 +01:00
Niels Lohmann abbc29963a Keep only the beginning and the end of a long token for error messages (#6121)
* Keep only the beginning and the end of a long token for error messages

For "last read" in parse errors, the lexer keeps the text of the token it
reads. The token start moves only at strings and numbers, so everything
after a string or number belongs to it until the next one starts. Input
that cannot be read again copies that text while parsing (the istream and
FILE* adapters in their carry buffer, the lexer in token_string for
iterators), so valid input of 1 followed by 100,000,000 newlines peaked
at about 225 MB, and a long string was kept a second time.

Replace the carry buffer and token_string by token_text_buffer, which
keeps the first 4096 and at least the last 4112 characters of a token and
drops the characters in between where it would otherwise grow, so
appending stays as cheap as before. get_token_string() shows a token of
more than 8192 characters as its first and last 4096 characters around
"...", the same for every kind of input; contiguous input copies only
these parts.

The example input now peaks at 1.8 MB. Instruction counts of parsing
from std::string, std::istream and FILE* are unchanged (clang 21 and
GCC 15); parsing from std::list<char> needs 1 to 17 % fewer.

Fixes #6120.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* Suppress an Infer false positive in the token text buffer test

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

---------

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-15 17:03:15 +01:00
Niels Lohmann 7127a82fa1 Use CMake 4.5's stable import std support in the module test (#6103)
* Use CMake 4.5's stable import std support in the module test

CMake 4.5 makes `import std` available to every target that scans for
C++ modules and drops the experimental CMAKE_EXPERIMENTAL_CXX_IMPORT_STD
gate and the CXX_MODULE_STD property. The module test no longer needs the
version-specific opt-in token, so the ci_module_cpp20 jobs no longer have
to pin CMake 4.3.4 and now request CMake ^4.5.0.

The modules, CMake and README documentation now list the CMake, generator
and toolchain requirements for building the module and for `import std;`.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* Bump lukka/get-cmake from 4.4.5 to 4.5.0

get-cmake 4.4.5 does not know CMake 4.5.0, so the ci_module_cpp20 jobs
that request '^4.5.0' failed in the setup step. Bump every pin so all
jobs use the same action version.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* Install unzip in the Clang module job before get-cmake

The ^4.5.0 CMake/Ninja cache key is new, so get-cmake has to unzip the
Ninja download, and silkeh/clang:latest has no unzip.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* Disable C++ module scanning for the unit tests

With CMake 4.5, every target that scans for C++ modules gets a synthesized
std module target. For the C++20 and newer unit-test targets, this compiled
libstdc++'s std.cc with the -Werror test flags and failed to configure with
libc++ images that lack std.compat.cppm. The unit tests use no modules, so
turn scanning off; the module test is a separate project.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

---------

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-15 17:02:52 +01:00
Niels Lohmann 99adff001d Make unflatten() linear in the length of the keys (#6076)
* Make unflatten() linear in the length of the keys

unflatten() decides in a first pass which prefixes of the keys denote arrays
(those that have a reference token 0 among their children), and looks up
prefixes again in the second pass. A prefix was identified by hashing it, and
by comparing it byte by byte with the entry in the set, from its beginning.
A key with n tokens therefore cost n^2/2 bytes: 100,000 tokens "/0" took
2.4 s (3.12.0: 5 ms), and so did "/0" followed by "/1" tokens, because every
new level looks its prefix up. Keys in the order of an unsorted object type
(ordered_json) defeated the shortcut for keys that share a beginning with the
previous one: four keys were enough to be quadratic.

Prefixes of less than 64 bytes are kept in a hash table and compared as
before, which costs a bounded number of bytes. Longer prefixes are kept in a
tree whose nodes are looked up by their parent and the text of one token. The
node of a prefix is found by walking the tokens of the key from the root, so
all prefixes of a key together cost one pass over the key, and no prefix is
compared as a whole. The nodes along the key walked last are kept, so keys
that share a beginning do not walk it again. The array/object decision and
the independence from the order of the keys are unchanged.

The hash function is seeded with a value derived from the address of a local
variable, which address space layout randomization changes between
processes, so keys cannot be crafted to collide in advance: with the fixed
constants, 20,000 keys of 16 + 2 bytes with the same hash took 0.5 s (random
keys, and 3.12.0: 7 ms). Where addresses are not randomized, or when the seed
is known, k short prefixes can still collide and cost k^2 / 2 comparisons of
fewer than 64 bytes. Results do not depend on the seed.

Measurements (Apple clang -O2, arm64), unflatten() of one key with n tokens:

  tokens "/0"          n=25k  n=50k  n=100k  n=200k
  before              175 ms 617 ms 2437 ms 9729 ms
  after                 4 ms   6 ms   12 ms   27 ms
  3.12.0                1 ms   3 ms    5 ms   10 ms

  "/0" then "/1"       n=25k  n=50k  n=100k  n=200k
  before              153 ms 603 ms 2436 ms 9678 ms
  after                 1 ms   3 ms    5 ms   10 ms
  3.12.0                1 ms   3 ms    5 ms   11 ms

  ordered_json, 4 keys /0*m/a0, /10, /0*m/a1, /11
                       m=25k  m=50k  m=100k  m=200k
  before              397 ms 1402 ms 5191 ms 20723 ms
  after                 4 ms   7 ms   15 ms   33 ms
  3.12.0                2 ms   3 ms    8 ms   17 ms

Ordinary documents (flatten() then unflatten(), instructions retired): within
0.3 % of before for canada, citm_catalog, twitter, jeopardy, mesh,
update-center and random from the benchmark corpus.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* Fix -Wuseless-cast in array_prefix_set::reseed

uintptr_t is already uint64_t on LP64 Linux, so the explicit cast is
useless there; rely on the implicit (widening) conversion instead.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* Throw type_error.313 when an unflatten key is a prefix of an earlier key

With an object type that keeps the insertion order (ordered_json), a key
such as "/a" can come after "/a/b". The final assignment then replaced the
object built for "/a/b" without an error, so {"/a/b":2,"/a":1} gave
{"a":1}. json never saw this because std::map visits the shorter key first.

Throw type_error.313 if the target of the final assignment is no longer
null, as json does for the same members. A null value keeps the container,
so {"/a/b":2,"/a":null} gives {"a":{"b":2}} for both object types.

Fixes #6105.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

---------

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-15 17:02:29 +01:00
Niels Lohmann 253e4c3926 Bound what the DOM parsers reserve for arrays that announce a size (#6082)
* Bound the total number of valueless UBJSON elements per input

An optimized UBJSON array of type Z, T or F has no payload, so its
declared count is not bounded by the input. The limit of 1048576 applied
to each array on its own, so 9 bytes (`[$Z#l` and a count) produced
1048576 values and every further 9 bytes another 1048576: 362 bytes
allocated 661 MB in a DOM, and a SAX handler received 1M events per 9
bytes.

The reader now adds the counts of all such arrays of one input and
rejects the input with out_of_range.408 when the sum exceeds 1048576
plus 4 for every byte read so far. The base is the per-array limit, so
an array that was accepted on its own before is still accepted at the
start of an input. These arrays add about 80 bytes of memory per input
byte (measured 77; one `Z` per byte needs 32), plus the base; the memory
of a document as a whole is not bounded by this. The check runs once per
valueless array, before its start event, with plain size_t arithmetic
that cannot overflow for a 32-bit size_t. Containers with a payload type
and objects (every member needs a key) are bounded by the input already
and are unchanged. BJData rejects these types.

to_ubjson counts the elements of the typed arrays it writes in one call
and writes an array in the unoptimized form (`[#n Z Z ...`) once it would
bring the total above 1048576, which a reader accepts at any input size.
The check is made only for a typed array of a valueless type, so BJData
and other arrays do not pay for it. Everything to_ubjson writes in
version 3.13.0 can therefore be read back.

Two consequences:
- to_ubjson output changes for values with more than 1048576 elements in
  arrays of type Z, T or F: such an array is written at one byte per
  element, e.g. 270000 rows of 100 nulls take 26.8 MB instead of 1.35 MB.
- Output of version 3.12.0 and earlier (typed arrays without such a
  total) is rejected by from_ubjson when the arrays hold more than
  1048576 elements plus 4 per byte of input. 3.12.0 writes a row of up to 255 nulls in 5 bytes (6 above
  255), so a table is rejected from 1075 rows of 1000 nulls or 209723
  rows of 25 (accepted: 1000 rows of 1000, 209000 rows of 25); rows of
  20 or fewer are never rejected.

Measured on the test data: no file of json_test_data (converted with
to_ubjson in all three modes, 846 round trips) holds an array of this
kind with more than 0.17 values per byte. All of them are read back.

Reproducer (K arrays of 1048576 nulls), Apple clang -O2:
  K=40 (362 bytes): before 41943040 values, 664 MB; after rejected, 33 MB
  K=2 (20 bytes):   before 2097152 values, 53 MB;   after rejected, 33 MB

The new tests count events with a SAX handler where they can: building
and comparing million-element values made the first version take 176 s
under Valgrind, the current one about 22 s.

Behaviour change: an input that holds more than 1048576 elements in
arrays of type Z, T or F at more than 4 per byte is now rejected.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* Report an empty array for UBJSON `[$N#<n>` instead of n elements

A no-op (N) is not a value, so an optimized array of type N holds no
element whatever count it declares. The reader skipped the elements but
still passed the declared count to the SAX parser: a handler was told
start_array(n) and no element followed, and the DOM parser reserved
min(n, 16384) values (256 KB) for an array that stays empty. Nine bytes
(`[$N#l 0x7FFFFFFF`) therefore committed 256 KB: 2000 of them in one
input, 18 KB, committed 512 MB of heap (capacity 163,840,000 values for
the 10000 arrays of the original probe: 2.6 GB for 70 KB of input).
Untouched pages keep the resident size small, but the commit charge and
a 32-bit address space are consumed.

The reader now announces 0 elements for an optimized array of type N.
The loop that skips the elements is unchanged (it never ran). A count
that does not fit into std::size_t is still rejected by the count
reader; a count that is too large for the array type of the DOM (before:
out_of_range.408 "excessive array size" from the DOM handler) is
accepted now, because the array is empty.

Behaviour change: sax_parse reports start_array(0) for `[$N#n` (before:
n); from_ubjson no longer throws out_of_range.408 for an N-typed array
whose count exceeds the maximum size of the array type.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* Bound what the DOM parsers reserve for arrays that announce a size

Cause: #5476 made the DOM parsers reserve storage (up to 16384 elements)
for a counted array of CBOR, MessagePack, UBJSON and BJData when it
opens, before any input backs the count. The arrays that are open at the
same time keep their storage until the parse ends, so N nested headers
that announce 16384 elements and are never completed hold
N * 16384 * sizeof(json): 100,000 nested CBOR headers `99 40 00`
(300,000 bytes) peaked at 1.65 GiB, 3.12.0 at 12 MiB; the same for
MessagePack `DC 40 00`, UBJSON `[#I 16384` and BJData.

Fix: json_sax_dom_error_state, the base of the three DOM parsers, keeps a
credit of elements that may still be reserved: 65,536 at the start plus
2 for every byte the reader has read. An array that announces no more
than the credit left is reserved as before (one comparison and one
subtraction per counted array); a larger one is reserved what is left
and grows as its elements arrive. binary_reader tells a DOM parser (a
handler whose pointer converts to json_sax_dom_error_state*; a handler
that derives from one privately or protectedly, or any other SAX handler,
is not told anything and reserves as in the base of this change) where to
find its count of characters read for the duration of sax_parse(). An
RAII guard puts back the previous binding on every exit, also by
exception, so the parser never keeps a pointer to a reader that is gone
(unbound, only the per-array cap of 16384 applies); the public SAX
interface is unchanged, and start_array() still reports the announced number. A
bound per array by the remaining input would not help, since the same
bytes would back every open level; the bound has to be over all arrays.

The elements of an array take at least one byte of input each, so the
credit is more than honest input needs: none of the 19 inputs measured
(canada, citm_catalog, twitter, mesh, update-center, random, numbers,
animation, ik_rig, instruments, geo_response, jeopardy and 7 synthetic
ones, each as CBOR, MessagePack, UBJSON and BJData, with and without
size/type optimization) was given less than it announced. A value that
nests five or more arrays of 16384 elements, each with an array as its
first element, is the exception: the later ones grow as before.

Measurements (clang -O2, macOS arm64, peak memory footprint of
`/usr/bin/time -l`, reproducer: n nested headers):

              n = 20,000                n = 100,000
              develop   fix   3.12.0   develop    fix   3.12.0
  CBOR        338.7    5.9    8.2      1687.7    23.3   11.8   MiB
  MessagePack 338.9    6.0    7.3      1687.9    23.8   11.9   MiB
  UBJSON      339.0    7.6    8.0      1687.9    30.1   11.6   MiB
  BJData      339.0    7.3    7.9      1688.0    30.8   11.6   MiB

That is at most (65,536 + 2 per input byte) values: 1 MiB plus 32 bytes
per input byte with 16-byte values (a value is 24 bytes with
JSON_DIAGNOSTICS and up to 40 with JSON_DIAGNOSTIC_POSITIONS), as
documented in untrusted_input.md. Lower fixed caps do not get there: a
cap of 64 elements still peaks at 113 MiB (n = 100,000) and costs 4.7 %
on arrays of 300 elements (mat300.cbor) and 5.0 % on arrays of 10,000
(arrays_of_big.cbor).

Reader instructions retired (min of 7, 108 rows: 18 inputs in the 6 forms
CBOR, MessagePack, UBJSON and BJData plain and optimized; jeopardy, 46 MB,
is within 0.1 %), compared with the base of this change: -0.19 % to +0.37 % in the formats that announce
sizes (canada.cbor 81.9 M -> 82.1 M, many_small.cbor 333.5 M -> 334.2 M);
the benefit of #5476 is kept (without any reserve canada.cbor takes
116.8 M, +42.6 %, many_small.cbor +71.5 %, mat300.cbor +81.6 %). Rows of
plain UBJSON and BJData, whose arrays announce no size, move by -2.7 % to
+2.6 % without any code of theirs changing: the base alternates
between two instruction counts per process (452 M and 463 M for
many_pairs.ubjson, equal in cycles), and a struct with three unused
members added to the same class reproduces the 474 M mode.

Tests (CBOR, MessagePack, UBJSON, BJData): 200 nested headers that
announce 16384 elements peak at 52,433,600 bytes of DOM allocations on
the base and below 128 Ki values with the fix (scaled by sizeof(value),
so that it holds with the diagnostic macros) (counting allocator, no
process memory measured); an array that completes is still reserved in
one allocation; CBOR also checks that a DOM parser is not bound to a finished
parse (ASan: stack-use-after-scope without the guard), that wrappers
derived publicly (also with a parse inside the parse), privately and
protectedly compile and are bound or not as described, that an array that got less than it
announced decodes and that a SAX handler is told the announced size.
The new tests take 4.6 s under Valgrind at -O0 (gcc:12, all four files).

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* Clarify the reservation note for announced array counts

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* Report an empty array for UBJSON [$N#<n>] instead of n elements (#6079)

* Report an empty array for UBJSON `[$N#<n>` instead of n elements

A no-op (N) is not a value, so an optimized array of type N holds no
element whatever count it declares. The reader skipped the elements but
still passed the declared count to the SAX parser: a handler was told
start_array(n) and no element followed, and the DOM parser reserved
min(n, 16384) values (256 KB) for an array that stays empty. Nine bytes
(`[$N#l 0x7FFFFFFF`) therefore committed 256 KB: 2000 of them in one
input, 18 KB, committed 512 MB of heap (capacity 163,840,000 values for
the 10000 arrays of the original probe: 2.6 GB for 70 KB of input).
Untouched pages keep the resident size small, but the commit charge and
a 32-bit address space are consumed.

The reader now announces 0 elements for an optimized array of type N.
The loop that skips the elements is unchanged (it never ran). A count
that does not fit into std::size_t is still rejected by the count
reader; a count that is too large for the array type of the DOM (before:
out_of_range.408 "excessive array size" from the DOM handler) is
accepted now, because the array is empty.

Behaviour change: sax_parse reports start_array(0) for `[$N#n` (before:
n); from_ubjson no longer throws out_of_range.408 for an N-typed array
whose count exceeds the maximum size of the array type.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* Clarify the reservation note for announced array counts

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

---------

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* Add JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE to set the UBJSON whole-input budget (#6083)

* Add JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE to set the UBJSON whole-input budget

The whole-input budget for the elements of optimized UBJSON arrays of
type Z, T and F (1048576 plus 4 per byte read) rejects files written by
3.12.0 that have long arrays of these types, such as 1100 rows of 1000
nulls with a `$Z` annotation, and there was no way to read them. The
per-byte rate is now the macro JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE.

Semantics:
- default 4, so the default build is unchanged (the generated code of
  from_ubjson is identical at -O2 up to source line numbers);
- the value must be a positive integer: 0, negative, non-integral, bool,
  character and wider-than-uintmax_t values fail to compile with a
  static_assert that names the macro;
- a value that does not fit into std::size_t is the largest size_t, so
  one spelling works for 32- and 64-bit targets;
- the limit base + rate * bytes_read saturates at the largest size_t
  instead of wrapping around, for any rate and input size; a rate of
  131072 (2^20 / 8) or more cannot be exceeded by any input (the
  shortest header of an array of more than 32767 elements is 8 bytes),
  which switches the whole-input budget off;
- the limit of one array (1048576) and the base (1048576) stay fixed
  constants, so the writer fallback still follows the base only and a
  reader with any rate reads everything the writer produces;
- the macro is not part of the ABI tag and must have the same value in
  every translation unit; it is documented that way.

The memory the arrays can take in a DOM is about 20 bytes per rate and
byte of input (measured, macOS, containers of 9 * rate elements:
25 bytes per input byte at rate 1, 81 at 4, 312 at 16, 1226 at 64, 5493
at 256) plus about 33 MB for the base. A 3.12.0 row of N values has a
header of b bytes (5 up to 255, 6 up to 32767, 8 above), so a table is
read completely if N <= rate * b, and otherwise up to
(1048576 + h * rate, h = outer header: 6, 7 or 9 bytes) / (N - rate * b) rows; 1100 rows of 1000 nulls need
a rate of 8. The new page of the macro documents the formulas, the
measurements, and two examples that are run by the documentation checks.

The tests of the budget move to tests/src/unit-ubjson_valueless.cpp, which
derives every boundary from the macro and is built with the rates 1,
1000000 and 0xFFFFFFFFFFFFFFFF in addition to the default (the last two
check that nothing is refused and that the limit does not wrap around);
they fail with the unchanged header for rate 1, 1000000 and the maximum.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* Refuse char8_t for JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE and clarify its documentation

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

---------

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* Use fseek instead of rewind in the UBJSON FILE* test

clang-tidy (bugprone-unsafe-functions) rejects rewind() because it has no
error detection. Check the result of fseek() instead.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* Charge an announced array only what is reserved for it

An array that announced more than reserve_cap() elements but no more than
the credit left was charged the announced count, while reserve_array()
reserved at most reserve_cap() of them. An outer array of 20000 elements
therefore left a third nested array of 16384 with 12796 instead of the
full reservation. reserve_count() now caps the count first and charges
that, and the DOM parsers reserve it through reserve_array_capped(),
which does not cap again, so the fast path costs the same as before
(instructions retired within +-0.06 % on canada, citm_catalog and twitter
in CBOR, MessagePack and UBJSON).

Also re-wrap the comment of valueless_elements_base.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

---------

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-15 17:02:05 +01:00
Niels Lohmann 73ec296320 Bound the total number of valueless UBJSON elements per input (#6078)
* Bound the total number of valueless UBJSON elements per input

An optimized UBJSON array of type Z, T or F has no payload, so its
declared count is not bounded by the input. The limit of 1048576 applied
to each array on its own, so 9 bytes (`[$Z#l` and a count) produced
1048576 values and every further 9 bytes another 1048576: 362 bytes
allocated 661 MB in a DOM, and a SAX handler received 1M events per 9
bytes.

The reader now adds the counts of all such arrays of one input and
rejects the input with out_of_range.408 when the sum exceeds 1048576
plus 4 for every byte read so far. The base is the per-array limit, so
an array that was accepted on its own before is still accepted at the
start of an input. These arrays add about 80 bytes of memory per input
byte (measured 77; one `Z` per byte needs 32), plus the base; the memory
of a document as a whole is not bounded by this. The check runs once per
valueless array, before its start event, with plain size_t arithmetic
that cannot overflow for a 32-bit size_t. Containers with a payload type
and objects (every member needs a key) are bounded by the input already
and are unchanged. BJData rejects these types.

to_ubjson counts the elements of the typed arrays it writes in one call
and writes an array in the unoptimized form (`[#n Z Z ...`) once it would
bring the total above 1048576, which a reader accepts at any input size.
The check is made only for a typed array of a valueless type, so BJData
and other arrays do not pay for it. Everything to_ubjson writes in
version 3.13.0 can therefore be read back.

Two consequences:
- to_ubjson output changes for values with more than 1048576 elements in
  arrays of type Z, T or F: such an array is written at one byte per
  element, e.g. 270000 rows of 100 nulls take 26.8 MB instead of 1.35 MB.
- Output of version 3.12.0 and earlier (typed arrays without such a
  total) is rejected by from_ubjson when the arrays hold more than
  1048576 elements plus 4 per byte of input. 3.12.0 writes a row of up to 255 nulls in 5 bytes (6 above
  255), so a table is rejected from 1075 rows of 1000 nulls or 209723
  rows of 25 (accepted: 1000 rows of 1000, 209000 rows of 25); rows of
  20 or fewer are never rejected.

Measured on the test data: no file of json_test_data (converted with
to_ubjson in all three modes, 846 round trips) holds an array of this
kind with more than 0.17 values per byte. All of them are read back.

Reproducer (K arrays of 1048576 nulls), Apple clang -O2:
  K=40 (362 bytes): before 41943040 values, 664 MB; after rejected, 33 MB
  K=2 (20 bytes):   before 2097152 values, 53 MB;   after rejected, 33 MB

The new tests count events with a SAX handler where they can: building
and comparing million-element values made the first version take 176 s
under Valgrind, the current one about 22 s.

Behaviour change: an input that holds more than 1048576 elements in
arrays of type Z, T or F at more than 4 per byte is now rejected.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* Report an empty array for UBJSON [$N#<n>] instead of n elements (#6079)

* Report an empty array for UBJSON `[$N#<n>` instead of n elements

A no-op (N) is not a value, so an optimized array of type N holds no
element whatever count it declares. The reader skipped the elements but
still passed the declared count to the SAX parser: a handler was told
start_array(n) and no element followed, and the DOM parser reserved
min(n, 16384) values (256 KB) for an array that stays empty. Nine bytes
(`[$N#l 0x7FFFFFFF`) therefore committed 256 KB: 2000 of them in one
input, 18 KB, committed 512 MB of heap (capacity 163,840,000 values for
the 10000 arrays of the original probe: 2.6 GB for 70 KB of input).
Untouched pages keep the resident size small, but the commit charge and
a 32-bit address space are consumed.

The reader now announces 0 elements for an optimized array of type N.
The loop that skips the elements is unchanged (it never ran). A count
that does not fit into std::size_t is still rejected by the count
reader; a count that is too large for the array type of the DOM (before:
out_of_range.408 "excessive array size" from the DOM handler) is
accepted now, because the array is empty.

Behaviour change: sax_parse reports start_array(0) for `[$N#n` (before:
n); from_ubjson no longer throws out_of_range.408 for an N-typed array
whose count exceeds the maximum size of the array type.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* Clarify the reservation note for announced array counts

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

---------

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

* Use fseek instead of rewind in the UBJSON FILE* test

clang-tidy (bugprone-unsafe-functions) rejects rewind() because it has no
error detection. Check the result of fseek() instead.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

---------

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-15 16:59:07 +01:00
Niels Lohmann 79f6513cec Fix VS 2015 build of unit-bon8: compare tellg() outside doctest decomposition (#6128)
VS 2015 cannot find an operator== for doctest's Expression_lhs<std::fpos>
and int, introduced in #6119. Evaluate the comparison as a plain bool.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-15 12:25:21 +01:00
Niels Lohmann 81888ff9f0 Report a missing 0xFF after a final BON8 string also without strict (#6119)
A BON8 string ends at the first byte that cannot continue it. When a
string ends a value and is not terminated by 0xFF, that byte belongs to
whatever follows the value, but the reader has already taken it from the
input and keeps it in its push-back buffer. With strict = true the
end-of-input check reports it; with strict = false the buffer was
discarded, so a following value in a stream lost its first byte or bytes
without an error ({0x61, 0x90} read "a" and then dropped the 0 that
follows).

Report parse_error.110 "string at the end of the value is not terminated
by 0xFF" when the push-back buffer is not empty once a BON8 value is
complete and strict is false, as bon8.md requires the final 0xFF. Output
of to_bon8 always has it, so canonical input is not affected.

Fixes #6110.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-13 17:54:30 +01:00
Niels Lohmann 38cb5d0573 docs: output growth with nesting depth and ordered_json objects with many keys (#6118)
untrusted_input.md did not say that indented dump() and flatten() produce
results that grow with the nesting depth times the size of the value (80 KB
of input give 600 MB of dump(1)), nor that the binary readers take
quadratic time for objects with many keys when they read into
ordered_json. Add a warning to "Nesting depth", a section "Objects with
many keys in ordered_json", and both points to the checklist.

The warning in ordered_map.md still said that parsing JSON text into
ordered_json is quadratic; that is no longer true. Name the cases that
still are (filling an object key by key, the binary readers) and replace
the table with current measurements.

dump.md and flatten.md called their complexity linear in the value; it is
linear in the result, which can be larger by a factor of the depth.

Fixes #6108. Refs #6104.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-13 17:54:22 +01:00
Niels Lohmann 72966ae73d Force inlining of the serializer helpers only in optimized builds (#6117)
The seven serializer helpers marked JSON_HEDLEY_ALWAYS_INLINE are inlined
at -O0 as well, and GCC and Clang give every inlined copy its own stack
slots there. That made the recursive frame of dump_container() 2304 bytes
with Clang 21 (2048 with GCC 16), against 480 bytes in 3.12.0, so dump()
of a value nested beyond the default recursion depth limit needed 288 KiB
of stack in an unoptimized build and crashed in a 128 KiB musl thread.

Define JSON_INTERNAL_SERIALIZER_INLINE as JSON_HEDLEY_ALWAYS_INLINE when
__OPTIMIZE__ (or _MSC_VER) is defined and as plain inline otherwise, and
use it for these helpers. The frame drops to 320 bytes and dump() needs
48 KiB at the default limit. The -O2 object code is unchanged with Clang 21
and GCC 16.

Update the stack tables in json_recursion_depth_limit.md and
untrusted_input.md: copying and conversion are now the most demanding
operations at -O0.

Fixes #6116.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-13 17:54:11 +01:00
147 changed files with 21913 additions and 16889 deletions

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ labels:
- "tests/src/fuzzer-(parse_json_view|json_view_image)\\.cpp"
- "tests/benchmarks/json_view/.*"
- "tools/amalgamate/config_json_view\\.json"
- "docs/mkdocs/docs/features/json_view\\.md"
- "docs/mkdocs/docs/features/json_view/.*"
- "docs/mkdocs/docs/api/basic_json_(document|view)/.*"
- "docs/mkdocs/docs/api/(ordered_)?json_(editable_)?(document|view)\\.md"
- "docs/mkdocs/docs/examples/(basic_json_(document|view)__|(ordered_)?json_(editable_)?(document|view)).*"
+46
View File
@@ -0,0 +1,46 @@
name: Big-endian
on:
push:
branches:
- develop
- master
- release/*
pull_request:
schedule:
- cron: '17 4 * * 1'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
jobs:
ci_test_big_endian:
# Allow manual fork validation, but avoid weekly emulation runs in forks.
if: github.event_name != 'schedule' || github.repository == 'nlohmann/json'
runs-on: ubuntu-26.04
container: debian:trixie
timeout-minutes: 90
steps:
- name: Install the s390x cross compiler and qemu-user
run: |
apt-get update
# get-cmake uses unzip to extract Ninja's zip; debian:trixie does not include it.
apt-get install -y --no-install-recommends g++ g++-s390x-linux-gnu qemu-user git ca-certificates unzip
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Get latest CMake and ninja
uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0
- name: Check that the target is big-endian
run: echo | s390x-linux-gnu-g++ -dM -E - | grep -q '__BYTE_ORDER__ __ORDER_BIG_ENDIAN__'
- name: Run CMake
run: cmake -S . -B build -G Ninja -DJSON_CI=On
- name: Build and test
env:
TEST_SCOPE: ${{ github.event_name == 'pull_request' && 'focused' || 'full' }}
run: cmake --build build --target "ci_test_big_endian_${TEST_SCOPE}"
+1 -1
View File
@@ -28,7 +28,7 @@ jobs:
steps:
- name: Harden Runner
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2.22.3
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
with:
egress-policy: audit
+3 -5
View File
@@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-26.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2.22.3
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
with:
egress-policy: audit
@@ -46,7 +46,7 @@ jobs:
steps:
- name: Harden Runner
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2.22.3
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
with:
egress-policy: audit
@@ -115,9 +115,7 @@ jobs:
python3 $TOOL_DIR/amalgamate.py -c $TOOL_DIR/config_json.json -s .
python3 $TOOL_DIR/amalgamate.py -c $TOOL_DIR/config_json_fwd.json -s .
# the configuration of json_view.hpp comes with the pull request until
# it is on develop; the tool itself is still develop's
python3 $TOOL_DIR/amalgamate.py -c $MAIN_DIR/tools/amalgamate/config_json_view.json -s .
python3 $TOOL_DIR/amalgamate.py -c $TOOL_DIR/config_json_view.json -s .
# the header list of the Bazel "json" target must match the files in include/
cmake -P cmake/scripts/gen_bazel_build_file.cmake
+1 -1
View File
@@ -20,7 +20,7 @@ jobs:
timeout-minutes: 30
steps:
- name: Harden Runner
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2.22.3
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
with:
egress-policy: audit
+1 -1
View File
@@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2.22.3
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
with:
egress-policy: audit
+1 -1
View File
@@ -27,7 +27,7 @@ jobs:
steps:
- name: Harden Runner
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2.22.3
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
with:
egress-policy: audit
@@ -20,7 +20,7 @@ jobs:
pull-requests: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2.22.3
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
with:
egress-policy: audit
+1 -1
View File
@@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-26.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2.22.3
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
with:
egress-policy: audit
+1 -1
View File
@@ -31,7 +31,7 @@ jobs:
security-events: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2.22.3
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
with:
egress-policy: audit
+1 -1
View File
@@ -54,7 +54,7 @@ jobs:
timeout-minutes: 60
steps:
- name: Harden Runner
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2.22.3
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
with:
egress-policy: audit
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
steps:
- name: Harden Runner
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2.22.3
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
with:
egress-policy: audit
+1 -1
View File
@@ -37,7 +37,7 @@ jobs:
runs-on: ubuntu-26.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2.22.3
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
with:
egress-policy: audit
+1 -1
View File
@@ -40,7 +40,7 @@ jobs:
steps:
- name: Harden Runner
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2.22.3
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
with:
egress-policy: audit
+1 -1
View File
@@ -36,7 +36,7 @@ jobs:
runs-on: ubuntu-26.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2.22.3
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
with:
egress-policy: audit
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
steps:
- name: Harden Runner
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2.22.3
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
with:
egress-policy: audit
+31 -28
View File
@@ -25,7 +25,7 @@ jobs:
with:
persist-credentials: false
- name: Get latest CMake and ninja
uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5
uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0
- name: Run CMake
run: cmake -S . -B build -DJSON_CI=On
- name: Build
@@ -38,7 +38,7 @@ jobs:
with:
persist-credentials: false
- name: Get latest CMake and ninja
uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5
uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0
- name: Check that Meson and pkg-config offer the CMake options
run: make check_build_options
- name: Install Meson
@@ -80,7 +80,7 @@ jobs:
runs-on: ubuntu-26.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2.22.3
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
with:
egress-policy: audit
@@ -92,7 +92,7 @@ jobs:
with:
persist-credentials: false
- name: Get latest CMake and ninja
uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5
uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0
- name: Run CMake
run: cmake -S . -B build -DJSON_CI=On
- name: Build
@@ -112,7 +112,7 @@ jobs:
target: [ci_test_single_header, ci_cppcheck, ci_cpplint, ci_reproducible_tests, ci_non_git_tests, ci_offline_testdata, ci_reuse_compliance, ci_test_valgrind]
steps:
- name: Harden Runner
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2.22.3
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
with:
egress-policy: audit
@@ -123,7 +123,7 @@ jobs:
with:
persist-credentials: false
- name: Get latest CMake and ninja
uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5
uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0
- name: Run CMake
run: cmake -S . -B build -DJSON_CI=On
- name: Build
@@ -142,7 +142,7 @@ jobs:
with:
persist-credentials: false
- name: Get latest CMake and ninja
uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5
uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0
- name: Run CMake
run: cmake -S . -B build -DJSON_CI=On
- name: Build
@@ -168,7 +168,7 @@ jobs:
with:
persist-credentials: false
- name: Get latest CMake and ninja
uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5
uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0
- name: Run CMake
run: cmake -S . -B build -DJSON_CI=On
- name: Build
@@ -178,7 +178,7 @@ jobs:
runs-on: ubuntu-26.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2.22.3
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
with:
egress-policy: audit
@@ -244,7 +244,7 @@ jobs:
with:
persist-credentials: false
- name: Get latest CMake and ninja
uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5
uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0
- name: Run CMake
run: CXX=g++-${{ matrix.compiler }} cmake -S . -B build -DJSON_CI=On
- name: Build
@@ -262,7 +262,7 @@ jobs:
with:
persist-credentials: false
- name: Get latest CMake and ninja
uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5
uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0
- name: Run CMake
run: cmake -S . -B build -DJSON_CI=On
- name: Build
@@ -279,7 +279,7 @@ jobs:
with:
persist-credentials: false
- name: Get latest CMake and ninja
uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5
uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0
- name: Disable filesystem support (std::filesystem is unusable) for clang 7 / 8 / 9 / 10
run: echo "JSON_FORCED_GLOBAL_COMPILE_OPTIONS=-DJSON_HAS_FILESYSTEM=0;-DJSON_HAS_EXPERIMENTAL_FILESYSTEM=0" >> "$GITHUB_ENV"
if: ${{ matrix.compiler == '7' || matrix.compiler == '8' || matrix.compiler == '9' || matrix.compiler == '10' }}
@@ -299,7 +299,7 @@ jobs:
with:
persist-credentials: false
- name: Get latest CMake and ninja
uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5
uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0
- name: Run CMake
run: cmake -S . -B build -DJSON_CI=On
- name: Build
@@ -319,7 +319,7 @@ jobs:
with:
persist-credentials: false
- name: Get latest CMake and ninja
uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5
uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0
- name: Run CMake
run: cmake -S . -B build -DJSON_CI=On
- name: Build with libc++
@@ -346,7 +346,7 @@ jobs:
with:
persist-credentials: false
- name: Get latest CMake and ninja
uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5
uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0
- name: Run CMake
run: cmake -S . -B build -DJSON_CI=On
- name: Build
@@ -362,13 +362,16 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
# The module test uses `import std;`, which needs CMake's experimental
# import-std support. Its opt-in token is CMake-version-specific, so pin
# CMake to the version whose token is set in tests/module_cpp20/CMakeLists.txt.
- name: Get pinned CMake and ninja
uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5
# get-cmake extracts the Ninja zip with the system unzip, which the Clang
# image lacks; other Clang jobs get away with it by hitting the cache.
- name: Install unzip (Clang)
if: matrix.container == 'silkeh/clang:latest'
run: apt-get update ; apt-get install -y unzip
# The module test uses `import std;`, which needs CMake 4.5 or newer.
- name: Get CMake 4.5+ and ninja
uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0
with:
cmakeVersion: 4.3.4
cmakeVersion: '^4.5.0'
# Clang: the std library module is provided by libc++ (the image's libstdc++
# ships none), and the image's libc++ module manifest has a broken relative
# path — repoint it at the real module sources.
@@ -392,7 +395,7 @@ jobs:
with:
persist-credentials: false
- name: Get latest CMake and ninja
uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5
uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0
- name: Run CMake
run: cmake -S . -B build -DJSON_CI=On
- name: Build
@@ -409,7 +412,7 @@ jobs:
with:
persist-credentials: false
- name: Get latest CMake and ninja
uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5
uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0
- name: Run CMake
run: cmake -S . -B build -DJSON_CI=On
- name: Build
@@ -423,7 +426,7 @@ jobs:
with:
persist-credentials: false
- name: Get latest CMake and ninja
uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5
uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0
- name: Run CMake
run: cmake -S . -B build -DJSON_CI=On
- name: Build
@@ -433,7 +436,7 @@ jobs:
runs-on: ubuntu-26.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2.22.3
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
with:
egress-policy: audit
@@ -443,7 +446,7 @@ jobs:
with:
persist-credentials: false
- name: Get latest CMake and ninja
uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5
uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0
- name: Run CMake
run: cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=$EMSDK/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -GNinja
- name: Build
@@ -456,7 +459,7 @@ jobs:
target: [ci_test_examples, ci_test_build_documentation, ci_test_documentation_mermaid]
steps:
- name: Harden Runner
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2.22.3
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
with:
egress-policy: audit
@@ -484,7 +487,7 @@ jobs:
with:
persist-credentials: false
- name: Get latest CMake and ninja
uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5
uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0
- name: Check that the job runs natively on arm64
run: uname -m && test "$(uname -m)" = aarch64
- name: Run CMake
+5 -7
View File
@@ -90,7 +90,7 @@ jobs:
with:
persist-credentials: false
- name: Get latest CMake and ninja
uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5
uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0
- name: Set extra CXX_FLAGS for latest std_version
# /wd5285 silences C5285 emitted by the bundled third-party doctest.h, which
# specializes std::tuple (newly diagnosed by the VS2026 v145 toolset)
@@ -212,13 +212,11 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
# The module test uses `import std;`, which needs CMake's experimental
# import-std support. Its opt-in token is CMake-version-specific, so pin
# CMake to the version whose token is set in tests/module_cpp20/CMakeLists.txt.
- name: Get pinned CMake and ninja
uses: lukka/get-cmake@f86dd60acae0d132056913e248bdabf0e0580b7a # v4.4.5
# The module test uses `import std;`, which needs CMake 4.5 or newer.
- name: Get CMake 4.5+ and ninja
uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0
with:
cmakeVersion: 4.3.4
cmakeVersion: '^4.5.0'
# CMAKE_CXX_FLAGS replaces CMake's MSVC defaults (which include /EHsc), and
# ci_module_cpp20 forwards it to the module build, so list /EHsc explicitly
- name: Run CMake (Debug)
+2 -3
View File
@@ -20,7 +20,7 @@
# fuzzers
/tests/corpus_*
/tests/parse_*_fuzzer
/tests/*_fuzzer
# documentation
/docs/docset/JSON_for_Modern_C++.docset/
@@ -47,11 +47,10 @@ nlohmann_json.spdx
# Bazel-related
MODULE.bazel.lock
# backups left by `make check-amalgamation` or the ci_test_amalgamation target if they are interrupted
# backups left by `make check-amalgamation` if it is interrupted
/BUILD.bazel~
/nlohmann_json.natvis~
/single_include/nlohmann/*.hpp~
/venv_astyle/
# release outputs of `make release`
/include.zip
+1
View File
@@ -28,6 +28,7 @@ The [GitHub Actions](https://docs.github.com/en/actions) workflows that build, t
- `publish_documentation.yml` — build and publish the documentation on pushes to the `develop` branch that touch the documentation sources (or the files it embeds).
- `check_docs_links.yml` — check the links of the documentation weekly, as external links can break without any change in this repository.
- `cancel_closed_pr_runs.yml` — cancel unfinished workflow runs of a pull request once it is closed or merged.
- `json_view_benchmarks.yml` — compare the performance of `json_view` with other JSON libraries on GitHub-hosted x86-64 and AArch64 Linux runners, on demand or when a pull request gets the label "benchmark".
Further documentation:
+1 -1
View File
@@ -215,7 +215,7 @@ release: include.zip json.tar.xz
# clean up
clean:
rm -fr *.dSYM tests/*.dSYM tests/parse_*_fuzzer
rm -fr *.dSYM tests/*.dSYM tests/*_fuzzer
rm -fr cmake-build-benchmarks cmake-build-pvs-studio release_files
$(MAKE) clean -Cdocs
+3 -1
View File
@@ -165,7 +165,8 @@ std::ifstream f("example.json");
json data = json::parse(f);
```
If using modules (enabled with `NLOHMANN_JSON_BUILD_MODULES`), this example becomes:
If using modules (enabled with `NLOHMANN_JSON_BUILD_MODULES`; `import std;` needs CMake 4.5 or newer, see the
[modules documentation](https://json.nlohmann.me/features/modules/)), this example becomes:
```cpp
import std;
import nlohmann.json;
@@ -1382,6 +1383,7 @@ Use your favorite [**package manager**](https://json.nlohmann.me/integration/pac
- [**build2**](https://json.nlohmann.me/integration/package_managers/#build2) `nlohmann-json`
- <img src="https://raw.githubusercontent.com/nlohmann/json/refs/heads/develop/docs/mkdocs/docs/images/package_managers/CPM.png" height="20">&nbsp;[**cpm.cmake**](https://json.nlohmann.me/integration/package_managers/#cpmcmake) `gh:nlohmann/json`
- <img src="https://raw.githubusercontent.com/nlohmann/json/refs/heads/develop/docs/mkdocs/docs/images/package_managers/xmake.svg" height="20">&nbsp;[**xmake**](https://json.nlohmann.me/integration/package_managers/#xmake) `nlohmann_json`
- <img src="https://raw.githubusercontent.com/nlohmann/json/refs/heads/develop/docs/mkdocs/docs/images/package_managers/nix.svg" height="20">&nbsp;[**Nix**](https://json.nlohmann.me/integration/package_managers/#nix) `nlohmann_json`
The library is part of many package managers. See the [**documentation**](https://json.nlohmann.me/integration/package_managers/) for detailed descriptions and examples.
+34 -77
View File
@@ -100,6 +100,40 @@ add_custom_target(ci_test_clang
COMMENT "Compile and test with Clang using maximal warning flags"
)
###############################################################################
# Big-endian tests (cross-compiled for s390x, executed under qemu-user).
###############################################################################
foreach(S390X_TEST_SCOPE IN ITEMS focused full)
set(S390X_TEST_FILTER)
if(S390X_TEST_SCOPE STREQUAL "focused")
# Keep this filter in sync with new or renamed endianness-sensitive tests.
# "serialization" intentionally includes "deserialization"; the develop
# and weekly full runs cover tests outside this focused runtime subset.
set(S390X_TEST_FILTER -R "cbor|msgpack|ubjson|bjdata|bson|bon8|binary|json_view|alt-string|serialization|class_parser|fmt_formatter")
endif()
add_custom_target(ci_test_big_endian_${S390X_TEST_SCOPE}
COMMAND ${CMAKE_COMMAND}
-DCMAKE_BUILD_TYPE=Debug -GNinja
-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=s390x
-DCMAKE_CXX_COMPILER=s390x-linux-gnu-g++
"-DCMAKE_CROSSCOMPILING_EMULATOR=qemu-s390x;-L;/usr/s390x-linux-gnu"
-DJSON_BuildTests=ON -DJSON_FastTests=ON
-S${PROJECT_SOURCE_DIR} -B${PROJECT_BINARY_DIR}/build_big_endian
# Build every test binary, even when executing only the focused subset.
# Limit parallelism for memory-intensive compilation and emulated tests.
COMMAND ${CMAKE_COMMAND} -E echo "s390x build timing:"
COMMAND ${CMAKE_COMMAND} -E time ${CMAKE_COMMAND} --build ${PROJECT_BINARY_DIR}/build_big_endian --parallel 2
COMMAND ${CMAKE_COMMAND} -E echo "s390x test timing:"
COMMAND ${CMAKE_COMMAND} -E time ${CMAKE_CTEST_COMMAND} --test-dir ${PROJECT_BINARY_DIR}/build_big_endian
--parallel 2 --output-on-failure --no-tests=error ${S390X_TEST_FILTER}
COMMENT "Cross-compile all tests for s390x and run the ${S390X_TEST_SCOPE} suite under qemu-user"
VERBATIM
USES_TERMINAL
)
endforeach()
###############################################################################
# Different C++ Standards.
###############################################################################
@@ -406,61 +440,6 @@ add_custom_target(ci_test_clang_sanitizer
COMMENT "Compile and test with sanitizers"
)
###############################################################################
# Check if header is amalgamated and sources are properly indented.
###############################################################################
# Same file set as .github/workflows/check_amalgamation.yml, so this CMake target (which can be run locally) is held
# to the same standard as the workflow (which runs for pull requests and for pushes to develop/master/release/*).
file(GLOB_RECURSE INDENT_FILES
${PROJECT_SOURCE_DIR}/docs/mkdocs/docs/examples/*.hpp
${PROJECT_SOURCE_DIR}/docs/mkdocs/docs/examples/*.cpp
${PROJECT_SOURCE_DIR}/docs/mkdocs/docs/examples/*.cu
${PROJECT_SOURCE_DIR}/include/*.hpp
${PROJECT_SOURCE_DIR}/include/*.cpp
${PROJECT_SOURCE_DIR}/include/*.cu
${PROJECT_SOURCE_DIR}/tests/*.hpp
${PROJECT_SOURCE_DIR}/tests/*.cpp
${PROJECT_SOURCE_DIR}/tests/*.cu
)
list(FILTER INDENT_FILES EXCLUDE REGEX "/tests/thirdparty/|/tests/abi/include/nlohmann/")
set(include_dir ${PROJECT_SOURCE_DIR}/single_include/nlohmann)
set(tool_dir ${PROJECT_SOURCE_DIR}/tools/amalgamate)
add_custom_target(ci_test_amalgamation
COMMAND rm -fr ${include_dir}/json.hpp~ ${include_dir}/json_fwd.hpp~ ${include_dir}/json_literals.hpp~ ${include_dir}/json_view.hpp~
COMMAND cp ${include_dir}/json.hpp ${include_dir}/json.hpp~
COMMAND cp ${include_dir}/json_fwd.hpp ${include_dir}/json_fwd.hpp~
COMMAND cp ${include_dir}/json_literals.hpp ${include_dir}/json_literals.hpp~
COMMAND cp ${include_dir}/json_view.hpp ${include_dir}/json_view.hpp~
COMMAND cp ${PROJECT_SOURCE_DIR}/BUILD.bazel ${PROJECT_SOURCE_DIR}/BUILD.bazel~
COMMAND ${Python3_EXECUTABLE} -mvenv venv_astyle
COMMAND venv_astyle/bin/pip3 --quiet install -r ${CMAKE_SOURCE_DIR}/tools/astyle/requirements.txt
COMMAND venv_astyle/bin/astyle --version
COMMAND ${Python3_EXECUTABLE} ${tool_dir}/amalgamate.py -c ${tool_dir}/config_json.json -s .
COMMAND ${Python3_EXECUTABLE} ${tool_dir}/amalgamate.py -c ${tool_dir}/config_json_fwd.json -s .
COMMAND cp ${PROJECT_SOURCE_DIR}/include/nlohmann/json_literals.hpp ${include_dir}/json_literals.hpp
COMMAND ${Python3_EXECUTABLE} ${tool_dir}/amalgamate.py -c ${tool_dir}/config_json_view.json -s .
COMMAND venv_astyle/bin/astyle --project=tools/astyle/.astylerc --suffix=none ${include_dir}/json.hpp ${include_dir}/json_fwd.hpp ${include_dir}/json_literals.hpp ${include_dir}/json_view.hpp
COMMAND ${CMAKE_COMMAND} -P ${PROJECT_SOURCE_DIR}/cmake/scripts/gen_bazel_build_file.cmake
COMMAND diff ${include_dir}/json.hpp~ ${include_dir}/json.hpp
COMMAND diff ${include_dir}/json_fwd.hpp~ ${include_dir}/json_fwd.hpp
COMMAND diff ${include_dir}/json_literals.hpp~ ${include_dir}/json_literals.hpp
COMMAND diff ${include_dir}/json_view.hpp~ ${include_dir}/json_view.hpp
COMMAND diff ${PROJECT_SOURCE_DIR}/BUILD.bazel~ ${PROJECT_SOURCE_DIR}/BUILD.bazel
COMMAND venv_astyle/bin/astyle --project=tools/astyle/.astylerc --suffix=orig ${INDENT_FILES}
COMMAND for FILE in `find . -name '*.orig'`\; do false \; done
COMMAND rm -f ${include_dir}/json.hpp~ ${include_dir}/json_fwd.hpp~ ${include_dir}/json_literals.hpp~ ${include_dir}/json_view.hpp~ ${PROJECT_SOURCE_DIR}/BUILD.bazel~
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
COMMENT "Check amalgamation, formatting, and BUILD.bazel"
)
###############################################################################
# Build and test using the amalgamated header
###############################################################################
@@ -692,19 +671,6 @@ else()
)
endif()
###############################################################################
# Benchmarks
###############################################################################
add_custom_target(ci_benchmarks
COMMAND ${CMAKE_COMMAND}
-DCMAKE_BUILD_TYPE=Release -GNinja
-S${PROJECT_SOURCE_DIR}/tests/benchmarks -B${PROJECT_BINARY_DIR}/build_benchmarks
COMMAND ${CMAKE_COMMAND} --build ${PROJECT_BINARY_DIR}/build_benchmarks --target json_benchmarks
COMMAND cd ${PROJECT_BINARY_DIR}/build_benchmarks && ./json_benchmarks
COMMENT "Run benchmarks"
)
###############################################################################
# CMake flags
###############################################################################
@@ -965,12 +931,3 @@ add_custom_target(ci_test_documentation_mermaid
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/docs/mkdocs
COMMENT "Check the Mermaid diagrams of the documentation"
)
###############################################################################
# Clean up all generated files.
###############################################################################
add_custom_target(ci_clean
COMMAND rm -fr ${PROJECT_BINARY_DIR}/build_* ${PROJECT_BINARY_DIR}/cmake-3.5.0 ${PROJECT_BINARY_DIR}/cmake-3.31.6 ${PROJECT_BINARY_DIR}/cmake-4.0.0 ${JSON_CMAKE_FLAG_BUILD_DIRS} ${single_binaries}
COMMENT "Clean generated directories"
)
+1 -1
View File
@@ -1 +1 @@
semgrep==1.184.0
semgrep==1.185.0
+11 -2
View File
@@ -79,7 +79,14 @@ basic_json(basic_json&& other) noexcept;
(e.g., `json j = std::move(vec);` or `json j(std::vector<std::string>{...});`), the elements are moved into
the JSON value instead of copied. Afterwards, the elements of the source container are in a valid but
unspecified state (**moved-from**). Keys of associative containers are `const` and therefore still copied.
Lvalues and `const` rvalues are copied, and the source is left unchanged.
Lvalues and `const` rvalues are copied, and the source is left unchanged. Only containers that own their
elements are moved from, that is, containers whose elements are `const` when accessed through a `const`
container. Non-owning ranges such as spans or iterator ranges (e.g., `gsl::span`, `std::span`) are copied, so
converting an rvalue span leaves the referenced elements unchanged.
A user-defined type whose elements are `const` through a `const` object, but which does not own them alone,
is treated as owning: a view, or a handle that shares its storage with other handles (e.g., a wrapper of a
`std::shared_ptr<std::vector<T>>`) and does not copy it before giving non-`const` access. Moving from such
an rvalue changes the elements seen through the other handles; pass it as an lvalue to copy the elements.
- **numbers**: [`number_integer_t`](number_integer_t.md), [`number_unsigned_t`](number_unsigned_t.md),
[`number_float_t`](number_float_t.md), and all convertible number types such as `int`, `size_t`, `int64_t`, `float`
or `double` can be used.
@@ -265,7 +272,9 @@ basic_json(basic_json&& other) noexcept;
4. Depends on the called constructor. For types directly supported by the library (i.e., all types for which no
`to_json()` function was provided), a strong guarantee holds: if an exception is thrown, there are no changes to any
JSON value.
5. Strong guarantee: if an exception is thrown, there are no changes to any JSON value.
5. Strong guarantee: if an exception is thrown, there are no changes to any JSON value. Values that are moved into
`init` (e.g., `a` in `#!cpp json::object({std::move(a), 5})`) are moved when the initializer list is created,
before the constructor runs, and stay moved-from if it throws.
6. Strong guarantee: if an exception is thrown, there are no changes to any JSON value.
7. Strong guarantee: if an exception is thrown, there are no changes to any JSON value.
8. Strong guarantee: if an exception is thrown, there are no changes to any JSON value.
+3 -1
View File
@@ -58,7 +58,9 @@ is not UTF-8 encoded and `error_handler` is set to `strict`
## Complexity
Linear.
Linear in the size of the result. With an `indent`, every line starts with up to `indent` characters per nesting level,
so the result can be larger than the value by a factor of its nesting depth (see
[Parsing untrusted input](../../features/parsing/untrusted_input.md#nesting-depth)).
## Notes
+7 -5
View File
@@ -26,10 +26,12 @@ void erase(const size_type idx);
If called on a primitive type other than `#!json null`, the resulting JSON value will be `#!json null`.
2. Remove an element range specified by `[first; last)` from a JSON value. The iterator `first` does not need to be
dereferenceable if `first == last`: erasing an empty range is a no-op.
2. Remove an element range specified by `[first; last)` from a JSON value. For arrays and objects, the iterator `first`
does not need to be dereferenceable if `first == last`: erasing an empty range is a no-op.
If called on a primitive type other than `#!json null`, the resulting JSON value will be `#!json null`.
If called on a primitive type other than `#!json null`, the range must be `[begin(); end())`, and the resulting JSON
value will be `#!json null`. Any other range, including the empty ranges `[begin(); begin())` and
`[end(); end())`, throws [`invalid_iterator.204`](../../home/exceptions.md#jsonexceptioninvalid_iterator204).
3. Removes an element from a JSON object by key.
@@ -93,8 +95,8 @@ Strong exception safety: if an exception occurs, the original value stays intact
- Throws [`invalid_iterator.203`](../../home/exceptions.md#jsonexceptioninvalid_iterator203) if called on iterators
which does not belong to the current JSON value; example: `"iterators do not fit current value"`
- Throws [`invalid_iterator.204`](../../home/exceptions.md#jsonexceptioninvalid_iterator204) if called on a
primitive type with invalid iterators (i.e., if `first != begin()` and `last != end()`); example: `"iterators out
of range"`
primitive type with invalid iterators (i.e., if `first != begin()` or `last != end()`, which includes the empty
ranges `[begin(); begin())` and `[end(); end())`); example: `"iterators out of range"`
3. The function can throw the following exceptions:
- Throws [`type_error.307`](../../home/exceptions.md#jsonexceptiontype_error307) when called on a type other than
JSON object; example: `"cannot use erase() with null"`
+2 -1
View File
@@ -18,7 +18,8 @@ Strong exception safety: if an exception occurs, the original value stays intact
## Complexity
Linear in the size of the JSON value.
Linear in the size of the result. Every key repeats the path of its value, so the keys can be larger than the value by a
factor of its nesting depth (see [Parsing untrusted input](../../features/parsing/untrusted_input.md#nesting-depth)).
## Notes
+4 -2
View File
@@ -69,8 +69,10 @@ Strong guarantee: if an exception is thrown, there are no changes in the JSON va
## Exceptions
- Throws [parse_error.110](../../home/exceptions.md#jsonexceptionparse_error110) if the given input ends prematurely or
the end of the file was not reached when `strict` was set to true
- Throws [parse_error.110](../../home/exceptions.md#jsonexceptionparse_error110) if the given input ends prematurely,
if the end of the file was not reached when `strict` was set to true, or if a string at the end of the value is not
terminated by 0xFF although a byte follows it (also when `strict` is false: the byte that ends the string is
taken from the input, so the next value would be lost)
- Throws [parse_error.112](../../home/exceptions.md#jsonexceptionparse_error112) if a parse error occurs, for instance
an invalid byte, a string that is not valid UTF-8, or an object key that is not a string
+13 -2
View File
@@ -89,8 +89,11 @@ Strong guarantee: if an exception is thrown, there are no changes in the JSON va
- Throws [out_of_range.406](../../home/exceptions.md#jsonexceptionout_of_range406) if a high-precision number, or a
float64 when `number_float_t` is `float`, does not fit into `number_float_t`
- Throws [out_of_range.408](../../home/exceptions.md#jsonexceptionout_of_range408) if the count of an optimized
container exceeds the capacity of the container (or of `std::size_t`), or if an optimized array of `Z`, `T`, or `F` has
more than 1,048,576 elements
container exceeds the capacity of the container (or of `std::size_t`; an array of type `N` is empty, so only the
latter applies to it), if an optimized array of `Z`, `T`, or `F` has more than 1,048,576 elements, or if the
optimized arrays of `Z`, `T`, and `F` in the input together have more than 1,048,576 elements plus
[`JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE`](../macros/json_ubjson_valueless_elements_per_byte.md) (4 by default) for
every byte read so far
## Complexity
@@ -119,6 +122,8 @@ Linear in the size of the input.
- [Parsing untrusted input](../../features/parsing/untrusted_input.md) - limits and safe handling of hostile data
- [Binary values](../../features/binary_values.md) - how binary values and subtypes are handled
- [`to_ubjson`](to_ubjson.md) - create a UBJSON serialization of a JSON value
- [`JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE`](../macros/json_ubjson_valueless_elements_per_byte.md) -
set how many elements of arrays of `null`, `true`, or `false` the input may announce per byte
- [`from_cbor`](from_cbor.md) - create a JSON value from an input in CBOR format
- [`from_msgpack`](from_msgpack.md) - create a JSON value from an input in MessagePack format
- [`from_bson`](from_bson.md) - create a JSON value from an input in BSON format
@@ -132,6 +137,12 @@ Linear in the size of the input.
- Extended container support (1) to include types with lvalue-only ADL `begin`/`end` (matching `std::begin`/`std::end` semantics) in version 3.13.0.
- Extended overload (2) to accept heterogeneous iterator+sentinel pairs (C++20 ranges support) in version 3.13.0.
- Added `error_handler` parameter in version 3.13.0.
- Report `start_array(0)` to a SAX handler for an optimized array of type `N` (`[$N#n`), whatever its count, in version
3.13.0.
- Limited the total number of elements of optimized arrays of `Z`, `T`, and `F` in one input in version 3.13.0; the
number of elements per byte can be set with
[`JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE`](../macros/json_ubjson_valueless_elements_per_byte.md), for example to read
files written by version 3.12.0 and earlier that exceed the default.
!!! warning "Deprecation"
+3 -1
View File
@@ -18,7 +18,9 @@ JSON object value
## Exception safety
Strong guarantee: if an exception is thrown, there are no changes in the JSON value.
Strong guarantee: if an exception is thrown, there are no changes in the JSON value. Values that are moved into `init`
(e.g., `a` in `#!cpp json::object({std::move(a), 5})`) are moved when the initializer list is created, before this
function runs, and stay moved-from if it throws.
## Exceptions
+14 -2
View File
@@ -2,12 +2,21 @@
```cpp
namespace std {
void swap(nlohmann::basic_json& j1, nlohmann::basic_json& j2);
void swap(nlohmann::basic_json& j1, nlohmann::basic_json& j2) noexcept(
is_nothrow_move_constructible<nlohmann::basic_json>::value &&
is_nothrow_move_assignable<nlohmann::basic_json>::value
);
}
```
Exchanges the values of two JSON objects.
This specialization is only provided before C++20, which no longer allows specializing function templates in
namespace `std`. With C++20 (and in generic code with any standard), use the idiom `#!cpp using std::swap; swap(j1, j2);`: it finds
the [`swap`](swap.md) friend function (overload 2) by argument-dependent lookup. A qualified `#!cpp std::swap(j1, j2)`
still compiles with C++20, but uses the generic `std::swap`, which swaps by three moves instead of exchanging the
contents.
## Parameters
`j1` (in, out)
@@ -18,7 +27,9 @@ Exchanges the values of two JSON objects.
## Exception safety
No-throw guarantee: this function never throws exceptions.
No-throw guarantee if the `noexcept` condition above holds: it holds unless moving the
[`json_base_class_t`](json_base_class_t.md) can throw. With the default base class, this function never throws
exceptions.
## Complexity
@@ -57,3 +68,4 @@ void swap(nlohmann::basic_json& j1, nlohmann::basic_json& j2)
- Added in version 1.0.0.
- Extended for arbitrary basic_json types in version 3.10.5.
- Not provided with C++20 since version 3.9.0.
+8 -4
View File
@@ -75,8 +75,12 @@ void swap(typename binary_t::container_type& other);
## Exception safety
1. No-throw guarantee: this function never throws exceptions.
2. No-throw guarantee: this function never throws exceptions.
1. No-throw guarantee if the `noexcept` condition above holds: it holds unless moving the
[`json_base_class_t`](json_base_class_t.md) can throw (moving the type tag and the stored value never throws).
With the default base class, this function never throws exceptions.
2. No-throw guarantee if the `noexcept` condition above holds: it holds unless moving the
[`json_base_class_t`](json_base_class_t.md) can throw (moving the type tag and the stored value never throws).
With the default base class, this function never throws exceptions.
3. Strong guarantee: if an exception is thrown, there are no changes to any JSON value.
4. Strong guarantee: if an exception is thrown, there are no changes to any JSON value.
5. Strong guarantee: if an exception is thrown, there are no changes to any JSON value.
@@ -85,8 +89,8 @@ void swap(typename binary_t::container_type& other);
## Exceptions
1. No-throw guarantee: this function never throws exceptions.
2. No-throw guarantee: this function never throws exceptions.
1. Throws only what moving the [`json_base_class_t`](json_base_class_t.md) throws; nothing with the default base class.
2. Throws only what moving the [`json_base_class_t`](json_base_class_t.md) throws; nothing with the default base class.
3. Throws [`type_error.310`](../../home/exceptions.md#jsonexceptiontype_error310) if called on JSON values other than
arrays; example: `"cannot use swap(array_t&) with boolean"`
4. Throws [`type_error.310`](../../home/exceptions.md#jsonexceptiontype_error310) if called on JSON values other than
+9 -1
View File
@@ -57,7 +57,8 @@ Strong guarantee: if an exception is thrown, there are no changes in the JSON va
## Exceptions
- Throws [`other_error.502`](../../home/exceptions.md#jsonexceptionother_error502) if `use_type` is true and `use_size`
is false, and `j` contains a non-empty array, object, or binary value.
is false, and `j` contains a non-empty array, object, or binary value. Scalars and empty arrays, objects, or binary
values do not throw.
- Throws [type_error.316](../../home/exceptions.md#jsonexceptiontype_error316) if a string or object key in `j` is
not valid UTF-8 and `error_handler` is `strict` (the default only if
[`JSON_STRICT_BINARY_UTF8`](../macros/json_strict_binary_utf8.md) is enabled)
@@ -105,6 +106,8 @@ Linear in the size of the JSON value `j`.
- [Binary formats](../../features/binary_formats/index.md) - overview and comparison of the supported binary formats
- [Binary values](../../features/binary_values.md) - how binary values and subtypes are handled
- [`from_ubjson`](from_ubjson.md) - create a JSON value from an input in UBJSON format
- [`JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE`](../macros/json_ubjson_valueless_elements_per_byte.md) -
set how many elements of arrays of `null`, `true`, or `false` a reader accepts per byte of input
- [`to_cbor`](to_cbor.md) - create a CBOR serialization of a JSON value
- [`to_msgpack`](to_msgpack.md) - create a MessagePack serialization of a JSON value
- [`to_bson`](to_bson.md) - create a BSON serialization of a JSON value
@@ -117,5 +120,10 @@ Linear in the size of the JSON value `j`.
- Added `error_handler` parameter in version 3.13.0. Its default, `keep`, writes the bytes of a string or object key
that is not valid UTF-8 unchanged, as before; `strict` (the default if
[`JSON_STRICT_BINARY_UTF8`](../macros/json_strict_binary_utf8.md) is enabled) throws `type_error.316`.
- Writes arrays of `Z`, `T`, or `F` without the `$` type annotation (`[#n Z Z ...`) once their elements in one call
add up to more than 1,048,576, in version 3.13.0, so that `from_ubjson` can read the output back. Such output is
larger: 270,000 rows of 100 `null` values take 26.8 MB instead of 1.35 MB. The limit does not depend on
[`JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE`](../macros/json_ubjson_valueless_elements_per_byte.md): a reader accepts at
least 1,048,576 elements whatever it is set to, so the writer follows that base only.
- Throws `type_error.321` for a discarded value since version 3.13.0; previously, a discarded value nested in an
array or object was silently skipped, producing invalid UBJSON.
+5 -1
View File
@@ -26,7 +26,8 @@ The function can throw the following exceptions:
- Throws [`type_error.314`](../../home/exceptions.md#jsonexceptiontype_error314) if value is not an object
- Throws [`type_error.315`](../../home/exceptions.md#jsonexceptiontype_error315) if object values are not primitive
- Throws [`type_error.313`](../../home/exceptions.md#jsonexceptiontype_error313) if a key (JSON pointer) leads to a
conflicting nesting; example: `"invalid value to unflatten"`
conflicting nesting, for example if a key with a value other than `#!json null` is a prefix of another key (as `/a`
and `/a/b`), in whichever order the keys come; example: `"invalid value to unflatten"`
- Throws [`parse_error.106`](../../home/exceptions.md#jsonexceptionparse_error106) if an array index in a key begins
with '0'; example: `"array index '01' must not begin with '0'"`
- Throws [`parse_error.107`](../../home/exceptions.md#jsonexceptionparse_error107) if a key is not empty and does not
@@ -90,3 +91,6 @@ Apart from these three cases, for a JSON value `j`, the following is always true
- Throws [`parse_error.109`](../../home/exceptions.md#jsonexceptionparse_error109) instead of
[`out_of_range.404`](../../home/exceptions.md#jsonexceptionout_of_range404) for a one-character array index that is
not a digit (e.g., `/x`) in version 3.13.0, as it already did for longer ones.
- Throws [`type_error.313`](../../home/exceptions.md#jsonexceptiontype_error313) for a key that is a prefix of an
earlier key in version 3.13.0; before, an object type that keeps the insertion order (such as
[`ordered_json`](../ordered_json.md)) silently replaced the nested value.
@@ -66,7 +66,8 @@ has `erase`; calling it on a read-only `basic_json_document` fails to compile (`
[`parse_error.106`](../../home/exceptions.md#jsonexceptionparse_error106) (a leading `#!cpp '0'`),
[`parse_error.109`](../../home/exceptions.md#jsonexceptionparse_error109) (not a number),
[`out_of_range.410`](../../home/exceptions.md#jsonexceptionout_of_range410) (too large for `size_type`), or
[`out_of_range.404`](../../home/exceptions.md#jsonexceptionout_of_range404) (an empty token); otherwise (an
[`out_of_range.404`](../../home/exceptions.md#jsonexceptionout_of_range404) (an empty token, or the token
`#!cpp "-"`, which never names an existing element); otherwise (an
object, or a primitive value the pointer's parent resolves to) throws what 1. throws.
Overloads 1. and 2. also throw [`invalid_iterator.202`](../../home/exceptions.md#jsonexceptioninvalid_iterator202)
@@ -100,7 +100,8 @@ points apply to every edit:
[`root()`](root.md). New values (and the element sequences of an edited array/object) go to storage owned by the
document, allocated on demand.
- **A view keeps referring to the same value.** After [`set`](set.md) replaces the value a view refers to, that view
sees the new value; a view of a value that a later edit replaces or drops keeps showing what it last held. An edit
sees the new value; a view of a value that a later edit replaces or drops keeps showing what it last held. Such a
view can still be edited: the edit changes only that detached value, never anything reachable from `root()`. An edit
of an array or object, however, **invalidates the iterators taken over it** (its members may now live in a
different sequence), and a string obtained with [`get_string()`](../basic_json_view/get_string.md) stays valid even
as further edits happen (earlier buffers of edited text are kept alive, not overwritten).
@@ -164,7 +164,9 @@ general.
The same switch happens, for the same reason, when overload 1. replaces a multi-node array/object value with a
scalar: the *parent's* element sequence is what has to switch to links, not `target` itself, because the parent
originally stepped over `target`'s whole subtree by its node count, which no longer applies once `target` is a
one-node scalar.
one-node scalar. This also holds when `target` is no longer part of the document (an edit erased or replaced it, or
a value that contains it): if the container that `target` was in still uses its parsed layout, it switches to links
(otherwise nothing steps over `target` any more), and only the dropped values change.
## Examples
@@ -62,10 +62,9 @@ view.
!!! info "Overload 2 never throws"
Unlike [`BasicJsonType::contains(const json_pointer&)`](../basic_json/contains.md), which can throw for certain
malformed pointers (for instance an empty array-index reference token), overload 2 never throws: a missing key,
an out-of-range or malformed array index, a `#!cpp "-"` index, or a reference token used on a primitive all
simply make it return `#!cpp false`.
Like [`BasicJsonType::contains(const json_pointer&)`](../basic_json/contains.md), overload 2 never throws: a
missing key, an out-of-range or malformed array index, a `#!cpp "-"` index, or a reference token used on a
primitive all simply make it return `#!cpp false`.
## Examples
@@ -27,9 +27,10 @@ for (const auto [key, value] : v.items())
}
```
Note the `#!cpp const auto` (by value), not `#!cpp const auto&`: unlike `BasicJsonType::items()`, whose elements are
references into an existing object, a view's `item` is produced on the fly for each step of the iteration, so there
is nothing for a reference to bind to.
Taking `item` by value (`#!cpp const auto`) is recommended: unlike `BasicJsonType::items()`, whose elements are
references into an existing object, a view's `item` is produced on the fly for each step of the iteration and is
cheap to copy. A `#!cpp const auto&` (as in the first snippet) also works, as it binds to that temporary, but a
non-const `#!cpp auto&` does not compile.
## Return value
@@ -7,6 +7,10 @@ bool operator==(const basic_json_view& lhs, const basic_json_view& rhs);
// (2)
bool operator==(const basic_json_view& lhs, const BasicJsonType& rhs);
bool operator==(const BasicJsonType& lhs, const basic_json_view& rhs);
// (3)
template<view_mode M>
bool operator==(const basic_json_view& lhs, const basic_json_view<BasicJsonType, M>& rhs);
```
1. Compares two views for equality: whether the values [`BasicJsonType::parse()`](../basic_json/parse.md) would
@@ -14,8 +18,12 @@ bool operator==(const BasicJsonType& lhs, const basic_json_view& rhs);
2. Compares a view and a `BasicJsonType` value for equality, in either order: whether the value `parse()` would
produce for the view and the other operand are equal, according to `BasicJsonType`'s
[`operator==`](../basic_json/operator_eq.md).
3. Like overload 1, for two views of the same `BasicJsonType` but of different [view modes](../view_mode.md), in
either order: a view of a read-only document (such as a [`json_view`](../json_view.md)) and a view of an editable
document (such as a [`json_editable_view`](../json_editable_view.md)). This overload only takes part in overload
resolution if `M` is not the mode of `lhs`.
Neither overload builds a `BasicJsonType` value for a view to do the comparison (see [Notes](#notes) below). Numbers
No overload builds a `BasicJsonType` value for a view to do the comparison (see [Notes](#notes) below). Numbers
compare by value across their types (`#!cpp 1 == 1.0`), and an object compares by its members, with duplicate keys
resolved exactly as `parse()` resolves them — the last value, at the position of the first occurrence of the key.
This is not what [`operator[]`](operator[].md) and the other lookups return for a duplicate key: they find the *first*
@@ -7,11 +7,17 @@ bool operator!=(const basic_json_view& lhs, const basic_json_view& rhs);
// (2)
bool operator!=(const basic_json_view& lhs, const BasicJsonType& rhs);
bool operator!=(const BasicJsonType& lhs, const basic_json_view& rhs);
// (3)
template<view_mode M>
bool operator!=(const basic_json_view& lhs, const basic_json_view<BasicJsonType, M>& rhs);
```
1. Compares two views for inequality. Returns `#!cpp !(lhs == rhs)`, see [operator==](operator_eq.md).
2. Compares a view and a `BasicJsonType` value for inequality, in either order. Returns `#!cpp !(lhs == rhs)` (or,
for the reversed order, `#!cpp !(rhs == lhs)`), see [operator==](operator_eq.md).
3. Compares a read-only and an editable view of the same `BasicJsonType` for inequality, in either order. Returns
`#!cpp !(lhs == rhs)`, see [operator==](operator_eq.md).
Since `operator!=` is defined as the negation of [`operator==`](operator_eq.md), it follows the same rules for
special cases: for instance, since a [discarded](is_discarded.md) view is never equal to anything by default (see
@@ -15,6 +15,10 @@ materializing anything.
- `#!cpp static_cast<std::size_t>(-1)` for a [discarded](is_discarded.md) view, and for a string that contains
escapes — such a string was decoded once into the document's own buffer, so there is no single byte range in
`source()` left to point at.
- `#!cpp static_cast<std::size_t>(-1)` in an [editable document](../json_editable_document.md) for a value written
by an edit ([`set`](../basic_json_document/set.md), [`push_back`](../basic_json_document/push_back.md),
[`insert`](../basic_json_document/insert.md)), and for an array or object whose elements an edit added or removed.
The values an edit did not touch keep their offsets.
## Exception safety
@@ -8,8 +8,9 @@ using json_editable_document = basic_json_document<json, view_mode::editable>;
This type is an **editable** [`basic_json_document`](basic_json_document/index.md) of the default
[`json`](json.md) specialization: in addition to everything [`json_document`](json_document.md) offers,
[`set`](basic_json_document/set.md) and [`push_back`](basic_json_document/push_back.md) change values after
parsing, without ever rewriting the source text — see [Edits](basic_json_document/index.md#edits) and
[`set`](basic_json_document/set.md), [`push_back`](basic_json_document/push_back.md),
[`insert`](basic_json_document/insert.md), and [`erase`](basic_json_document/erase.md) change values after parsing,
without ever rewriting the source text — see [Edits](basic_json_document/index.md#edits) and
[Editing a document](../features/json_view/editing.md).
## Examples
+2 -1
View File
@@ -9,7 +9,8 @@ using json_editable_view = basic_json_view<json, view_mode::editable>;
This type is a [`basic_json_view`](basic_json_view/index.md) of a value of a
[`json_editable_document`](json_editable_document.md). It offers the same read-only interface as
[`json_view`](json_view.md); what is different is what it can be a view *of* — a value that
[`set`](basic_json_document/set.md) and [`push_back`](basic_json_document/push_back.md) can change, with every view
[`set`](basic_json_document/set.md), [`push_back`](basic_json_document/push_back.md),
[`insert`](basic_json_document/insert.md), and [`erase`](basic_json_document/erase.md) can change, with every view
still referring to it seeing the change, see [Edits](basic_json_document/index.md#edits).
## Examples
+2
View File
@@ -26,6 +26,8 @@ header. See also the [macro overview page](../../features/macros.md).
UBJSON, BJData, and BSON writers
- [**JSON_STRICT_NUL_HANDLING**](json_strict_nul_handling.md) - opt in to rejecting a NUL byte in the input instead of
treating it as end of input
- [**JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE**](json_ubjson_valueless_elements_per_byte.md) - set how many elements of
UBJSON arrays of `null`, `true`, or `false` an input may announce per byte it has
## Language support
+3 -5
View File
@@ -47,11 +47,9 @@ Therefore, assertions can be switched off by defining `NDEBUG`.
}
```
Output:
```
Assertion failed: (m_value.object->find(key) != m_value.object->end()), function operator[], file json.hpp, line 2144.
```
The assertion `#!cpp it != m_data.m_value.object->end()` fails in `#!cpp operator[]`.
The exact diagnostic format, source filename, and line number depend on the platform,
library version, and whether the single-header or multi-header version is used.
??? example "Example: user-defined behavior"
@@ -27,7 +27,7 @@ comparison of two [`json_view`](../basic_json_view/index.md) documents has a fix
and does not depend on it either.
The call stack that these operations need grows with the limit: roughly *a few kilobytes plus a cost per level times the
limit*, where the cost per level is up to about 2.3 KiB in an unoptimized and up to about 0.5 KiB in an optimized build
limit*, where the cost per level is up to about 1.8 KiB in an unoptimized and up to about 0.5 KiB in an optimized build
(see [Stack needed](#stack-needed)). The default of `128` levels is tuned for threads with ordinary stacks of a few
hundred kilobytes or more. Set a lower limit if your threads have small stacks (RTOS tasks, fibers, threads of the musl
C
@@ -67,7 +67,7 @@ When the macro is not defined, the library defines it to its default value.
the levels that are descended into are counted, so the count never exceeds the limit, not even when user code (a
copy constructor of a custom base class, say) copies a value while a copy is going on. A byte holds `255` at
most, and the limit stays below that, so that the count cannot wrap around. (More levels would hardly be
useful: `254` levels need up to 576 KiB of stack in an unoptimized build already, twice as much as the
useful: `254` levels need up to 448 KiB of stack in an unoptimized build already, twice as much as the
default.)
### Stack needed
@@ -83,7 +83,7 @@ Unoptimized (`-O0`):
| Operation | limit 16 | limit 32 | limit 64 | limit 128 | limit 254 |
|---|---:|---:|---:|---:|---:|
| `dump()` and `dump(indent)`, `operator<<` | 48 / 32 | 80 / 64 | 144 / 128 | 288 / 256 | 576 / 512 |
| `dump()` and `dump(indent)`, `operator<<` | 16 / 16 | 16 / 16 | 32 / 32 | 48 / 48 | 96 / 96 |
| copy construction and assignment | 32 / 16 | 48 / 32 | 112 / 80 | 224 / 144 | 432 / 304 |
| `==` | 16 / 16 | 16 / 16 | 16 / 16 | 48 / 32 | 96 / 48 |
| `<=>` (C++20) | 16 / 16 | 16 / 16 | 32 / 32 | 64 / 64 | 144 / 128 |
@@ -123,23 +123,24 @@ The rule of thumb is
> stack needed ≈ a few KiB + cost per level × limit
with a cost per level of up to 2.3 KiB (`dump` at `-O0` with Clang; 2.1 KiB with GCC), 1.7 KiB for copying and merging
(1.3 KiB with GCC), and 0.1 to 0.5 KiB for most other operations at `-O0`; and 0.5 KiB or less at `-O2`. The numbers
come from the difference between the limits `128` and `254` in the tables, so they are rough: other compilers,
other targets (the frames of x86-64 code are about as large), other standard libraries, `JSON_DIAGNOSTICS`, and
sanitizers change them. Measure with your own tool chain (see the example below) rather than relying on the tables.
The stack that your own code and the operating system need comes on top of these numbers.
with a cost per level of up to 1.8 KiB (conversion to another `basic_json` type at `-O0` with Clang; 1.3 KiB with
GCC), 1.7 KiB for copying and merging (1.3 KiB with GCC), 0.4 KiB for `dump`, and 0.1 to 0.5 KiB for most other
operations at `-O0`; and 0.5 KiB or less at `-O2`. The numbers come from the difference between the limits `128` and
`254` in the tables, so they are rough: other compilers, other targets (the frames of x86-64 code are about as large),
other standard libraries, `JSON_DIAGNOSTICS`, and sanitizers change them. Measure with your own tool chain (see the
example below) rather than relying on the tables. The stack that your own code and the operating system need comes on
top of these numbers.
Which limit to choose, for the stack that you can spare for the library (the largest limit of those measured
for which the slowest operation needs at most that much):
| Stack for the library | optimized (`-O2`) | unoptimized (`-O0`) |
|---|---:|---:|
| 32 KiB | 64 | 0 |
| 64 KiB | 128 | 16 |
| 128 KiB (the default stack of threads on musl) | 254 | 32 |
| 256 KiB | 254 | 64 |
| 512 KiB | 254 | 128 |
| 32 KiB | 64 | 16 |
| 64 KiB | 128 | 32 |
| 128 KiB (the default stack of threads on musl) | 254 | 64 |
| 256 KiB | 254 | 128 |
| 512 KiB | 254 | 254 |
| 1 MiB or more | 254 | 254 |
### Speed
@@ -0,0 +1,175 @@
# JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE
```cpp
#define JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE /* value */
```
[`from_ubjson`](../basic_json/from_ubjson.md) and [`sax_parse`](../basic_json/sax_parse.md) refuse an input in which the
optimized arrays of type `Z` (null), `T` (true), and `F` (false) together have more than 1,048,576 elements plus
`JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE` for every byte read so far, with
[`out_of_range.408`](../../home/exceptions.md#jsonexceptionout_of_range408). The macro sets that number. It is the
elements per byte that the input is allowed to announce without paying for them: an element of such an array is a
single marker that is implied by the array's `$Z#n` header, so a few bytes can announce a million values (see
[Parsing Untrusted Input](../../features/parsing/untrusted_input.md)).
The macro only matters for input that was not written by this library 3.13.0 or later:
[`to_ubjson`](../basic_json/to_ubjson.md) never writes more than the base of 1,048,576 elements in typed arrays of
these types, and a reader accepts at least that many whatever the macro is. Its main use is reading files written by
version 3.12.0 and earlier, which did not limit them (see
[below](#reading-files-written-by-version-3120-and-earlier)).
## Default definition
The default value is `4`.
```cpp
#define JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE 4
```
## Notes
!!! info "Allowed values"
The value must be a **positive integer** (a value of `0` would not allow any element beyond the base, and a negative
or fractional rate has no meaning). Any other value is a compile-time error with a message that names the macro:
```
error: static assertion failed: JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE must be a positive integer
error: static assertion failed: JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE must be an integer (not bool or a character type)
error: static assertion failed: JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE must not be wider than std::uintmax_t
```
The first is reported for `0` and negative values, the second for values such as `4.5`, `1e3`, `true`, or a
character of any character type (`'a'`, `L'a'`, `u8'a'`, ...), and the third for an integer type that is wider
than `#!cpp std::uintmax_t` (for example `unsigned __int128`). A value that is larger than the largest `#!cpp
std::size_t` is treated as that largest value, so that a project can use one spelling, for example
`0xFFFFFFFFFFFFFFFFu`, for 32-bit and 64-bit targets.
!!! info "Large values: the limit is switched off"
The limit is the base plus the rate times the bytes read. It saturates at the largest `#!cpp std::size_t` instead of
overflowing, for any rate and any input size (also with a 32-bit `#!cpp std::size_t`), so a large value never makes
the limit smaller. A rate of **at least 131,072** (`1048576 / 8`) effectively switches the limit for the whole
input off: the shortest header of an array of more than 32,767 elements takes 8 bytes (`$Z#l` and four bytes of the
count, inside an optimized array of arrays; 9 bytes, `[$Z#l`, at the top level), and a shorter header (`$Z#I` and
two bytes) can announce at most 32,767. No array can then announce more than the rate times the bytes of its own
header. With a rate of 131,071 that is not so: rows of 1,048,576 elements in 8 bytes each gain 8 elements per row,
and a table of 278,527 such rows (2.2 MB) is the shortest input that is refused.
!!! info "What the macro does not change"
- The limit of **one array** stays at 1,048,576 elements
([`out_of_range.408`](../../home/exceptions.md#jsonexceptionout_of_range408), "excessive array size"), whatever
the macro is. A value that switches the whole-input limit off does not allow a single array of 1,048,577
elements.
- The **base** of 1,048,576 elements is a fixed constant, the same as the limit of one array. An array that was
accepted on its own before the whole-input limit existed is therefore still accepted at the start of an input.
- The **writer** is not affected. [`to_ubjson`](../basic_json/to_ubjson.md) follows the base only: it writes a typed
array of `Z`, `T`, or `F` only while the arrays written so far and this one stay within 1,048,576 elements, and
writes the elements one by one otherwise. That is within the limit of every reader, because the limit is never
below the base.
- **Objects** and arrays of other types are not counted: every member of an object has a key, and every element of
another type takes at least a byte of input.
- [`from_bjdata`](../basic_json/from_bjdata.md) is not affected: BJData has no optimized arrays of these types.
!!! info "Memory"
A value takes 16 bytes in a DOM, so every element that the limit lets pass costs memory. Beyond the first 1,048,576
elements (about 33 MB: 16 bytes per element, and a vector that grows by reallocation needs the old and the new
storage at once), a malicious input of `n` bytes can take **about `20 * K * n` bytes** of memory in a DOM, where `K`
is the value of the macro. The measurements below read inputs that are at the limit, with containers of `9 * K`
elements (`[$Z#l` and a count, 9 bytes each), with `from_ubjson` on macOS, arm64, compiled with `-O2`. The numbers
on other systems differ by the allocator; the 16 bytes per element are the lower bound.
| `K` | bytes of memory per byte of input | memory for 1 MB of input |
|------:|----------------------------------:|-------------------------:|
| 1 | 25 | 25 MB |
| 4 | 81 | 81 MB |
| 16 | 312 | 312 MB |
| 64 | 1,226 | 1.2 GB |
| 256 | 5,493 | 5.5 GB |
A SAX handler receives the same number of events, and no memory beyond what it keeps. Choose the smallest value that
accepts your files, not a large one, if the input comes from an untrusted source: a value of 131,072 or more
switches the limit of the whole input off, so that every 8 bytes of input can announce another 1,048,576 values,
the limit of one array.
!!! warning "Define it before the include, in every translation unit"
This macro must be defined **before** including `<nlohmann/json.hpp>`. Defining it after the include has no effect.
The value is compiled into the member functions of the binary reader, which are inline, but it is **not**
encoded in the [namespace](../../features/namespace.md) of the library (there is no ABI tag for it). It must
have the same value in every translation unit of a program (for example by defining it on the command line or in
a common header); translation units with different values violate the One Definition Rule, which is undefined
behavior (no diagnostic is required). In practice, which value a read uses depends on which functions the compiler
inlined and which out-of-line copy of each remaining function the linker kept, so a function compiled with one
value can call a function compiled with the other, and a single parse can mix both values.
### Reading files written by version 3.12.0 and earlier
Version 3.12.0 wrote an array of `Z`, `T`, or `F` of any length in the optimized form, and a table of equal rows as an
optimized array of optimized arrays: a header of `[$[#` and the number of rows (`i` or `U` and 1 byte, `I` and 2 bytes, or
`l` and 4 bytes: `h` = 6, 7, or 9 bytes in all for up to 255, 32,767, or more rows), then for every row `$Z#` and its count:
5 bytes for up to 255 elements (`U`), 6 bytes for up to 32,767 (`I`), and 8 bytes above (`l`). Every row announces `N`
elements for the `b` bytes of its header, so the limit grows by `K * b` and the number of elements by `N` per row.
- A table is never refused if its rows have at most `K * b` elements each: at most 5 `K` for rows of up to 255
elements (20 at the default of `K = 4`), at most 6 `K` for rows of 256 to 32,767 (rows of 1,000 need `K >= 167`),
and at most 8 `K` above.
- Otherwise the first `(1,048,576 + h * K) / (N - K * b)` rows are accepted, rounded down (`h` as above; 7 for the
numbers here). For the default, a table of rows of 1,000 `null` values is read up to row 1,074 (the input of the first
example below has 1,100); for `K = 1`, up to row 1,054; for `K = 16`, up to row 1,160.
- In general, the smallest value that accepts an input is the largest of
`(the elements of the arrays so far - 1,048,576) / (the bytes read when the header of the last of them has been
read)` over all arrays, rounded up. For 1,100 rows of 1,000 elements that is
`(1,100,000 - 1,048,576) / 6,607 = 7.8`, so `K = 8`.
To read such a file, define the macro, before the include (or with `-DJSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE=8`), to
the smallest value that accepts the file, and see the table above for what that value allows an untrusted input to
cost. A file can be converted once: read it with the larger value and write it again with `to_ubjson`, which writes no
typed array that a reader with the default value would refuse, so that the result does not need the macro.
## Examples
??? example "Example: default limit"
The table of 1,100 rows of 1,000 `null` values (6,607 bytes) that version 3.12.0 wrote announces 1,100,000 values,
which is more than 1,048,576 plus 4 for every byte read.
```cpp
--8<-- "examples/ubjson_valueless_elements_per_byte.cpp"
```
Output:
```
--8<-- "examples/ubjson_valueless_elements_per_byte.output"
```
??? example "Example: raised limit"
With 16 elements per byte the same table is read. The limit of one array still applies.
```cpp
--8<-- "examples/ubjson_valueless_elements_per_byte_raised.cpp"
```
Output:
```
--8<-- "examples/ubjson_valueless_elements_per_byte_raised.output"
```
## See also
- [`from_ubjson`](../basic_json/from_ubjson.md) - create a JSON value from a UBJSON serialization
- [`to_ubjson`](../basic_json/to_ubjson.md) - create a UBJSON serialization of a JSON value
- [`sax_parse`](../basic_json/sax_parse.md) - generate SAX events
- [UBJSON](../../features/binary_formats/ubjson.md) - the format and its limits in the library
- [Parsing Untrusted Input](../../features/parsing/untrusted_input.md) - limits and checks for input you do not control
- [`out_of_range.408`](../../home/exceptions.md#jsonexceptionout_of_range408) - the exception that reports the limit
## Version history
- Added in version 3.13.0.
@@ -171,7 +171,7 @@ See the examples below for the concrete generated code.
The macro is equivalent to:
```cpp hl_lines="22 22 23 24 25 26 27 28"
```cpp hl_lines="22 23 24 25 26 27 28"
--8<-- "examples/nlohmann_define_type_intrusive_only_serialize_explicit.cpp"
```
@@ -69,7 +69,7 @@ For further information please refer to the corresponding macros without `WITH_N
The macro is equivalent to:
```cpp hl_lines="16 17 18 19 20 21 22 23 24 25 26 27 28"
```cpp hl_lines="16 17 18 19 20 21 22 23 24 25 26 27 28 29 30"
--8<-- "examples/nlohmann_define_type_non_intrusive_with_names_explicit.cpp"
```
+12 -10
View File
@@ -89,19 +89,21 @@ This differs from `#!cpp std::map`, where the same operations are O(log n).
!!! warning "Quadratic cost of building large objects"
Because every insertion scans all elements inserted so far, building an object of `n` distinct keys costs
**O(n²)** in total. This applies to filling an [`ordered_json`](ordered_json.md) object key by key as well as to
parsing one, since the parser inserts each key as it is read.
**O(n²)** in total. This applies to filling an [`ordered_json`](ordered_json.md) object key by key (with
`operator[]`, `emplace`, or `insert`) and, for now, to reading one with a binary reader such as
[`from_cbor`](basic_json/from_cbor.md) ([#6104](https://github.com/nlohmann/json/issues/6104)). Parsing JSON text
is not affected: the parser finds the keys of an object with many members in a hash table and takes linear time.
The cost is negligible for the object sizes typically found in configuration files or API payloads, but it grows
steeply for machine-generated objects with many thousands of keys. Measured with `-O2 -DNDEBUG` for parsing a flat
object of `n` keys, relative to `#!cpp nlohmann::json` (which uses `#!cpp std::map`):
steeply for machine-generated objects with many thousands of keys. Measured with Apple clang 21, `-O2 -DNDEBUG`,
arm64, for a flat object of `n` keys (best of seven runs):
| `n` | `json` | `ordered_json` | factor |
|--------|--------|----------------|--------|
| 2000 | 0.7 ms | 3.6 ms | 5× |
| 4000 | 0.8 ms | 14.0 ms | 19× |
| 8000 | 1.6 ms | 67.8 ms | 43× |
| 16 000 | 3.3 ms | 181.6 ms | 54× |
| `n` | `json::parse` | `ordered_json::parse` | `ordered_json`, key by key | `ordered_json::from_cbor` |
|--------|---------------|-----------------------|----------------------------|---------------------------|
| 2000 | 0.3 ms | 0.1 ms | 4.5 ms | 4.4 ms |
| 4000 | 0.5 ms | 0.2 ms | 17.1 ms | 16.8 ms |
| 8000 | 0.9 ms | 0.3 ms | 67.0 ms | 66.8 ms |
| 16 000 | 2.0 ms | 0.7 ms | 282.4 ms | 282.4 ms |
If key order matters for objects of that size, consider a container with a lookup index, such as
[`nlohmann::fifo_map`](https://github.com/nlohmann/fifo_map)
+2 -2
View File
@@ -50,8 +50,8 @@ flowchart LR
enabled explicitly. Invalid UTF-8 is rejected.
- **Errors are reported, not ignored.** Malformed input results in a [`parse_error`](../home/exceptions.md#parse-errors)
with the byte position of the error. Binary readers do not trust announced sizes: strings and binary values grow
only as bytes are actually read, arrays reserve at most a fixed number of elements up front, and sizes that no
container can hold are rejected.
only as bytes are actually read, arrays reserve at most a fixed number of elements up front (and all of them
together no more than the input read so far can back), and sizes that no container can hold are rejected.
- **Memory is owned by values.** Each `basic_json` value owns its content, and there is no manual memory management in
user code. The destructor recurses only over a bounded number of nesting levels and then continues without the call
stack, so destroying a deeply nested value does not exhaust the stack.
@@ -0,0 +1,34 @@
#include <cstdint>
#include <iostream>
#include <vector>
#include <nlohmann/json.hpp>
using json = nlohmann::json;
// the bytes version 3.12.0 wrote for a table of 1100 rows of 1000 null values
// with to_ubjson(table, true, true): `[$[#I` and the number of rows, then
// `$Z#I` and the number of elements for every row
std::vector<std::uint8_t> table_written_by_3_12_0()
{
std::vector<std::uint8_t> bytes = {'[', '$', '[', '#', 'I', 1100 >> 8, 1100 & 0xFF};
for (int row = 0; row < 1100; ++row)
{
bytes.insert(bytes.end(), {'$', 'Z', '#', 'I', 1000 >> 8, 1000 & 0xFF});
}
return bytes;
}
int main()
{
try
{
// 6607 bytes announce 1,100,000 values, more than 1,048,576 plus 4 for
// every byte read (the limit is exceeded in row 1075)
json table = json::from_ubjson(table_written_by_3_12_0());
std::cout << table.size() << " rows\n";
}
catch (const json::out_of_range& e)
{
std::cout << e.what() << '\n';
}
}
@@ -0,0 +1 @@
[json.exception.out_of_range.408] syntax error while parsing UBJSON size: excessive number of elements without payload
@@ -0,0 +1,42 @@
#include <cstdint>
#include <iostream>
#include <vector>
// accept 16 values per byte of input instead of 4; define the macro before the
// first inclusion of the header, and to the same value in every translation unit
#define JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE 16
#include <nlohmann/json.hpp>
using json = nlohmann::json;
// the bytes version 3.12.0 wrote for a table of 1100 rows of 1000 null values
// with to_ubjson(table, true, true): `[$[#I` and the number of rows, then
// `$Z#I` and the number of elements for every row
std::vector<std::uint8_t> table_written_by_3_12_0()
{
std::vector<std::uint8_t> bytes = {'[', '$', '[', '#', 'I', 1100 >> 8, 1100 & 0xFF};
for (int row = 0; row < 1100; ++row)
{
bytes.insert(bytes.end(), {'$', 'Z', '#', 'I', 1000 >> 8, 1000 & 0xFF});
}
return bytes;
}
int main()
{
// 6607 bytes announce 1,100,000 values, which is below 1,048,576 plus 16
// for every byte read
json table = json::from_ubjson(table_written_by_3_12_0());
std::cout << table.size() << " rows of " << table[0].size() << " values\n";
// a single container is still limited to 1,048,576 elements
const std::vector<std::uint8_t> too_long = {'[', '$', 'Z', '#', 'l', 0x00, 0x10, 0x00, 0x01};
try
{
json j = json::from_ubjson(too_long);
}
catch (const json::out_of_range& e)
{
std::cout << e.what() << '\n';
}
}
@@ -0,0 +1,2 @@
1100 rows of 1000 values
[json.exception.out_of_range.408] syntax error while parsing UBJSON size: excessive array size
+8 -20
View File
@@ -18,6 +18,10 @@ before including the `json.hpp` header.
## Function with runtime assertions
The examples below identify the failing assertion and the function containing it.
The exact diagnostic format, source filename, and line number depend on the platform,
library version, and whether the single-header or multi-header version is used.
### Unchecked access to a const value
Function [`operator[]`](../api/basic_json/operator%5B%5D.md) implements unchecked access for arrays and objects. Whereas
@@ -46,11 +50,7 @@ See also the documentation on [element access](element_access/index.md).
}
```
Output:
```
Assertion failed: (it != m_data.m_value.object->end()), function operator[], file json.hpp, line 28795.
```
The assertion `#!cpp it != m_data.m_value.object->end()` fails in `#!cpp operator[]`.
??? example "Example 2: Invalid array index in a JSON pointer"
@@ -69,11 +69,7 @@ See also the documentation on [element access](element_access/index.md).
}
```
Output:
```
Assertion failed: (idx < m_data.m_value.array->size()), function operator[], file json.hpp, line 28758.
```
The assertion `#!cpp idx < ptr->m_data.m_value.array->size()` fails in `#!cpp get_unchecked`.
### Constructing from an uninitialized iterator range
@@ -96,11 +92,7 @@ uninitialized iterator is undefined behavior and yields a runtime assertion.
}
```
Output:
```
Assertion failed: (m_object != nullptr), function operator++, file iter_impl.hpp, line 368.
```
The assertion `#!cpp first.m_object != nullptr` fails in `#!cpp basic_json`.
### Operations on uninitialized iterators
@@ -123,11 +115,7 @@ behavior and yields a runtime assertion.
}
```
Output:
```
Assertion failed: (m_object != nullptr), function operator++, file iter_impl.hpp, line 368.
```
The assertion `#!cpp m_object != nullptr` fails in `#!cpp operator++`.
## Changes
@@ -181,7 +181,10 @@ of the message are reported as [parse_error.110](../../home/exceptions.md#jsonex
arrays and objects with up to four elements that are terminated by 0xFE, unsorted object keys, or a 0xFF after a
string that would also end without it, are accepted. A second 0xFF is not a terminator but an empty string.
Strings must be valid UTF-8, and a string at the very end of a message must be terminated by 0xFF.
Strings must be valid UTF-8, and a string at the very end of a message must be terminated by 0xFF. This also
holds when `strict` is false and more data follows the value: the byte that would end the string belongs to the
next value, and reading it would remove it from the input, so the missing 0xFF is reported as
[parse_error.110](../../home/exceptions.md#jsonexceptionparse_error110).
Duplicate object keys are accepted; the last value wins (`ordered_json` keeps the position of the first occurrence).
The specification does not say how to treat them; the HikoGUI reference decoder keeps the first value.
@@ -119,12 +119,31 @@ The library uses the following mapping from JSON values types to UBJSON types ac
receiving side is immediately informed on the number of elements of the container.
An array whose type marker is `Z` (null), `T` (true) or `F` (false) stores no payload at all, because the marker
already is the value. Its declared count is therefore the only thing that decides how much memory the receiving side
allocates, and a handful of bytes can describe billions of elements. `from_ubjson` rejects such an array with
already is the value. Its declared count is therefore the only thing that decides how much memory the receiving
side allocates, and a handful of bytes can describe billions of elements. `from_ubjson` rejects such an array with
[`out_of_range.408`](../../home/exceptions.md#jsonexceptionout_of_range408) when the count exceeds 1,048,576
(`1 << 20`), and `to_ubjson` writes longer arrays of these types in the counted but untyped form: the `$` type marker is
dropped, the `#` count is kept, and every element is written with its own marker (`[#l 1048577 Z Z ...`), so any value
it produces can be read back. Objects and untyped counted arrays are not subject to this limit.
(`1 << 20`), or when the counts of all such arrays in the input add up to more than 1,048,576 plus _K_ for every byte
read so far, where _K_ is the value of the macro
[`JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE`](../../api/macros/json_ubjson_valueless_elements_per_byte.md) (4 by
default). `to_ubjson` therefore writes an array of these types in the counted but untyped form when it is longer
than that, or when it would bring the total of the typed arrays written so far above 1,048,576: the `$` type
marker is dropped, the `#` count is kept, and every element is written with its own marker
(`[#l 1048577 Z Z ...`), so everything it produces can be read back. Only input from another encoder, or written by version 3.12.0
and earlier of this library, can exceed the limit: for example, 1,100 rows of 1,000 `null` values or 210,000 rows
of 25, each with a `$Z` annotation. Version 3.12.0 writes a row in 5 bytes (6 above 255 elements, 8 above 32,767),
which raises the limit by 5 _K_ (6 _K_, 8 _K_), so rows of up to 5 _K_ values (20 at the default) are never
rejected. To read such a file, define the macro to a larger value (`8` is enough for the 1,100 rows of 1,000
`null` values; memory for the arrays then rises to about 20 _K_ bytes per byte of input in a DOM); the macro's
page explains how to choose a value and what it costs. The limit of one array of 1,048,576 elements does not
depend on the macro. Objects and untyped counted arrays are not subject to this limit.
An optimized array of type `N` (no-op) is empty whatever its count is, because a no-op is not a value. Its count is
not passed on: `sax_parse` reports `start_array(0)` (versions before 3.13.0 reported the declared count), and the DOM
parser reserves nothing for it.
An optimized array of type `N` (no-op) is empty whatever its count is, because a no-op is not a value. Its count is
not passed on: `sax_parse` reports `start_array(0)` (versions before 3.13.0 reported the declared count), and the DOM
parser reserves nothing for it.
!!! info "Binary values"
@@ -180,10 +199,13 @@ The library maps UBJSON types to JSON value types as follows:
Every well-formed UBJSON value can be converted to a JSON value, with these exceptions: a high-precision number
outside the range of `number_float_t` ([`out_of_range.406`](../../home/exceptions.md#jsonexceptionout_of_range406)),
an optimized array of `Z`, `T`, or `F` with more than 1,048,576 elements, and a count that exceeds the capacity of the
container ([`out_of_range.408`](../../home/exceptions.md#jsonexceptionout_of_range408)). High-precision numbers that
do not fit an integer type are stored as floating-point numbers and may lose precision. Ill-formed input is rejected
with a parse error.
optimized arrays of `Z`, `T`, or `F` with more elements than the limit allows (1,048,576 plus
[`JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE`](../../api/macros/json_ubjson_valueless_elements_per_byte.md), 4 by default,
per byte read),
and a count that exceeds the capacity of the container
([`out_of_range.408`](../../home/exceptions.md#jsonexceptionout_of_range408)). High-precision numbers that do not
fit an integer type are stored as floating-point numbers and may lose precision. Ill-formed input is rejected with a
parse error.
!!! info "Duplicate object keys"
+10
View File
@@ -261,6 +261,16 @@ This macro overrides `#!cpp try` calls inside the library.
See [full documentation of `JSON_TRY_USER`](../api/macros/json_throw_user.md).
## `JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE`
Sets how many elements of optimized UBJSON arrays of `Z` (null), `T` (true), and `F` (false) a reader accepts for
every byte of input it has read, on top of a base of 1,048,576 elements. These arrays have no payload, so a few bytes
can announce a million values. The value must be a positive integer; the default is `4`, and a value of 131,072 or
more switches the limit of the whole input off. The limit of 1,048,576 elements for a single array always applies. The
macro is not part of the [ABI tag](namespace.md): use the same value in every translation unit.
See [full documentation of `JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE`](../api/macros/json_ubjson_valueless_elements_per_byte.md).
## `JSON_USE_IMPLICIT_CONVERSIONS`
When defined to `0`, implicit conversions are switched off. By default, implicit conversions are switched on.
+14 -2
View File
@@ -9,7 +9,19 @@ Importing the module instead of including the header reduces the compile time of
## Requirements
The `nlohmann.json` module requires that the build system is configured to build and resolve modules when imported. Obviously, as modules were introduced in C++20, this feature can only be used in C++20 and subsequent versions.
To enable building the `nlohmann.json` module (which is not done by default), the macro `NLOHMANN_JSON_BUILD_MODULES` must be passed to the build system.
To enable building the `nlohmann.json` module (which is not done by default), set the CMake option
[`NLOHMANN_JSON_BUILD_MODULES`](../integration/cmake.md#nlohmann_json_build_modules) and link the
`nlohmann_json_modules` target.
With CMake, building the module needs:
- CMake 3.28 or newer, and
- a generator that scans for modules: Ninja (1.11 or newer), Ninja Multi-Config, or Visual Studio 2022 or newer.
The example below also uses `import std;`. CMake supports it without experimental opt-in since version 4.5, and then
only with the Ninja generators and these toolchains: Clang 18.1.2 or newer (with libc++ or libstdc++), MSVC toolset 14.36
(Visual Studio 17.6) or newer, and GCC 15 or newer (GCC 16 on macOS). With older CMake versions, `import std;` needs
CMake's version-specific experimental opt-in.
## Example
When using modules rather than headers, the previous example for creating a `json` object through a JSON file, would instead be:
@@ -67,7 +79,7 @@ and should not be used directly:
## Known issues
C++20 modules support is exercised in CI against current GCC and Clang on Ubuntu, and the default MSVC toolset on Windows Server 2022 — there is no documented minimum compiler version, unlike feature-test-macro-gated features such as [`JSON_HAS_RANGES`](../api/macros/json_has_ranges.md).
C++20 modules support is exercised in CI with CMake 4.5 and `import std;` against current GCC and Clang on Ubuntu, and the default MSVC toolset on Windows Server 2022 — there is no documented minimum compiler version, unlike feature-test-macro-gated features such as [`JSON_HAS_RANGES`](../api/macros/json_has_ranges.md).
!!! info "Known compiler issues"
@@ -64,13 +64,13 @@ stack for the nesting.)
The call stack still needs room for the levels that are recursed into, and the default limit assumes a stack of ordinary
size. The stack that an operation needs is roughly proportional to the limit; with the default of 128 levels, the most
demanding operation (`dump` in an unoptimized build) needed up to 288 KiB, and an optimized build needed 48 KiB or less,
in measurements on macOS with arm64. The most demanding operation needed this much stack at the limits `0`, `32`,
`128`, and `254`:
demanding operations (copying a value and converting it to another `basic_json` type, in an unoptimized build) needed
up to 224 KiB, and an optimized build needed 48 KiB or less, in measurements on macOS with arm64. The most demanding
operation needed this much stack at the limits `0`, `32`, `128`, and `254`:
| Stack needed, in KiB | limit 0 | limit 32 | limit 128 (default) | limit 254 |
|---|---:|---:|---:|---:|
| unoptimized build (`-O0`) | 16 or less | 80 | 288 | 576 |
| unoptimized build (`-O0`) | 16 or less | 64 | 224 | 448 |
| optimized build (`-O2`) | 16 or less | 16 or less | 48 | 112 |
A thread with a smaller stack (a task of a real-time operating system, a fiber, or a thread of the musl C library, whose
@@ -81,6 +81,20 @@ result. See the [documentation of the macro](../../api/macros/json_recursion_dep
the speed, and the rules for choosing a value. Destroying a value (its destructor) recurses over the same number of
levels and then continues without the call stack, and needs 32 KiB or less at every limit.
!!! warning "Indented output and flattened keys grow with the depth"
Some results are larger than the value by a factor of its nesting depth.
[`dump`](../../api/basic_json/dump.md) with an `indent` of `n` (and likewise `operator<<` with `std::setw(n)` and
[`basic_json_view::dump`](../../api/basic_json_view/dump.md)) writes up to `n` characters per nesting level in
front of every line, and [`flatten`](../../api/basic_json/flatten.md) repeats the path of every value in its key.
For the 80,001-byte array `[1,[1,...[1,1]...]]` with 20,000 levels, `dump(1)` returns 600 MB, `dump(4)` 2.4 GB,
and the keys of `flatten()` hold 400 MB. A compact `dump()` without indentation stays the size of the value. If you
pretty-print, log, or flatten untrusted input, limit its nesting depth while parsing, for example with a
[parser callback](parser_callbacks.md#recipe-max-nesting-depth-via-a-callback): with a limit of `d`, every line has
at most `n * d` indentation characters, and every flattened key has at most `d` reference tokens.
[`JSON_RECURSION_DEPTH_LIMIT`](../../api/macros/json_recursion_depth_limit.md) does not help here: it changes only
how much of the call stack a walk uses, never its result, and it does not limit the depth that `parse()` accepts.
## Input size
The library does not limit the overall size of a JSON text; a value nested or wide enough will use memory
@@ -93,11 +107,39 @@ For the binary formats, an announced size is never trusted outright:
actually consumed, rather than allocating the announced length up front — a truncated input runs out of bytes
(reported as a parse error) instead of triggering an oversized allocation.
- When an array announces its number of elements and the array container supports `reserve()` (as `#!cpp std::vector`,
the default, does), the library reserves storage for at most 16384 of them upfront, regardless of how large the
announced count is; further elements still grow the container normally as they are read.
the default, does), the DOM parser reserves storage for them before the elements are read, but for at most 16384
elements per array, regardless of how large the announced count is; further elements still grow the container
normally as they are read. The arrays that are open at the same time hold their storage at the same time, and an
announcement is not backed by input when it is read, so the elements reserved for all arrays of one input together
may not exceed 65,536 plus 2 for every byte of input read so far; an array that announces more gets what is left
of that and grows as its elements arrive. An element takes at least one byte of input (except in the
[UBJSON](../binary_formats/ubjson.md) arrays of type `Z`, `T` or `F` described below), so the elements of the
arrays that were read use up what was reserved for them, and only arrays that are nested deeply, with an array as
their first element, can announce more than is left. For a truncated or hostile input, the storage that
announcements can hold is therefore at most (65,536 + 2 per byte of input) values, that is about 1 MiB plus 32 bytes
per byte of input with 16-byte values (a value is larger with `JSON_DIAGNOSTICS` or `JSON_DIAGNOSTIC_POSITIONS`, 24 to
40 bytes, and so is the bound). For example, 100,000 nested CBOR array headers `99 40 00` (300,000 bytes) that
announce 16384 elements each peaked at 23 MiB, against 1.65 GiB if every array reserved what it announced and 12 MiB
with version 3.12.0, which reserved nothing.
A [SAX](../../api/json_sax/index.md) handler is not affected: it is told the announced number of elements.
- An announced array or object size that exceeds what the target container could ever hold (its `max_size()`) is
rejected immediately as [`out_of_range.408`](../../home/exceptions.md#jsonexceptionout_of_range408), without
attempting to allocate anything.
- A UBJSON array of the no-op type (`[$N#<n>`) is empty whatever count it declares: a SAX handler is told
`start_array(0)` and the DOM parser reserves nothing.
- A UBJSON array of type `Z`, `T` or `F` has no payload, so its announced count is not bounded by the input. One array
may announce at most 1,048,576 elements, and all such arrays of one input together may contain at most 1,048,576
elements plus _K_ for every byte read so far (checked when each array's header has been read), where _K_ is the
value of the macro
[`JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE`](../../api/macros/json_ubjson_valueless_elements_per_byte.md), 4 by
default; beyond that the input is rejected as
[`out_of_range.408`](../../home/exceptions.md#jsonexceptionout_of_range408). For a DOM that bounds the memory these
arrays can need to about 20 _K_ bytes per byte of input (81 at the default, measured; 312 for _K_ = 16) plus about
33 MB for the first 1,048,576 elements; a SAX handler receives at most that many events. Every other optimized array
element, and every UBJSON object member (it has a key), takes at least one byte of input. Leave the macro at the
default for input you do not control; raise it only to read trusted files that version 3.12.0 or earlier wrote with
long arrays of these types, and see its page for how a value is chosen and what it costs. The limit of one array
does not depend on the macro.
## Strings
@@ -140,6 +182,20 @@ values for a repeated key ends up in the parsed object. If your application must
silently resolving them one way or another, see the
[parser callback recipe for rejecting duplicate keys](parser_callbacks.md#recipe-rejecting-duplicate-object-keys).
## Objects with many keys in `ordered_json`
[`ordered_json`](../../api/ordered_json.md) keeps the members of an object in a vector in insertion order
([`ordered_map`](../../api/ordered_map.md)) and finds a key by searching all members. Parsing JSON text into an
`ordered_json` avoids that search for objects with many keys and takes linear time. The binary readers
([`from_cbor`](../../api/basic_json/from_cbor.md), [`from_msgpack`](../../api/basic_json/from_msgpack.md),
[`from_ubjson`](../../api/basic_json/from_ubjson.md), [`from_bjdata`](../../api/basic_json/from_bjdata.md),
[`from_bson`](../../api/basic_json/from_bson.md), and [`from_bon8`](../../api/basic_json/from_bon8.md)) do not yet:
reading an object of `n` keys into an `ordered_json` costs time proportional to `n²`. A flat object of 40,000 keys
(about 300 KB of CBOR) takes about 1.3 s, against a few milliseconds as JSON text or into a `json`
([#6104](https://github.com/nlohmann/json/issues/6104)). `json` is not affected. If you read untrusted binary input
into `ordered_json`, bound the input size more tightly, read it into a `json`, or reject objects with many keys in a
[SAX handler](sax_interface.md).
## Numbers
A number whose value cannot be represented — for instance `1E1000`, which overflows `double` — is rejected while
@@ -171,9 +227,11 @@ indices (or the pointer as a whole) before using them, or use [`at`](../../api/b
- Wrap parsing in a `#!cpp try`/`#!cpp catch` block, or use `allow_exceptions=false`/`accept()` if your environment
cannot use exceptions; never let `JSON_NOEXCEPTION`'s `abort()` be the first time you think about error handling.
- If the input's nesting depth matters to you, enforce your own limit with a
[parser callback](parser_callbacks.md#recipe-max-nesting-depth-via-a-callback) or a
- If the input's nesting depth matters to you (for example because you pretty-print, log, or flatten it), enforce your
own limit with a [parser callback](parser_callbacks.md#recipe-max-nesting-depth-via-a-callback) or a
[SAX handler](sax_interface.md); the library bounds the call stack but not memory use.
- If you read untrusted binary input into `ordered_json`, mind that objects with many keys are
[slow to read](#objects-with-many-keys-in-ordered_json).
- Bound the size of the input itself before parsing, independent of the library's own bounded allocations for binary
format lengths.
- Decide up front how you want a string with invalid UTF-8 — from any source, not only parsing — to be serialized
+1 -1
View File
@@ -98,7 +98,7 @@ serialization fails by default. The fourth argument of `dump` selects an
## Using `std::format`, `std::print`, and `fmt`
Since version 3.12.0, JSON values can be formatted directly with C++20's
Since version 3.13.0, JSON values can be formatted directly with C++20's
[`std::format`](https://en.cppreference.com/w/cpp/utility/format/format) whenever the standard library provides the
`<format>` header (controlled by [`JSON_HAS_STD_FORMAT`](../api/macros/json_has_std_format.md)). This is enabled by the
[`std::formatter<basic_json>`](../api/basic_json/std_formatter.md) specialization, which also makes JSON values work with
+2 -2
View File
@@ -1,7 +1,7 @@
# Recipes for Common Types
The library converts the standard containers, strings, numbers, tuples, `std::optional`, and `std::filesystem::path`
(the last two since version 3.12.0, C++17) out of the box, and your own types once you write conversion functions or use
The library converts the standard containers, strings, numbers, tuples, `std::optional` (since version 3.12.0), and
`std::filesystem::path` (since version 3.10.5), the last two with C++17, out of the box, and your own types once you write conversion functions or use
the macros (see [Arbitrary type conversions](arbitrary_types.md)). It deliberately does **not** convert smart pointers,
`std::variant`, `std::chrono` types, or class hierarchies, because there is more than one reasonable JSON
representation for each of them. This page shows a representation for each that you can copy and adapt.
File diff suppressed because it is too large. Load diff
+6 -6
View File
@@ -80,7 +80,7 @@ the result of an internet search. If you know further customers of the library,
- [**Audinate**](https://www.audinate.com/legal/software-licensing/dante-av-h-open-source-licenses/), a provider of networked audio solutions specializing in Dante technology, which facilitates high-quality digital audio transport over IP networks
- [**Canon CanoScan LIDE**](https://carolburo.com/wp-content/uploads/2024/06/LiDE400_OnlineManual_Win_FR_V02.pdf), a series of flatbed scanners offering high-resolution image scanning for home and office use
- [**Canon PIXMA Printers**](https://www.mediaexpert.pl/products/files/73/7338196/Instrukcja-obslugi-CANON-Pixma-TS7450i.pdf), a line of all-in-one inkjet printers known for high-quality printing and wireless connectivity
- [**Cisco Webex Desk Camera**](https://www.cisco.com/c/dam/en_us/about/doing_business/open_source/docs/CiscoWebexDeskCamera-23-1622100417.pdf), a video camera designed for professional-quality video conferencing and remote collaboration
- [**Cisco Webex Desk Camera**](https://www.cisco.com/c/en/us/products/collaboration-endpoints/webex-desk-camera/index.html), a video camera designed for professional-quality video conferencing and remote collaboration
- [**DJI Edge SDK**](https://github.com/dji-sdk/Edge-SDK-V2-Demo), the reference applications for DJI's Edge SDK, used to build edge computing services on DJI drone docks
- [**Elgato Stream Deck**](https://github.com/elgatosf/streamdeck-obs-plugin2), a family of programmable control surfaces for content creators and their plugin ecosystem
- [**Instagrid**](https://instagrid.co/intellectual-property/foss), a manufacturer of portable, high-performance battery systems for professional mobile power supply
@@ -102,7 +102,7 @@ the result of an internet search. If you know further customers of the library,
- [**Apple iOS and macOS**](https://www.apple.com/macos), a family of operating systems developed by Apple, including iOS for mobile devices and macOS for desktop computers
- [**Chromium**](https://chromium.googlesource.com/chromium/src/+/main/third_party/nlohmann_json/), the open-source browser project that Google Chrome, Microsoft Edge, and many other browsers are built on, where the library is used as data container for on-device model execution
- [**Google Fuchsia**](https://fuchsia.googlesource.com/third_party/json/), an open-source operating system developed by Google, designed to be secure, updatable, and adaptable across various devices
- [**Google Fuchsia**](https://fuchsia.googlesource.com/fuchsia/+/refs/heads/main/scripts/prebuilts/swiftshader/build_config), an open-source operating system developed by Google, designed to be secure, updatable, and adaptable across various devices, where the library is used indirectly through bundled dependencies such as SwiftShader's debugger support and cppdap
- [**LG webOS**](https://github.com/webosose/com.webos.service.camera), a Linux-based operating system used in LG smart TVs, signage, and embedded devices
- [**Microsoft Azure Linux**](https://github.com/microsoft/azurelinux), a Linux distribution developed by Microsoft for Azure infrastructure and edge workloads
- [**OpenHarmony**](https://github.com/openharmony/third_party_json), an open-source operating system for smart devices and the foundation of HarmonyOS
@@ -174,7 +174,7 @@ the result of an internet search. If you know further customers of the library,
- [**NVIDIA Instant NGP**](https://github.com/NVlabs/instant-ngp/blob/master/src/nerf_loader.cu), an implementation of instant neural graphics primitives for rapid scene reconstruction
- [**NVIDIA TensorRT**](https://github.com/NVIDIA/TensorRT), an SDK for high-performance deep learning inference, including its TensorRT-LLM extension for large language models
- [**NVIDIA TensorRT-LLM**](https://github.com/NVIDIA/TensorRT-LLM/blob/main/cpp/tensorrt_llm/common/safetensors.cpp), a toolkit for optimizing and serving large language model inference on GPUs
- [**ONNX Runtime**](https://github.com/microsoft/onnxruntime), a cross-platform inference and training accelerator for machine learning models
- [**ONNX Runtime**](https://onnxruntime.ai), a cross-platform inference and training accelerator for machine learning models
- [**OpenVINO**](https://github.com/openvinotoolkit/openvino), Intel's toolkit for optimizing and deploying deep learning inference across CPUs, GPUs, and NPUs
- [**PaddleOCR**](https://github.com/PaddlePaddle/PaddleOCR/blob/main/deploy/cpp_infer/src/modules/text_detection/result.cc), an optical character recognition toolkit that turns documents and images into structured data
- [**PaddlePaddle**](https://github.com/PaddlePaddle/Paddle/blob/develop/paddle/ap/src/axpr/anf_expr.cc), a deep learning framework for distributed training and inference
@@ -216,7 +216,7 @@ the result of an internet search. If you know further customers of the library,
- [**Check Point**](https://www.checkpoint.com/about-us/copyright-and-trademarks/), a cybersecurity company specializing in threat prevention and network security solutions, offering a range of products designed to protect enterprises from cyber threats and ensure data integrity
- [**EasyEffects**](https://github.com/wwmm/easyeffects/blob/master/src/presets_manager.hpp), an audio effects processor for PipeWire offering limiting, compression and equalization
- [**espanso**](https://github.com/espanso/espanso/blob/dev/espanso-ui/src/win32/native.cpp), a cross-platform text expander
- [**Karabiner-Elements**](https://github.com/pqrs-org/Karabiner-Elements/blob/main/src/share/app_icon.hpp), a keyboard customizer for macOS
- [**Karabiner-Elements**](https://github.com/pqrs-org/Karabiner-Elements/blob/main/src/share/json_utility.hpp), a keyboard customizer for macOS
- [**MacType**](https://github.com/snowie2000/mactype/blob/directwrite/settings.h), a font rendering engine for Windows
- [**magicplan**](https://help.magicplan.app/acknowledgments), a mobile application for creating floor plans and interior designs using augmented reality
- [**Microsoft Office for Mac**](https://officecdnmac.microsoft.com/pr/legal/mac/OfficeforMacAttributions.html), a suite of productivity applications developed by Microsoft for macOS, including tools for word processing, spreadsheets, and presentations
@@ -280,8 +280,8 @@ the result of an internet search. If you know further customers of the library,
- [**Bitdefender Home Scanner**](https://www.bitdefender.com/site/Main/view/home-scanner-open-source.html), a tool from Bitdefender that scans devices for malware and security threats, providing a safeguard against potential online dangers
- [**Cisco MLS++**](https://github.com/cisco/mlspp), an implementation of the Messaging Layer Security protocol for end-to-end encrypted group messaging
- [**Citrix Provisioning**](https://docs.citrix.com/en-us/provisioning/2203-ltsr/downloads/pvs-third-party-notices-2203.pdf), a solution that streamlines the delivery of virtual desktops and applications by allowing administrators to manage and provision resources efficiently across multiple environments
- [**Citrix Virtual Apps and Desktops**](https://docs.citrix.com/en-us/citrix-virtual-apps-desktops/2305/downloads/third-party-notices-apps-and-desktops.pdf), a solution from Citrix that delivers virtual apps and desktops
- [**CyberArk**](https://docs.cyberark.com/Downloads/Legal/Privileged%20Session%20Manager%20for%20SSH%20Third-Party%20Notices.pdf), a security solution that specializes in privileged access management, enabling organizations to control and monitor access to critical systems and data, thereby enhancing overall cybersecurity posture
- [**Citrix Virtual Apps and Desktops**](https://docs.citrix.com/en-us/citrix-virtual-apps-desktops/), a solution from Citrix that delivers virtual apps and desktops
- [**CyberArk**](https://www.cyberark.com), a security solution that specializes in privileged access management, enabling organizations to control and monitor access to critical systems and data, thereby enhancing overall cybersecurity posture
- [**Deutsche Telekom sysrepo-plugins**](https://github.com/telekom/sysrepo-plugins), a collection of YANG datastore plugins used to manage network devices
- [**Egnyte Desktop**](https://helpdesk.egnyte.com/hc/en-us/articles/360007071732-Third-Party-Software-Acknowledgements), a secure cloud storage solution designed for businesses, enabling file sharing, collaboration, and data management across teams while ensuring compliance and data protection
- [**Elster**](https://www.secunet.com/en/about-us/press/article/elstersecure-bietet-komfortablen-login-ohne-passwort-dank-secunet-protect4use), a digital platform developed by German tax authorities for secure and efficient electronic tax filing and management using secunet protect4use
+26 -9
View File
@@ -140,6 +140,8 @@ Exceptions have ids 1xx.
This error indicates a syntax error while deserializing a JSON text. The error message describes that an unexpected token (character) was encountered, and the member `byte` indicates the error position.
The message ends with the last read token (`last read: '...'`), with control characters written as `<U+XXXX>`. A token of more than 8192 bytes is shown by its first and its last 4096 bytes, separated by `...`; each part is shortened by up to three bytes so that it does not end or begin within a UTF-8 character.
!!! failure "Example message"
Input ended prematurely:
@@ -985,7 +987,9 @@ contains other characters (e.g., `1a`), or `-` where it cannot be used.
The JSON Patch operations 'remove' and 'move' cannot be applied to the root element of the JSON value. The exception is
also thrown when the parent or a reference token of an empty JSON Pointer is requested, for instance by
[`back`](../api/json_pointer/back.md) or [`pop_back`](../api/json_pointer/pop_back.md).
[`front`](../api/json_pointer/front.md), [`back`](../api/json_pointer/back.md),
[`pop_front`](../api/json_pointer/pop_front.md), or [`pop_back`](../api/json_pointer/pop_back.md), and when
[`basic_json_document::erase`](../api/basic_json_document/erase.md) is called with an empty JSON Pointer.
!!! failure "Example message"
@@ -1050,11 +1054,21 @@ The size of an array or object in a [binary format](../features/binary_formats/i
the size following `#` for [UBJSON](../features/binary_formats/ubjson.md)/[BJData](../features/binary_formats/bjdata.md),
or the encoded length for [CBOR](../features/binary_formats/cbor.md).
The exception is also thrown for a [UBJSON](../features/binary_formats/ubjson.md) array of a type that is encoded by its
marker alone (`Z`, `T` or `F`) whose declared count exceeds 1,048,576 (`1 << 20`). Such an array has no payload, so its
count alone decides how much memory is allocated, and a handful of bytes would otherwise describe billions of values.
[`to_ubjson`](../api/basic_json/to_ubjson.md) writes longer arrays of these types without the `$` type annotation (the `#`
count and one marker per element are kept), so any value it produces can still be read back.
The exception is also thrown for [UBJSON](../features/binary_formats/ubjson.md) arrays of a type that is encoded by
its marker alone (`Z`, `T` or `F`). Such an array has no payload, so its count alone decides how much memory is
allocated, and a handful of bytes would otherwise describe billions of values. It is thrown if the declared count of one
array exceeds 1,048,576 (`1 << 20`), and if the counts of all such arrays read so far in one input add up to more than
1,048,576 plus 4 for every byte of the input read when the header of the last array has been read. The 4 is the
default of the macro
[`JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE`](../api/macros/json_ubjson_valueless_elements_per_byte.md), which raises it
(for the limit of the whole input; the limit of one array stays).
[`to_ubjson`](../api/basic_json/to_ubjson.md) writes an array of these types without the `$` type annotation (the `#`
count and one marker per element are kept) when it is longer, or when it would bring the total of the typed arrays
written so far above 1,048,576, so everything it produces can be read back. Only input written by another encoder, or
by version 3.12.0 and earlier of this library, can exceed the limit: for example, 1,100 rows of 1,000 `null` values or
210,000 rows of 25, each with a `$Z` annotation. Version 3.12.0 writes such a row in 5 bytes (6 above 255 elements, 8
above 32,767), so rows of 20 or fewer such values are never rejected at the default; define the macro to a larger value
to read them.
!!! failure "Example messages"
@@ -1070,6 +1084,9 @@ count and one marker per element are kept), so any value it produces can still b
```
[json.exception.out_of_range.408] syntax error while parsing UBJSON size: excessive array size
```
```
[json.exception.out_of_range.408] syntax error while parsing UBJSON size: excessive number of elements without payload
```
### json.exception.out_of_range.409
@@ -1248,9 +1265,9 @@ A JSON Patch operation 'test' failed. The unsuccessful operation is also printed
### json.exception.other_error.502
[`to_ubjson`](../api/basic_json/to_ubjson.md) and [`to_bjdata`](../api/basic_json/to_bjdata.md) were called with
`use_type = true` but `use_size = false`, and the value contains a non-empty array or object (or, with BJData Draft 3,
any binary value). UBJSON requires a size marker (`#`) after a type marker (`$`); scalars and empty arrays or objects
do not throw.
`use_type = true` but `use_size = false`, and the value contains a non-empty array, object, or binary value (with
BJData Draft 3, any binary value, including an empty one). UBJSON requires a size marker (`#`) after a type marker
(`$`); scalars and empty arrays or objects do not throw.
!!! failure "Example message"
+3 -1
View File
@@ -7,7 +7,9 @@ These changes are part of the `develop` branch, but not of a release yet.
2.3 ms). Two consequences: the source container is left in a valid but unspecified (moved-from) state, and if an
exception is thrown during the conversion, the source may be partially moved-from, so the strong exception guarantee
no longer holds for the source of an rvalue conversion (the JSON value itself is unaffected). Lvalues and `const`
objects are still copied. See [`basic_json`](../../api/basic_json/basic_json.md).
objects are still copied, and so are non-owning ranges such as spans (a range whose elements stay mutable through a
`const` range): converting an rvalue span leaves the referenced elements unchanged.
See [`basic_json`](../../api/basic_json/basic_json.md).
- In C++20 (library support for `char8_t`, `__cpp_lib_char8_t`), a `#!cpp std::u8string` is a JSON **string**:
`json j = std::u8string(u8"abc");` stores `"abc"`, and `#!cpp j.get<std::u8string>()` reads it back. Version 3.12.0
stored a `#!cpp std::u8string` as an array of code units (`[97,98,99]`); on the 3.13.0 development branch it was
@@ -0,0 +1,187 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="535"
height="535"
viewBox="0 0 501.56251 501.56249"
id="svg2"
version="1.1"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
sodipodi:docname="nix-snowflake-colours.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs4">
<linearGradient
inkscape:collect="always"
id="linearGradient5562">
<stop
style="stop-color:#699ad7;stop-opacity:1"
offset="0"
id="stop5564" />
<stop
id="stop5566"
offset="0.24345198"
style="stop-color:#7eb1dd;stop-opacity:1" />
<stop
style="stop-color:#7ebae4;stop-opacity:1"
offset="1"
id="stop5568" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient5053">
<stop
style="stop-color:#415e9a;stop-opacity:1"
offset="0"
id="stop5055" />
<stop
id="stop5057"
offset="0.23168644"
style="stop-color:#4a6baf;stop-opacity:1" />
<stop
style="stop-color:#5277c3;stop-opacity:1"
offset="1"
id="stop5059" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient5562"
id="linearGradient4328"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(70.650339,-1055.1511)"
x1="200.59668"
y1="351.41116"
x2="290.08701"
y2="506.18814" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient5053"
id="linearGradient4330"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(864.69589,-1491.3405)"
x1="-584.19934"
y1="782.33563"
x2="-496.29703"
y2="937.71399" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.70904368"
inkscape:cx="99.429699"
inkscape:cy="195.33352"
inkscape:document-units="px"
inkscape:current-layer="layer3"
showgrid="false"
inkscape:window-width="1920"
inkscape:window-height="1050"
inkscape:window-x="1920"
inkscape:window-y="30"
inkscape:window-maximized="1"
inkscape:snap-global="true"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:showpageshadow="2"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:groupmode="layer"
id="layer3"
inkscape:label="gradient-logo"
style="display:inline;opacity:1"
transform="translate(-156.41121,933.30685)">
<g
id="g2"
transform="matrix(0.99994059,0,0,0.99994059,-0.06321798,33.188377)"
style="stroke-width:1.00006">
<path
sodipodi:nodetypes="cccccccccc"
inkscape:connector-curvature="0"
id="path3336-6"
d="m 309.54892,-710.38827 122.19683,211.67512 -56.15706,0.5268 -32.6236,-56.8692 -32.85645,56.5653 -27.90237,-0.011 -14.29086,-24.6896 46.81047,-80.4901 -33.22946,-57.8257 z"
style="opacity:1;fill:url(#linearGradient4328);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.00018;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<use
height="100%"
width="100%"
transform="rotate(60,407.11155,-715.78724)"
id="use3439-6"
inkscape:transform-center-y="151.59082"
inkscape:transform-center-x="124.43045"
xlink:href="#path3336-6"
y="0"
x="0"
style="stroke-width:1.00006" />
<use
height="100%"
width="100%"
transform="rotate(-60,407.31177,-715.70016)"
id="use3445-0"
inkscape:transform-center-y="75.573958"
inkscape:transform-center-x="-168.20651"
xlink:href="#path3336-6"
y="0"
x="0"
style="stroke-width:1.00006" />
<use
height="100%"
width="100%"
transform="rotate(180,407.41868,-715.7565)"
id="use3449-5"
inkscape:transform-center-y="-139.94592"
inkscape:transform-center-x="59.669705"
xlink:href="#path3336-6"
y="0"
x="0"
style="stroke-width:1.00006" />
<path
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:url(#linearGradient4330);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.00018;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 309.54892,-710.38827 122.19683,211.67512 -56.15706,0.5268 -32.6236,-56.8692 -32.85645,56.5653 -27.90237,-0.011 -14.29086,-24.6896 46.81047,-80.4901 -33.22946,-57.8256 z"
id="path4260-0"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccccc" />
<use
height="100%"
width="100%"
transform="rotate(120,407.33916,-716.08356)"
id="use4354-5"
xlink:href="#path4260-0"
y="0"
x="0"
style="display:inline;stroke-width:1.00006" />
<use
height="100%"
width="100%"
transform="rotate(-120,407.28823,-715.86995)"
id="use4362-2"
xlink:href="#path4260-0"
y="0"
x="0"
style="display:inline;stroke-width:1.00006" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.4 KiB

+37 -37
View File
@@ -1,6 +1,6 @@
<svg class="nj-fig nj-charts nj-charts--blog" viewBox="0 0 600 380" role="img" aria-labelledby="nj-blog-cliffs nj-blog-cliffs-d" xmlns="http://www.w3.org/2000/svg">
<title id="nj-blog-cliffs">Operations that grew quadratically or worse: time with 3.12.0 and 3.13.0, log scale</title>
<desc id="nj-blog-cliffs-d">Dot plot on a logarithmic time axis, less is better; an arrow leads from each 3.12.0 time to the 3.13.0 time. diff() 64k numbers vs []: 4237 ms to 10.8 ms; diff() 20k objects vs half: 122 ms to 4.13 ms; parse() callback, 32k objects: 1398 ms to 12.1 ms; operator&lt; nested 24 deep: 64.4 ms to 0.002 ms; operator&lt; citm, 10x: 284 ms to 3.94 ms; flatten() citm, ordered_json: 271 ms to 1.45 ms; to_bson() 200 deep, 100x: 20.3 ms to 0.352 ms; push_back() 100k, diagnostics: 1589 ms to 5.32 ms; at(i) 10k, diagnostics: 45.9 ms to 0.088 ms.</desc>
<desc id="nj-blog-cliffs-d">Dot plot on a logarithmic time axis, less is better; an arrow leads from each 3.12.0 time to the 3.13.0 time. diff() 64k numbers vs []: 4131 ms to 11.2 ms; diff() 20k objects vs half: 134 ms to 7.16 ms; parse() callback, 32k objects: 826 ms to 7.67 ms; operator&lt; nested 24 deep: 53.8 ms to 0.004 ms; operator&lt; citm, 10x: 270 ms to 3.78 ms; flatten() citm, ordered_json: 261 ms to 1.59 ms; to_bson() 200 deep, 100x: 19.6 ms to 0.392 ms; push_back() 100k, diagnostics: 1515 ms to 0.936 ms; at(i) 10k, diagnostics: 30.4 ms to 0.0095 ms.</desc>
<line class="nj-charts-grid" x1="250" y1="30" x2="250" y2="336"/>
<text class="nj-charts-tick" x="250" y="352">1 µs</text>
<line class="nj-charts-grid" x1="297.857" y1="30" x2="297.857" y2="336"/>
@@ -22,48 +22,48 @@
<circle class="nj-charts-ojson-dot" cx="250" cy="14" r="5"/><text class="nj-charts-leg" x="260" y="18.5">3.12.0</text>
<circle class="nj-charts-json-dot" cx="330" cy="14" r="5"/><text class="nj-charts-leg" x="340" y="18.5">3.13.0</text>
<text class="nj-charts-rowlabel" x="240" y="52" text-anchor="end">diff() 64k numbers vs []</text>
<line class="nj-charts-axis" x1="561.152" y1="48" x2="450.028" y2="48" marker-end="url(#nj-blog-cliffs-head)"/>
<circle class="nj-charts-ojson-dot" cx="567.152" cy="48" r="5"><title>diff() 64k numbers vs [], 3.12.0: 4237 ms</title></circle>
<circle class="nj-charts-json-dot" cx="443.028" cy="48" r="5"><title>diff() 64k numbers vs [], 3.13.0: 10.8 ms</title></circle>
<text class="nj-charts-factor" x="505.09" y="41">392&#215;</text>
<line class="nj-charts-axis" x1="560.625" y1="48" x2="450.784" y2="48" marker-end="url(#nj-blog-cliffs-head)"/>
<circle class="nj-charts-ojson-dot" cx="566.625" cy="48" r="5"><title>diff() 64k numbers vs [], 3.12.0: 4131 ms</title></circle>
<circle class="nj-charts-json-dot" cx="443.784" cy="48" r="5"><title>diff() 64k numbers vs [], 3.13.0: 11.2 ms</title></circle>
<text class="nj-charts-factor" x="505.205" y="41">369&#215;</text>
<text class="nj-charts-rowlabel" x="240" y="86" text-anchor="end">diff() 20k objects vs half</text>
<line class="nj-charts-axis" x1="487.419" y1="82" x2="430.049" y2="82" marker-end="url(#nj-blog-cliffs-head)"/>
<circle class="nj-charts-ojson-dot" cx="493.419" cy="82" r="5"><title>diff() 20k objects vs half, 3.12.0: 122 ms</title></circle>
<circle class="nj-charts-json-dot" cx="423.049" cy="82" r="5"><title>diff() 20k objects vs half, 3.13.0: 4.13 ms</title></circle>
<text class="nj-charts-factor" x="458.234" y="75">30&#215;</text>
<line class="nj-charts-axis" x1="489.369" y1="82" x2="441.485" y2="82" marker-end="url(#nj-blog-cliffs-head)"/>
<circle class="nj-charts-ojson-dot" cx="495.369" cy="82" r="5"><title>diff() 20k objects vs half, 3.12.0: 134 ms</title></circle>
<circle class="nj-charts-json-dot" cx="434.485" cy="82" r="5"><title>diff() 20k objects vs half, 3.13.0: 7.16 ms</title></circle>
<text class="nj-charts-factor" x="464.927" y="75">19&#215;</text>
<text class="nj-charts-rowlabel" x="240" y="120" text-anchor="end">parse() callback, 32k objects</text>
<line class="nj-charts-axis" x1="538.106" y1="116" x2="452.39" y2="116" marker-end="url(#nj-blog-cliffs-head)"/>
<circle class="nj-charts-ojson-dot" cx="544.106" cy="116" r="5"><title>parse() callback, 32k objects, 3.12.0: 1398 ms</title></circle>
<circle class="nj-charts-json-dot" cx="445.39" cy="116" r="5"><title>parse() callback, 32k objects, 3.13.0: 12.1 ms</title></circle>
<text class="nj-charts-factor" x="494.748" y="109">116&#215;</text>
<line class="nj-charts-axis" x1="527.17" y1="116" x2="442.915" y2="116" marker-end="url(#nj-blog-cliffs-head)"/>
<circle class="nj-charts-ojson-dot" cx="533.17" cy="116" r="5"><title>parse() callback, 32k objects, 3.12.0: 826 ms</title></circle>
<circle class="nj-charts-json-dot" cx="435.915" cy="116" r="5"><title>parse() callback, 32k objects, 3.13.0: 7.67 ms</title></circle>
<text class="nj-charts-factor" x="484.542" y="109">108&#215;</text>
<text class="nj-charts-rowlabel" x="240" y="154" text-anchor="end">operator&lt; nested 24 deep</text>
<line class="nj-charts-axis" x1="474.14" y1="150" x2="271.406" y2="150" marker-end="url(#nj-blog-cliffs-head)"/>
<circle class="nj-charts-ojson-dot" cx="480.14" cy="150" r="5"><title>operator&lt; nested 24 deep, 3.12.0: 64.4 ms</title></circle>
<circle class="nj-charts-json-dot" cx="264.406" cy="150" r="5"><title>operator&lt; nested 24 deep, 3.13.0: 0.002 ms</title></circle>
<text class="nj-charts-factor" x="372.273" y="143">32200&#215;</text>
<line class="nj-charts-axis" x1="470.402" y1="150" x2="285.813" y2="150" marker-end="url(#nj-blog-cliffs-head)"/>
<circle class="nj-charts-ojson-dot" cx="476.402" cy="150" r="5"><title>operator&lt; nested 24 deep, 3.12.0: 53.8 ms</title></circle>
<circle class="nj-charts-json-dot" cx="278.813" cy="150" r="5"><title>operator&lt; nested 24 deep, 3.13.0: 0.004 ms</title></circle>
<text class="nj-charts-factor" x="377.607" y="143">13450&#215;</text>
<text class="nj-charts-rowlabel" x="240" y="188" text-anchor="end">operator&lt; citm, 10x</text>
<line class="nj-charts-axis" x1="504.98" y1="184" x2="429.07" y2="184" marker-end="url(#nj-blog-cliffs-head)"/>
<circle class="nj-charts-ojson-dot" cx="510.98" cy="184" r="5"><title>operator&lt; citm, 10x, 3.12.0: 284 ms</title></circle>
<circle class="nj-charts-json-dot" cx="422.07" cy="184" r="5"><title>operator&lt; citm, 10x, 3.13.0: 3.94 ms</title></circle>
<text class="nj-charts-factor" x="466.525" y="177">72&#215;</text>
<line class="nj-charts-axis" x1="503.93" y1="184" x2="428.209" y2="184" marker-end="url(#nj-blog-cliffs-head)"/>
<circle class="nj-charts-ojson-dot" cx="509.93" cy="184" r="5"><title>operator&lt; citm, 10x, 3.12.0: 270 ms</title></circle>
<circle class="nj-charts-json-dot" cx="421.209" cy="184" r="5"><title>operator&lt; citm, 10x, 3.13.0: 3.78 ms</title></circle>
<text class="nj-charts-factor" x="465.569" y="177">71&#215;</text>
<text class="nj-charts-rowlabel" x="240" y="222" text-anchor="end">flatten() citm, ordered_json</text>
<line class="nj-charts-axis" x1="504.006" y1="218" x2="408.294" y2="218" marker-end="url(#nj-blog-cliffs-head)"/>
<circle class="nj-charts-ojson-dot" cx="510.006" cy="218" r="5"><title>flatten() citm, ordered_json, 3.12.0: 271 ms</title></circle>
<circle class="nj-charts-json-dot" cx="401.294" cy="218" r="5"><title>flatten() citm, ordered_json, 3.13.0: 1.45 ms</title></circle>
<text class="nj-charts-factor" x="455.65" y="211">187&#215;</text>
<line class="nj-charts-axis" x1="503.225" y1="218" x2="410.21" y2="218" marker-end="url(#nj-blog-cliffs-head)"/>
<circle class="nj-charts-ojson-dot" cx="509.225" cy="218" r="5"><title>flatten() citm, ordered_json, 3.12.0: 261 ms</title></circle>
<circle class="nj-charts-json-dot" cx="403.21" cy="218" r="5"><title>flatten() citm, ordered_json, 3.13.0: 1.59 ms</title></circle>
<text class="nj-charts-factor" x="456.217" y="211">164&#215;</text>
<text class="nj-charts-rowlabel" x="240" y="256" text-anchor="end">to_bson() 200 deep, 100x</text>
<line class="nj-charts-axis" x1="450.144" y1="252" x2="378.87" y2="252" marker-end="url(#nj-blog-cliffs-head)"/>
<circle class="nj-charts-ojson-dot" cx="456.144" cy="252" r="5"><title>to_bson() 200 deep, 100x, 3.12.0: 20.3 ms</title></circle>
<circle class="nj-charts-json-dot" cx="371.87" cy="252" r="5"><title>to_bson() 200 deep, 100x, 3.13.0: 0.352 ms</title></circle>
<text class="nj-charts-factor" x="414.007" y="245">58&#215;</text>
<line class="nj-charts-axis" x1="449.415" y1="252" x2="381.107" y2="252" marker-end="url(#nj-blog-cliffs-head)"/>
<circle class="nj-charts-ojson-dot" cx="455.415" cy="252" r="5"><title>to_bson() 200 deep, 100x, 3.12.0: 19.6 ms</title></circle>
<circle class="nj-charts-json-dot" cx="374.107" cy="252" r="5"><title>to_bson() 200 deep, 100x, 3.13.0: 0.392 ms</title></circle>
<text class="nj-charts-factor" x="414.761" y="245">50&#215;</text>
<text class="nj-charts-rowlabel" x="240" y="290" text-anchor="end">push_back() 100k, diagnostics</text>
<line class="nj-charts-axis" x1="540.768" y1="286" x2="435.311" y2="286" marker-end="url(#nj-blog-cliffs-head)"/>
<circle class="nj-charts-ojson-dot" cx="546.768" cy="286" r="5"><title>push_back() 100k, diagnostics, 3.12.0: 1589 ms</title></circle>
<circle class="nj-charts-json-dot" cx="428.311" cy="286" r="5"><title>push_back() 100k, diagnostics, 3.13.0: 5.32 ms</title></circle>
<text class="nj-charts-factor" x="487.54" y="279">299&#215;</text>
<line class="nj-charts-axis" x1="539.777" y1="286" x2="399.197" y2="286" marker-end="url(#nj-blog-cliffs-head)"/>
<circle class="nj-charts-ojson-dot" cx="545.777" cy="286" r="5"><title>push_back() 100k, diagnostics, 3.12.0: 1515 ms</title></circle>
<circle class="nj-charts-json-dot" cx="392.197" cy="286" r="5"><title>push_back() 100k, diagnostics, 3.13.0: 0.936 ms</title></circle>
<text class="nj-charts-factor" x="468.987" y="279">1619&#215;</text>
<text class="nj-charts-rowlabel" x="240" y="324" text-anchor="end">at(i) 10k, diagnostics</text>
<line class="nj-charts-axis" x1="467.101" y1="320" x2="350.057" y2="320" marker-end="url(#nj-blog-cliffs-head)"/>
<circle class="nj-charts-ojson-dot" cx="473.101" cy="320" r="5"><title>at(i) 10k, diagnostics, 3.12.0: 45.9 ms</title></circle>
<circle class="nj-charts-json-dot" cx="343.057" cy="320" r="5"><title>at(i) 10k, diagnostics, 3.13.0: 0.088 ms</title></circle>
<text class="nj-charts-factor" x="408.079" y="313">522&#215;</text>
<line class="nj-charts-axis" x1="458.538" y1="320" x2="303.791" y2="320" marker-end="url(#nj-blog-cliffs-head)"/>
<circle class="nj-charts-ojson-dot" cx="464.538" cy="320" r="5"><title>at(i) 10k, diagnostics, 3.12.0: 30.4 ms</title></circle>
<circle class="nj-charts-json-dot" cx="296.791" cy="320" r="5"><title>at(i) 10k, diagnostics, 3.13.0: 0.0095 ms</title></circle>
<text class="nj-charts-factor" x="380.664" y="313">3200&#215;</text>
</svg>

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

@@ -1,6 +1,6 @@
<svg class="nj-fig nj-charts nj-charts--blog" viewBox="0 0 560 250" role="img" aria-labelledby="nj-blog-dist nj-blog-dist-d" xmlns="http://www.w3.org/2000/svg">
<title id="nj-blog-dist">Speedup of 3.13.0 over 3.12.0 for all 182 benchmarks of the suite</title>
<desc id="nj-blog-dist-d">Bars counting the benchmarks per speedup range: below 1x: 2; 1 to 1.5x: 21; 1.5 to 2x: 18; 2 to 3x: 52; 3 to 5x: 48; 5 to 10x: 31; 10x or more: 10. Median 2.9x, geometric mean 3.3x.</desc>
<title id="nj-blog-dist">Speedup of 3.13.0 over 3.12.0 for all 184 benchmarks of the suite</title>
<desc id="nj-blog-dist-d">Bars counting the benchmarks per speedup range: below 1x: 2; 1 to 1.5x: 20; 1.5 to 2x: 17; 2 to 3x: 56; 3 to 5x: 49; 5 to 10x: 31; 10x or more: 9. Median 3.0x, geometric mean 3.3x.</desc>
<line class="nj-charts-grid" x1="52" y1="196" x2="548" y2="196"/>
<text class="nj-charts-tick nj-charts-tick--r" x="46" y="200">0</text>
<line class="nj-charts-grid" x1="52" y1="136" x2="548" y2="136"/>
@@ -12,23 +12,23 @@
<rect class="nj-charts-c2" x="60.0" y="190.0" width="54.9" height="6.0" rx="3"><title>below 1&#215;: 2</title></rect>
<text class="nj-charts-val" x="87.4" y="185.0" text-anchor="middle">2</text>
<text class="nj-charts-tick" x="87.4" y="212.0">below 1&#215;</text>
<rect class="nj-charts-c1" x="130.9" y="133.0" width="54.9" height="63.0" rx="3"><title>1 to 1.5&#215;: 21</title></rect>
<text class="nj-charts-val" x="158.3" y="128.0" text-anchor="middle">21</text>
<rect class="nj-charts-c1" x="130.9" y="136.0" width="54.9" height="60.0" rx="3"><title>1 to 1.5&#215;: 20</title></rect>
<text class="nj-charts-val" x="158.3" y="131.0" text-anchor="middle">20</text>
<text class="nj-charts-tick" x="158.3" y="212.0">1 to 1.5&#215;</text>
<rect class="nj-charts-c1" x="201.7" y="142.0" width="54.9" height="54.0" rx="3"><title>1.5 to 2&#215;: 18</title></rect>
<text class="nj-charts-val" x="229.1" y="137.0" text-anchor="middle">18</text>
<rect class="nj-charts-c1" x="201.7" y="145.0" width="54.9" height="51.0" rx="3"><title>1.5 to 2&#215;: 17</title></rect>
<text class="nj-charts-val" x="229.1" y="140.0" text-anchor="middle">17</text>
<text class="nj-charts-tick" x="229.1" y="212.0">1.5 to 2&#215;</text>
<rect class="nj-charts-c1" x="272.6" y="40.0" width="54.9" height="156.0" rx="3"><title>2 to 3&#215;: 52</title></rect>
<text class="nj-charts-val" x="300.0" y="35.0" text-anchor="middle">52</text>
<rect class="nj-charts-c1" x="272.6" y="28.0" width="54.9" height="168.0" rx="3"><title>2 to 3&#215;: 56</title></rect>
<text class="nj-charts-val" x="300.0" y="23.0" text-anchor="middle">56</text>
<text class="nj-charts-tick" x="300.0" y="212.0">2 to 3&#215;</text>
<rect class="nj-charts-c1" x="343.4" y="52.0" width="54.9" height="144.0" rx="3"><title>3 to 5&#215;: 48</title></rect>
<text class="nj-charts-val" x="370.9" y="47.0" text-anchor="middle">48</text>
<rect class="nj-charts-c1" x="343.4" y="49.0" width="54.9" height="147.0" rx="3"><title>3 to 5&#215;: 49</title></rect>
<text class="nj-charts-val" x="370.9" y="44.0" text-anchor="middle">49</text>
<text class="nj-charts-tick" x="370.9" y="212.0">3 to 5&#215;</text>
<rect class="nj-charts-c1" x="414.3" y="103.0" width="54.9" height="93.0" rx="3"><title>5 to 10&#215;: 31</title></rect>
<text class="nj-charts-val" x="441.7" y="98.0" text-anchor="middle">31</text>
<text class="nj-charts-tick" x="441.7" y="212.0">5 to 10&#215;</text>
<rect class="nj-charts-c1" x="485.1" y="166.0" width="54.9" height="30.0" rx="3"><title>10&#215; or more: 10</title></rect>
<text class="nj-charts-val" x="512.6" y="161.0" text-anchor="middle">10</text>
<rect class="nj-charts-c1" x="485.1" y="169.0" width="54.9" height="27.0" rx="3"><title>10&#215; or more: 9</title></rect>
<text class="nj-charts-val" x="512.6" y="164.0" text-anchor="middle">9</text>
<text class="nj-charts-tick" x="512.6" y="212.0">10&#215; or more</text>
<line class="nj-charts-axis" x1="52" y1="196" x2="548" y2="196"/>
<text class="nj-charts-tick" x="300" y="240">speedup over 3.12.0, more is better</text>

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

+54 -54
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">
<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.72, x86-64 0.44 (serde_json (Rust)); semanticscholar-corpus: Mac 0.78, x86-64 0.63 (sonic-rs (Rust)); gsoc-2018: Mac 0.59, x86-64 0.64 (Boost.J&#8203;SON); marine_ik: Mac 0.62, x86-64 0.64 (Boost.J&#8203;SON); twitter_api_compact_response: Mac 0.91, x86-64 0.66 (yyjson); twitterescaped: Mac 0.94, x86-64 0.76 (simdjson); update-center: Mac 0.88, x86-64 0.77 (simdjson); github_events: Mac 0.78, x86-64 0.78 (simdjson); twitter_api_response: Mac 0.95, x86-64 0.81 (simdjson); twitter_timeline: Mac 0.99, x86-64 0.82 (yyjson); numbers: Mac 0.72, x86-64 0.82 (Boost.J&#8203;SON); random: Mac 0.82, x86-64 0.86 (simdjson); repeat: Mac 0.65, x86-64 0.89 (simdjson); apache_builds: Mac 1.08, x86-64 0.90 (simdjson); instruments: Mac 0.92, x86-64 0.91 (simdjson); google_maps_api_compact_response: Mac 0.87, x86-64 0.92 (yyjson); mesh.pretty: Mac 0.88, x86-64 0.93 (Boost.J&#8203;SON); tree-pretty: Mac 0.96, x86-64 0.94 (simdjson); google_maps_api_response: Mac 0.91, x86-64 1.00 (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.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>
<line class="nj-charts-grid" x1="262" y1="50" x2="262" y2="438"/>
<text class="nj-charts-tick" x="262" y="454">0.4&#215;</text>
<line class="nj-charts-grid" x1="291.867" y1="50" x2="291.867" y2="438"/>
@@ -22,80 +22,80 @@
<circle class="nj-charts-ojson-dot" cx="134.2" cy="14" r="5"/><text class="nj-charts-leg" x="144.2" y="18.5">x86-64, G&#8203;CC 16.2</text>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="48">next on x86-64</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="68" text-anchor="end">mesh</text>
<circle class="nj-charts-json-dot" cx="357.0" cy="60.5" r="4.5"><title>mesh, Apple M1 Max: 0.72&#215; the time of Glaze</title></circle>
<circle class="nj-charts-ojson-dot" cx="273.8" cy="67.5" r="4.5"><title>mesh, x86-64, G&#8203;CC 16.2: 0.44&#215; the time of serde&#95;json (Rust)</title></circle>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="68">serde&#95;json (Rust)</text>
<circle class="nj-charts-json-dot" cx="341.4" cy="60.5" r="4.5"><title>mesh, Apple M1 Max: 0.67&#215; the time of Glaze</title></circle>
<circle class="nj-charts-ojson-dot" cx="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>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="68">Boost.J&#8203;SON</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="88" text-anchor="end">semanticscholar-corpus</text>
<circle class="nj-charts-json-dot" cx="376.0" cy="80.5" r="4.5"><title>semanticscholar-corpus, Apple M1 Max: 0.78&#215; the time of sonic-rs (Rust)</title></circle>
<circle class="nj-charts-ojson-dot" cx="331.5" 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-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-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>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="88">sonic-rs (Rust)</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="108" text-anchor="end">gsoc-2018</text>
<circle class="nj-charts-json-dot" cx="318.5" 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-ojson-dot" cx="332.3" 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-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-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>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="108">Boost.J&#8203;SON</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="128" text-anchor="end">marine&#95;ik</text>
<circle class="nj-charts-json-dot" cx="326.2" cy="120.5" r="4.5"><title>marine&#95;ik, Apple M1 Max: 0.62&#215; the time of Glaze</title></circle>
<circle class="nj-charts-ojson-dot" cx="333.7" cy="127.5" r="4.5"><title>marine&#95;ik, x86-64, G&#8203;CC 16.2: 0.64&#215; the time of Boost.J&#8203;SON</title></circle>
<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-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>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="128">Boost.J&#8203;SON</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="148" text-anchor="end">twitter&#95;api&#95;compact&#95;response</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-ojson-dot" cx="340.0" cy="147.5" r="4.5"><title>twitter&#95;api&#95;compact&#95;response, x86-64, G&#8203;CC 16.2: 0.66&#215; the time of yyjson</title></circle>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="148">yyjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="168" text-anchor="end">twitterescaped</text>
<circle class="nj-charts-json-dot" cx="423.0" 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="368.5" cy="167.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="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>
<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>
<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-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>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="168">simdjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="188" text-anchor="end">update-center</text>
<circle class="nj-charts-json-dot" cx="404.3" cy="180.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="372.0" cy="187.5" r="4.5"><title>update-center, x86-64, G&#8203;CC 16.2: 0.77&#215; the time of simdjson</title></circle>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="188" text-anchor="end">twitterescaped</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-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>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="188">simdjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="208" text-anchor="end">github&#95;events</text>
<circle class="nj-charts-json-dot" cx="375.6" cy="200.5" r="4.5"><title>github&#95;events, Apple M1 Max: 0.78&#215; the time of simdjson</title></circle>
<circle class="nj-charts-ojson-dot" cx="375.2" cy="207.5" r="4.5"><title>github&#95;events, x86-64, G&#8203;CC 16.2: 0.78&#215; the time of simdjson</title></circle>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="208">simdjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="228" text-anchor="end">twitter&#95;api&#95;response</text>
<circle class="nj-charts-json-dot" cx="427.3" cy="220.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="227.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>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="208" text-anchor="end">numbers</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-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>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="208">Boost.J&#8203;SON</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="228" text-anchor="end">github&#95;events</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-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>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="228">simdjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="248" text-anchor="end">twitter&#95;timeline</text>
<circle class="nj-charts-json-dot" cx="437.3" cy="240.5" r="4.5"><title>twitter&#95;timeline, Apple M1 Max: 0.99&#215; the time of yyjson</title></circle>
<circle class="nj-charts-ojson-dot" cx="386.2" cy="247.5" r="4.5"><title>twitter&#95;timeline, x86-64, G&#8203;CC 16.2: 0.82&#215; the time of yyjson</title></circle>
<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>
<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-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>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="248">yyjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="268" text-anchor="end">numbers</text>
<circle class="nj-charts-json-dot" cx="358.0" cy="260.5" r="4.5"><title>numbers, Apple M1 Max: 0.72&#215; the time of Glaze</title></circle>
<circle class="nj-charts-ojson-dot" cx="386.3" cy="267.5" r="4.5"><title>numbers, x86-64, G&#8203;CC 16.2: 0.82&#215; the time of Boost.J&#8203;SON</title></circle>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="268">Boost.J&#8203;SON</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="288" text-anchor="end">random</text>
<circle class="nj-charts-json-dot" cx="388.2" cy="280.5" r="4.5"><title>random, Apple M1 Max: 0.82&#215; the time of simdjson</title></circle>
<circle class="nj-charts-ojson-dot" cx="400.0" cy="287.5" r="4.5"><title>random, x86-64, G&#8203;CC 16.2: 0.86&#215; the time of simdjson</title></circle>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="288">simdjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="308" text-anchor="end">repeat</text>
<circle class="nj-charts-json-dot" cx="336.7" cy="300.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="409.2" cy="307.5" r="4.5"><title>repeat, x86-64, G&#8203;CC 16.2: 0.89&#215; the time of simdjson</title></circle>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="268" text-anchor="end">twitter&#95;api&#95;response</text>
<circle class="nj-charts-json-dot" cx="427.0" cy="260.5" r="4.5"><title>twitter&#95;api&#95;response, Apple M1 Max: 0.95&#215; the time of yyjson</title></circle>
<circle class="nj-charts-ojson-dot" cx="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>
<text class="nj-charts-tick nj-charts-tick--l" 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>
<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-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>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="288">yyjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="308" text-anchor="end">random</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-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>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="308">simdjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="328" text-anchor="end">apache&#95;builds</text>
<circle class="nj-charts-json-dot" cx="465.2" cy="320.5" r="4.5"><title>apache&#95;builds, Apple M1 Max: 1.08&#215; the time of simdjson</title></circle>
<circle class="nj-charts-ojson-dot" cx="412.0" cy="327.5" r="4.5"><title>apache&#95;builds, x86-64, G&#8203;CC 16.2: 0.90&#215; the time of simdjson</title></circle>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="328" text-anchor="end">instruments</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-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>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="328">simdjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="348" text-anchor="end">instruments</text>
<circle class="nj-charts-json-dot" cx="417.1" cy="340.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="415.6" cy="347.5" r="4.5"><title>instruments, x86-64, G&#8203;CC 16.2: 0.91&#215; the time of simdjson</title></circle>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="348" text-anchor="end">apache&#95;builds</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-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>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="348">simdjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="368" text-anchor="end">google&#95;maps&#95;api&#95;compact&#95;response</text>
<circle class="nj-charts-json-dot" cx="403.3" cy="360.5" r="4.5"><title>google&#95;maps&#95;api&#95;compact&#95;response, Apple M1 Max: 0.87&#215; the time of yyjson</title></circle>
<circle class="nj-charts-ojson-dot" cx="416.8" cy="367.5" r="4.5"><title>google&#95;maps&#95;api&#95;compact&#95;response, x86-64, G&#8203;CC 16.2: 0.92&#215; the time of yyjson</title></circle>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="368">yyjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="368" text-anchor="end">repeat</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-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>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="368">simdjson</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="388" text-anchor="end">mesh.pretty</text>
<circle class="nj-charts-json-dot" cx="405.5" cy="380.5" r="4.5"><title>mesh.pretty, Apple M1 Max: 0.88&#215; the time of Glaze</title></circle>
<circle class="nj-charts-ojson-dot" cx="419.6" cy="387.5" r="4.5"><title>mesh.pretty, x86-64, G&#8203;CC 16.2: 0.93&#215; the time of Boost.J&#8203;SON</title></circle>
<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-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>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="388">Boost.J&#8203;SON</text>
<text class="nj-charts-rowlabel nj-charts-code" x="252" y="408" text-anchor="end">tree-pretty</text>
<circle class="nj-charts-json-dot" cx="427.9" cy="400.5" r="4.5"><title>tree-pretty, Apple M1 Max: 0.96&#215; the time of yyjson</title></circle>
<circle class="nj-charts-ojson-dot" cx="424.3" cy="407.5" r="4.5"><title>tree-pretty, x86-64, G&#8203;CC 16.2: 0.94&#215; the time of simdjson</title></circle>
<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-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>
<text class="nj-charts-tick nj-charts-tick--l" 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>
<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-ojson-dot" cx="441.2" cy="427.5" r="4.5"><title>google&#95;maps&#95;api&#95;response, x86-64, G&#8203;CC 16.2: 1.00&#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>
<text class="nj-charts-tick nj-charts-tick--l" x="500" y="428">simdjson</text>
<line class="nj-charts-ref" x1="441.2" y1="50" x2="441.2" y2="438"/>
<text class="nj-charts-tick" x="441.2" y="44">as fast as the next</text>

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

+33 -33
View File
@@ -1,6 +1,6 @@
<svg class="nj-fig nj-charts nj-charts--blog" viewBox="0 0 560 604" role="img" aria-labelledby="nj-blog-overview nj-blog-overview-d" xmlns="http://www.w3.org/2000/svg">
<title id="nj-blog-overview">Speedup of 3.13.0 over 3.12.0 per workload, Apple M1 Max, Apple clang</title>
<desc id="nj-blog-overview-d">Horizontal bars of the speedup, more is better. twitter.json 3.5x; citm_catalog.json 5.1x; canada.json 4.1x; canada.json, indented 7.4x; citm, ordered_json 8.2x; twitter, std::ifstream 2.5x; citm, FILE* 15x; citm, accept() 14x; dump() twitter 6.6x; dump() canada 2.9x; dump(4) citm 4.6x; to_cbor() twitter 4.4x; twitter, memory 3.5x; twitter, FILE* 9.2x; diff() canada 10x; iterate canada 1.96x; copy + destroy citm 1.11x; == citm 1.01x.</desc>
<desc id="nj-blog-overview-d">Horizontal bars of the speedup, more is better. twitter.json 3.5x; citm_catalog.json 5.0x; canada.json 4.0x; canada.json, indented 7.4x; citm, ordered_json 8.1x; twitter, std::ifstream 2.5x; citm, FILE* 15x; citm, accept() 13x; dump() twitter 6.6x; dump() canada 2.9x; dump(4) citm 4.6x; to_cbor() twitter 4.5x; twitter, memory 3.5x; twitter, FILE* 9.3x; diff() canada 10x; iterate canada 2.0x; copy + destroy citm 1.10x; == citm 1.01x.</desc>
<text class="nj-charts-panel" x="8" y="20">Parsing</text>
<text class="nj-charts-panel" x="8" y="244">Writing</text>
<text class="nj-charts-panel" x="8" y="372">Reading C&#8203;BOR</text>
@@ -38,56 +38,56 @@
<line class="nj-charts-grid" x1="520" y1="8" x2="520" y2="560"/>
<text class="nj-charts-tick" x="520" y="576">16&#215;</text>
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="42" text-anchor="end">twitter.json</text>
<path class="nj-charts-c1" d="M190 30 H257.981 Q261.981 30 261.981 34 V41 Q261.981 45 257.981 45 H190 Z"><title>twitter.json: 3.5&#215;</title></path>
<text class="nj-charts-val" x="266.981" y="42">3.5&#215;</text>
<path class="nj-charts-c1" d="M190 30 H258.806 Q262.806 30 262.806 34 V41 Q262.806 45 258.806 45 H190 Z"><title>twitter.json: 3.5&#215;</title></path>
<text class="nj-charts-val" x="267.806" y="42">3.5&#215;</text>
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="66" text-anchor="end">citm_catalog.json</text>
<path class="nj-charts-c1" d="M190 54 H291.394 Q295.394 54 295.394 58 V65 Q295.394 69 291.394 69 H190 Z"><title>citm_catalog.json: 5.1&#215;</title></path>
<text class="nj-charts-val" x="300.394" y="66">5.1&#215;</text>
<path class="nj-charts-c1" d="M190 54 H290.156 Q294.156 54 294.156 58 V65 Q294.156 69 290.156 69 H190 Z"><title>citm_catalog.json: 5.0&#215;</title></path>
<text class="nj-charts-val" x="299.156" y="66">5.0&#215;</text>
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="90" text-anchor="end">canada.json</text>
<path class="nj-charts-c1" d="M190 78 H270.15 Q274.15 78 274.15 82 V89 Q274.15 93 270.15 93 H190 Z"><title>canada.json: 4.1&#215;</title></path>
<text class="nj-charts-val" x="279.15" y="90">4.1&#215;</text>
<path class="nj-charts-c1" d="M190 78 H269.531 Q273.531 78 273.531 82 V89 Q273.531 93 269.531 93 H190 Z"><title>canada.json: 4.0&#215;</title></path>
<text class="nj-charts-val" x="278.531" y="90">4.0&#215;</text>
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="114" text-anchor="end">canada.json, indented</text>
<path class="nj-charts-c1" d="M190 102 H338.831 Q342.831 102 342.831 106 V113 Q342.831 117 338.831 117 H190 Z"><title>canada.json, indented: 7.4&#215;</title></path>
<text class="nj-charts-val" x="347.831" y="114">7.4&#215;</text>
<path class="nj-charts-c1" d="M190 102 H338.625 Q342.625 102 342.625 106 V113 Q342.625 117 338.625 117 H190 Z"><title>canada.json, indented: 7.4&#215;</title></path>
<text class="nj-charts-val" x="347.625" y="114">7.4&#215;</text>
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="138" text-anchor="end">citm, ordered_json</text>
<path class="nj-charts-c1" d="M190 126 H354.712 Q358.712 126 358.712 130 V137 Q358.712 141 354.712 141 H190 Z"><title>citm, ordered_json: 8.2&#215;</title></path>
<text class="nj-charts-val" x="363.712" y="138">8.2&#215;</text>
<path class="nj-charts-c1" d="M190 126 H353.269 Q357.269 126 357.269 130 V137 Q357.269 141 353.269 141 H190 Z"><title>citm, ordered_json: 8.1&#215;</title></path>
<text class="nj-charts-val" x="362.269" y="138">8.1&#215;</text>
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="162" text-anchor="end">twitter, std::ifstream</text>
<path class="nj-charts-c1" d="M190 150 H236.738 Q240.738 150 240.738 154 V161 Q240.738 165 236.738 165 H190 Z"><title>twitter, std::ifstream: 2.5&#215;</title></path>
<text class="nj-charts-val" x="245.738" y="162">2.5&#215;</text>
<path class="nj-charts-c1" d="M190 150 H236.944 Q240.944 150 240.944 154 V161 Q240.944 165 236.944 165 H190 Z"><title>twitter, std::ifstream: 2.5&#215;</title></path>
<text class="nj-charts-val" x="245.944" y="162">2.5&#215;</text>
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="186" text-anchor="end">citm, FILE*</text>
<path class="nj-charts-c1" d="M190 174 H494.137 Q498.137 174 498.137 178 V185 Q498.137 189 494.137 189 H190 Z"><title>citm, FILE*: 15&#215;</title></path>
<text class="nj-charts-val" x="503.137" y="186">15&#215;</text>
<path class="nj-charts-c1" d="M190 174 H492.694 Q496.694 174 496.694 178 V185 Q496.694 189 492.694 189 H190 Z"><title>citm, FILE*: 15&#215;</title></path>
<text class="nj-charts-val" x="501.694" y="186">15&#215;</text>
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="210" text-anchor="end">citm, accept()</text>
<path class="nj-charts-c1" d="M190 198 H467.738 Q471.738 198 471.738 202 V209 Q471.738 213 467.738 213 H190 Z"><title>citm, accept(): 14&#215;</title></path>
<text class="nj-charts-val" x="476.738" y="210">14&#215;</text>
<path class="nj-charts-c1" d="M190 198 H463.613 Q467.613 198 467.613 202 V209 Q467.613 213 463.613 213 H190 Z"><title>citm, accept(): 13&#215;</title></path>
<text class="nj-charts-val" x="472.613" y="210">13&#215;</text>
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="266" text-anchor="end">dump() twitter</text>
<path class="nj-charts-c1" d="M190 254 H322.125 Q326.125 254 326.125 258 V265 Q326.125 269 322.125 269 H190 Z"><title>dump() twitter: 6.6&#215;</title></path>
<text class="nj-charts-val" x="331.125" y="266">6.6&#215;</text>
<path class="nj-charts-c1" d="M190 254 H321.712 Q325.712 254 325.712 258 V265 Q325.712 269 321.712 269 H190 Z"><title>dump() twitter: 6.6&#215;</title></path>
<text class="nj-charts-val" x="330.712" y="266">6.6&#215;</text>
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="290" text-anchor="end">dump() canada</text>
<path class="nj-charts-c1" d="M190 278 H245.812 Q249.812 278 249.812 282 V289 Q249.812 293 245.812 293 H190 Z"><title>dump() canada: 2.9&#215;</title></path>
<text class="nj-charts-val" x="254.812" y="290">2.9&#215;</text>
<path class="nj-charts-c1" d="M190 278 H246.019 Q250.019 278 250.019 282 V289 Q250.019 293 246.019 293 H190 Z"><title>dump() canada: 2.9&#215;</title></path>
<text class="nj-charts-val" x="255.019" y="290">2.9&#215;</text>
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="314" text-anchor="end">dump(4) citm</text>
<path class="nj-charts-c1" d="M190 302 H281.288 Q285.288 302 285.288 306 V313 Q285.288 317 281.288 317 H190 Z"><title>dump(4) citm: 4.6&#215;</title></path>
<text class="nj-charts-val" x="290.288" y="314">4.6&#215;</text>
<path class="nj-charts-c1" d="M190 302 H281.7 Q285.7 302 285.7 306 V313 Q285.7 317 281.7 317 H190 Z"><title>dump(4) citm: 4.6&#215;</title></path>
<text class="nj-charts-val" x="290.7" y="314">4.6&#215;</text>
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="338" text-anchor="end">to_cbor() twitter</text>
<path class="nj-charts-c1" d="M190 326 H276.956 Q280.956 326 280.956 330 V337 Q280.956 341 276.956 341 H190 Z"><title>to_cbor() twitter: 4.4&#215;</title></path>
<text class="nj-charts-val" x="285.956" y="338">4.4&#215;</text>
<path class="nj-charts-c1" d="M190 326 H279.637 Q283.637 326 283.637 330 V337 Q283.637 341 279.637 341 H190 Z"><title>to_cbor() twitter: 4.5&#215;</title></path>
<text class="nj-charts-val" x="288.637" y="338">4.5&#215;</text>
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="394" text-anchor="end">twitter, memory</text>
<path class="nj-charts-c1" d="M190 382 H258.6 Q262.6 382 262.6 386 V393 Q262.6 397 258.6 397 H190 Z"><title>twitter, memory: 3.5&#215;</title></path>
<text class="nj-charts-val" x="267.6" y="394">3.5&#215;</text>
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="418" text-anchor="end">twitter, FILE*</text>
<path class="nj-charts-c1" d="M190 406 H376.369 Q380.369 406 380.369 410 V417 Q380.369 421 376.369 421 H190 Z"><title>twitter, FILE*: 9.2&#215;</title></path>
<text class="nj-charts-val" x="385.369" y="418">9.2&#215;</text>
<path class="nj-charts-c1" d="M190 406 H378.019 Q382.019 406 382.019 410 V417 Q382.019 421 378.019 421 H190 Z"><title>twitter, FILE*: 9.3&#215;</title></path>
<text class="nj-charts-val" x="387.019" y="418">9.3&#215;</text>
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="474" text-anchor="end">diff() canada</text>
<path class="nj-charts-c1" d="M190 462 H401.325 Q405.325 462 405.325 466 V473 Q405.325 477 401.325 477 H190 Z"><title>diff() canada: 10&#215;</title></path>
<text class="nj-charts-val" x="410.325" y="474">10&#215;</text>
<path class="nj-charts-c1" d="M190 462 H396.581 Q400.581 462 400.581 466 V473 Q400.581 477 396.581 477 H190 Z"><title>diff() canada: 10&#215;</title></path>
<text class="nj-charts-val" x="405.581" y="474">10&#215;</text>
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="498" text-anchor="end">iterate canada</text>
<path class="nj-charts-c1" d="M190 486 H226.425 Q230.425 486 230.425 490 V497 Q230.425 501 226.425 501 H190 Z"><title>iterate canada: 1.96&#215;</title></path>
<text class="nj-charts-val" x="235.425" y="498">1.96&#215;</text>
<path class="nj-charts-c1" d="M190 486 H228.075 Q232.075 486 232.075 490 V497 Q232.075 501 228.075 501 H190 Z"><title>iterate canada: 2.0&#215;</title></path>
<text class="nj-charts-val" x="237.075" y="498">2.0&#215;</text>
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="522" text-anchor="end">copy + destroy citm</text>
<path class="nj-charts-c1" d="M190 510 H208.894 Q212.894 510 212.894 514 V521 Q212.894 525 208.894 525 H190 Z"><title>copy + destroy citm: 1.11&#215;</title></path>
<text class="nj-charts-val" x="217.894" y="522">1.11&#215;</text>
<path class="nj-charts-c1" d="M190 510 H208.688 Q212.688 510 212.688 514 V521 Q212.688 525 208.688 525 H190 Z"><title>copy + destroy citm: 1.10&#215;</title></path>
<text class="nj-charts-val" x="217.688" y="522">1.10&#215;</text>
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="546" text-anchor="end">== citm</text>
<path class="nj-charts-c1" d="M190 534 H206.831 Q210.831 534 210.831 538 V545 Q210.831 549 206.831 549 H190 Z"><title>== citm: 1.01&#215;</title></path>
<text class="nj-charts-val" x="215.831" y="546">1.01&#215;</text>

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

+46 -46
View File
@@ -1,6 +1,6 @@
<svg class="nj-fig nj-charts nj-charts--blog" viewBox="0 0 600 618" role="img" aria-labelledby="nj-blog-price nj-blog-price-d" xmlns="http://www.w3.org/2000/svg">
<title id="nj-blog-price">Compile time of two programs with 3.13.0, alone, with a precompiled header and as a module, compared with 3.12.0</title>
<desc id="nj-blog-price-d">Horizontal bars of the change in compile time against 3.12.0, less is better. Apple clang 21, -O0 (debug), count_numbers, 3.13.0: +36%; Apple clang 21, -O0 (debug), count_numbers, 3.13.0, precompiled header: -23%; Apple clang 21, -O0 (debug), count_numbers, 3.13.0, module: -5%; Apple clang 21, -O0 (debug), server_config, 3.13.0: +36%; Apple clang 21, -O0 (debug), server_config, 3.13.0, precompiled header: -20%; Apple clang 21, -O0 (debug), server_config, 3.13.0, module: +8%; Apple clang 21, -O2, count_numbers, 3.13.0: +43%; Apple clang 21, -O2, count_numbers, 3.13.0, precompiled header: -1%; Apple clang 21, -O2, count_numbers, 3.13.0, module: +12%; Apple clang 21, -O2, server_config, 3.13.0: +42%; Apple clang 21, -O2, server_config, 3.13.0, precompiled header: +12%; Apple clang 21, -O2, server_config, 3.13.0, module: +22%; G&#8203;CC 16, -O0 (debug), count_numbers, 3.13.0: +68%; G&#8203;CC 16, -O0 (debug), count_numbers, 3.13.0, precompiled header: +12%; G&#8203;CC 16, -O0 (debug), count_numbers, 3.13.0, module: +13%; G&#8203;CC 16, -O0 (debug), server_config, 3.13.0: +50%; G&#8203;CC 16, -O0 (debug), server_config, 3.13.0, precompiled header: +15%; G&#8203;CC 16, -O0 (debug), server_config, 3.13.0, module: +16%; G&#8203;CC 16, -O2, count_numbers, 3.13.0: +60%; G&#8203;CC 16, -O2, count_numbers, 3.13.0, precompiled header: +28%; G&#8203;CC 16, -O2, count_numbers, 3.13.0, module: +27%; G&#8203;CC 16, -O2, server_config, 3.13.0: +52%; G&#8203;CC 16, -O2, server_config, 3.13.0, precompiled header: +29%; G&#8203;CC 16, -O2, server_config, 3.13.0, module: +31%.</desc>
<desc id="nj-blog-price-d">Horizontal bars of the change in compile time against 3.12.0, less is better. Apple clang 21, -O0 (debug), count_numbers, 3.13.0: +41%; Apple clang 21, -O0 (debug), count_numbers, 3.13.0, precompiled header: -25%; Apple clang 21, -O0 (debug), count_numbers, 3.13.0, module: -2%; Apple clang 21, -O0 (debug), server_config, 3.13.0: +42%; Apple clang 21, -O0 (debug), server_config, 3.13.0, precompiled header: -22%; Apple clang 21, -O0 (debug), server_config, 3.13.0, module: +3%; Apple clang 21, -O2, count_numbers, 3.13.0: +48%; Apple clang 21, -O2, count_numbers, 3.13.0, precompiled header: +3%; Apple clang 21, -O2, count_numbers, 3.13.0, module: +21%; Apple clang 21, -O2, server_config, 3.13.0: +46%; Apple clang 21, -O2, server_config, 3.13.0, precompiled header: +13%; Apple clang 21, -O2, server_config, 3.13.0, module: +24%; G&#8203;CC 16, -O0 (debug), count_numbers, 3.13.0: +64%; G&#8203;CC 16, -O0 (debug), count_numbers, 3.13.0, precompiled header: +10%; G&#8203;CC 16, -O0 (debug), count_numbers, 3.13.0, module: +9%; G&#8203;CC 16, -O0 (debug), server_config, 3.13.0: +50%; G&#8203;CC 16, -O0 (debug), server_config, 3.13.0, precompiled header: +13%; G&#8203;CC 16, -O0 (debug), server_config, 3.13.0, module: +13%; G&#8203;CC 16, -O2, count_numbers, 3.13.0: +62%; G&#8203;CC 16, -O2, count_numbers, 3.13.0, precompiled header: +27%; G&#8203;CC 16, -O2, count_numbers, 3.13.0, module: +27%; G&#8203;CC 16, -O2, server_config, 3.13.0: +54%; G&#8203;CC 16, -O2, server_config, 3.13.0, precompiled header: +31%; G&#8203;CC 16, -O2, server_config, 3.13.0, module: +31%.</desc>
<rect class="nj-charts-c2" x="8" y="6" width="12" height="12" rx="3"/>
<text class="nj-charts-leg" x="26" y="16.5">3.13.0</text>
<rect class="nj-charts-c1" x="97.2" y="6" width="12" height="12" rx="3"/>
@@ -15,19 +15,19 @@
<line class="nj-charts-grid" x1="457.5" y1="74" x2="457.5" y2="170"/>
<line class="nj-charts-grid" x1="525.833" y1="74" x2="525.833" y2="170"/>
<text class="nj-charts-rowlabel nj-charts-code" x="142" y="101" text-anchor="end">count_numbers</text>
<path class="nj-charts-c2" d="M320.833 78 H439.833 Q443.833 78 443.833 82 V85 Q443.833 89 439.833 89 H320.833 Z"><title>count_numbers, Apple clang 21, -O0 (debug), 3.13.0: 1,131 ms against 831 ms with 3.12.0 (+36%)</title></path>
<text class="nj-charts-val" x="448.833" y="87.5">+36%</text>
<path class="nj-charts-c1" d="M320.833 92 H246.25 Q242.25 92 242.25 96 V99 Q242.25 103 246.25 103 H320.833 Z"><title>count_numbers, Apple clang 21, -O0 (debug), 3.13.0, precompiled header: 639 ms against 831 ms with 3.12.0 (&#8722;23%)</title></path>
<text class="nj-charts-val" x="237.25" y="101.5" text-anchor="end">&#8722;23%</text>
<path class="nj-charts-c3" d="M320.833 106 H307.75 Q303.75 106 303.75 110 V113 Q303.75 117 307.75 117 H320.833 Z"><title>count_numbers, Apple clang 21, -O0 (debug), 3.13.0, module: 790 ms against 831 ms with 3.12.0 (&#8722;5%)</title></path>
<text class="nj-charts-val" x="298.75" y="115.5" text-anchor="end">&#8722;5%</text>
<path class="nj-charts-c2" d="M320.833 78 H456.917 Q460.917 78 460.917 82 V85 Q460.917 89 456.917 89 H320.833 Z"><title>count_numbers, Apple clang 21, -O0 (debug), 3.13.0: 1,245 ms against 886 ms with 3.12.0 (+41%)</title></path>
<text class="nj-charts-val" x="465.917" y="87.5">+41%</text>
<path class="nj-charts-c1" d="M320.833 92 H239.417 Q235.417 92 235.417 96 V99 Q235.417 103 239.417 103 H320.833 Z"><title>count_numbers, Apple clang 21, -O0 (debug), 3.13.0, precompiled header: 664 ms against 886 ms with 3.12.0 (&#8722;25%)</title></path>
<text class="nj-charts-val" x="230.417" y="101.5" text-anchor="end">&#8722;25%</text>
<path class="nj-charts-c3" d="M320.833 106 H318 Q314 106 314 110 V113 Q314 117 318 117 H320.833 Z"><title>count_numbers, Apple clang 21, -O0 (debug), 3.13.0, module: 871 ms against 886 ms with 3.12.0 (&#8722;2%)</title></path>
<text class="nj-charts-val" x="309" y="115.5" text-anchor="end">&#8722;2%</text>
<text class="nj-charts-rowlabel nj-charts-code" x="142" y="150" text-anchor="end">server_config</text>
<path class="nj-charts-c2" d="M320.833 127 H439.833 Q443.833 127 443.833 131 V134 Q443.833 138 439.833 138 H320.833 Z"><title>server_config, Apple clang 21, -O0 (debug), 3.13.0: 1,312 ms against 963 ms with 3.12.0 (+36%)</title></path>
<text class="nj-charts-val" x="448.833" y="136.5">+36%</text>
<path class="nj-charts-c1" d="M320.833 141 H256.5 Q252.5 141 252.5 145 V148 Q252.5 152 256.5 152 H320.833 Z"><title>server_config, Apple clang 21, -O0 (debug), 3.13.0, precompiled header: 774 ms against 963 ms with 3.12.0 (&#8722;20%)</title></path>
<text class="nj-charts-val" x="247.5" y="150.5" text-anchor="end">&#8722;20%</text>
<path class="nj-charts-c3" d="M320.833 155 H344.167 Q348.167 155 348.167 159 V162 Q348.167 166 344.167 166 H320.833 Z"><title>server_config, Apple clang 21, -O0 (debug), 3.13.0, module: 1,036 ms against 963 ms with 3.12.0 (+8%)</title></path>
<text class="nj-charts-val" x="353.167" y="164.5">+8%</text>
<path class="nj-charts-c2" d="M320.833 127 H460.333 Q464.333 127 464.333 131 V134 Q464.333 138 460.333 138 H320.833 Z"><title>server_config, Apple clang 21, -O0 (debug), 3.13.0: 1,472 ms against 1,037 ms with 3.12.0 (+42%)</title></path>
<text class="nj-charts-val" x="469.333" y="136.5">+42%</text>
<path class="nj-charts-c1" d="M320.833 141 H249.667 Q245.667 141 245.667 145 V148 Q245.667 152 249.667 152 H320.833 Z"><title>server_config, Apple clang 21, -O0 (debug), 3.13.0, precompiled header: 809 ms against 1,037 ms with 3.12.0 (&#8722;22%)</title></path>
<text class="nj-charts-val" x="240.667" y="150.5" text-anchor="end">&#8722;22%</text>
<path class="nj-charts-c3" d="M320.833 155 H327.083 Q331.083 155 331.083 159 V162 Q331.083 166 327.083 166 H320.833 Z"><title>server_config, Apple clang 21, -O0 (debug), 3.13.0, module: 1,072 ms against 1,037 ms with 3.12.0 (+3%)</title></path>
<text class="nj-charts-val" x="336.083" y="164.5">+3%</text>
<text class="nj-charts-panel" x="8" y="198">Apple clang 21, -O2</text>
<line class="nj-charts-grid" x1="184.167" y1="204" x2="184.167" y2="300"/>
<line class="nj-charts-grid" x1="252.5" y1="204" x2="252.5" y2="300"/>
@@ -35,19 +35,19 @@
<line class="nj-charts-grid" x1="457.5" y1="204" x2="457.5" y2="300"/>
<line class="nj-charts-grid" x1="525.833" y1="204" x2="525.833" y2="300"/>
<text class="nj-charts-rowlabel nj-charts-code" x="142" y="231" text-anchor="end">count_numbers</text>
<path class="nj-charts-c2" d="M320.833 208 H463.75 Q467.75 208 467.75 212 V215 Q467.75 219 463.75 219 H320.833 Z"><title>count_numbers, Apple clang 21, -O2, 3.13.0: 1,898 ms against 1,328 ms with 3.12.0 (+43%)</title></path>
<text class="nj-charts-val" x="472.75" y="217.5">+43%</text>
<path class="nj-charts-c1" d="M320.833 222 H320.833 Q317.417 222 317.417 225.417 V229.583 Q317.417 233 320.833 233 H320.833 Z"><title>count_numbers, Apple clang 21, -O2, 3.13.0, precompiled header: 1,312 ms against 1,328 ms with 3.12.0 (&#8722;1%)</title></path>
<text class="nj-charts-val" x="312.417" y="231.5" text-anchor="end">&#8722;1%</text>
<path class="nj-charts-c3" d="M320.833 236 H357.833 Q361.833 236 361.833 240 V243 Q361.833 247 357.833 247 H320.833 Z"><title>count_numbers, Apple clang 21, -O2, 3.13.0, module: 1,491 ms against 1,328 ms with 3.12.0 (+12%)</title></path>
<text class="nj-charts-val" x="366.833" y="245.5">+12%</text>
<path class="nj-charts-c2" d="M320.833 208 H480.833 Q484.833 208 484.833 212 V215 Q484.833 219 480.833 219 H320.833 Z"><title>count_numbers, Apple clang 21, -O2, 3.13.0: 1,992 ms against 1,348 ms with 3.12.0 (+48%)</title></path>
<text class="nj-charts-val" x="489.833" y="217.5">+48%</text>
<path class="nj-charts-c1" d="M320.833 222 H327.083 Q331.083 222 331.083 226 V229 Q331.083 233 327.083 233 H320.833 Z"><title>count_numbers, Apple clang 21, -O2, 3.13.0, precompiled header: 1,391 ms against 1,348 ms with 3.12.0 (+3%)</title></path>
<text class="nj-charts-val" x="336.083" y="231.5">+3%</text>
<path class="nj-charts-c3" d="M320.833 236 H388.583 Q392.583 236 392.583 240 V243 Q392.583 247 388.583 247 H320.833 Z"><title>count_numbers, Apple clang 21, -O2, 3.13.0, module: 1,637 ms against 1,348 ms with 3.12.0 (+21%)</title></path>
<text class="nj-charts-val" x="397.583" y="245.5">+21%</text>
<text class="nj-charts-rowlabel nj-charts-code" x="142" y="280" text-anchor="end">server_config</text>
<path class="nj-charts-c2" d="M320.833 257 H460.333 Q464.333 257 464.333 261 V264 Q464.333 268 460.333 268 H320.833 Z"><title>server_config, Apple clang 21, -O2, 3.13.0: 2,251 ms against 1,584 ms with 3.12.0 (+42%)</title></path>
<text class="nj-charts-val" x="469.333" y="266.5">+42%</text>
<path class="nj-charts-c1" d="M320.833 271 H357.833 Q361.833 271 361.833 275 V278 Q361.833 282 357.833 282 H320.833 Z"><title>server_config, Apple clang 21, -O2, 3.13.0, precompiled header: 1,779 ms against 1,584 ms with 3.12.0 (+12%)</title></path>
<text class="nj-charts-val" x="366.833" y="280.5">+12%</text>
<path class="nj-charts-c3" d="M320.833 285 H392 Q396 285 396 289 V292 Q396 296 392 296 H320.833 Z"><title>server_config, Apple clang 21, -O2, 3.13.0, module: 1,926 ms against 1,584 ms with 3.12.0 (+22%)</title></path>
<text class="nj-charts-val" x="401" y="294.5">+22%</text>
<path class="nj-charts-c2" d="M320.833 257 H474 Q478 257 478 261 V264 Q478 268 474 268 H320.833 Z"><title>server_config, Apple clang 21, -O2, 3.13.0: 2,412 ms against 1,647 ms with 3.12.0 (+46%)</title></path>
<text class="nj-charts-val" x="483" y="266.5">+46%</text>
<path class="nj-charts-c1" d="M320.833 271 H361.25 Q365.25 271 365.25 275 V278 Q365.25 282 361.25 282 H320.833 Z"><title>server_config, Apple clang 21, -O2, 3.13.0, precompiled header: 1,854 ms against 1,647 ms with 3.12.0 (+13%)</title></path>
<text class="nj-charts-val" x="370.25" y="280.5">+13%</text>
<path class="nj-charts-c3" d="M320.833 285 H398.833 Q402.833 285 402.833 289 V292 Q402.833 296 398.833 296 H320.833 Z"><title>server_config, Apple clang 21, -O2, 3.13.0, module: 2,047 ms against 1,647 ms with 3.12.0 (+24%)</title></path>
<text class="nj-charts-val" x="407.833" y="294.5">+24%</text>
<text class="nj-charts-panel" x="8" y="328">G&#8203;CC 16, -O0 (debug)</text>
<line class="nj-charts-grid" x1="184.167" y1="334" x2="184.167" y2="430"/>
<line class="nj-charts-grid" x1="252.5" y1="334" x2="252.5" y2="430"/>
@@ -55,19 +55,19 @@
<line class="nj-charts-grid" x1="457.5" y1="334" x2="457.5" y2="430"/>
<line class="nj-charts-grid" x1="525.833" y1="334" x2="525.833" y2="430"/>
<text class="nj-charts-rowlabel nj-charts-code" x="142" y="361" text-anchor="end">count_numbers</text>
<path class="nj-charts-c2" d="M320.833 338 H549.167 Q553.167 338 553.167 342 V345 Q553.167 349 549.167 349 H320.833 Z"><title>count_numbers, G&#8203;CC 16, -O0 (debug), 3.13.0: 2,385 ms against 1,416 ms with 3.12.0 (+68%)</title></path>
<text class="nj-charts-val" x="558.167" y="347.5">+68%</text>
<path class="nj-charts-c1" d="M320.833 352 H357.833 Q361.833 352 361.833 356 V359 Q361.833 363 357.833 363 H320.833 Z"><title>count_numbers, G&#8203;CC 16, -O0 (debug), 3.13.0, precompiled header: 1,593 ms against 1,416 ms with 3.12.0 (+12%)</title></path>
<text class="nj-charts-val" x="366.833" y="361.5">+12%</text>
<path class="nj-charts-c3" d="M320.833 366 H361.25 Q365.25 366 365.25 370 V373 Q365.25 377 361.25 377 H320.833 Z"><title>count_numbers, G&#8203;CC 16, -O0 (debug), 3.13.0, module: 1,604 ms against 1,416 ms with 3.12.0 (+13%)</title></path>
<text class="nj-charts-val" x="370.25" y="375.5">+13%</text>
<path class="nj-charts-c2" d="M320.833 338 H535.5 Q539.5 338 539.5 342 V345 Q539.5 349 535.5 349 H320.833 Z"><title>count_numbers, G&#8203;CC 16, -O0 (debug), 3.13.0: 2,490 ms against 1,514 ms with 3.12.0 (+64%)</title></path>
<text class="nj-charts-val" x="544.5" y="347.5">+64%</text>
<path class="nj-charts-c1" d="M320.833 352 H351 Q355 352 355 356 V359 Q355 363 351 363 H320.833 Z"><title>count_numbers, G&#8203;CC 16, -O0 (debug), 3.13.0, precompiled header: 1,667 ms against 1,514 ms with 3.12.0 (+10%)</title></path>
<text class="nj-charts-val" x="360" y="361.5">+10%</text>
<path class="nj-charts-c3" d="M320.833 366 H347.583 Q351.583 366 351.583 370 V373 Q351.583 377 347.583 377 H320.833 Z"><title>count_numbers, G&#8203;CC 16, -O0 (debug), 3.13.0, module: 1,652 ms against 1,514 ms with 3.12.0 (+9%)</title></path>
<text class="nj-charts-val" x="356.583" y="375.5">+9%</text>
<text class="nj-charts-rowlabel nj-charts-code" x="142" y="410" text-anchor="end">server_config</text>
<path class="nj-charts-c2" d="M320.833 387 H487.667 Q491.667 387 491.667 391 V394 Q491.667 398 487.667 398 H320.833 Z"><title>server_config, G&#8203;CC 16, -O0 (debug), 3.13.0: 2,820 ms against 1,878 ms with 3.12.0 (+50%)</title></path>
<path class="nj-charts-c2" d="M320.833 387 H487.667 Q491.667 387 491.667 391 V394 Q491.667 398 487.667 398 H320.833 Z"><title>server_config, G&#8203;CC 16, -O0 (debug), 3.13.0: 2,926 ms against 1,948 ms with 3.12.0 (+50%)</title></path>
<text class="nj-charts-val" x="496.667" y="396.5">+50%</text>
<path class="nj-charts-c1" d="M320.833 401 H368.083 Q372.083 401 372.083 405 V408 Q372.083 412 368.083 412 H320.833 Z"><title>server_config, G&#8203;CC 16, -O0 (debug), 3.13.0, precompiled header: 2,152 ms against 1,878 ms with 3.12.0 (+15%)</title></path>
<text class="nj-charts-val" x="377.083" y="410.5">+15%</text>
<path class="nj-charts-c3" d="M320.833 415 H371.5 Q375.5 415 375.5 419 V422 Q375.5 426 371.5 426 H320.833 Z"><title>server_config, G&#8203;CC 16, -O0 (debug), 3.13.0, module: 2,180 ms against 1,878 ms with 3.12.0 (+16%)</title></path>
<text class="nj-charts-val" x="380.5" y="424.5">+16%</text>
<path class="nj-charts-c1" d="M320.833 401 H361.25 Q365.25 401 365.25 405 V408 Q365.25 412 361.25 412 H320.833 Z"><title>server_config, G&#8203;CC 16, -O0 (debug), 3.13.0, precompiled header: 2,192 ms against 1,948 ms with 3.12.0 (+13%)</title></path>
<text class="nj-charts-val" x="370.25" y="410.5">+13%</text>
<path class="nj-charts-c3" d="M320.833 415 H361.25 Q365.25 415 365.25 419 V422 Q365.25 426 361.25 426 H320.833 Z"><title>server_config, G&#8203;CC 16, -O0 (debug), 3.13.0, module: 2,208 ms against 1,948 ms with 3.12.0 (+13%)</title></path>
<text class="nj-charts-val" x="370.25" y="424.5">+13%</text>
<text class="nj-charts-panel" x="8" y="458">G&#8203;CC 16, -O2</text>
<line class="nj-charts-grid" x1="184.167" y1="464" x2="184.167" y2="560"/>
<line class="nj-charts-grid" x1="252.5" y1="464" x2="252.5" y2="560"/>
@@ -75,18 +75,18 @@
<line class="nj-charts-grid" x1="457.5" y1="464" x2="457.5" y2="560"/>
<line class="nj-charts-grid" x1="525.833" y1="464" x2="525.833" y2="560"/>
<text class="nj-charts-rowlabel nj-charts-code" x="142" y="491" text-anchor="end">count_numbers</text>
<path class="nj-charts-c2" d="M320.833 468 H521.833 Q525.833 468 525.833 472 V475 Q525.833 479 521.833 479 H320.833 Z"><title>count_numbers, G&#8203;CC 16, -O2, 3.13.0: 3,464 ms against 2,159 ms with 3.12.0 (+60%)</title></path>
<text class="nj-charts-val" x="530.833" y="477.5">+60%</text>
<path class="nj-charts-c1" d="M320.833 482 H412.5 Q416.5 482 416.5 486 V489 Q416.5 493 412.5 493 H320.833 Z"><title>count_numbers, G&#8203;CC 16, -O2, 3.13.0, precompiled header: 2,765 ms against 2,159 ms with 3.12.0 (+28%)</title></path>
<text class="nj-charts-val" x="421.5" y="491.5">+28%</text>
<path class="nj-charts-c3" d="M320.833 496 H409.083 Q413.083 496 413.083 500 V503 Q413.083 507 409.083 507 H320.833 Z"><title>count_numbers, G&#8203;CC 16, -O2, 3.13.0, module: 2,740 ms against 2,159 ms with 3.12.0 (+27%)</title></path>
<path class="nj-charts-c2" d="M320.833 468 H528.667 Q532.667 468 532.667 472 V475 Q532.667 479 528.667 479 H320.833 Z"><title>count_numbers, G&#8203;CC 16, -O2, 3.13.0: 3,653 ms against 2,254 ms with 3.12.0 (+62%)</title></path>
<text class="nj-charts-val" x="537.667" y="477.5">+62%</text>
<path class="nj-charts-c1" d="M320.833 482 H409.083 Q413.083 482 413.083 486 V489 Q413.083 493 409.083 493 H320.833 Z"><title>count_numbers, G&#8203;CC 16, -O2, 3.13.0, precompiled header: 2,863 ms against 2,254 ms with 3.12.0 (+27%)</title></path>
<text class="nj-charts-val" x="418.083" y="491.5">+27%</text>
<path class="nj-charts-c3" d="M320.833 496 H409.083 Q413.083 496 413.083 500 V503 Q413.083 507 409.083 507 H320.833 Z"><title>count_numbers, G&#8203;CC 16, -O2, 3.13.0, module: 2,854 ms against 2,254 ms with 3.12.0 (+27%)</title></path>
<text class="nj-charts-val" x="418.083" y="505.5">+27%</text>
<text class="nj-charts-rowlabel nj-charts-code" x="142" y="540" text-anchor="end">server_config</text>
<path class="nj-charts-c2" d="M320.833 517 H494.5 Q498.5 517 498.5 521 V524 Q498.5 528 494.5 528 H320.833 Z"><title>server_config, G&#8203;CC 16, -O2, 3.13.0: 4,388 ms against 2,878 ms with 3.12.0 (+52%)</title></path>
<text class="nj-charts-val" x="503.5" y="526.5">+52%</text>
<path class="nj-charts-c1" d="M320.833 531 H415.917 Q419.917 531 419.917 535 V538 Q419.917 542 415.917 542 H320.833 Z"><title>server_config, G&#8203;CC 16, -O2, 3.13.0, precompiled header: 3,722 ms against 2,878 ms with 3.12.0 (+29%)</title></path>
<text class="nj-charts-val" x="424.917" y="540.5">+29%</text>
<path class="nj-charts-c3" d="M320.833 545 H422.75 Q426.75 545 426.75 549 V552 Q426.75 556 422.75 556 H320.833 Z"><title>server_config, G&#8203;CC 16, -O2, 3.13.0, module: 3,774 ms against 2,878 ms with 3.12.0 (+31%)</title></path>
<path class="nj-charts-c2" d="M320.833 517 H501.333 Q505.333 517 505.333 521 V524 Q505.333 528 501.333 528 H320.833 Z"><title>server_config, G&#8203;CC 16, -O2, 3.13.0: 4,589 ms against 2,984 ms with 3.12.0 (+54%)</title></path>
<text class="nj-charts-val" x="510.333" y="526.5">+54%</text>
<path class="nj-charts-c1" d="M320.833 531 H422.75 Q426.75 531 426.75 535 V538 Q426.75 542 422.75 542 H320.833 Z"><title>server_config, G&#8203;CC 16, -O2, 3.13.0, precompiled header: 3,913 ms against 2,984 ms with 3.12.0 (+31%)</title></path>
<text class="nj-charts-val" x="431.75" y="540.5">+31%</text>
<path class="nj-charts-c3" d="M320.833 545 H422.75 Q426.75 545 426.75 549 V552 Q426.75 556 422.75 556 H320.833 Z"><title>server_config, G&#8203;CC 16, -O2, 3.13.0, module: 3,897 ms against 2,984 ms with 3.12.0 (+31%)</title></path>
<text class="nj-charts-val" x="431.75" y="554.5">+31%</text>
<line class="nj-charts-ref" x1="320.833" y1="52" x2="320.833" y2="574"/>
<text class="nj-charts-tick" x="184.167" y="590">&#8722;40%</text>

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

@@ -1,6 +1,6 @@
<svg class="nj-fig nj-charts nj-charts--timeline" viewBox="0 0 340 270" role="img" aria-labelledby="nj-blog-tl-accept_twitter nj-blog-tl-accept_twitter-d" xmlns="http://www.w3.org/2000/svg">
<title id="nj-blog-tl-accept_twitter">accept() twitter.json: speedup over 3.12.0 by commit</title>
<desc id="nj-blog-tl-accept_twitter-d">accept() twitter.json: speedup over 3.12.0 at each of 360 commits, ending at 10x. Labeled steps, by theme: 4, 1, 4, 4, 2, 2, 1.</desc>
<desc id="nj-blog-tl-accept_twitter-d">accept() twitter.json: speedup over 3.12.0 at each of 387 commits, ending at 10x. Labeled steps, by theme: 4, 1, 4, 4, 2, 2, 1.</desc>
<text class="nj-charts-panel" x="8" y="18">accept() twitter.json</text>
<line class="nj-charts-grid" x1="44" y1="208" x2="330" y2="208"/>
<text class="nj-charts-tick nj-charts-tick--r" x="38" y="212">1&#215;</text>
@@ -14,40 +14,40 @@
<text class="nj-charts-tick nj-charts-tick--r" x="38" y="70">16&#215;</text>
<line class="nj-charts-axis" x1="44" y1="208" x2="44" y2="212"/>
<text class="nj-charts-tick" x="44" y="225">3.12.0</text>
<line class="nj-charts-axis" x1="116.496" y1="208" x2="116.496" y2="212"/>
<text class="nj-charts-tick" x="116.496" y="225">Sep 2026</text>
<line class="nj-charts-axis" x1="195.365" y1="208" x2="195.365" y2="212"/>
<text class="nj-charts-tick" x="195.365" y="225">Oct</text>
<line class="nj-charts-axis" x1="302.117" y1="208" x2="302.117" y2="212"/>
<text class="nj-charts-tick" x="302.117" y="225">Nov</text>
<polyline class="nj-charts-json" points="44.0,208.0 44.8,208.0 44.8,208.1 45.6,208.1 45.6,207.9 46.4,207.9 46.4,208.0 47.2,208.0 47.2,207.8 48.0,207.8 48.0,207.9 48.8,207.9 48.8,208.0 49.6,208.0 49.6,208.1 50.4,208.1 50.4,208.3 51.2,208.3 51.2,207.3 52.0,207.3 52.0,207.9 52.8,207.9 52.8,208.1 53.6,208.1 53.6,208.0 54.4,208.0 54.4,207.9 55.2,207.9 55.2,207.8 55.9,207.8 55.9,207.9 56.7,207.9 56.7,207.9 57.5,207.9 57.5,207.8 58.3,207.8 58.3,208.1 59.1,208.1 59.1,207.4 59.9,207.4 59.9,208.0 60.7,208.0 60.7,208.0 61.5,208.0 61.5,207.8 62.3,207.8 62.3,207.9 63.1,207.9 63.1,208.0 63.9,208.0 63.9,207.4 64.7,207.4 64.7,207.9 65.5,207.9 65.5,207.7 66.3,207.7 66.3,207.8 67.1,207.8 67.1,208.0 67.9,208.0 67.9,208.0 68.7,208.0 68.7,207.5 69.5,207.5 69.5,207.8 70.3,207.8 70.3,207.7 71.1,207.7 71.1,207.8 71.9,207.8 71.9,208.1 72.7,208.1 72.7,207.8 73.5,207.8 73.5,207.3 74.3,207.3 74.3,207.9 75.1,207.9 75.1,207.4 75.9,207.4 75.9,207.8 76.7,207.8 76.7,207.5 77.5,207.5 77.5,208.1 78.3,208.1 78.3,207.7 79.1,207.7 79.1,207.7 79.8,207.7 79.8,208.1 80.6,208.1 80.6,208.2 81.4,208.2 81.4,207.9 82.2,207.9 82.2,207.8 83.0,207.8 83.0,207.9 83.8,207.9 83.8,207.9 84.6,207.9 84.6,207.6 85.4,207.6 85.4,207.9 86.2,207.9 86.2,207.9 87.0,207.9 87.0,208.0 87.8,208.0 87.8,197.9 88.6,197.9 88.6,198.5 89.4,198.5 89.4,198.7 90.2,198.7 90.2,198.3 91.0,198.3 91.0,198.7 91.8,198.7 91.8,198.0 92.6,198.0 92.6,198.0 93.4,198.0 93.4,198.5 94.2,198.5 94.2,198.3 95.0,198.3 95.0,198.4 95.8,198.4 95.8,198.7 96.6,198.7 96.6,198.0 97.4,198.0 97.4,198.4 98.2,198.4 98.2,198.5 99.0,198.5 99.0,198.7 99.8,198.7 99.8,198.5 100.6,198.5 100.6,198.5 101.4,198.5 101.4,198.4 102.2,198.4 102.2,198.9 103.0,198.9 103.0,198.3 103.7,198.3 103.7,198.5 104.5,198.5 104.5,199.2 105.3,199.2 105.3,198.8 106.1,198.8 106.1,197.9 106.9,197.9 106.9,198.0 107.7,198.0 107.7,198.4 108.5,198.4 108.5,198.7 109.3,198.7 109.3,198.7 110.1,198.7 110.1,198.7 110.9,198.7 110.9,197.9 111.7,197.9 111.7,197.8 112.5,197.8 112.5,198.3 113.3,198.3 113.3,198.5 114.1,198.5 114.1,198.9 114.9,198.9 114.9,198.0 115.7,198.0 115.7,198.3 116.5,198.3 116.5,198.6 117.3,198.6 117.3,198.4 118.1,198.4 118.1,198.6 118.9,198.6 118.9,197.1 119.7,197.1 119.7,198.2 120.5,198.2 120.5,198.3 121.3,198.3 121.3,198.1 122.1,198.1 122.1,198.0 122.9,198.0 122.9,198.0 123.7,198.0 123.7,198.3 124.5,198.3 124.5,198.3 125.3,198.3 125.3,198.1 126.1,198.1 126.1,198.5 126.9,198.5 126.9,198.0 127.6,198.0 127.6,198.0 128.4,198.0 128.4,159.4 129.2,159.4 129.2,159.2 130.0,159.2 130.0,158.7 130.8,158.7 130.8,158.5 131.6,158.5 131.6,159.3 132.4,159.3 132.4,158.9 133.2,158.9 133.2,158.8 134.0,158.8 134.0,159.2 134.8,159.2 134.8,159.3 135.6,159.3 135.6,159.4 136.4,159.4 136.4,158.6 137.2,158.6 137.2,159.3 138.0,159.3 138.0,158.8 138.8,158.8 138.8,159.3 139.6,159.3 139.6,158.4 140.4,158.4 140.4,159.3 141.2,159.3 141.2,158.4 142.0,158.4 142.0,159.3 142.8,159.3 142.8,159.2 143.6,159.2 143.6,158.5 144.4,158.5 144.4,158.8 145.2,158.8 145.2,158.8 146.0,158.8 146.0,159.6 146.8,159.6 146.8,159.2 147.6,159.2 147.6,158.7 148.4,158.7 148.4,159.3 149.2,159.3 149.2,158.5 150.0,158.5 150.0,158.8 150.8,158.8 150.8,158.5 151.5,158.5 151.5,158.4 152.3,158.4 152.3,157.9 153.1,157.9 153.1,159.2 153.9,159.2 153.9,157.9 154.7,157.9 154.7,159.1 155.5,159.1 155.5,159.0 156.3,159.0 156.3,158.7 157.1,158.7 157.1,159.0 157.9,159.0 157.9,158.5 158.7,158.5 158.7,158.1 159.5,158.1 159.5,157.9 160.3,157.9 160.3,158.0 161.1,158.0 161.1,158.4 161.9,158.4 161.9,158.2 162.7,158.2 162.7,158.4 163.5,158.4 163.5,158.5 164.3,158.5 164.3,158.5 165.1,158.5 165.1,158.1 165.9,158.1 165.9,158.8 166.7,158.8 166.7,158.3 167.5,158.3 167.5,158.8 168.3,158.8 168.3,158.5 169.1,158.5 169.1,158.3 169.9,158.3 169.9,157.8 170.7,157.8 170.7,158.2 171.5,158.2 171.5,158.2 172.3,158.2 172.3,158.3 173.1,158.3 173.1,157.2 173.9,157.2 173.9,157.5 174.7,157.5 174.7,157.5 175.4,157.5 175.4,157.8 176.2,157.8 176.2,158.4 177.0,158.4 177.0,158.2 177.8,158.2 177.8,158.1 178.6,158.1 178.6,157.7 179.4,157.7 179.4,157.9 180.2,157.9 180.2,157.5 181.0,157.5 181.0,157.3 181.8,157.3 181.8,158.6 182.6,158.6 182.6,158.2 183.4,158.2 183.4,157.9 184.2,157.9 184.2,158.1 185.0,158.1 185.0,157.3 185.8,157.3 185.8,157.7 186.6,157.7 186.6,158.1 187.4,158.1 187.4,157.9 188.2,157.9 188.2,158.5 189.0,158.5 189.0,157.3 189.8,157.3 189.8,157.8 190.6,157.8 190.6,158.2 191.4,158.2 191.4,157.7 192.2,157.7 192.2,158.3 193.0,158.3 193.0,157.3 193.8,157.3 193.8,158.4 194.6,158.4 194.6,157.9 195.4,157.9 195.4,158.1 196.2,158.1 196.2,157.4 197.0,157.4 197.0,158.0 197.8,158.0 197.8,157.0 198.6,157.0 198.6,157.9 199.3,157.9 199.3,157.6 200.1,157.6 200.1,158.0 200.9,158.0 200.9,158.1 201.7,158.1 201.7,157.9 202.5,157.9 202.5,158.5 203.3,158.5 203.3,158.9 204.1,158.9 204.1,158.7 204.9,158.7 204.9,157.4 205.7,157.4 205.7,157.6 206.5,157.6 206.5,157.7 207.3,157.7 207.3,157.8 208.1,157.8 208.1,158.2 208.9,158.2 208.9,157.8 209.7,157.8 209.7,158.1 210.5,158.1 210.5,158.1 211.3,158.1 211.3,158.5 212.1,158.5 212.1,157.4 212.9,157.4 212.9,158.6Line truncated
<circle class="nj-charts-json-dot" cx="87.8" cy="197.9" r="3.5"><title>#5234: 1.22&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="87.8" y1="54.0" x2="87.8" y2="192.9"/>
<circle class="nj-theme-dot" cx="87.8" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="87.8" y="50.0" text-anchor="middle">4</text>
<circle class="nj-charts-json-dot" cx="128.4" cy="159.4" r="3.5"><title>#5283: 2.6&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="128.4" y1="54.0" x2="128.4" y2="154.4"/>
<circle class="nj-theme-dot" cx="128.4" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="128.4" y="50.0" text-anchor="middle">1</text>
<circle class="nj-charts-json-dot" cx="219.3" cy="153.4" r="3.5"><title>#5592: 2.9&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="219.3" y1="54.0" x2="219.3" y2="148.4"/>
<circle class="nj-theme-dot" cx="219.3" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="219.3" y="50.0" text-anchor="middle">4</text>
<circle class="nj-charts-json-dot" cx="239.2" cy="141.0" r="3.5"><title>#5809: 3.7&#215;</title></circle>
<circle class="nj-charts-json-dot" cx="240.0" cy="136.5" r="3.5"><title>#5810: 4.0&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="240.0" y1="36.0" x2="240.0" y2="131.5"/>
<circle class="nj-theme-dot" cx="231.0" cy="28.0" r="7.5"/>
<text class="nj-theme-num" x="231.0" y="32.0" text-anchor="middle">4</text>
<circle class="nj-theme-dot" cx="249.0" cy="28.0" r="7.5"/>
<text class="nj-theme-num" x="249.0" y="32.0" text-anchor="middle">2</text>
<circle class="nj-charts-json-dot" cx="268.7" cy="126.4" r="3.5"><title>#5853: 4.9&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="268.7" y1="54.0" x2="268.7" y2="121.4"/>
<circle class="nj-theme-dot" cx="268.7" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="268.7" y="50.0" text-anchor="middle">2</text>
<circle class="nj-charts-json-dot" cx="330.0" cy="89.0" r="3.5"><title>#6031: 10&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="330.0" y1="54.0" x2="330.0" y2="84.0"/>
<circle class="nj-theme-dot" cx="322.5" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="322.5" y="50.0" text-anchor="middle">1</text>
<line class="nj-charts-axis" x1="111.425" y1="208" x2="111.425" y2="212"/>
<text class="nj-charts-tick" x="111.425" y="225">Sep 2026</text>
<line class="nj-charts-axis" x1="184.777" y1="208" x2="184.777" y2="212"/>
<text class="nj-charts-tick" x="184.777" y="225">Oct</text>
<line class="nj-charts-axis" x1="284.062" y1="208" x2="284.062" y2="212"/>
<text class="nj-charts-tick" x="284.062" y="225">Nov</text>
<polyline class="nj-charts-json" points="44.0,208.0 44.7,208.0 44.7,208.1 45.5,208.1 45.5,207.9 46.2,207.9 46.2,208.0 47.0,208.0 47.0,207.8 47.7,207.8 47.7,207.9 48.4,207.9 48.4,208.0 49.2,208.0 49.2,208.1 49.9,208.1 49.9,208.3 50.7,208.3 50.7,207.3 51.4,207.3 51.4,207.9 52.2,207.9 52.2,208.1 52.9,208.1 52.9,208.0 53.6,208.0 53.6,207.9 54.4,207.9 54.4,207.8 55.1,207.8 55.1,207.9 55.9,207.9 55.9,207.9 56.6,207.9 56.6,207.8 57.3,207.8 57.3,208.1 58.1,208.1 58.1,207.4 58.8,207.4 58.8,208.0 59.6,208.0 59.6,208.0 60.3,208.0 60.3,207.8 61.0,207.8 61.0,207.9 61.8,207.9 61.8,208.0 62.5,208.0 62.5,207.4 63.3,207.4 63.3,207.9 64.0,207.9 64.0,207.7 64.7,207.7 64.7,207.8 65.5,207.8 65.5,208.0 66.2,208.0 66.2,208.0 67.0,208.0 67.0,207.5 67.7,207.5 67.7,207.8 68.5,207.8 68.5,207.7 69.2,207.7 69.2,207.8 69.9,207.8 69.9,208.1 70.7,208.1 70.7,207.8 71.4,207.8 71.4,207.3 72.2,207.3 72.2,207.9 72.9,207.9 72.9,207.4 73.6,207.4 73.6,207.8 74.4,207.8 74.4,207.5 75.1,207.5 75.1,208.1 75.9,208.1 75.9,207.7 76.6,207.7 76.6,207.7 77.3,207.7 77.3,208.1 78.1,208.1 78.1,208.2 78.8,208.2 78.8,207.9 79.6,207.9 79.6,207.8 80.3,207.8 80.3,207.9 81.0,207.9 81.0,207.9 81.8,207.9 81.8,207.6 82.5,207.6 82.5,207.9 83.3,207.9 83.3,207.9 84.0,207.9 84.0,208.0 84.8,208.0 84.8,197.9 85.5,197.9 85.5,198.5 86.2,198.5 86.2,198.7 87.0,198.7 87.0,198.3 87.7,198.3 87.7,198.7 88.5,198.7 88.5,198.0 89.2,198.0 89.2,198.0 89.9,198.0 89.9,198.5 90.7,198.5 90.7,198.3 91.4,198.3 91.4,198.4 92.2,198.4 92.2,198.7 92.9,198.7 92.9,198.0 93.6,198.0 93.6,198.4 94.4,198.4 94.4,198.5 95.1,198.5 95.1,198.7 95.9,198.7 95.9,198.5 96.6,198.5 96.6,198.5 97.3,198.5 97.3,198.4 98.1,198.4 98.1,198.9 98.8,198.9 98.8,198.3 99.6,198.3 99.6,198.5 100.3,198.5 100.3,199.2 101.1,199.2 101.1,198.8 101.8,198.8 101.8,197.9 102.5,197.9 102.5,198.0 103.3,198.0 103.3,198.4 104.0,198.4 104.0,198.7 104.8,198.7 104.8,198.7 105.5,198.7 105.5,198.7 106.2,198.7 106.2,197.9 107.0,197.9 107.0,197.8 107.7,197.8 107.7,198.3 108.5,198.3 108.5,198.5 109.2,198.5 109.2,198.9 109.9,198.9 109.9,198.0 110.7,198.0 110.7,198.3 111.4,198.3 111.4,198.6 112.2,198.6 112.2,198.4 112.9,198.4 112.9,198.6 113.6,198.6 113.6,197.1 114.4,197.1 114.4,198.2 115.1,198.2 115.1,198.3 115.9,198.3 115.9,198.1 116.6,198.1 116.6,198.0 117.4,198.0 117.4,198.0 118.1,198.0 118.1,198.3 118.8,198.3 118.8,198.3 119.6,198.3 119.6,198.1 120.3,198.1 120.3,198.5 121.1,198.5 121.1,198.0 121.8,198.0 121.8,198.0 122.5,198.0 122.5,159.4 123.3,159.4 123.3,159.2 124.0,159.2 124.0,158.7 124.8,158.7 124.8,158.5 125.5,158.5 125.5,159.3 126.2,159.3 126.2,158.9 127.0,158.9 127.0,158.8 127.7,158.8 127.7,159.2 128.5,159.2 128.5,159.3 129.2,159.3 129.2,159.4 129.9,159.4 129.9,158.6 130.7,158.6 130.7,159.3 131.4,159.3 131.4,158.8 132.2,158.8 132.2,159.3 132.9,159.3 132.9,158.4 133.7,158.4 133.7,159.3 134.4,159.3 134.4,158.4 135.1,158.4 135.1,159.3 135.9,159.3 135.9,159.2 136.6,159.2 136.6,158.5 137.4,158.5 137.4,158.8 138.1,158.8 138.1,158.8 138.8,158.8 138.8,159.6 139.6,159.6 139.6,159.2 140.3,159.2 140.3,158.7 141.1,158.7 141.1,159.3 141.8,159.3 141.8,158.5 142.5,158.5 142.5,158.8 143.3,158.8 143.3,158.5 144.0,158.5 144.0,158.4 144.8,158.4 144.8,157.9 145.5,157.9 145.5,159.2 146.2,159.2 146.2,157.9 147.0,157.9 147.0,159.1 147.7,159.1 147.7,159.0 148.5,159.0 148.5,158.7 149.2,158.7 149.2,159.0 150.0,159.0 150.0,158.5 150.7,158.5 150.7,158.1 151.4,158.1 151.4,157.9 152.2,157.9 152.2,158.0 152.9,158.0 152.9,158.4 153.7,158.4 153.7,158.2 154.4,158.2 154.4,158.4 155.1,158.4 155.1,158.5 155.9,158.5 155.9,158.5 156.6,158.5 156.6,158.1 157.4,158.1 157.4,158.8 158.1,158.8 158.1,158.3 158.8,158.3 158.8,158.8 159.6,158.8 159.6,158.5 160.3,158.5 160.3,158.3 161.1,158.3 161.1,157.8 161.8,157.8 161.8,158.2 162.5,158.2 162.5,158.2 163.3,158.2 163.3,158.3 164.0,158.3 164.0,157.2 164.8,157.2 164.8,157.5 165.5,157.5 165.5,157.5 166.3,157.5 166.3,157.8 167.0,157.8 167.0,158.4 167.7,158.4 167.7,158.2 168.5,158.2 168.5,158.1 169.2,158.1 169.2,157.7 170.0,157.7 170.0,157.9 170.7,157.9 170.7,157.5 171.4,157.5 171.4,157.3 172.2,157.3 172.2,158.6 172.9,158.6 172.9,158.2 173.7,158.2 173.7,157.9 174.4,157.9 174.4,158.1 175.1,158.1 175.1,157.3 175.9,157.3 175.9,157.7 176.6,157.7 176.6,158.1 177.4,158.1 177.4,157.9 178.1,157.9 178.1,158.5 178.8,158.5 178.8,157.3 179.6,157.3 179.6,157.8 180.3,157.8 180.3,158.2 181.1,158.2 181.1,157.7 181.8,157.7 181.8,158.3 182.6,158.3 182.6,157.3 183.3,157.3 183.3,158.4 184.0,158.4 184.0,157.9 184.8,157.9 184.8,158.1 185.5,158.1 185.5,157.4 186.3,157.4 186.3,158.0 187.0,158.0 187.0,157.0 187.7,157.0 187.7,157.9 188.5,157.9 188.5,157.6 189.2,157.6 189.2,158.0 190.0,158.0 190.0,158.1 190.7,158.1 190.7,157.9 191.4,157.9 191.4,158.5 192.2,158.5 192.2,158.9 192.9,158.9 192.9,158.7 193.7,158.7 193.7,157.4 194.4,157.4 194.4,157.6 195.2,157.6 195.2,157.7 195.9,157.7 195.9,157.8 196.6,157.8 196.6,158.2 197.4,158.2 197.4,157.8 198.1,157.8 198.1,158.1 198.9,158.1 198.9,158.1 199.6,158.1 199.6,158.5 200.3,158.5 200.3,157.4 201.1,157.4 201.1,158.6 201.8,158Line truncated
<circle class="nj-charts-json-dot" cx="84.8" cy="197.9" r="3.5"><title>#5234: 1.22&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="84.8" y1="54.0" x2="84.8" y2="192.9"/>
<circle class="nj-theme-dot" cx="84.8" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="84.8" y="50.0" text-anchor="middle">4</text>
<circle class="nj-charts-json-dot" cx="122.5" cy="159.4" r="3.5"><title>#5283: 2.6&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="122.5" y1="54.0" x2="122.5" y2="154.4"/>
<circle class="nj-theme-dot" cx="122.5" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="122.5" y="50.0" text-anchor="middle">1</text>
<circle class="nj-charts-json-dot" cx="207.0" cy="153.4" r="3.5"><title>#5592: 2.9&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="207.0" y1="54.0" x2="207.0" y2="148.4"/>
<circle class="nj-theme-dot" cx="207.0" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="207.0" y="50.0" text-anchor="middle">4</text>
<circle class="nj-charts-json-dot" cx="225.5" cy="141.0" r="3.5"><title>#5809: 3.7&#215;</title></circle>
<circle class="nj-charts-json-dot" cx="226.3" cy="136.5" r="3.5"><title>#5810: 4.0&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="226.3" y1="36.0" x2="226.3" y2="131.5"/>
<circle class="nj-theme-dot" cx="217.3" cy="28.0" r="7.5"/>
<text class="nj-theme-num" x="217.3" y="32.0" text-anchor="middle">4</text>
<circle class="nj-theme-dot" cx="235.3" cy="28.0" r="7.5"/>
<text class="nj-theme-num" x="235.3" y="32.0" text-anchor="middle">2</text>
<circle class="nj-charts-json-dot" cx="252.9" cy="126.4" r="3.5"><title>#5853: 4.9&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="252.9" y1="54.0" x2="252.9" y2="121.4"/>
<circle class="nj-theme-dot" cx="252.9" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="252.9" y="50.0" text-anchor="middle">2</text>
<circle class="nj-charts-json-dot" cx="310.7" cy="88.1" r="3.5"><title>#6031: 10&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="310.7" y1="54.0" x2="310.7" y2="83.1"/>
<circle class="nj-theme-dot" cx="310.7" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="310.7" y="50.0" text-anchor="middle">1</text>
<line class="nj-charts-axis" x1="44" y1="208" x2="330" y2="208"/>
<text class="nj-charts-note" x="8" y="262">speedup over 3.12.0 (log scale), more is better</text>
</svg>

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 13 KiB

@@ -1,6 +1,6 @@
<svg class="nj-fig nj-charts nj-charts--timeline" viewBox="0 0 340 270" role="img" aria-labelledby="nj-blog-tl-dump_canada nj-blog-tl-dump_canada-d" xmlns="http://www.w3.org/2000/svg">
<title id="nj-blog-tl-dump_canada">dump() canada.json: speedup over 3.12.0 by commit</title>
<desc id="nj-blog-tl-dump_canada-d">dump() canada.json: speedup over 3.12.0 at each of 360 commits, ending at 3.2x. Labeled steps, by theme: 6, 3.</desc>
<desc id="nj-blog-tl-dump_canada-d">dump() canada.json: speedup over 3.12.0 at each of 387 commits, ending at 3.3x. Labeled steps, by theme: 6, 3.</desc>
<text class="nj-charts-panel" x="8" y="18">dump() canada.json</text>
<line class="nj-charts-grid" x1="44" y1="208" x2="330" y2="208"/>
<text class="nj-charts-tick nj-charts-tick--r" x="38" y="212">1&#215;</text>
@@ -12,21 +12,21 @@
<text class="nj-charts-tick nj-charts-tick--r" x="38" y="70">8&#215;</text>
<line class="nj-charts-axis" x1="44" y1="208" x2="44" y2="212"/>
<text class="nj-charts-tick" x="44" y="225">3.12.0</text>
<line class="nj-charts-axis" x1="116.496" y1="208" x2="116.496" y2="212"/>
<text class="nj-charts-tick" x="116.496" y="225">Sep 2026</text>
<line class="nj-charts-axis" x1="195.365" y1="208" x2="195.365" y2="212"/>
<text class="nj-charts-tick" x="195.365" y="225">Oct</text>
<line class="nj-charts-axis" x1="302.117" y1="208" x2="302.117" y2="212"/>
<text class="nj-charts-tick" x="302.117" y="225">Nov</text>
<polyline class="nj-charts-json" points="44.0,208.0 44.8,208.0 44.8,208.0 45.6,208.0 45.6,207.2 46.4,207.2 46.4,207.9 47.2,207.9 47.2,206.7 48.0,206.7 48.0,207.5 48.8,207.5 48.8,207.7 49.6,207.7 49.6,207.3 50.4,207.3 50.4,207.9 51.2,207.9 51.2,206.6 52.0,206.6 52.0,207.5 52.8,207.5 52.8,208.0 53.6,208.0 53.6,207.6 54.4,207.6 54.4,207.2 55.2,207.2 55.2,207.5 55.9,207.5 55.9,206.6 56.7,206.6 56.7,207.1 57.5,207.1 57.5,207.1 58.3,207.1 58.3,207.2 59.1,207.2 59.1,206.6 59.9,206.6 59.9,207.5 60.7,207.5 60.7,207.6 61.5,207.6 61.5,207.7 62.3,207.7 62.3,207.2 63.1,207.2 63.1,206.5 63.9,206.5 63.9,206.8 64.7,206.8 64.7,207.1 65.5,207.1 65.5,207.0 66.3,207.0 66.3,207.1 67.1,207.1 67.1,206.7 67.9,206.7 67.9,208.2 68.7,208.2 68.7,207.5 69.5,207.5 69.5,206.6 70.3,206.6 70.3,206.7 71.1,206.7 71.1,206.3 71.9,206.3 71.9,208.4 72.7,208.4 72.7,207.3 73.5,207.3 73.5,206.8 74.3,206.8 74.3,208.0 75.1,208.0 75.1,207.8 75.9,207.8 75.9,207.1 76.7,207.1 76.7,207.5 77.5,207.5 77.5,207.9 78.3,207.9 78.3,206.3 79.1,206.3 79.1,206.8 79.8,206.8 79.8,207.5 80.6,207.5 80.6,208.1 81.4,208.1 81.4,206.6 82.2,206.6 82.2,207.2 83.0,207.2 83.0,207.2 83.8,207.2 83.8,207.4 84.6,207.4 84.6,207.0 85.4,207.0 85.4,206.7 86.2,206.7 86.2,206.5 87.0,206.5 87.0,207.6 87.8,207.6 87.8,207.4 88.6,207.4 88.6,207.2 89.4,207.2 89.4,207.5 90.2,207.5 90.2,207.6 91.0,207.6 91.0,208.0 91.8,208.0 91.8,208.2 92.6,208.2 92.6,206.7 93.4,206.7 93.4,207.4 94.2,207.4 94.2,206.7 95.0,206.7 95.0,206.6 95.8,206.6 95.8,208.0 96.6,208.0 96.6,208.0 97.4,208.0 97.4,206.3 98.2,206.3 98.2,208.3 99.0,208.3 99.0,207.8 99.8,207.8 99.8,207.4 100.6,207.4 100.6,206.3 101.4,206.3 101.4,208.1 102.2,208.1 102.2,207.5 103.0,207.5 103.0,207.4 103.7,207.4 103.7,207.5 104.5,207.5 104.5,207.7 105.3,207.7 105.3,208.0 106.1,208.0 106.1,207.0 106.9,207.0 106.9,207.5 107.7,207.5 107.7,207.2 108.5,207.2 108.5,207.7 109.3,207.7 109.3,207.3 110.1,207.3 110.1,208.0 110.9,208.0 110.9,206.7 111.7,206.7 111.7,206.6 112.5,206.6 112.5,207.2 113.3,207.2 113.3,208.1 114.1,208.1 114.1,208.1 114.9,208.1 114.9,206.7 115.7,206.7 115.7,207.8 116.5,207.8 116.5,207.6 117.3,207.6 117.3,207.4 118.1,207.4 118.1,207.1 118.9,207.1 118.9,207.5 119.7,207.5 119.7,208.8 120.5,208.8 120.5,209.2 121.3,209.2 121.3,208.4 122.1,208.4 122.1,208.3 122.9,208.3 122.9,208.0 123.7,208.0 123.7,209.0 124.5,209.0 124.5,208.5 125.3,208.5 125.3,209.1 126.1,209.1 126.1,209.2 126.9,209.2 126.9,208.6 127.6,208.6 127.6,207.7 128.4,207.7 128.4,207.7 129.2,207.7 129.2,207.5 130.0,207.5 130.0,202.2 130.8,202.2 130.8,202.3 131.6,202.3 131.6,201.7 132.4,201.7 132.4,202.3 133.2,202.3 133.2,201.9 134.0,201.9 134.0,201.2 134.8,201.2 134.8,202.1 135.6,202.1 135.6,202.6 136.4,202.6 136.4,201.5 137.2,201.5 137.2,202.3 138.0,202.3 138.0,202.3 138.8,202.3 138.8,201.7 139.6,201.7 139.6,201.3 140.4,201.3 140.4,202.5 141.2,202.5 141.2,201.1 142.0,201.1 142.0,202.9 142.8,202.9 142.8,202.2 143.6,202.2 143.6,201.7 144.4,201.7 144.4,201.7 145.2,201.7 145.2,201.6 146.0,201.6 146.0,203.0 146.8,203.0 146.8,202.7 147.6,202.7 147.6,202.4 148.4,202.4 148.4,202.8 149.2,202.8 149.2,202.1 150.0,202.1 150.0,203.1 150.8,203.1 150.8,202.3 151.5,202.3 151.5,202.3 152.3,202.3 152.3,201.8 153.1,201.8 153.1,203.1 153.9,203.1 153.9,201.8 154.7,201.8 154.7,202.6 155.5,202.6 155.5,202.6 156.3,202.6 156.3,202.9 157.1,202.9 157.1,202.3 157.9,202.3 157.9,202.3 158.7,202.3 158.7,201.6 159.5,201.6 159.5,201.5 160.3,201.5 160.3,202.4 161.1,202.4 161.1,201.7 161.9,201.7 161.9,201.2 162.7,201.2 162.7,202.2 163.5,202.2 163.5,201.6 164.3,201.6 164.3,201.6 165.1,201.6 165.1,201.8 165.9,201.8 165.9,202.1 166.7,202.1 166.7,201.7 167.5,201.7 167.5,201.4 168.3,201.4 168.3,202.2 169.1,202.2 169.1,202.7 169.9,202.7 169.9,202.4 170.7,202.4 170.7,201.7 171.5,201.7 171.5,201.7 172.3,201.7 172.3,202.3 173.1,202.3 173.1,201.6 173.9,201.6 173.9,201.7 174.7,201.7 174.7,202.2 175.4,202.2 175.4,202.2 176.2,202.2 176.2,202.4 177.0,202.4 177.0,201.7 177.8,201.7 177.8,202.1 178.6,202.1 178.6,201.6 179.4,201.6 179.4,202.2 180.2,202.2 180.2,201.9 181.0,201.9 181.0,201.9 181.8,201.9 181.8,202.5 182.6,202.5 182.6,201.6 183.4,201.6 183.4,202.1 184.2,202.1 184.2,202.3 185.0,202.3 185.0,201.8 185.8,201.8 185.8,201.5 186.6,201.5 186.6,202.3 187.4,202.3 187.4,202.2 188.2,202.2 188.2,202.9 189.0,202.9 189.0,201.3 189.8,201.3 189.8,202.2 190.6,202.2 190.6,203.6 191.4,203.6 191.4,201.9 192.2,201.9 192.2,202.4 193.0,202.4 193.0,201.7 193.8,201.7 193.8,202.7 194.6,202.7 194.6,202.3 195.4,202.3 195.4,202.5 196.2,202.5 196.2,202.1 197.0,202.1 197.0,203.4 197.8,203.4 197.8,202.1 198.6,202.1 198.6,202.3 199.3,202.3 199.3,201.9 200.1,201.9 200.1,202.3 200.9,202.3 200.9,201.7 201.7,201.7 201.7,202.4 202.5,202.4 202.5,202.3 203.3,202.3 203.3,202.9 204.1,202.9 204.1,202.9 204.9,202.9 204.9,202.2 205.7,202.2 205.7,202.4 206.5,202.4 206.5,202.2 207.3,202.2 207.3,202.7 208.1,202.7 208.1,202.5 208.9,202.5 208.9,202.5 209.7,202.5 209.7,201.5 210.5,201.5 210.5,203.1 211.3,203.1 211.3,203.2 212.1,203.2 212.1,201.5 212.9,201.5 212.9,203.3Line truncated
<circle class="nj-charts-json-dot" cx="130.0" cy="202.2" r="3.5"><title>#5285: 1.09&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="130.0" y1="54.0" x2="130.0" y2="197.2"/>
<circle class="nj-theme-dot" cx="130.0" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="130.0" y="50.0" text-anchor="middle">6</text>
<circle class="nj-charts-json-dot" cx="242.4" cy="130.7" r="3.5"><title>#5634: 3.1&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="242.4" y1="54.0" x2="242.4" y2="125.7"/>
<circle class="nj-theme-dot" cx="242.4" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="242.4" y="50.0" text-anchor="middle">3</text>
<line class="nj-charts-axis" x1="111.425" y1="208" x2="111.425" y2="212"/>
<text class="nj-charts-tick" x="111.425" y="225">Sep 2026</text>
<line class="nj-charts-axis" x1="184.777" y1="208" x2="184.777" y2="212"/>
<text class="nj-charts-tick" x="184.777" y="225">Oct</text>
<line class="nj-charts-axis" x1="284.062" y1="208" x2="284.062" y2="212"/>
<text class="nj-charts-tick" x="284.062" y="225">Nov</text>
<polyline class="nj-charts-json" points="44.0,208.0 44.7,208.0 44.7,208.0 45.5,208.0 45.5,207.2 46.2,207.2 46.2,207.9 47.0,207.9 47.0,206.7 47.7,206.7 47.7,207.5 48.4,207.5 48.4,207.7 49.2,207.7 49.2,207.3 49.9,207.3 49.9,207.9 50.7,207.9 50.7,206.6 51.4,206.6 51.4,207.5 52.2,207.5 52.2,208.0 52.9,208.0 52.9,207.6 53.6,207.6 53.6,207.2 54.4,207.2 54.4,207.5 55.1,207.5 55.1,206.6 55.9,206.6 55.9,207.1 56.6,207.1 56.6,207.1 57.3,207.1 57.3,207.2 58.1,207.2 58.1,206.6 58.8,206.6 58.8,207.5 59.6,207.5 59.6,207.6 60.3,207.6 60.3,207.7 61.0,207.7 61.0,207.2 61.8,207.2 61.8,206.5 62.5,206.5 62.5,206.8 63.3,206.8 63.3,207.1 64.0,207.1 64.0,207.0 64.7,207.0 64.7,207.1 65.5,207.1 65.5,206.7 66.2,206.7 66.2,208.2 67.0,208.2 67.0,207.5 67.7,207.5 67.7,206.6 68.5,206.6 68.5,206.7 69.2,206.7 69.2,206.3 69.9,206.3 69.9,208.4 70.7,208.4 70.7,207.3 71.4,207.3 71.4,206.8 72.2,206.8 72.2,208.0 72.9,208.0 72.9,207.8 73.6,207.8 73.6,207.1 74.4,207.1 74.4,207.5 75.1,207.5 75.1,207.9 75.9,207.9 75.9,206.3 76.6,206.3 76.6,206.8 77.3,206.8 77.3,207.5 78.1,207.5 78.1,208.1 78.8,208.1 78.8,206.6 79.6,206.6 79.6,207.2 80.3,207.2 80.3,207.2 81.0,207.2 81.0,207.4 81.8,207.4 81.8,207.0 82.5,207.0 82.5,206.7 83.3,206.7 83.3,206.5 84.0,206.5 84.0,207.6 84.8,207.6 84.8,207.4 85.5,207.4 85.5,207.2 86.2,207.2 86.2,207.5 87.0,207.5 87.0,207.6 87.7,207.6 87.7,208.0 88.5,208.0 88.5,208.2 89.2,208.2 89.2,206.7 89.9,206.7 89.9,207.4 90.7,207.4 90.7,206.7 91.4,206.7 91.4,206.6 92.2,206.6 92.2,208.0 92.9,208.0 92.9,208.0 93.6,208.0 93.6,206.3 94.4,206.3 94.4,208.3 95.1,208.3 95.1,207.8 95.9,207.8 95.9,207.4 96.6,207.4 96.6,206.3 97.3,206.3 97.3,208.1 98.1,208.1 98.1,207.5 98.8,207.5 98.8,207.4 99.6,207.4 99.6,207.5 100.3,207.5 100.3,207.7 101.1,207.7 101.1,208.0 101.8,208.0 101.8,207.0 102.5,207.0 102.5,207.5 103.3,207.5 103.3,207.2 104.0,207.2 104.0,207.7 104.8,207.7 104.8,207.3 105.5,207.3 105.5,208.0 106.2,208.0 106.2,206.7 107.0,206.7 107.0,206.6 107.7,206.6 107.7,207.2 108.5,207.2 108.5,208.1 109.2,208.1 109.2,208.1 109.9,208.1 109.9,206.7 110.7,206.7 110.7,207.8 111.4,207.8 111.4,207.6 112.2,207.6 112.2,207.4 112.9,207.4 112.9,207.1 113.6,207.1 113.6,207.5 114.4,207.5 114.4,208.8 115.1,208.8 115.1,209.2 115.9,209.2 115.9,208.4 116.6,208.4 116.6,208.3 117.4,208.3 117.4,208.0 118.1,208.0 118.1,209.0 118.8,209.0 118.8,208.5 119.6,208.5 119.6,209.1 120.3,209.1 120.3,209.2 121.1,209.2 121.1,208.6 121.8,208.6 121.8,207.7 122.5,207.7 122.5,207.7 123.3,207.7 123.3,207.5 124.0,207.5 124.0,202.2 124.8,202.2 124.8,202.3 125.5,202.3 125.5,201.7 126.2,201.7 126.2,202.3 127.0,202.3 127.0,201.9 127.7,201.9 127.7,201.2 128.5,201.2 128.5,202.1 129.2,202.1 129.2,202.6 129.9,202.6 129.9,201.5 130.7,201.5 130.7,202.3 131.4,202.3 131.4,202.3 132.2,202.3 132.2,201.7 132.9,201.7 132.9,201.3 133.7,201.3 133.7,202.5 134.4,202.5 134.4,201.1 135.1,201.1 135.1,202.9 135.9,202.9 135.9,202.2 136.6,202.2 136.6,201.7 137.4,201.7 137.4,201.7 138.1,201.7 138.1,201.6 138.8,201.6 138.8,203.0 139.6,203.0 139.6,202.7 140.3,202.7 140.3,202.4 141.1,202.4 141.1,202.8 141.8,202.8 141.8,202.1 142.5,202.1 142.5,203.1 143.3,203.1 143.3,202.3 144.0,202.3 144.0,202.3 144.8,202.3 144.8,201.8 145.5,201.8 145.5,203.1 146.2,203.1 146.2,201.8 147.0,201.8 147.0,202.6 147.7,202.6 147.7,202.6 148.5,202.6 148.5,202.9 149.2,202.9 149.2,202.3 150.0,202.3 150.0,202.3 150.7,202.3 150.7,201.6 151.4,201.6 151.4,201.5 152.2,201.5 152.2,202.4 152.9,202.4 152.9,201.7 153.7,201.7 153.7,201.2 154.4,201.2 154.4,202.2 155.1,202.2 155.1,201.6 155.9,201.6 155.9,201.6 156.6,201.6 156.6,201.8 157.4,201.8 157.4,202.1 158.1,202.1 158.1,201.7 158.8,201.7 158.8,201.4 159.6,201.4 159.6,202.2 160.3,202.2 160.3,202.7 161.1,202.7 161.1,202.4 161.8,202.4 161.8,201.7 162.5,201.7 162.5,201.7 163.3,201.7 163.3,202.3 164.0,202.3 164.0,201.6 164.8,201.6 164.8,201.7 165.5,201.7 165.5,202.2 166.3,202.2 166.3,202.2 167.0,202.2 167.0,202.4 167.7,202.4 167.7,201.7 168.5,201.7 168.5,202.1 169.2,202.1 169.2,201.6 170.0,201.6 170.0,202.2 170.7,202.2 170.7,201.9 171.4,201.9 171.4,201.9 172.2,201.9 172.2,202.5 172.9,202.5 172.9,201.6 173.7,201.6 173.7,202.1 174.4,202.1 174.4,202.3 175.1,202.3 175.1,201.8 175.9,201.8 175.9,201.5 176.6,201.5 176.6,202.3 177.4,202.3 177.4,202.2 178.1,202.2 178.1,202.9 178.8,202.9 178.8,201.3 179.6,201.3 179.6,202.2 180.3,202.2 180.3,203.6 181.1,203.6 181.1,201.9 181.8,201.9 181.8,202.4 182.6,202.4 182.6,201.7 183.3,201.7 183.3,202.7 184.0,202.7 184.0,202.3 184.8,202.3 184.8,202.5 185.5,202.5 185.5,202.1 186.3,202.1 186.3,203.4 187.0,203.4 187.0,202.1 187.7,202.1 187.7,202.3 188.5,202.3 188.5,201.9 189.2,201.9 189.2,202.3 190.0,202.3 190.0,201.7 190.7,201.7 190.7,202.4 191.4,202.4 191.4,202.3 192.2,202.3 192.2,202.9 192.9,202.9 192.9,202.9 193.7,202.9 193.7,202.2 194.4,202.2 194.4,202.4 195.2,202.4 195.2,202.2 195.9,202.2 195.9,202.7 196.6,202.7 196.6,202.5 197.4,202.5 197.4,202.5 198.1,202.5 198.1,201.5 198.9,201.5 198.9,203.1 199.6,203.1 199.6,203.2 200.3,203.2 200.3,201.5 201.1,201.5 201.1,203.3 201.8,203Line truncated
<circle class="nj-charts-json-dot" cx="124.0" cy="202.2" r="3.5"><title>#5285: 1.09&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="124.0" y1="54.0" x2="124.0" y2="197.2"/>
<circle class="nj-theme-dot" cx="124.0" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="124.0" y="50.0" text-anchor="middle">6</text>
<circle class="nj-charts-json-dot" cx="228.5" cy="130.7" r="3.5"><title>#5634: 3.1&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="228.5" y1="54.0" x2="228.5" y2="125.7"/>
<circle class="nj-theme-dot" cx="228.5" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="228.5" y="50.0" text-anchor="middle">3</text>
<line class="nj-charts-axis" x1="44" y1="208" x2="330" y2="208"/>
<text class="nj-charts-note" x="8" y="262">speedup over 3.12.0 (log scale), more is better</text>
</svg>

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

@@ -1,6 +1,6 @@
<svg class="nj-fig nj-charts nj-charts--timeline" viewBox="0 0 340 270" role="img" aria-labelledby="nj-blog-tl-dump_twitter nj-blog-tl-dump_twitter-d" xmlns="http://www.w3.org/2000/svg">
<title id="nj-blog-tl-dump_twitter">dump() twitter.json: speedup over 3.12.0 by commit</title>
<desc id="nj-blog-tl-dump_twitter-d">dump() twitter.json: speedup over 3.12.0 at each of 360 commits, ending at 6.8x. Labeled steps, by theme: 6, 2, 2, 2.</desc>
<desc id="nj-blog-tl-dump_twitter-d">dump() twitter.json: speedup over 3.12.0 at each of 387 commits, ending at 6.8x. Labeled steps, by theme: 6, 2, 2, 2.</desc>
<text class="nj-charts-panel" x="8" y="18">dump() twitter.json</text>
<line class="nj-charts-grid" x1="44" y1="208" x2="330" y2="208"/>
<text class="nj-charts-tick nj-charts-tick--r" x="38" y="212">1&#215;</text>
@@ -14,26 +14,26 @@
<text class="nj-charts-tick nj-charts-tick--r" x="38" y="70">16&#215;</text>
<line class="nj-charts-axis" x1="44" y1="208" x2="44" y2="212"/>
<text class="nj-charts-tick" x="44" y="225">3.12.0</text>
<line class="nj-charts-axis" x1="116.496" y1="208" x2="116.496" y2="212"/>
<text class="nj-charts-tick" x="116.496" y="225">Sep 2026</text>
<line class="nj-charts-axis" x1="195.365" y1="208" x2="195.365" y2="212"/>
<text class="nj-charts-tick" x="195.365" y="225">Oct</text>
<line class="nj-charts-axis" x1="302.117" y1="208" x2="302.117" y2="212"/>
<text class="nj-charts-tick" x="302.117" y="225">Nov</text>
<polyline class="nj-charts-json" points="44.0,208.0 44.8,208.0 44.8,208.0 45.6,208.0 45.6,207.2 46.4,207.2 46.4,207.9 47.2,207.9 47.2,206.8 48.0,206.8 48.0,208.0 48.8,208.0 48.8,207.4 49.6,207.4 49.6,207.3 50.4,207.3 50.4,208.0 51.2,208.0 51.2,206.8 52.0,206.8 52.0,207.2 52.8,207.2 52.8,208.0 53.6,208.0 53.6,207.2 54.4,207.2 54.4,207.5 55.2,207.5 55.2,206.8 55.9,206.8 55.9,206.9 56.7,206.9 56.7,207.5 57.5,207.5 57.5,207.3 58.3,207.3 58.3,207.8 59.1,207.8 59.1,206.8 59.9,206.8 59.9,207.8 60.7,207.8 60.7,207.4 61.5,207.4 61.5,208.0 62.3,208.0 62.3,207.4 63.1,207.4 63.1,207.3 63.9,207.3 63.9,206.9 64.7,206.9 64.7,207.3 65.5,207.3 65.5,207.4 66.3,207.4 66.3,207.6 67.1,207.6 67.1,207.5 67.9,207.5 67.9,207.6 68.7,207.6 68.7,207.4 69.5,207.4 69.5,207.2 70.3,207.2 70.3,207.1 71.1,207.1 71.1,207.3 71.9,207.3 71.9,207.7 72.7,207.7 72.7,207.8 73.5,207.8 73.5,206.9 74.3,206.9 74.3,207.6 75.1,207.6 75.1,207.0 75.9,207.0 75.9,207.0 76.7,207.0 76.7,207.3 77.5,207.3 77.5,207.6 78.3,207.6 78.3,206.8 79.1,206.8 79.1,207.7 79.8,207.7 79.8,207.4 80.6,207.4 80.6,207.5 81.4,207.5 81.4,207.1 82.2,207.1 82.2,207.3 83.0,207.3 83.0,207.5 83.8,207.5 83.8,207.3 84.6,207.3 84.6,207.3 85.4,207.3 85.4,206.9 86.2,206.9 86.2,207.4 87.0,207.4 87.0,207.9 87.8,207.9 87.8,207.3 88.6,207.3 88.6,206.8 89.4,206.8 89.4,207.6 90.2,207.6 90.2,207.7 91.0,207.7 91.0,208.6 91.8,208.6 91.8,208.5 92.6,208.5 92.6,208.6 93.4,208.6 93.4,209.2 94.2,209.2 94.2,208.5 95.0,208.5 95.0,208.2 95.8,208.2 95.8,209.3 96.6,209.3 96.6,208.4 97.4,208.4 97.4,208.4 98.2,208.4 98.2,209.0 99.0,209.0 99.0,209.0 99.8,209.0 99.8,208.7 100.6,208.7 100.6,208.9 101.4,208.9 101.4,208.7 102.2,208.7 102.2,209.0 103.0,209.0 103.0,208.8 103.7,208.8 103.7,208.7 104.5,208.7 104.5,209.3 105.3,209.3 105.3,208.6 106.1,208.6 106.1,208.5 106.9,208.5 106.9,208.4 107.7,208.4 107.7,208.0 108.5,208.0 108.5,208.9 109.3,208.9 109.3,208.6 110.1,208.6 110.1,208.9 110.9,208.9 110.9,208.1 111.7,208.1 111.7,208.0 112.5,208.0 112.5,208.6 113.3,208.6 113.3,208.5 114.1,208.5 114.1,209.1 114.9,209.1 114.9,208.0 115.7,208.0 115.7,209.1 116.5,209.1 116.5,208.9 117.3,208.9 117.3,208.5 118.1,208.5 118.1,209.1 118.9,209.1 118.9,209.0 119.7,209.0 119.7,208.8 120.5,208.8 120.5,208.6 121.3,208.6 121.3,208.6 122.1,208.6 122.1,208.2 122.9,208.2 122.9,209.0 123.7,209.0 123.7,209.2 124.5,209.2 124.5,209.1 125.3,209.1 125.3,209.2 126.1,209.2 126.1,209.2 126.9,209.2 126.9,208.5 127.6,208.5 127.6,208.7 128.4,208.7 128.4,209.5 129.2,209.5 129.2,208.4 130.0,208.4 130.0,147.4 130.8,147.4 130.8,148.3 131.6,148.3 131.6,148.4 132.4,148.4 132.4,147.5 133.2,147.5 133.2,147.5 134.0,147.5 134.0,147.7 134.8,147.7 134.8,148.2 135.6,148.2 135.6,148.2 136.4,148.2 136.4,147.3 137.2,147.3 137.2,148.1 138.0,148.1 138.0,147.2 138.8,147.2 138.8,147.5 139.6,147.5 139.6,147.3 140.4,147.3 140.4,148.4 141.2,148.4 141.2,147.4 142.0,147.4 142.0,148.3 142.8,148.3 142.8,148.5 143.6,148.5 143.6,147.7 144.4,147.7 144.4,147.8 145.2,147.8 145.2,148.0 146.0,148.0 146.0,148.5 146.8,148.5 146.8,148.0 147.6,148.0 147.6,148.1 148.4,148.1 148.4,148.2 149.2,148.2 149.2,148.3 150.0,148.3 150.0,149.0 150.8,149.0 150.8,148.7 151.5,148.7 151.5,148.2 152.3,148.2 152.3,148.1 153.1,148.1 153.1,148.9 153.9,148.9 153.9,147.7 154.7,147.7 154.7,149.2 155.5,149.2 155.5,149.1 156.3,149.1 156.3,148.8 157.1,148.8 157.1,148.1 157.9,148.1 157.9,148.7 158.7,148.7 158.7,147.7 159.5,147.7 159.5,147.9 160.3,147.9 160.3,147.7 161.1,147.7 161.1,148.3 161.9,148.3 161.9,148.0 162.7,148.0 162.7,148.2 163.5,148.2 163.5,148.4 164.3,148.4 164.3,148.3 165.1,148.3 165.1,148.1 165.9,148.1 165.9,149.0 166.7,149.0 166.7,147.8 167.5,147.8 167.5,148.8 168.3,148.8 168.3,148.3 169.1,148.3 169.1,148.0 169.9,148.0 169.9,147.8 170.7,147.8 170.7,148.0 171.5,148.0 171.5,147.7 172.3,147.7 172.3,148.2 173.1,148.2 173.1,147.1 173.9,147.1 173.9,147.9 174.7,147.9 174.7,147.9 175.4,147.9 175.4,147.9 176.2,147.9 176.2,147.7 177.0,147.7 177.0,148.0 177.8,148.0 177.8,147.4 178.6,147.4 178.6,147.5 179.4,147.5 179.4,147.5 180.2,147.5 180.2,147.0 181.0,147.0 181.0,147.0 181.8,147.0 181.8,148.2 182.6,148.2 182.6,147.7 183.4,147.7 183.4,148.0 184.2,148.0 184.2,148.2 185.0,148.2 185.0,147.7 185.8,147.7 185.8,147.8 186.6,147.8 186.6,148.2 187.4,148.2 187.4,148.3 188.2,148.3 188.2,148.5 189.0,148.5 189.0,148.1 189.8,148.1 189.8,147.9 190.6,147.9 190.6,148.2 191.4,148.2 191.4,147.5 192.2,147.5 192.2,148.1 193.0,148.1 193.0,147.6 193.8,147.6 193.8,148.4 194.6,148.4 194.6,148.2 195.4,148.2 195.4,148.3 196.2,148.3 196.2,148.7 197.0,148.7 197.0,149.4 197.8,149.4 197.8,148.7 198.6,148.7 198.6,149.5 199.3,149.5 199.3,148.2 200.1,148.2 200.1,148.5 200.9,148.5 200.9,149.1 201.7,149.1 201.7,148.8 202.5,148.8 202.5,149.2 203.3,149.2 203.3,149.3 204.1,149.3 204.1,149.1 204.9,149.1 204.9,148.6 205.7,148.6 205.7,148.9 206.5,148.9 206.5,148.5 207.3,148.5 207.3,148.9 208.1,148.9 208.1,149.0 208.9,149.0 208.9,149.0 209.7,149.0 209.7,148.5 210.5,148.5 210.5,149.1 211.3,149.1 211.3,149.2 212.1,149.2 212.1,148.3 212.9,148.3 212.9,149.4Line truncated
<circle class="nj-charts-json-dot" cx="130.0" cy="147.4" r="3.5"><title>#5285: 3.3&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="130.0" y1="54.0" x2="130.0" y2="142.4"/>
<circle class="nj-theme-dot" cx="130.0" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="130.0" y="50.0" text-anchor="middle">6</text>
<circle class="nj-charts-json-dot" cx="241.6" cy="139.0" r="3.5"><title>#5738: 3.8&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="241.6" y1="54.0" x2="241.6" y2="134.0"/>
<circle class="nj-theme-dot" cx="241.6" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="241.6" y="50.0" text-anchor="middle">2</text>
<circle class="nj-charts-json-dot" cx="271.0" cy="131.0" r="3.5"><title>#5878: 4.5&#215;</title></circle>
<circle class="nj-charts-json-dot" cx="276.6" cy="109.6" r="3.5"><title>#5883: 6.8&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="276.6" y1="54.0" x2="276.6" y2="104.6"/>
<circle class="nj-theme-dot" cx="276.6" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="276.6" y="50.0" text-anchor="middle">2</text>
<line class="nj-charts-axis" x1="111.425" y1="208" x2="111.425" y2="212"/>
<text class="nj-charts-tick" x="111.425" y="225">Sep 2026</text>
<line class="nj-charts-axis" x1="184.777" y1="208" x2="184.777" y2="212"/>
<text class="nj-charts-tick" x="184.777" y="225">Oct</text>
<line class="nj-charts-axis" x1="284.062" y1="208" x2="284.062" y2="212"/>
<text class="nj-charts-tick" x="284.062" y="225">Nov</text>
<polyline class="nj-charts-json" points="44.0,208.0 44.7,208.0 44.7,208.0 45.5,208.0 45.5,207.2 46.2,207.2 46.2,207.9 47.0,207.9 47.0,206.8 47.7,206.8 47.7,208.0 48.4,208.0 48.4,207.4 49.2,207.4 49.2,207.3 49.9,207.3 49.9,208.0 50.7,208.0 50.7,206.8 51.4,206.8 51.4,207.2 52.2,207.2 52.2,208.0 52.9,208.0 52.9,207.2 53.6,207.2 53.6,207.5 54.4,207.5 54.4,206.8 55.1,206.8 55.1,206.9 55.9,206.9 55.9,207.5 56.6,207.5 56.6,207.3 57.3,207.3 57.3,207.8 58.1,207.8 58.1,206.8 58.8,206.8 58.8,207.8 59.6,207.8 59.6,207.4 60.3,207.4 60.3,208.0 61.0,208.0 61.0,207.4 61.8,207.4 61.8,207.3 62.5,207.3 62.5,206.9 63.3,206.9 63.3,207.3 64.0,207.3 64.0,207.4 64.7,207.4 64.7,207.6 65.5,207.6 65.5,207.5 66.2,207.5 66.2,207.6 67.0,207.6 67.0,207.4 67.7,207.4 67.7,207.2 68.5,207.2 68.5,207.1 69.2,207.1 69.2,207.3 69.9,207.3 69.9,207.7 70.7,207.7 70.7,207.8 71.4,207.8 71.4,206.9 72.2,206.9 72.2,207.6 72.9,207.6 72.9,207.0 73.6,207.0 73.6,207.0 74.4,207.0 74.4,207.3 75.1,207.3 75.1,207.6 75.9,207.6 75.9,206.8 76.6,206.8 76.6,207.7 77.3,207.7 77.3,207.4 78.1,207.4 78.1,207.5 78.8,207.5 78.8,207.1 79.6,207.1 79.6,207.3 80.3,207.3 80.3,207.5 81.0,207.5 81.0,207.3 81.8,207.3 81.8,207.3 82.5,207.3 82.5,206.9 83.3,206.9 83.3,207.4 84.0,207.4 84.0,207.9 84.8,207.9 84.8,207.3 85.5,207.3 85.5,206.8 86.2,206.8 86.2,207.6 87.0,207.6 87.0,207.7 87.7,207.7 87.7,208.6 88.5,208.6 88.5,208.5 89.2,208.5 89.2,208.6 89.9,208.6 89.9,209.2 90.7,209.2 90.7,208.5 91.4,208.5 91.4,208.2 92.2,208.2 92.2,209.3 92.9,209.3 92.9,208.4 93.6,208.4 93.6,208.4 94.4,208.4 94.4,209.0 95.1,209.0 95.1,209.0 95.9,209.0 95.9,208.7 96.6,208.7 96.6,208.9 97.3,208.9 97.3,208.7 98.1,208.7 98.1,209.0 98.8,209.0 98.8,208.8 99.6,208.8 99.6,208.7 100.3,208.7 100.3,209.3 101.1,209.3 101.1,208.6 101.8,208.6 101.8,208.5 102.5,208.5 102.5,208.4 103.3,208.4 103.3,208.0 104.0,208.0 104.0,208.9 104.8,208.9 104.8,208.6 105.5,208.6 105.5,208.9 106.2,208.9 106.2,208.1 107.0,208.1 107.0,208.0 107.7,208.0 107.7,208.6 108.5,208.6 108.5,208.5 109.2,208.5 109.2,209.1 109.9,209.1 109.9,208.0 110.7,208.0 110.7,209.1 111.4,209.1 111.4,208.9 112.2,208.9 112.2,208.5 112.9,208.5 112.9,209.1 113.6,209.1 113.6,209.0 114.4,209.0 114.4,208.8 115.1,208.8 115.1,208.6 115.9,208.6 115.9,208.6 116.6,208.6 116.6,208.2 117.4,208.2 117.4,209.0 118.1,209.0 118.1,209.2 118.8,209.2 118.8,209.1 119.6,209.1 119.6,209.2 120.3,209.2 120.3,209.2 121.1,209.2 121.1,208.5 121.8,208.5 121.8,208.7 122.5,208.7 122.5,209.5 123.3,209.5 123.3,208.4 124.0,208.4 124.0,147.4 124.8,147.4 124.8,148.3 125.5,148.3 125.5,148.4 126.2,148.4 126.2,147.5 127.0,147.5 127.0,147.5 127.7,147.5 127.7,147.7 128.5,147.7 128.5,148.2 129.2,148.2 129.2,148.2 129.9,148.2 129.9,147.3 130.7,147.3 130.7,148.1 131.4,148.1 131.4,147.2 132.2,147.2 132.2,147.5 132.9,147.5 132.9,147.3 133.7,147.3 133.7,148.4 134.4,148.4 134.4,147.4 135.1,147.4 135.1,148.3 135.9,148.3 135.9,148.5 136.6,148.5 136.6,147.7 137.4,147.7 137.4,147.8 138.1,147.8 138.1,148.0 138.8,148.0 138.8,148.5 139.6,148.5 139.6,148.0 140.3,148.0 140.3,148.1 141.1,148.1 141.1,148.2 141.8,148.2 141.8,148.3 142.5,148.3 142.5,149.0 143.3,149.0 143.3,148.7 144.0,148.7 144.0,148.2 144.8,148.2 144.8,148.1 145.5,148.1 145.5,148.9 146.2,148.9 146.2,147.7 147.0,147.7 147.0,149.2 147.7,149.2 147.7,149.1 148.5,149.1 148.5,148.8 149.2,148.8 149.2,148.1 150.0,148.1 150.0,148.7 150.7,148.7 150.7,147.7 151.4,147.7 151.4,147.9 152.2,147.9 152.2,147.7 152.9,147.7 152.9,148.3 153.7,148.3 153.7,148.0 154.4,148.0 154.4,148.2 155.1,148.2 155.1,148.4 155.9,148.4 155.9,148.3 156.6,148.3 156.6,148.1 157.4,148.1 157.4,149.0 158.1,149.0 158.1,147.8 158.8,147.8 158.8,148.8 159.6,148.8 159.6,148.3 160.3,148.3 160.3,148.0 161.1,148.0 161.1,147.8 161.8,147.8 161.8,148.0 162.5,148.0 162.5,147.7 163.3,147.7 163.3,148.2 164.0,148.2 164.0,147.1 164.8,147.1 164.8,147.9 165.5,147.9 165.5,147.9 166.3,147.9 166.3,147.9 167.0,147.9 167.0,147.7 167.7,147.7 167.7,148.0 168.5,148.0 168.5,147.4 169.2,147.4 169.2,147.5 170.0,147.5 170.0,147.5 170.7,147.5 170.7,147.0 171.4,147.0 171.4,147.0 172.2,147.0 172.2,148.2 172.9,148.2 172.9,147.7 173.7,147.7 173.7,148.0 174.4,148.0 174.4,148.2 175.1,148.2 175.1,147.7 175.9,147.7 175.9,147.8 176.6,147.8 176.6,148.2 177.4,148.2 177.4,148.3 178.1,148.3 178.1,148.5 178.8,148.5 178.8,148.1 179.6,148.1 179.6,147.9 180.3,147.9 180.3,148.2 181.1,148.2 181.1,147.5 181.8,147.5 181.8,148.1 182.6,148.1 182.6,147.6 183.3,147.6 183.3,148.4 184.0,148.4 184.0,148.2 184.8,148.2 184.8,148.3 185.5,148.3 185.5,148.7 186.3,148.7 186.3,149.4 187.0,149.4 187.0,148.7 187.7,148.7 187.7,149.5 188.5,149.5 188.5,148.2 189.2,148.2 189.2,148.5 190.0,148.5 190.0,149.1 190.7,149.1 190.7,148.8 191.4,148.8 191.4,149.2 192.2,149.2 192.2,149.3 192.9,149.3 192.9,149.1 193.7,149.1 193.7,148.6 194.4,148.6 194.4,148.9 195.2,148.9 195.2,148.5 195.9,148.5 195.9,148.9 196.6,148.9 196.6,149.0 197.4,149.0 197.4,149.0 198.1,149.0 198.1,148.5 198.9,148.5 198.9,149.1 199.6,149.1 199.6,149.2 200.3,149.2 200.3,148.3 201.1,148.3 201.1,149.4 201.8,149Line truncated
<circle class="nj-charts-json-dot" cx="124.0" cy="147.4" r="3.5"><title>#5285: 3.3&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="124.0" y1="54.0" x2="124.0" y2="142.4"/>
<circle class="nj-theme-dot" cx="124.0" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="124.0" y="50.0" text-anchor="middle">6</text>
<circle class="nj-charts-json-dot" cx="227.8" cy="139.0" r="3.5"><title>#5738: 3.8&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="227.8" y1="54.0" x2="227.8" y2="134.0"/>
<circle class="nj-theme-dot" cx="227.8" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="227.8" y="50.0" text-anchor="middle">2</text>
<circle class="nj-charts-json-dot" cx="255.2" cy="131.0" r="3.5"><title>#5878: 4.5&#215;</title></circle>
<circle class="nj-charts-json-dot" cx="260.4" cy="109.6" r="3.5"><title>#5883: 6.8&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="260.4" y1="54.0" x2="260.4" y2="104.6"/>
<circle class="nj-theme-dot" cx="260.4" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="260.4" y="50.0" text-anchor="middle">2</text>
<line class="nj-charts-axis" x1="44" y1="208" x2="330" y2="208"/>
<text class="nj-charts-note" x="8" y="262">speedup over 3.12.0 (log scale), more is better</text>
</svg>

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 12 KiB

@@ -1,6 +1,6 @@
<svg class="nj-fig nj-charts nj-charts--timeline" viewBox="0 0 340 270" role="img" aria-labelledby="nj-blog-tl-from_cbor_twitter nj-blog-tl-from_cbor_twitter-d" xmlns="http://www.w3.org/2000/svg">
<title id="nj-blog-tl-from_cbor_twitter">from_cbor() twitter: speedup over 3.12.0 by commit</title>
<desc id="nj-blog-tl-from_cbor_twitter-d">from_cbor() twitter: speedup over 3.12.0 at each of 360 commits, ending at 2.8x. Labeled steps, by theme: 1, 4, U, U, 4.</desc>
<desc id="nj-blog-tl-from_cbor_twitter-d">from_cbor() twitter: speedup over 3.12.0 at each of 387 commits, ending at 2.8x. Labeled steps, by theme: 1, 4, U, U, 4.</desc>
<text class="nj-charts-panel" x="8" y="18">from_cbor() twitter</text>
<line class="nj-charts-grid" x1="44" y1="208" x2="330" y2="208"/>
<text class="nj-charts-tick nj-charts-tick--r" x="38" y="212">1&#215;</text>
@@ -10,33 +10,33 @@
<text class="nj-charts-tick nj-charts-tick--r" x="38" y="70">4&#215;</text>
<line class="nj-charts-axis" x1="44" y1="208" x2="44" y2="212"/>
<text class="nj-charts-tick" x="44" y="225">3.12.0</text>
<line class="nj-charts-axis" x1="116.496" y1="208" x2="116.496" y2="212"/>
<text class="nj-charts-tick" x="116.496" y="225">Sep 2026</text>
<line class="nj-charts-axis" x1="195.365" y1="208" x2="195.365" y2="212"/>
<text class="nj-charts-tick" x="195.365" y="225">Oct</text>
<line class="nj-charts-axis" x1="302.117" y1="208" x2="302.117" y2="212"/>
<text class="nj-charts-tick" x="302.117" y="225">Nov</text>
<polyline class="nj-charts-json" points="44.0,208.0 44.8,208.0 44.8,209.1 45.6,209.1 45.6,208.2 46.4,208.2 46.4,208.6 47.2,208.6 47.2,208.0 48.0,208.0 48.0,208.4 48.8,208.4 48.8,208.6 49.6,208.6 49.6,208.3 50.4,208.3 50.4,209.1 51.2,209.1 51.2,207.8 52.0,207.8 52.0,208.5 52.8,208.5 52.8,208.6 53.6,208.6 53.6,208.6 54.4,208.6 54.4,207.7 55.2,207.7 55.2,207.1 55.9,207.1 55.9,207.3 56.7,207.3 56.7,206.9 57.5,206.9 57.5,207.1 58.3,207.1 58.3,207.0 59.1,207.0 59.1,207.1 59.9,207.1 59.9,207.1 60.7,207.1 60.7,207.5 61.5,207.5 61.5,207.5 62.3,207.5 62.3,206.9 63.1,206.9 63.1,207.0 63.9,207.0 63.9,206.2 64.7,206.2 64.7,207.1 65.5,207.1 65.5,208.5 66.3,208.5 66.3,208.0 67.1,208.0 67.1,207.8 67.9,207.8 67.9,208.5 68.7,208.5 68.7,207.8 69.5,207.8 69.5,207.0 70.3,207.0 70.3,208.1 71.1,208.1 71.1,208.2 71.9,208.2 71.9,208.6 72.7,208.6 72.7,208.1 73.5,208.1 73.5,207.2 74.3,207.2 74.3,208.3 75.1,208.3 75.1,207.4 75.9,207.4 75.9,207.9 76.7,207.9 76.7,207.7 77.5,207.7 77.5,208.6 78.3,208.6 78.3,207.3 79.1,207.3 79.1,207.9 79.8,207.9 79.8,208.4 80.6,208.4 80.6,208.5 81.4,208.5 81.4,208.0 82.2,208.0 82.2,207.1 83.0,207.1 83.0,208.1 83.8,208.1 83.8,208.1 84.6,208.1 84.6,207.8 85.4,207.8 85.4,207.9 86.2,207.9 86.2,207.9 87.0,207.9 87.0,208.7 87.8,208.7 87.8,208.1 88.6,208.1 88.6,168.9 89.4,168.9 89.4,170.3 90.2,170.3 90.2,169.9 91.0,169.9 91.0,169.0 91.8,169.0 91.8,169.6 92.6,169.6 92.6,169.1 93.4,169.1 93.4,170.1 94.2,170.1 94.2,168.8 95.0,168.8 95.0,167.9 95.8,167.9 95.8,170.4 96.6,170.4 96.6,169.5 97.4,169.5 97.4,169.7 98.2,169.7 98.2,172.9 99.0,172.9 99.0,170.5 99.8,170.5 99.8,170.4 100.6,170.4 100.6,170.1 101.4,170.1 101.4,170.2 102.2,170.2 102.2,170.7 103.0,170.7 103.0,170.5 103.7,170.5 103.7,170.4 104.5,170.4 104.5,171.1 105.3,171.1 105.3,170.2 106.1,170.2 106.1,168.6 106.9,168.6 106.9,168.9 107.7,168.9 107.7,168.8 108.5,168.8 108.5,170.5 109.3,170.5 109.3,169.2 110.1,169.2 110.1,169.8 110.9,169.8 110.9,168.2 111.7,168.2 111.7,168.3 112.5,168.3 112.5,169.9 113.3,169.9 113.3,170.3 114.1,170.3 114.1,170.5 114.9,170.5 114.9,169.2 115.7,169.2 115.7,170.5 116.5,170.5 116.5,170.1 117.3,170.1 117.3,170.0 118.1,170.0 118.1,170.0 118.9,170.0 118.9,169.7 119.7,169.7 119.7,169.9 120.5,169.9 120.5,169.2 121.3,169.2 121.3,169.6 122.1,169.6 122.1,170.0 122.9,170.0 122.9,170.0 123.7,170.0 123.7,170.5 124.5,170.5 124.5,170.8 125.3,170.8 125.3,170.5 126.1,170.5 126.1,170.8 126.9,170.8 126.9,169.2 127.6,169.2 127.6,128.6 128.4,128.6 128.4,121.0 129.2,121.0 129.2,120.5 130.0,120.5 130.0,120.8 130.8,120.8 130.8,120.9 131.6,120.9 131.6,120.2 132.4,120.2 132.4,116.5 133.2,116.5 133.2,117.5 134.0,117.5 134.0,117.4 134.8,117.4 134.8,118.0 135.6,118.0 135.6,118.3 136.4,118.3 136.4,118.0 137.2,118.0 137.2,120.1 138.0,120.1 138.0,118.9 138.8,118.9 138.8,119.6 139.6,119.6 139.6,119.0 140.4,119.0 140.4,120.9 141.2,120.9 141.2,118.6 142.0,118.6 142.0,121.1 142.8,121.1 142.8,120.1 143.6,120.1 143.6,118.4 144.4,118.4 144.4,119.3 145.2,119.3 145.2,119.0 146.0,119.0 146.0,120.2 146.8,120.2 146.8,119.0 147.6,119.0 147.6,119.4 148.4,119.4 148.4,119.8 149.2,119.8 149.2,120.4 150.0,120.4 150.0,120.6 150.8,120.6 150.8,119.6 151.5,119.6 151.5,118.8 152.3,118.8 152.3,118.4 153.1,118.4 153.1,120.2 153.9,120.2 153.9,119.3 154.7,119.3 154.7,119.9 155.5,119.9 155.5,119.6 156.3,119.6 156.3,119.7 157.1,119.7 157.1,119.2 157.9,119.2 157.9,119.5 158.7,119.5 158.7,118.0 159.5,118.0 159.5,150.3 160.3,150.3 160.3,150.5 161.1,150.5 161.1,150.6 161.9,150.6 161.9,151.3 162.7,151.3 162.7,151.4 163.5,151.4 163.5,150.7 164.3,150.7 164.3,152.1 165.1,152.1 165.1,151.8 165.9,151.8 165.9,152.4 166.7,152.4 166.7,150.6 167.5,150.6 167.5,152.8 168.3,152.8 168.3,154.2 169.1,154.2 169.1,152.8 169.9,152.8 169.9,152.9 170.7,152.9 170.7,153.6 171.5,153.6 171.5,151.7 172.3,151.7 172.3,153.8 173.1,153.8 173.1,151.6 173.9,151.6 173.9,152.6 174.7,152.6 174.7,153.5 175.4,153.5 175.4,151.8 176.2,151.8 176.2,152.7 177.0,152.7 177.0,153.6 177.8,153.6 177.8,152.7 178.6,152.7 178.6,152.5 179.4,152.5 179.4,152.7 180.2,152.7 180.2,151.6 181.0,151.6 181.0,153.2 181.8,153.2 181.8,154.6 182.6,154.6 182.6,152.1 183.4,152.1 183.4,152.9 184.2,152.9 184.2,153.9 185.0,153.9 185.0,153.0 185.8,153.0 185.8,152.6 186.6,152.6 186.6,154.0 187.4,154.0 187.4,154.0 188.2,154.0 188.2,154.3 189.0,154.3 189.0,152.5 189.8,152.5 189.8,154.4 190.6,154.4 190.6,154.2 191.4,154.2 191.4,151.8 192.2,151.8 192.2,154.0 193.0,154.0 193.0,153.0 193.8,153.0 193.8,152.2 194.6,152.2 194.6,153.7 195.4,153.7 195.4,153.8 196.2,153.8 196.2,153.9 197.0,153.9 197.0,155.5 197.8,155.5 197.8,153.4 198.6,153.4 198.6,155.4 199.3,155.4 199.3,152.8 200.1,152.8 200.1,154.0 200.9,154.0 200.9,152.3 201.7,152.3 201.7,153.2 202.5,153.2 202.5,153.5 203.3,153.5 203.3,153.6 204.1,153.6 204.1,154.6 204.9,154.6 204.9,152.7 205.7,152.7 205.7,155.4 206.5,155.4 206.5,152.5 207.3,152.5 207.3,153.3 208.1,153.3 208.1,153.3 208.9,153.3 208.9,154.5 209.7,154.5 209.7,152.6 210.5,152.6 210.5,153.0 211.3,153.0 211.3,154.3 212.1,154.3 212.1,122.0 212.9,122.0 212.9,123.3Line truncated
<circle class="nj-charts-json-dot" cx="88.6" cy="168.9" r="3.5"><title>#5233: 1.47&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="88.6" y1="54.0" x2="88.6" y2="163.9"/>
<circle class="nj-theme-dot" cx="88.6" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="88.6" y="50.0" text-anchor="middle">1</text>
<circle class="nj-charts-json-dot" cx="127.6" cy="128.6" r="3.5"><title>#5501: 2.2&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="127.6" y1="54.0" x2="127.6" y2="123.6"/>
<circle class="nj-theme-dot" cx="127.6" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="127.6" y="50.0" text-anchor="middle">4</text>
<circle class="nj-charts-json-dot" cx="159.5" cy="150.3" r="3.5"><title>#5185: 1.76&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="159.5" y1="54.0" x2="159.5" y2="145.3"/>
<circle class="nj-theme-dot nj-theme-dot--other" cx="159.5" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="159.5" y="50.0" text-anchor="middle">U</text>
<circle class="nj-charts-json-dot" cx="212.1" cy="122.0" r="3.5"><title>#5746: 2.3&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="212.1" y1="54.0" x2="212.1" y2="117.0"/>
<circle class="nj-theme-dot nj-theme-dot--other" cx="212.1" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="212.1" y="50.0" text-anchor="middle">U</text>
<circle class="nj-charts-json-dot" cx="328.4" cy="101.8" r="3.5"><title>#6028: 2.8&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="328.4" y1="54.0" x2="328.4" y2="96.8"/>
<circle class="nj-theme-dot" cx="322.5" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="322.5" y="50.0" text-anchor="middle">4</text>
<line class="nj-charts-axis" x1="111.425" y1="208" x2="111.425" y2="212"/>
<text class="nj-charts-tick" x="111.425" y="225">Sep 2026</text>
<line class="nj-charts-axis" x1="184.777" y1="208" x2="184.777" y2="212"/>
<text class="nj-charts-tick" x="184.777" y="225">Oct</text>
<line class="nj-charts-axis" x1="284.062" y1="208" x2="284.062" y2="212"/>
<text class="nj-charts-tick" x="284.062" y="225">Nov</text>
<polyline class="nj-charts-json" points="44.0,208.0 44.7,208.0 44.7,209.1 45.5,209.1 45.5,208.2 46.2,208.2 46.2,208.6 47.0,208.6 47.0,208.0 47.7,208.0 47.7,208.4 48.4,208.4 48.4,208.6 49.2,208.6 49.2,208.3 49.9,208.3 49.9,209.1 50.7,209.1 50.7,207.8 51.4,207.8 51.4,208.5 52.2,208.5 52.2,208.6 52.9,208.6 52.9,208.6 53.6,208.6 53.6,207.7 54.4,207.7 54.4,207.1 55.1,207.1 55.1,207.3 55.9,207.3 55.9,206.9 56.6,206.9 56.6,207.1 57.3,207.1 57.3,207.0 58.1,207.0 58.1,207.1 58.8,207.1 58.8,207.1 59.6,207.1 59.6,207.5 60.3,207.5 60.3,207.5 61.0,207.5 61.0,206.9 61.8,206.9 61.8,207.0 62.5,207.0 62.5,206.2 63.3,206.2 63.3,207.1 64.0,207.1 64.0,208.5 64.7,208.5 64.7,208.0 65.5,208.0 65.5,207.8 66.2,207.8 66.2,208.5 67.0,208.5 67.0,207.8 67.7,207.8 67.7,207.0 68.5,207.0 68.5,208.1 69.2,208.1 69.2,208.2 69.9,208.2 69.9,208.6 70.7,208.6 70.7,208.1 71.4,208.1 71.4,207.2 72.2,207.2 72.2,208.3 72.9,208.3 72.9,207.4 73.6,207.4 73.6,207.9 74.4,207.9 74.4,207.7 75.1,207.7 75.1,208.6 75.9,208.6 75.9,207.3 76.6,207.3 76.6,207.9 77.3,207.9 77.3,208.4 78.1,208.4 78.1,208.5 78.8,208.5 78.8,208.0 79.6,208.0 79.6,207.1 80.3,207.1 80.3,208.1 81.0,208.1 81.0,208.1 81.8,208.1 81.8,207.8 82.5,207.8 82.5,207.9 83.3,207.9 83.3,207.9 84.0,207.9 84.0,208.7 84.8,208.7 84.8,208.1 85.5,208.1 85.5,168.9 86.2,168.9 86.2,170.3 87.0,170.3 87.0,169.9 87.7,169.9 87.7,169.0 88.5,169.0 88.5,169.6 89.2,169.6 89.2,169.1 89.9,169.1 89.9,170.1 90.7,170.1 90.7,168.8 91.4,168.8 91.4,167.9 92.2,167.9 92.2,170.4 92.9,170.4 92.9,169.5 93.6,169.5 93.6,169.7 94.4,169.7 94.4,172.9 95.1,172.9 95.1,170.5 95.9,170.5 95.9,170.4 96.6,170.4 96.6,170.1 97.3,170.1 97.3,170.2 98.1,170.2 98.1,170.7 98.8,170.7 98.8,170.5 99.6,170.5 99.6,170.4 100.3,170.4 100.3,171.1 101.1,171.1 101.1,170.2 101.8,170.2 101.8,168.6 102.5,168.6 102.5,168.9 103.3,168.9 103.3,168.8 104.0,168.8 104.0,170.5 104.8,170.5 104.8,169.2 105.5,169.2 105.5,169.8 106.2,169.8 106.2,168.2 107.0,168.2 107.0,168.3 107.7,168.3 107.7,169.9 108.5,169.9 108.5,170.3 109.2,170.3 109.2,170.5 109.9,170.5 109.9,169.2 110.7,169.2 110.7,170.5 111.4,170.5 111.4,170.1 112.2,170.1 112.2,170.0 112.9,170.0 112.9,170.0 113.6,170.0 113.6,169.7 114.4,169.7 114.4,169.9 115.1,169.9 115.1,169.2 115.9,169.2 115.9,169.6 116.6,169.6 116.6,170.0 117.4,170.0 117.4,170.0 118.1,170.0 118.1,170.5 118.8,170.5 118.8,170.8 119.6,170.8 119.6,170.5 120.3,170.5 120.3,170.8 121.1,170.8 121.1,169.2 121.8,169.2 121.8,128.6 122.5,128.6 122.5,121.0 123.3,121.0 123.3,120.5 124.0,120.5 124.0,120.8 124.8,120.8 124.8,120.9 125.5,120.9 125.5,120.2 126.2,120.2 126.2,116.5 127.0,116.5 127.0,117.5 127.7,117.5 127.7,117.4 128.5,117.4 128.5,118.0 129.2,118.0 129.2,118.3 129.9,118.3 129.9,118.0 130.7,118.0 130.7,120.1 131.4,120.1 131.4,118.9 132.2,118.9 132.2,119.6 132.9,119.6 132.9,119.0 133.7,119.0 133.7,120.9 134.4,120.9 134.4,118.6 135.1,118.6 135.1,121.1 135.9,121.1 135.9,120.1 136.6,120.1 136.6,118.4 137.4,118.4 137.4,119.3 138.1,119.3 138.1,119.0 138.8,119.0 138.8,120.2 139.6,120.2 139.6,119.0 140.3,119.0 140.3,119.4 141.1,119.4 141.1,119.8 141.8,119.8 141.8,120.4 142.5,120.4 142.5,120.6 143.3,120.6 143.3,119.6 144.0,119.6 144.0,118.8 144.8,118.8 144.8,118.4 145.5,118.4 145.5,120.2 146.2,120.2 146.2,119.3 147.0,119.3 147.0,119.9 147.7,119.9 147.7,119.6 148.5,119.6 148.5,119.7 149.2,119.7 149.2,119.2 150.0,119.2 150.0,119.5 150.7,119.5 150.7,118.0 151.4,118.0 151.4,150.3 152.2,150.3 152.2,150.5 152.9,150.5 152.9,150.6 153.7,150.6 153.7,151.3 154.4,151.3 154.4,151.4 155.1,151.4 155.1,150.7 155.9,150.7 155.9,152.1 156.6,152.1 156.6,151.8 157.4,151.8 157.4,152.4 158.1,152.4 158.1,150.6 158.8,150.6 158.8,152.8 159.6,152.8 159.6,154.2 160.3,154.2 160.3,152.8 161.1,152.8 161.1,152.9 161.8,152.9 161.8,153.6 162.5,153.6 162.5,151.7 163.3,151.7 163.3,153.8 164.0,153.8 164.0,151.6 164.8,151.6 164.8,152.6 165.5,152.6 165.5,153.5 166.3,153.5 166.3,151.8 167.0,151.8 167.0,152.7 167.7,152.7 167.7,153.6 168.5,153.6 168.5,152.7 169.2,152.7 169.2,152.5 170.0,152.5 170.0,152.7 170.7,152.7 170.7,151.6 171.4,151.6 171.4,153.2 172.2,153.2 172.2,154.6 172.9,154.6 172.9,152.1 173.7,152.1 173.7,152.9 174.4,152.9 174.4,153.9 175.1,153.9 175.1,153.0 175.9,153.0 175.9,152.6 176.6,152.6 176.6,154.0 177.4,154.0 177.4,154.0 178.1,154.0 178.1,154.3 178.8,154.3 178.8,152.5 179.6,152.5 179.6,154.4 180.3,154.4 180.3,154.2 181.1,154.2 181.1,151.8 181.8,151.8 181.8,154.0 182.6,154.0 182.6,153.0 183.3,153.0 183.3,152.2 184.0,152.2 184.0,153.7 184.8,153.7 184.8,153.8 185.5,153.8 185.5,153.9 186.3,153.9 186.3,155.5 187.0,155.5 187.0,153.4 187.7,153.4 187.7,155.4 188.5,155.4 188.5,152.8 189.2,152.8 189.2,154.0 190.0,154.0 190.0,152.3 190.7,152.3 190.7,153.2 191.4,153.2 191.4,153.5 192.2,153.5 192.2,153.6 192.9,153.6 192.9,154.6 193.7,154.6 193.7,152.7 194.4,152.7 194.4,155.4 195.2,155.4 195.2,152.5 195.9,152.5 195.9,153.3 196.6,153.3 196.6,153.3 197.4,153.3 197.4,154.5 198.1,154.5 198.1,152.6 198.9,152.6 198.9,153.0 199.6,153.0 199.6,154.3 200.3,154.3 200.3,122.0 201.1,122.0 201.1,123.3 201.8,123Line truncated
<circle class="nj-charts-json-dot" cx="85.5" cy="168.9" r="3.5"><title>#5233: 1.47&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="85.5" y1="54.0" x2="85.5" y2="163.9"/>
<circle class="nj-theme-dot" cx="85.5" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="85.5" y="50.0" text-anchor="middle">1</text>
<circle class="nj-charts-json-dot" cx="121.8" cy="128.6" r="3.5"><title>#5501: 2.2&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="121.8" y1="54.0" x2="121.8" y2="123.6"/>
<circle class="nj-theme-dot" cx="121.8" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="121.8" y="50.0" text-anchor="middle">4</text>
<circle class="nj-charts-json-dot" cx="151.4" cy="150.3" r="3.5"><title>#5185: 1.76&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="151.4" y1="54.0" x2="151.4" y2="145.3"/>
<circle class="nj-theme-dot nj-theme-dot--other" cx="151.4" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="151.4" y="50.0" text-anchor="middle">U</text>
<circle class="nj-charts-json-dot" cx="200.3" cy="122.0" r="3.5"><title>#5746: 2.3&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="200.3" y1="54.0" x2="200.3" y2="117.0"/>
<circle class="nj-theme-dot nj-theme-dot--other" cx="200.3" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="200.3" y="50.0" text-anchor="middle">U</text>
<circle class="nj-charts-json-dot" cx="308.5" cy="101.8" r="3.5"><title>#6028: 2.8&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="308.5" y1="54.0" x2="308.5" y2="96.8"/>
<circle class="nj-theme-dot" cx="308.5" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="308.5" y="50.0" text-anchor="middle">4</text>
<line class="nj-charts-axis" x1="44" y1="208" x2="330" y2="208"/>
<text class="nj-charts-note" x="8" y="262">speedup over 3.12.0 (log scale), more is better</text>
</svg>

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

@@ -1,6 +1,6 @@
<svg class="nj-fig nj-charts nj-charts--timeline" viewBox="0 0 340 270" role="img" aria-labelledby="nj-blog-tl-parse_canada nj-blog-tl-parse_canada-d" xmlns="http://www.w3.org/2000/svg">
<title id="nj-blog-tl-parse_canada">parse() canada.json: speedup over 3.12.0 by commit</title>
<desc id="nj-blog-tl-parse_canada-d">parse() canada.json: speedup over 3.12.0 at each of 360 commits, ending at 3.3x. Labeled steps, by theme: 4, 1, 3, 3, 3, 4, 1.</desc>
<desc id="nj-blog-tl-parse_canada-d">parse() canada.json: speedup over 3.12.0 at each of 387 commits, ending at 3.3x. Labeled steps, by theme: 4, 1, 3, 3, 3, 4, 1.</desc>
<text class="nj-charts-panel" x="8" y="18">parse() canada.json</text>
<line class="nj-charts-grid" x1="44" y1="208" x2="330" y2="208"/>
<text class="nj-charts-tick nj-charts-tick--r" x="38" y="212">1&#215;</text>
@@ -12,41 +12,41 @@
<text class="nj-charts-tick nj-charts-tick--r" x="38" y="70">8&#215;</text>
<line class="nj-charts-axis" x1="44" y1="208" x2="44" y2="212"/>
<text class="nj-charts-tick" x="44" y="225">3.12.0</text>
<line class="nj-charts-axis" x1="116.496" y1="208" x2="116.496" y2="212"/>
<text class="nj-charts-tick" x="116.496" y="225">Sep 2026</text>
<line class="nj-charts-axis" x1="195.365" y1="208" x2="195.365" y2="212"/>
<text class="nj-charts-tick" x="195.365" y="225">Oct</text>
<line class="nj-charts-axis" x1="302.117" y1="208" x2="302.117" y2="212"/>
<text class="nj-charts-tick" x="302.117" y="225">Nov</text>
<polyline class="nj-charts-json" points="44.0,208.0 44.8,208.0 44.8,208.1 45.6,208.1 45.6,208.1 46.4,208.1 46.4,207.8 47.2,207.8 47.2,207.5 48.0,207.5 48.0,208.0 48.8,208.0 48.8,208.1 49.6,208.1 49.6,207.8 50.4,207.8 50.4,208.3 51.2,208.3 51.2,207.5 52.0,207.5 52.0,208.0 52.8,208.0 52.8,208.8 53.6,208.8 53.6,208.3 54.4,208.3 54.4,208.1 55.2,208.1 55.2,207.8 55.9,207.8 55.9,209.2 56.7,209.2 56.7,208.4 57.5,208.4 57.5,208.1 58.3,208.1 58.3,208.1 59.1,208.1 59.1,207.3 59.9,207.3 59.9,207.8 60.7,207.8 60.7,207.7 61.5,207.7 61.5,208.1 62.3,208.1 62.3,208.3 63.1,208.3 63.1,207.8 63.9,207.8 63.9,207.6 64.7,207.6 64.7,208.2 65.5,208.2 65.5,207.5 66.3,207.5 66.3,207.8 67.1,207.8 67.1,207.9 67.9,207.9 67.9,207.9 68.7,207.9 68.7,207.6 69.5,207.6 69.5,207.7 70.3,207.7 70.3,208.0 71.1,208.0 71.1,208.1 71.9,208.1 71.9,207.9 72.7,207.9 72.7,207.9 73.5,207.9 73.5,207.4 74.3,207.4 74.3,207.7 75.1,207.7 75.1,207.9 75.9,207.9 75.9,207.5 76.7,207.5 76.7,207.8 77.5,207.8 77.5,208.4 78.3,208.4 78.3,207.0 79.1,207.0 79.1,208.0 79.8,208.0 79.8,208.5 80.6,208.5 80.6,208.0 81.4,208.0 81.4,207.8 82.2,207.8 82.2,208.3 83.0,208.3 83.0,208.0 83.8,208.0 83.8,207.7 84.6,207.7 84.6,207.9 85.4,207.9 85.4,207.6 86.2,207.6 86.2,207.7 87.0,207.7 87.0,208.3 87.8,208.3 87.8,201.0 88.6,201.0 88.6,201.3 89.4,201.3 89.4,200.6 90.2,200.6 90.2,200.7 91.0,200.7 91.0,201.2 91.8,201.2 91.8,200.0 92.6,200.0 92.6,200.8 93.4,200.8 93.4,201.4 94.2,201.4 94.2,200.9 95.0,200.9 95.0,200.6 95.8,200.6 95.8,201.0 96.6,201.0 96.6,200.8 97.4,200.8 97.4,201.1 98.2,201.1 98.2,201.1 99.0,201.1 99.0,201.1 99.8,201.1 99.8,200.6 100.6,200.6 100.6,201.3 101.4,201.3 101.4,201.3 102.2,201.3 102.2,201.0 103.0,201.0 103.0,201.0 103.7,201.0 103.7,201.0 104.5,201.0 104.5,201.4 105.3,201.4 105.3,201.3 106.1,201.3 106.1,199.5 106.9,199.5 106.9,200.4 107.7,200.4 107.7,201.2 108.5,201.2 108.5,200.7 109.3,200.7 109.3,200.2 110.1,200.2 110.1,200.5 110.9,200.5 110.9,200.4 111.7,200.4 111.7,200.4 112.5,200.4 112.5,201.1 113.3,201.1 113.3,201.0 114.1,201.0 114.1,201.4 114.9,201.4 114.9,199.9 115.7,199.9 115.7,201.0 116.5,201.0 116.5,201.1 117.3,201.1 117.3,200.5 118.1,200.5 118.1,200.7 118.9,200.7 118.9,201.3 119.7,201.3 119.7,200.6 120.5,200.6 120.5,200.8 121.3,200.8 121.3,200.4 122.1,200.4 122.1,200.7 122.9,200.7 122.9,200.8 123.7,200.8 123.7,201.0 124.5,201.0 124.5,201.2 125.3,201.2 125.3,200.8 126.1,200.8 126.1,201.1 126.9,201.1 126.9,200.9 127.6,200.9 127.6,200.7 128.4,200.7 128.4,181.8 129.2,181.8 129.2,182.4 130.0,182.4 130.0,182.8 130.8,182.8 130.8,181.9 131.6,181.9 131.6,181.6 132.4,181.6 132.4,182.6 133.2,182.6 133.2,181.8 134.0,181.8 134.0,181.5 134.8,181.5 134.8,182.5 135.6,182.5 135.6,183.2 136.4,183.2 136.4,181.4 137.2,181.4 137.2,182.8 138.0,182.8 138.0,182.1 138.8,182.1 138.8,182.7 139.6,182.7 139.6,181.6 140.4,181.6 140.4,182.5 141.2,182.5 141.2,182.7 142.0,182.7 142.0,182.5 142.8,182.5 142.8,182.1 143.6,182.1 143.6,180.8 144.4,180.8 144.4,182.5 145.2,182.5 145.2,181.7 146.0,181.7 146.0,182.9 146.8,182.9 146.8,182.5 147.6,182.5 147.6,181.8 148.4,181.8 148.4,182.2 149.2,182.2 149.2,184.2 150.0,184.2 150.0,183.5 150.8,183.5 150.8,182.1 151.5,182.1 151.5,181.2 152.3,181.2 152.3,182.2 153.1,182.2 153.1,182.1 153.9,182.1 153.9,181.7 154.7,181.7 154.7,181.8 155.5,181.8 155.5,181.7 156.3,181.7 156.3,182.0 157.1,182.0 157.1,181.7 157.9,181.7 157.9,183.2 158.7,183.2 158.7,182.6 159.5,182.6 159.5,181.4 160.3,181.4 160.3,181.9 161.1,181.9 161.1,181.7 161.9,181.7 161.9,181.6 162.7,181.6 162.7,182.6 163.5,182.6 163.5,182.1 164.3,182.1 164.3,181.7 165.1,181.7 165.1,181.7 165.9,181.7 165.9,182.2 166.7,182.2 166.7,182.0 167.5,182.0 167.5,182.8 168.3,182.8 168.3,188.0 169.1,188.0 169.1,187.6 169.9,187.6 169.9,181.2 170.7,181.2 170.7,181.7 171.5,181.7 171.5,181.8 172.3,181.8 172.3,181.6 173.1,181.6 173.1,181.9 173.9,181.9 173.9,181.3 174.7,181.3 174.7,181.5 175.4,181.5 175.4,181.1 176.2,181.1 176.2,181.0 177.0,181.0 177.0,181.4 177.8,181.4 177.8,181.5 178.6,181.5 178.6,181.4 179.4,181.4 179.4,181.4 180.2,181.4 180.2,181.0 181.0,181.0 181.0,180.4 181.8,180.4 181.8,182.1 182.6,182.1 182.6,181.7 183.4,181.7 183.4,181.6 184.2,181.6 184.2,181.4 185.0,181.4 185.0,180.9 185.8,180.9 185.8,181.3 186.6,181.3 186.6,181.5 187.4,181.5 187.4,181.7 188.2,181.7 188.2,182.0 189.0,182.0 189.0,180.4 189.8,180.4 189.8,182.3 190.6,182.3 190.6,182.2 191.4,182.2 191.4,180.9 192.2,180.9 192.2,181.6 193.0,181.6 193.0,180.8 193.8,180.8 193.8,182.2 194.6,182.2 194.6,181.9 195.4,181.9 195.4,180.9 196.2,180.9 196.2,181.6 197.0,181.6 197.0,181.6 197.8,181.6 197.8,180.6 198.6,180.6 198.6,181.8 199.3,181.8 199.3,179.8 200.1,179.8 200.1,180.7 200.9,180.7 200.9,180.4 201.7,180.4 201.7,181.0 202.5,181.0 202.5,181.1 203.3,181.1 203.3,180.8 204.1,180.8 204.1,180.9 204.9,180.9 204.9,180.4 205.7,180.4 205.7,180.1 206.5,180.1 206.5,181.6 207.3,181.6 207.3,180.8 208.1,180.8 208.1,180.5 208.9,180.5 208.9,180.3 209.7,180.3 209.7,180.0 210.5,180.0 210.5,180.9 211.3,180.9 211.3,180.8 212.1,180.8 212.1,180.9 212.9,180.9 212.9,181.5Line truncated
<circle class="nj-charts-json-dot" cx="87.8" cy="201.0" r="3.5"><title>#5234: 1.11&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="87.8" y1="54.0" x2="87.8" y2="196.0"/>
<circle class="nj-theme-dot" cx="87.8" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="87.8" y="50.0" text-anchor="middle">4</text>
<circle class="nj-charts-json-dot" cx="128.4" cy="181.8" r="3.5"><title>#5283: 1.47&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="128.4" y1="54.0" x2="128.4" y2="176.8"/>
<circle class="nj-theme-dot" cx="128.4" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="128.4" y="50.0" text-anchor="middle">1</text>
<circle class="nj-charts-json-dot" cx="169.9" cy="181.2" r="3.5"><title>#5617: 1.48&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="169.9" y1="54.0" x2="169.9" y2="176.2"/>
<circle class="nj-theme-dot" cx="169.9" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="169.9" y="50.0" text-anchor="middle">3</text>
<circle class="nj-charts-json-dot" cx="241.6" cy="162.6" r="3.5"><title>#5738: 1.95&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="241.6" y1="54.0" x2="241.6" y2="157.6"/>
<circle class="nj-theme-dot" cx="241.6" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="241.6" y="50.0" text-anchor="middle">3</text>
<circle class="nj-charts-json-dot" cx="267.1" cy="154.3" r="3.5"><title>#5851: 2.2&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="267.1" y1="54.0" x2="267.1" y2="149.3"/>
<circle class="nj-theme-dot" cx="267.1" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="267.1" y="50.0" text-anchor="middle">3</text>
<circle class="nj-charts-json-dot" cx="280.6" cy="137.5" r="3.5"><title>#5882: 2.8&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="280.6" y1="36.0" x2="280.6" y2="132.5"/>
<circle class="nj-theme-dot" cx="280.6" cy="28.0" r="7.5"/>
<text class="nj-theme-num" x="280.6" y="32.0" text-anchor="middle">4</text>
<circle class="nj-charts-json-dot" cx="330.0" cy="126.8" r="3.5"><title>#6031: 3.3&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="330.0" y1="54.0" x2="330.0" y2="121.8"/>
<circle class="nj-theme-dot" cx="322.5" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="322.5" y="50.0" text-anchor="middle">1</text>
<line class="nj-charts-axis" x1="111.425" y1="208" x2="111.425" y2="212"/>
<text class="nj-charts-tick" x="111.425" y="225">Sep 2026</text>
<line class="nj-charts-axis" x1="184.777" y1="208" x2="184.777" y2="212"/>
<text class="nj-charts-tick" x="184.777" y="225">Oct</text>
<line class="nj-charts-axis" x1="284.062" y1="208" x2="284.062" y2="212"/>
<text class="nj-charts-tick" x="284.062" y="225">Nov</text>
<polyline class="nj-charts-json" points="44.0,208.0 44.7,208.0 44.7,208.1 45.5,208.1 45.5,208.1 46.2,208.1 46.2,207.8 47.0,207.8 47.0,207.5 47.7,207.5 47.7,208.0 48.4,208.0 48.4,208.1 49.2,208.1 49.2,207.8 49.9,207.8 49.9,208.3 50.7,208.3 50.7,207.5 51.4,207.5 51.4,208.0 52.2,208.0 52.2,208.8 52.9,208.8 52.9,208.3 53.6,208.3 53.6,208.1 54.4,208.1 54.4,207.8 55.1,207.8 55.1,209.2 55.9,209.2 55.9,208.4 56.6,208.4 56.6,208.1 57.3,208.1 57.3,208.1 58.1,208.1 58.1,207.3 58.8,207.3 58.8,207.8 59.6,207.8 59.6,207.7 60.3,207.7 60.3,208.1 61.0,208.1 61.0,208.3 61.8,208.3 61.8,207.8 62.5,207.8 62.5,207.6 63.3,207.6 63.3,208.2 64.0,208.2 64.0,207.5 64.7,207.5 64.7,207.8 65.5,207.8 65.5,207.9 66.2,207.9 66.2,207.9 67.0,207.9 67.0,207.6 67.7,207.6 67.7,207.7 68.5,207.7 68.5,208.0 69.2,208.0 69.2,208.1 69.9,208.1 69.9,207.9 70.7,207.9 70.7,207.9 71.4,207.9 71.4,207.4 72.2,207.4 72.2,207.7 72.9,207.7 72.9,207.9 73.6,207.9 73.6,207.5 74.4,207.5 74.4,207.8 75.1,207.8 75.1,208.4 75.9,208.4 75.9,207.0 76.6,207.0 76.6,208.0 77.3,208.0 77.3,208.5 78.1,208.5 78.1,208.0 78.8,208.0 78.8,207.8 79.6,207.8 79.6,208.3 80.3,208.3 80.3,208.0 81.0,208.0 81.0,207.7 81.8,207.7 81.8,207.9 82.5,207.9 82.5,207.6 83.3,207.6 83.3,207.7 84.0,207.7 84.0,208.3 84.8,208.3 84.8,201.0 85.5,201.0 85.5,201.3 86.2,201.3 86.2,200.6 87.0,200.6 87.0,200.7 87.7,200.7 87.7,201.2 88.5,201.2 88.5,200.0 89.2,200.0 89.2,200.8 89.9,200.8 89.9,201.4 90.7,201.4 90.7,200.9 91.4,200.9 91.4,200.6 92.2,200.6 92.2,201.0 92.9,201.0 92.9,200.8 93.6,200.8 93.6,201.1 94.4,201.1 94.4,201.1 95.1,201.1 95.1,201.1 95.9,201.1 95.9,200.6 96.6,200.6 96.6,201.3 97.3,201.3 97.3,201.3 98.1,201.3 98.1,201.0 98.8,201.0 98.8,201.0 99.6,201.0 99.6,201.0 100.3,201.0 100.3,201.4 101.1,201.4 101.1,201.3 101.8,201.3 101.8,199.5 102.5,199.5 102.5,200.4 103.3,200.4 103.3,201.2 104.0,201.2 104.0,200.7 104.8,200.7 104.8,200.2 105.5,200.2 105.5,200.5 106.2,200.5 106.2,200.4 107.0,200.4 107.0,200.4 107.7,200.4 107.7,201.1 108.5,201.1 108.5,201.0 109.2,201.0 109.2,201.4 109.9,201.4 109.9,199.9 110.7,199.9 110.7,201.0 111.4,201.0 111.4,201.1 112.2,201.1 112.2,200.5 112.9,200.5 112.9,200.7 113.6,200.7 113.6,201.3 114.4,201.3 114.4,200.6 115.1,200.6 115.1,200.8 115.9,200.8 115.9,200.4 116.6,200.4 116.6,200.7 117.4,200.7 117.4,200.8 118.1,200.8 118.1,201.0 118.8,201.0 118.8,201.2 119.6,201.2 119.6,200.8 120.3,200.8 120.3,201.1 121.1,201.1 121.1,200.9 121.8,200.9 121.8,200.7 122.5,200.7 122.5,181.8 123.3,181.8 123.3,182.4 124.0,182.4 124.0,182.8 124.8,182.8 124.8,181.9 125.5,181.9 125.5,181.6 126.2,181.6 126.2,182.6 127.0,182.6 127.0,181.8 127.7,181.8 127.7,181.5 128.5,181.5 128.5,182.5 129.2,182.5 129.2,183.2 129.9,183.2 129.9,181.4 130.7,181.4 130.7,182.8 131.4,182.8 131.4,182.1 132.2,182.1 132.2,182.7 132.9,182.7 132.9,181.6 133.7,181.6 133.7,182.5 134.4,182.5 134.4,182.7 135.1,182.7 135.1,182.5 135.9,182.5 135.9,182.1 136.6,182.1 136.6,180.8 137.4,180.8 137.4,182.5 138.1,182.5 138.1,181.7 138.8,181.7 138.8,182.9 139.6,182.9 139.6,182.5 140.3,182.5 140.3,181.8 141.1,181.8 141.1,182.2 141.8,182.2 141.8,184.2 142.5,184.2 142.5,183.5 143.3,183.5 143.3,182.1 144.0,182.1 144.0,181.2 144.8,181.2 144.8,182.2 145.5,182.2 145.5,182.1 146.2,182.1 146.2,181.7 147.0,181.7 147.0,181.8 147.7,181.8 147.7,181.7 148.5,181.7 148.5,182.0 149.2,182.0 149.2,181.7 150.0,181.7 150.0,183.2 150.7,183.2 150.7,182.6 151.4,182.6 151.4,181.4 152.2,181.4 152.2,181.9 152.9,181.9 152.9,181.7 153.7,181.7 153.7,181.6 154.4,181.6 154.4,182.6 155.1,182.6 155.1,182.1 155.9,182.1 155.9,181.7 156.6,181.7 156.6,181.7 157.4,181.7 157.4,182.2 158.1,182.2 158.1,182.0 158.8,182.0 158.8,182.8 159.6,182.8 159.6,188.0 160.3,188.0 160.3,187.6 161.1,187.6 161.1,181.2 161.8,181.2 161.8,181.7 162.5,181.7 162.5,181.8 163.3,181.8 163.3,181.6 164.0,181.6 164.0,181.9 164.8,181.9 164.8,181.3 165.5,181.3 165.5,181.5 166.3,181.5 166.3,181.1 167.0,181.1 167.0,181.0 167.7,181.0 167.7,181.4 168.5,181.4 168.5,181.5 169.2,181.5 169.2,181.4 170.0,181.4 170.0,181.4 170.7,181.4 170.7,181.0 171.4,181.0 171.4,180.4 172.2,180.4 172.2,182.1 172.9,182.1 172.9,181.7 173.7,181.7 173.7,181.6 174.4,181.6 174.4,181.4 175.1,181.4 175.1,180.9 175.9,180.9 175.9,181.3 176.6,181.3 176.6,181.5 177.4,181.5 177.4,181.7 178.1,181.7 178.1,182.0 178.8,182.0 178.8,180.4 179.6,180.4 179.6,182.3 180.3,182.3 180.3,182.2 181.1,182.2 181.1,180.9 181.8,180.9 181.8,181.6 182.6,181.6 182.6,180.8 183.3,180.8 183.3,182.2 184.0,182.2 184.0,181.9 184.8,181.9 184.8,180.9 185.5,180.9 185.5,181.6 186.3,181.6 186.3,181.6 187.0,181.6 187.0,180.6 187.7,180.6 187.7,181.8 188.5,181.8 188.5,179.8 189.2,179.8 189.2,180.7 190.0,180.7 190.0,180.4 190.7,180.4 190.7,181.0 191.4,181.0 191.4,181.1 192.2,181.1 192.2,180.8 192.9,180.8 192.9,180.9 193.7,180.9 193.7,180.4 194.4,180.4 194.4,180.1 195.2,180.1 195.2,181.6 195.9,181.6 195.9,180.8 196.6,180.8 196.6,180.5 197.4,180.5 197.4,180.3 198.1,180.3 198.1,180.0 198.9,180.0 198.9,180.9 199.6,180.9 199.6,180.8 200.3,180.8 200.3,180.9 201.1,180.9 201.1,181.5 201.8,181Line truncated
<circle class="nj-charts-json-dot" cx="84.8" cy="201.0" r="3.5"><title>#5234: 1.11&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="84.8" y1="54.0" x2="84.8" y2="196.0"/>
<circle class="nj-theme-dot" cx="84.8" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="84.8" y="50.0" text-anchor="middle">4</text>
<circle class="nj-charts-json-dot" cx="122.5" cy="181.8" r="3.5"><title>#5283: 1.47&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="122.5" y1="54.0" x2="122.5" y2="176.8"/>
<circle class="nj-theme-dot" cx="122.5" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="122.5" y="50.0" text-anchor="middle">1</text>
<circle class="nj-charts-json-dot" cx="161.1" cy="181.2" r="3.5"><title>#5617: 1.48&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="161.1" y1="54.0" x2="161.1" y2="176.2"/>
<circle class="nj-theme-dot" cx="161.1" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="161.1" y="50.0" text-anchor="middle">3</text>
<circle class="nj-charts-json-dot" cx="227.8" cy="162.6" r="3.5"><title>#5738: 1.95&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="227.8" y1="54.0" x2="227.8" y2="157.6"/>
<circle class="nj-theme-dot" cx="227.8" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="227.8" y="50.0" text-anchor="middle">3</text>
<circle class="nj-charts-json-dot" cx="251.5" cy="154.3" r="3.5"><title>#5851: 2.2&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="251.5" y1="54.0" x2="251.5" y2="149.3"/>
<circle class="nj-theme-dot" cx="251.5" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="251.5" y="50.0" text-anchor="middle">3</text>
<circle class="nj-charts-json-dot" cx="264.1" cy="137.5" r="3.5"><title>#5882: 2.8&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="264.1" y1="36.0" x2="264.1" y2="132.5"/>
<circle class="nj-theme-dot" cx="264.1" cy="28.0" r="7.5"/>
<text class="nj-theme-num" x="264.1" y="32.0" text-anchor="middle">4</text>
<circle class="nj-charts-json-dot" cx="310.7" cy="127.0" r="3.5"><title>#6031: 3.3&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="310.7" y1="54.0" x2="310.7" y2="122.0"/>
<circle class="nj-theme-dot" cx="310.7" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="310.7" y="50.0" text-anchor="middle">1</text>
<line class="nj-charts-axis" x1="44" y1="208" x2="330" y2="208"/>
<text class="nj-charts-note" x="8" y="262">speedup over 3.12.0 (log scale), more is better</text>
</svg>

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 13 KiB

@@ -1,6 +1,6 @@
<svg class="nj-fig nj-charts nj-charts--timeline" viewBox="0 0 340 270" role="img" aria-labelledby="nj-blog-tl-parse_citm nj-blog-tl-parse_citm-d" xmlns="http://www.w3.org/2000/svg">
<title id="nj-blog-tl-parse_citm">parse() citm_catalog.json: speedup over 3.12.0 by commit</title>
<desc id="nj-blog-tl-parse_citm-d">parse() citm_catalog.json: speedup over 3.12.0 at each of 360 commits, ending at 3.8x. Labeled steps, by theme: 4, 1, 4, 4, 2, 4, 1.</desc>
<desc id="nj-blog-tl-parse_citm-d">parse() citm_catalog.json: speedup over 3.12.0 at each of 387 commits, ending at 3.8x. Labeled steps, by theme: 4, 1, 4, 4, 2, 4, 1.</desc>
<text class="nj-charts-panel" x="8" y="18">parse() citm_catalog.json</text>
<line class="nj-charts-grid" x1="44" y1="208" x2="330" y2="208"/>
<text class="nj-charts-tick nj-charts-tick--r" x="38" y="212">1&#215;</text>
@@ -12,40 +12,40 @@
<text class="nj-charts-tick nj-charts-tick--r" x="38" y="70">8&#215;</text>
<line class="nj-charts-axis" x1="44" y1="208" x2="44" y2="212"/>
<text class="nj-charts-tick" x="44" y="225">3.12.0</text>
<line class="nj-charts-axis" x1="116.496" y1="208" x2="116.496" y2="212"/>
<text class="nj-charts-tick" x="116.496" y="225">Sep 2026</text>
<line class="nj-charts-axis" x1="195.365" y1="208" x2="195.365" y2="212"/>
<text class="nj-charts-tick" x="195.365" y="225">Oct</text>
<line class="nj-charts-axis" x1="302.117" y1="208" x2="302.117" y2="212"/>
<text class="nj-charts-tick" x="302.117" y="225">Nov</text>
<polyline class="nj-charts-json" points="44.0,208.0 44.8,208.0 44.8,208.2 45.6,208.2 45.6,207.8 46.4,207.8 46.4,207.5 47.2,207.5 47.2,206.5 48.0,206.5 48.0,208.3 48.8,208.3 48.8,207.3 49.6,207.3 49.6,206.8 50.4,206.8 50.4,207.8 51.2,207.8 51.2,206.8 52.0,206.8 52.0,207.3 52.8,207.3 52.8,207.6 53.6,207.6 53.6,207.8 54.4,207.8 54.4,207.0 55.2,207.0 55.2,207.3 55.9,207.3 55.9,207.2 56.7,207.2 56.7,207.4 57.5,207.4 57.5,207.5 58.3,207.5 58.3,207.4 59.1,207.4 59.1,206.6 59.9,206.6 59.9,207.6 60.7,207.6 60.7,207.6 61.5,207.6 61.5,207.2 62.3,207.2 62.3,207.0 63.1,207.0 63.1,207.6 63.9,207.6 63.9,206.7 64.7,206.7 64.7,207.4 65.5,207.4 65.5,206.8 66.3,206.8 66.3,207.3 67.1,207.3 67.1,207.7 67.9,207.7 67.9,207.9 68.7,207.9 68.7,207.2 69.5,207.2 69.5,206.4 70.3,206.4 70.3,207.6 71.1,207.6 71.1,206.4 71.9,206.4 71.9,208.0 72.7,208.0 72.7,207.4 73.5,207.4 73.5,206.5 74.3,206.5 74.3,207.5 75.1,207.5 75.1,207.2 75.9,207.2 75.9,206.9 76.7,206.9 76.7,207.6 77.5,207.6 77.5,207.6 78.3,207.6 78.3,207.0 79.1,207.0 79.1,206.9 79.8,206.9 79.8,208.0 80.6,208.0 80.6,207.6 81.4,207.6 81.4,206.6 82.2,206.6 82.2,206.8 83.0,206.8 83.0,207.3 83.8,207.3 83.8,206.9 84.6,206.9 84.6,207.6 85.4,207.6 85.4,207.1 86.2,207.1 86.2,207.6 87.0,207.6 87.0,207.9 87.8,207.9 87.8,178.2 88.6,178.2 88.6,177.5 89.4,177.5 89.4,177.7 90.2,177.7 90.2,177.6 91.0,177.6 91.0,177.7 91.8,177.7 91.8,177.1 92.6,177.1 92.6,176.8 93.4,176.8 93.4,177.7 94.2,177.7 94.2,177.6 95.0,177.6 95.0,176.8 95.8,176.8 95.8,177.8 96.6,177.8 96.6,177.0 97.4,177.0 97.4,176.8 98.2,176.8 98.2,178.0 99.0,178.0 99.0,178.1 99.8,178.1 99.8,177.6 100.6,177.6 100.6,177.6 101.4,177.6 101.4,177.4 102.2,177.4 102.2,177.6 103.0,177.6 103.0,177.8 103.7,177.8 103.7,177.5 104.5,177.5 104.5,177.9 105.3,177.9 105.3,177.7 106.1,177.7 106.1,175.9 106.9,175.9 106.9,177.5 107.7,177.5 107.7,177.6 108.5,177.6 108.5,177.6 109.3,177.6 109.3,176.9 110.1,176.9 110.1,177.5 110.9,177.5 110.9,177.4 111.7,177.4 111.7,177.4 112.5,177.4 112.5,176.9 113.3,176.9 113.3,177.9 114.1,177.9 114.1,177.3 114.9,177.3 114.9,176.6 115.7,176.6 115.7,177.4 116.5,177.4 116.5,177.5 117.3,177.5 117.3,177.5 118.1,177.5 118.1,177.4 118.9,177.4 118.9,177.0 119.7,177.0 119.7,177.7 120.5,177.7 120.5,176.2 121.3,176.2 121.3,176.9 122.1,176.9 122.1,177.5 122.9,177.5 122.9,177.8 123.7,177.8 123.7,177.8 124.5,177.8 124.5,177.9 125.3,177.9 125.3,177.3 126.1,177.3 126.1,177.5 126.9,177.5 126.9,177.4 127.6,177.4 127.6,177.1 128.4,177.1 128.4,162.5 129.2,162.5 129.2,162.2 130.0,162.2 130.0,161.8 130.8,161.8 130.8,162.2 131.6,162.2 131.6,161.2 132.4,161.2 132.4,160.7 133.2,160.7 133.2,159.4 134.0,159.4 134.0,160.3 134.8,160.3 134.8,160.4 135.6,160.4 135.6,160.6 136.4,160.6 136.4,159.5 137.2,159.5 137.2,160.4 138.0,160.4 138.0,159.6 138.8,159.6 138.8,160.0 139.6,160.0 139.6,159.9 140.4,159.9 140.4,160.2 141.2,160.2 141.2,159.6 142.0,159.6 142.0,160.8 142.8,160.8 142.8,160.1 143.6,160.1 143.6,159.1 144.4,159.1 144.4,159.7 145.2,159.7 145.2,159.9 146.0,159.9 146.0,160.5 146.8,160.5 146.8,160.2 147.6,160.2 147.6,159.9 148.4,159.9 148.4,160.5 149.2,160.5 149.2,160.5 150.0,160.5 150.0,160.6 150.8,160.6 150.8,159.7 151.5,159.7 151.5,159.5 152.3,159.5 152.3,160.0 153.1,160.0 153.1,160.2 153.9,160.2 153.9,160.0 154.7,160.0 154.7,160.6 155.5,160.6 155.5,159.9 156.3,159.9 156.3,160.2 157.1,160.2 157.1,160.1 157.9,160.1 157.9,160.8 158.7,160.8 158.7,159.2 159.5,159.2 159.5,159.6 160.3,159.6 160.3,159.2 161.1,159.2 161.1,160.0 161.9,160.0 161.9,159.4 162.7,159.4 162.7,159.6 163.5,159.6 163.5,159.5 164.3,159.5 164.3,160.1 165.1,160.1 165.1,159.0 165.9,159.0 165.9,159.4 166.7,159.4 166.7,160.2 167.5,160.2 167.5,161.4 168.3,161.4 168.3,161.7 169.1,161.7 169.1,161.6 169.9,161.6 169.9,160.3 170.7,160.3 170.7,161.1 171.5,161.1 171.5,161.2 172.3,161.2 172.3,161.7 173.1,161.7 173.1,161.2 173.9,161.2 173.9,160.4 174.7,160.4 174.7,161.6 175.4,161.6 175.4,160.6 176.2,160.6 176.2,161.4 177.0,161.4 177.0,161.3 177.8,161.3 177.8,161.3 178.6,161.3 178.6,161.7 179.4,161.7 179.4,161.2 180.2,161.2 180.2,160.1 181.0,160.1 181.0,160.9 181.8,160.9 181.8,161.5 182.6,161.5 182.6,160.6 183.4,160.6 183.4,161.9 184.2,161.9 184.2,161.4 185.0,161.4 185.0,160.1 185.8,160.1 185.8,160.6 186.6,160.6 186.6,162.0 187.4,162.0 187.4,161.5 188.2,161.5 188.2,162.0 189.0,162.0 189.0,161.3 189.8,161.3 189.8,162.3 190.6,162.3 190.6,162.1 191.4,162.1 191.4,160.8 192.2,160.8 192.2,161.5 193.0,161.5 193.0,161.4 193.8,161.4 193.8,162.2 194.6,162.2 194.6,161.4 195.4,161.4 195.4,161.4 196.2,161.4 196.2,161.8 197.0,161.8 197.0,160.7 197.8,160.7 197.8,160.5 198.6,160.5 198.6,160.5 199.3,160.5 199.3,159.3 200.1,159.3 200.1,159.4 200.9,159.4 200.9,160.4 201.7,160.4 201.7,160.1 202.5,160.1 202.5,160.4 203.3,160.4 203.3,160.4 204.1,160.4 204.1,160.8 204.9,160.8 204.9,159.8 205.7,159.8 205.7,159.4 206.5,159.4 206.5,160.5 207.3,160.5 207.3,160.1 208.1,160.1 208.1,160.7 208.9,160.7 208.9,160.6 209.7,160.6 209.7,159.5 210.5,159.5 210.5,161.1 211.3,161.1 211.3,161.3 212.1,161.3 212.1,161.0 212.9,161.0 212.9,160.8Line truncated
<circle class="nj-charts-json-dot" cx="87.8" cy="178.2" r="3.5"><title>#5234: 1.55&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="87.8" y1="54.0" x2="87.8" y2="173.2"/>
<circle class="nj-theme-dot" cx="87.8" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="87.8" y="50.0" text-anchor="middle">4</text>
<circle class="nj-charts-json-dot" cx="128.4" cy="162.5" r="3.5"><title>#5283: 1.95&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="128.4" y1="54.0" x2="128.4" y2="157.5"/>
<circle class="nj-theme-dot" cx="128.4" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="128.4" y="50.0" text-anchor="middle">1</text>
<circle class="nj-charts-json-dot" cx="219.3" cy="155.4" r="3.5"><title>#5592: 2.2&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="219.3" y1="54.0" x2="219.3" y2="150.4"/>
<circle class="nj-theme-dot" cx="219.3" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="219.3" y="50.0" text-anchor="middle">4</text>
<circle class="nj-charts-json-dot" cx="239.2" cy="147.1" r="3.5"><title>#5809: 2.4&#215;</title></circle>
<circle class="nj-charts-json-dot" cx="240.0" cy="138.2" r="3.5"><title>#5810: 2.8&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="240.0" y1="36.0" x2="240.0" y2="133.2"/>
<circle class="nj-theme-dot" cx="231.0" cy="28.0" r="7.5"/>
<text class="nj-theme-num" x="231.0" y="32.0" text-anchor="middle">4</text>
<circle class="nj-theme-dot" cx="249.0" cy="28.0" r="7.5"/>
<text class="nj-theme-num" x="249.0" y="32.0" text-anchor="middle">2</text>
<circle class="nj-charts-json-dot" cx="280.6" cy="125.7" r="3.5"><title>#5882: 3.3&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="280.6" y1="54.0" x2="280.6" y2="120.7"/>
<circle class="nj-theme-dot" cx="280.6" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="280.6" y="50.0" text-anchor="middle">4</text>
<circle class="nj-charts-json-dot" cx="330.0" cy="116.6" r="3.5"><title>#6031: 3.8&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="330.0" y1="54.0" x2="330.0" y2="111.6"/>
<circle class="nj-theme-dot" cx="322.5" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="322.5" y="50.0" text-anchor="middle">1</text>
<line class="nj-charts-axis" x1="111.425" y1="208" x2="111.425" y2="212"/>
<text class="nj-charts-tick" x="111.425" y="225">Sep 2026</text>
<line class="nj-charts-axis" x1="184.777" y1="208" x2="184.777" y2="212"/>
<text class="nj-charts-tick" x="184.777" y="225">Oct</text>
<line class="nj-charts-axis" x1="284.062" y1="208" x2="284.062" y2="212"/>
<text class="nj-charts-tick" x="284.062" y="225">Nov</text>
<polyline class="nj-charts-json" points="44.0,208.0 44.7,208.0 44.7,208.2 45.5,208.2 45.5,207.8 46.2,207.8 46.2,207.5 47.0,207.5 47.0,206.5 47.7,206.5 47.7,208.3 48.4,208.3 48.4,207.3 49.2,207.3 49.2,206.8 49.9,206.8 49.9,207.8 50.7,207.8 50.7,206.8 51.4,206.8 51.4,207.3 52.2,207.3 52.2,207.6 52.9,207.6 52.9,207.8 53.6,207.8 53.6,207.0 54.4,207.0 54.4,207.3 55.1,207.3 55.1,207.2 55.9,207.2 55.9,207.4 56.6,207.4 56.6,207.5 57.3,207.5 57.3,207.4 58.1,207.4 58.1,206.6 58.8,206.6 58.8,207.6 59.6,207.6 59.6,207.6 60.3,207.6 60.3,207.2 61.0,207.2 61.0,207.0 61.8,207.0 61.8,207.6 62.5,207.6 62.5,206.7 63.3,206.7 63.3,207.4 64.0,207.4 64.0,206.8 64.7,206.8 64.7,207.3 65.5,207.3 65.5,207.7 66.2,207.7 66.2,207.9 67.0,207.9 67.0,207.2 67.7,207.2 67.7,206.4 68.5,206.4 68.5,207.6 69.2,207.6 69.2,206.4 69.9,206.4 69.9,208.0 70.7,208.0 70.7,207.4 71.4,207.4 71.4,206.5 72.2,206.5 72.2,207.5 72.9,207.5 72.9,207.2 73.6,207.2 73.6,206.9 74.4,206.9 74.4,207.6 75.1,207.6 75.1,207.6 75.9,207.6 75.9,207.0 76.6,207.0 76.6,206.9 77.3,206.9 77.3,208.0 78.1,208.0 78.1,207.6 78.8,207.6 78.8,206.6 79.6,206.6 79.6,206.8 80.3,206.8 80.3,207.3 81.0,207.3 81.0,206.9 81.8,206.9 81.8,207.6 82.5,207.6 82.5,207.1 83.3,207.1 83.3,207.6 84.0,207.6 84.0,207.9 84.8,207.9 84.8,178.2 85.5,178.2 85.5,177.5 86.2,177.5 86.2,177.7 87.0,177.7 87.0,177.6 87.7,177.6 87.7,177.7 88.5,177.7 88.5,177.1 89.2,177.1 89.2,176.8 89.9,176.8 89.9,177.7 90.7,177.7 90.7,177.6 91.4,177.6 91.4,176.8 92.2,176.8 92.2,177.8 92.9,177.8 92.9,177.0 93.6,177.0 93.6,176.8 94.4,176.8 94.4,178.0 95.1,178.0 95.1,178.1 95.9,178.1 95.9,177.6 96.6,177.6 96.6,177.6 97.3,177.6 97.3,177.4 98.1,177.4 98.1,177.6 98.8,177.6 98.8,177.8 99.6,177.8 99.6,177.5 100.3,177.5 100.3,177.9 101.1,177.9 101.1,177.7 101.8,177.7 101.8,175.9 102.5,175.9 102.5,177.5 103.3,177.5 103.3,177.6 104.0,177.6 104.0,177.6 104.8,177.6 104.8,176.9 105.5,176.9 105.5,177.5 106.2,177.5 106.2,177.4 107.0,177.4 107.0,177.4 107.7,177.4 107.7,176.9 108.5,176.9 108.5,177.9 109.2,177.9 109.2,177.3 109.9,177.3 109.9,176.6 110.7,176.6 110.7,177.4 111.4,177.4 111.4,177.5 112.2,177.5 112.2,177.5 112.9,177.5 112.9,177.4 113.6,177.4 113.6,177.0 114.4,177.0 114.4,177.7 115.1,177.7 115.1,176.2 115.9,176.2 115.9,176.9 116.6,176.9 116.6,177.5 117.4,177.5 117.4,177.8 118.1,177.8 118.1,177.8 118.8,177.8 118.8,177.9 119.6,177.9 119.6,177.3 120.3,177.3 120.3,177.5 121.1,177.5 121.1,177.4 121.8,177.4 121.8,177.1 122.5,177.1 122.5,162.5 123.3,162.5 123.3,162.2 124.0,162.2 124.0,161.8 124.8,161.8 124.8,162.2 125.5,162.2 125.5,161.2 126.2,161.2 126.2,160.7 127.0,160.7 127.0,159.4 127.7,159.4 127.7,160.3 128.5,160.3 128.5,160.4 129.2,160.4 129.2,160.6 129.9,160.6 129.9,159.5 130.7,159.5 130.7,160.4 131.4,160.4 131.4,159.6 132.2,159.6 132.2,160.0 132.9,160.0 132.9,159.9 133.7,159.9 133.7,160.2 134.4,160.2 134.4,159.6 135.1,159.6 135.1,160.8 135.9,160.8 135.9,160.1 136.6,160.1 136.6,159.1 137.4,159.1 137.4,159.7 138.1,159.7 138.1,159.9 138.8,159.9 138.8,160.5 139.6,160.5 139.6,160.2 140.3,160.2 140.3,159.9 141.1,159.9 141.1,160.5 141.8,160.5 141.8,160.5 142.5,160.5 142.5,160.6 143.3,160.6 143.3,159.7 144.0,159.7 144.0,159.5 144.8,159.5 144.8,160.0 145.5,160.0 145.5,160.2 146.2,160.2 146.2,160.0 147.0,160.0 147.0,160.6 147.7,160.6 147.7,159.9 148.5,159.9 148.5,160.2 149.2,160.2 149.2,160.1 150.0,160.1 150.0,160.8 150.7,160.8 150.7,159.2 151.4,159.2 151.4,159.6 152.2,159.6 152.2,159.2 152.9,159.2 152.9,160.0 153.7,160.0 153.7,159.4 154.4,159.4 154.4,159.6 155.1,159.6 155.1,159.5 155.9,159.5 155.9,160.1 156.6,160.1 156.6,159.0 157.4,159.0 157.4,159.4 158.1,159.4 158.1,160.2 158.8,160.2 158.8,161.4 159.6,161.4 159.6,161.7 160.3,161.7 160.3,161.6 161.1,161.6 161.1,160.3 161.8,160.3 161.8,161.1 162.5,161.1 162.5,161.2 163.3,161.2 163.3,161.7 164.0,161.7 164.0,161.2 164.8,161.2 164.8,160.4 165.5,160.4 165.5,161.6 166.3,161.6 166.3,160.6 167.0,160.6 167.0,161.4 167.7,161.4 167.7,161.3 168.5,161.3 168.5,161.3 169.2,161.3 169.2,161.7 170.0,161.7 170.0,161.2 170.7,161.2 170.7,160.1 171.4,160.1 171.4,160.9 172.2,160.9 172.2,161.5 172.9,161.5 172.9,160.6 173.7,160.6 173.7,161.9 174.4,161.9 174.4,161.4 175.1,161.4 175.1,160.1 175.9,160.1 175.9,160.6 176.6,160.6 176.6,162.0 177.4,162.0 177.4,161.5 178.1,161.5 178.1,162.0 178.8,162.0 178.8,161.3 179.6,161.3 179.6,162.3 180.3,162.3 180.3,162.1 181.1,162.1 181.1,160.8 181.8,160.8 181.8,161.5 182.6,161.5 182.6,161.4 183.3,161.4 183.3,162.2 184.0,162.2 184.0,161.4 184.8,161.4 184.8,161.4 185.5,161.4 185.5,161.8 186.3,161.8 186.3,160.7 187.0,160.7 187.0,160.5 187.7,160.5 187.7,160.5 188.5,160.5 188.5,159.3 189.2,159.3 189.2,159.4 190.0,159.4 190.0,160.4 190.7,160.4 190.7,160.1 191.4,160.1 191.4,160.4 192.2,160.4 192.2,160.4 192.9,160.4 192.9,160.8 193.7,160.8 193.7,159.8 194.4,159.8 194.4,159.4 195.2,159.4 195.2,160.5 195.9,160.5 195.9,160.1 196.6,160.1 196.6,160.7 197.4,160.7 197.4,160.6 198.1,160.6 198.1,159.5 198.9,159.5 198.9,161.1 199.6,161.1 199.6,161.3 200.3,161.3 200.3,161.0 201.1,161.0 201.1,160.8 201.8,160Line truncated
<circle class="nj-charts-json-dot" cx="84.8" cy="178.2" r="3.5"><title>#5234: 1.55&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="84.8" y1="54.0" x2="84.8" y2="173.2"/>
<circle class="nj-theme-dot" cx="84.8" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="84.8" y="50.0" text-anchor="middle">4</text>
<circle class="nj-charts-json-dot" cx="122.5" cy="162.5" r="3.5"><title>#5283: 1.95&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="122.5" y1="54.0" x2="122.5" y2="157.5"/>
<circle class="nj-theme-dot" cx="122.5" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="122.5" y="50.0" text-anchor="middle">1</text>
<circle class="nj-charts-json-dot" cx="207.0" cy="155.4" r="3.5"><title>#5592: 2.2&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="207.0" y1="54.0" x2="207.0" y2="150.4"/>
<circle class="nj-theme-dot" cx="207.0" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="207.0" y="50.0" text-anchor="middle">4</text>
<circle class="nj-charts-json-dot" cx="225.5" cy="147.1" r="3.5"><title>#5809: 2.4&#215;</title></circle>
<circle class="nj-charts-json-dot" cx="226.3" cy="138.2" r="3.5"><title>#5810: 2.8&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="226.3" y1="36.0" x2="226.3" y2="133.2"/>
<circle class="nj-theme-dot" cx="217.3" cy="28.0" r="7.5"/>
<text class="nj-theme-num" x="217.3" y="32.0" text-anchor="middle">4</text>
<circle class="nj-theme-dot" cx="235.3" cy="28.0" r="7.5"/>
<text class="nj-theme-num" x="235.3" y="32.0" text-anchor="middle">2</text>
<circle class="nj-charts-json-dot" cx="264.1" cy="125.7" r="3.5"><title>#5882: 3.3&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="264.1" y1="54.0" x2="264.1" y2="120.7"/>
<circle class="nj-theme-dot" cx="264.1" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="264.1" y="50.0" text-anchor="middle">4</text>
<circle class="nj-charts-json-dot" cx="310.7" cy="116.7" r="3.5"><title>#6031: 3.8&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="310.7" y1="54.0" x2="310.7" y2="111.7"/>
<circle class="nj-theme-dot" cx="310.7" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="310.7" y="50.0" text-anchor="middle">1</text>
<line class="nj-charts-axis" x1="44" y1="208" x2="330" y2="208"/>
<text class="nj-charts-note" x="8" y="262">speedup over 3.12.0 (log scale), more is better</text>
</svg>

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 13 KiB

@@ -1,6 +1,6 @@
<svg class="nj-fig nj-charts nj-charts--timeline" viewBox="0 0 340 270" role="img" aria-labelledby="nj-blog-tl-parse_twitter_ifstream nj-blog-tl-parse_twitter_ifstream-d" xmlns="http://www.w3.org/2000/svg">
<title id="nj-blog-tl-parse_twitter_ifstream">parse() twitter.json, std::ifstream: speedup over 3.12.0 by commit</title>
<desc id="nj-blog-tl-parse_twitter_ifstream-d">parse() twitter.json, std::ifstream: speedup over 3.12.0 at each of 360 commits, ending at 2.2x. Labeled steps, by theme: 1, 1.</desc>
<desc id="nj-blog-tl-parse_twitter_ifstream-d">parse() twitter.json, std::ifstream: speedup over 3.12.0 at each of 387 commits, ending at 2.2x. Labeled steps, by theme: 1, 1.</desc>
<text class="nj-charts-panel" x="8" y="18">parse() twitter.json, std::ifstream</text>
<line class="nj-charts-grid" x1="44" y1="208" x2="330" y2="208"/>
<text class="nj-charts-tick nj-charts-tick--r" x="38" y="212">1&#215;</text>
@@ -10,21 +10,21 @@
<text class="nj-charts-tick nj-charts-tick--r" x="38" y="70">4&#215;</text>
<line class="nj-charts-axis" x1="44" y1="208" x2="44" y2="212"/>
<text class="nj-charts-tick" x="44" y="225">3.12.0</text>
<line class="nj-charts-axis" x1="116.496" y1="208" x2="116.496" y2="212"/>
<text class="nj-charts-tick" x="116.496" y="225">Sep 2026</text>
<line class="nj-charts-axis" x1="195.365" y1="208" x2="195.365" y2="212"/>
<text class="nj-charts-tick" x="195.365" y="225">Oct</text>
<line class="nj-charts-axis" x1="302.117" y1="208" x2="302.117" y2="212"/>
<text class="nj-charts-tick" x="302.117" y="225">Nov</text>
<polyline class="nj-charts-json" points="44.0,208.0 44.8,208.0 44.8,209.3 45.6,209.3 45.6,206.6 46.4,206.6 46.4,208.3 47.2,208.3 47.2,205.9 48.0,205.9 48.0,209.3 48.8,209.3 48.8,208.3 49.6,208.3 49.6,207.9 50.4,207.9 50.4,209.4 51.2,209.4 51.2,205.8 52.0,205.8 52.0,206.7 52.8,206.7 52.8,209.2 53.6,209.2 53.6,208.1 54.4,208.1 54.4,206.9 55.2,206.9 55.2,207.5 55.9,207.5 55.9,207.5 56.7,207.5 56.7,207.6 57.5,207.6 57.5,206.9 58.3,206.9 58.3,206.9 59.1,206.9 59.1,208.4 59.9,208.4 59.9,208.6 60.7,208.6 60.7,209.1 61.5,209.1 61.5,207.7 62.3,207.7 62.3,207.0 63.1,207.0 63.1,206.7 63.9,206.7 63.9,206.1 64.7,206.1 64.7,207.5 65.5,207.5 65.5,206.4 66.3,206.4 66.3,206.7 67.1,206.7 67.1,206.8 67.9,206.8 67.9,209.3 68.7,209.3 68.7,206.7 69.5,206.7 69.5,206.8 70.3,206.8 70.3,206.6 71.1,206.6 71.1,206.8 71.9,206.8 71.9,209.2 72.7,209.2 72.7,207.6 73.5,207.6 73.5,205.9 74.3,205.9 74.3,209.1 75.1,209.1 75.1,206.6 75.9,206.6 75.9,207.4 76.7,207.4 76.7,207.0 77.5,207.0 77.5,209.1 78.3,209.1 78.3,205.8 79.1,205.8 79.1,206.9 79.8,206.9 79.8,208.0 80.6,208.0 80.6,208.5 81.4,208.5 81.4,206.6 82.2,206.6 82.2,206.0 83.0,206.0 83.0,207.9 83.8,207.9 83.8,206.6 84.6,206.6 84.6,206.5 85.4,206.5 85.4,206.6 86.2,206.6 86.2,207.2 87.0,207.2 87.0,208.0 87.8,208.0 87.8,208.1 88.6,208.1 88.6,206.7 89.4,206.7 89.4,207.8 90.2,207.8 90.2,206.7 91.0,206.7 91.0,208.1 91.8,208.1 91.8,205.9 92.6,205.9 92.6,206.8 93.4,206.8 93.4,208.0 94.2,208.0 94.2,207.3 95.0,207.3 95.0,206.7 95.8,206.7 95.8,209.3 96.6,209.3 96.6,206.5 97.4,206.5 97.4,207.2 98.2,207.2 98.2,208.2 99.0,208.2 99.0,209.3 99.8,209.3 99.8,207.8 100.6,207.8 100.6,206.9 101.4,206.9 101.4,206.7 102.2,206.7 102.2,209.0 103.0,209.0 103.0,208.0 103.7,208.0 103.7,208.1 104.5,208.1 104.5,209.1 105.3,209.1 105.3,208.1 106.1,208.1 106.1,205.6 106.9,205.6 106.9,207.0 107.7,207.0 107.7,206.7 108.5,206.7 108.5,207.9 109.3,207.9 109.3,206.7 110.1,206.7 110.1,206.9 110.9,206.9 110.9,206.8 111.7,206.8 111.7,206.4 112.5,206.4 112.5,207.1 113.3,207.1 113.3,208.6 114.1,208.6 114.1,208.7 114.9,208.7 114.9,206.6 115.7,206.6 115.7,209.3 116.5,209.3 116.5,208.0 117.3,208.0 117.3,206.7 118.1,206.7 118.1,207.7 118.9,207.7 118.9,206.9 119.7,206.9 119.7,208.8 120.5,208.8 120.5,208.7 121.3,208.7 121.3,207.7 122.1,207.7 122.1,208.8 122.9,208.8 122.9,207.8 123.7,207.8 123.7,210.3 124.5,210.3 124.5,208.9 125.3,208.9 125.3,208.9 126.1,208.9 126.1,209.0 126.9,209.0 126.9,208.0 127.6,208.0 127.6,207.7 128.4,207.7 128.4,208.3 129.2,208.3 129.2,207.0 130.0,207.0 130.0,207.2 130.8,207.2 130.8,207.5 131.6,207.5 131.6,208.0 132.4,208.0 132.4,207.6 133.2,207.6 133.2,207.9 134.0,207.9 134.0,207.6 134.8,207.6 134.8,208.5 135.6,208.5 135.6,209.2 136.4,209.2 136.4,206.3 137.2,206.3 137.2,208.7 138.0,208.7 138.0,207.6 138.8,207.6 138.8,207.4 139.6,207.4 139.6,207.5 140.4,207.5 140.4,209.0 141.2,209.0 141.2,206.9 142.0,206.9 142.0,209.3 142.8,209.3 142.8,209.9 143.6,209.9 143.6,207.0 144.4,207.0 144.4,207.3 145.2,207.3 145.2,208.1 146.0,208.1 146.0,209.8 146.8,209.8 146.8,208.1 147.6,208.1 147.6,208.1 148.4,208.1 148.4,208.5 149.2,208.5 149.2,208.2 150.0,208.2 150.0,210.4 150.8,210.4 150.8,207.7 151.5,207.7 151.5,207.2 152.3,207.2 152.3,206.7 153.1,206.7 153.1,209.9 153.9,209.9 153.9,206.6 154.7,206.6 154.7,209.9 155.5,209.9 155.5,208.8 156.3,208.8 156.3,208.8 157.1,208.8 157.1,209.5 157.9,209.5 157.9,208.9 158.7,208.9 158.7,206.4 159.5,206.4 159.5,207.2 160.3,207.2 160.3,207.0 161.1,207.0 161.1,207.2 161.9,207.2 161.9,206.6 162.7,206.6 162.7,207.2 163.5,207.2 163.5,208.0 164.3,208.0 164.3,207.6 165.1,207.6 165.1,207.9 165.9,207.9 165.9,207.5 166.7,207.5 166.7,205.6 167.5,205.6 167.5,208.0 168.3,208.0 168.3,209.7 169.1,209.7 169.1,207.9 169.9,207.9 169.9,207.6 170.7,207.6 170.7,208.5 171.5,208.5 171.5,207.9 172.3,207.9 172.3,210.4 173.1,210.4 173.1,206.7 173.9,206.7 173.9,207.7 174.7,207.7 174.7,209.2 175.4,209.2 175.4,206.8 176.2,206.8 176.2,209.3 177.0,209.3 177.0,208.0 177.8,208.0 177.8,208.0 178.6,208.0 178.6,207.9 179.4,207.9 179.4,208.2 180.2,208.2 180.2,207.9 181.0,207.9 181.0,207.0 181.8,207.0 181.8,208.8 182.6,208.8 182.6,208.0 183.4,208.0 183.4,208.0 184.2,208.0 184.2,209.2 185.0,209.2 185.0,206.7 185.8,206.7 185.8,206.7 186.6,206.7 186.6,208.5 187.4,208.5 187.4,208.9 188.2,208.9 188.2,210.1 189.0,210.1 189.0,206.4 189.8,206.4 189.8,209.4 190.6,209.4 190.6,210.1 191.4,210.1 191.4,207.6 192.2,207.6 192.2,209.5 193.0,209.5 193.0,208.7 193.8,208.7 193.8,211.1 194.6,211.1 194.6,210.1 195.4,210.1 195.4,211.7 196.2,211.7 196.2,208.8 197.0,208.8 197.0,209.2 197.8,209.2 197.8,207.7 198.6,207.7 198.6,208.1 199.3,208.1 199.3,206.4 200.1,206.4 200.1,206.7 200.9,206.7 200.9,207.3 201.7,207.3 201.7,207.8 202.5,207.8 202.5,208.7 203.3,208.7 203.3,210.1 204.1,210.1 204.1,210.0 204.9,210.0 204.9,206.9 205.7,206.9 205.7,209.0 206.5,209.0 206.5,208.7 207.3,208.7 207.3,209.1 208.1,209.1 208.1,208.6 208.9,208.6 208.9,208.9 209.7,208.9 209.7,207.3 210.5,207.3 210.5,208.9 211.3,208.9 211.3,209.2 212.1,209.2 212.1,207.3 212.9,207.3 212.9,210.5Line truncated
<circle class="nj-charts-json-dot" cx="258.3" cy="138.8" r="3.5"><title>#5828: 1.97&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="258.3" y1="54.0" x2="258.3" y2="133.8"/>
<circle class="nj-theme-dot" cx="258.3" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="258.3" y="50.0" text-anchor="middle">1</text>
<circle class="nj-charts-json-dot" cx="275.0" cy="127.0" r="3.5"><title>#5884: 2.2&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="275.0" y1="36.0" x2="275.0" y2="122.0"/>
<circle class="nj-theme-dot" cx="275.0" cy="28.0" r="7.5"/>
<text class="nj-theme-num" x="275.0" y="32.0" text-anchor="middle">1</text>
<line class="nj-charts-axis" x1="111.425" y1="208" x2="111.425" y2="212"/>
<text class="nj-charts-tick" x="111.425" y="225">Sep 2026</text>
<line class="nj-charts-axis" x1="184.777" y1="208" x2="184.777" y2="212"/>
<text class="nj-charts-tick" x="184.777" y="225">Oct</text>
<line class="nj-charts-axis" x1="284.062" y1="208" x2="284.062" y2="212"/>
<text class="nj-charts-tick" x="284.062" y="225">Nov</text>
<polyline class="nj-charts-json" points="44.0,208.0 44.7,208.0 44.7,209.3 45.5,209.3 45.5,206.6 46.2,206.6 46.2,208.3 47.0,208.3 47.0,205.9 47.7,205.9 47.7,209.3 48.4,209.3 48.4,208.3 49.2,208.3 49.2,207.9 49.9,207.9 49.9,209.4 50.7,209.4 50.7,205.8 51.4,205.8 51.4,206.7 52.2,206.7 52.2,209.2 52.9,209.2 52.9,208.1 53.6,208.1 53.6,206.9 54.4,206.9 54.4,207.5 55.1,207.5 55.1,207.5 55.9,207.5 55.9,207.6 56.6,207.6 56.6,206.9 57.3,206.9 57.3,206.9 58.1,206.9 58.1,208.4 58.8,208.4 58.8,208.6 59.6,208.6 59.6,209.1 60.3,209.1 60.3,207.7 61.0,207.7 61.0,207.0 61.8,207.0 61.8,206.7 62.5,206.7 62.5,206.1 63.3,206.1 63.3,207.5 64.0,207.5 64.0,206.4 64.7,206.4 64.7,206.7 65.5,206.7 65.5,206.8 66.2,206.8 66.2,209.3 67.0,209.3 67.0,206.7 67.7,206.7 67.7,206.8 68.5,206.8 68.5,206.6 69.2,206.6 69.2,206.8 69.9,206.8 69.9,209.2 70.7,209.2 70.7,207.6 71.4,207.6 71.4,205.9 72.2,205.9 72.2,209.1 72.9,209.1 72.9,206.6 73.6,206.6 73.6,207.4 74.4,207.4 74.4,207.0 75.1,207.0 75.1,209.1 75.9,209.1 75.9,205.8 76.6,205.8 76.6,206.9 77.3,206.9 77.3,208.0 78.1,208.0 78.1,208.5 78.8,208.5 78.8,206.6 79.6,206.6 79.6,206.0 80.3,206.0 80.3,207.9 81.0,207.9 81.0,206.6 81.8,206.6 81.8,206.5 82.5,206.5 82.5,206.6 83.3,206.6 83.3,207.2 84.0,207.2 84.0,208.0 84.8,208.0 84.8,208.1 85.5,208.1 85.5,206.7 86.2,206.7 86.2,207.8 87.0,207.8 87.0,206.7 87.7,206.7 87.7,208.1 88.5,208.1 88.5,205.9 89.2,205.9 89.2,206.8 89.9,206.8 89.9,208.0 90.7,208.0 90.7,207.3 91.4,207.3 91.4,206.7 92.2,206.7 92.2,209.3 92.9,209.3 92.9,206.5 93.6,206.5 93.6,207.2 94.4,207.2 94.4,208.2 95.1,208.2 95.1,209.3 95.9,209.3 95.9,207.8 96.6,207.8 96.6,206.9 97.3,206.9 97.3,206.7 98.1,206.7 98.1,209.0 98.8,209.0 98.8,208.0 99.6,208.0 99.6,208.1 100.3,208.1 100.3,209.1 101.1,209.1 101.1,208.1 101.8,208.1 101.8,205.6 102.5,205.6 102.5,207.0 103.3,207.0 103.3,206.7 104.0,206.7 104.0,207.9 104.8,207.9 104.8,206.7 105.5,206.7 105.5,206.9 106.2,206.9 106.2,206.8 107.0,206.8 107.0,206.4 107.7,206.4 107.7,207.1 108.5,207.1 108.5,208.6 109.2,208.6 109.2,208.7 109.9,208.7 109.9,206.6 110.7,206.6 110.7,209.3 111.4,209.3 111.4,208.0 112.2,208.0 112.2,206.7 112.9,206.7 112.9,207.7 113.6,207.7 113.6,206.9 114.4,206.9 114.4,208.8 115.1,208.8 115.1,208.7 115.9,208.7 115.9,207.7 116.6,207.7 116.6,208.8 117.4,208.8 117.4,207.8 118.1,207.8 118.1,210.3 118.8,210.3 118.8,208.9 119.6,208.9 119.6,208.9 120.3,208.9 120.3,209.0 121.1,209.0 121.1,208.0 121.8,208.0 121.8,207.7 122.5,207.7 122.5,208.3 123.3,208.3 123.3,207.0 124.0,207.0 124.0,207.2 124.8,207.2 124.8,207.5 125.5,207.5 125.5,208.0 126.2,208.0 126.2,207.6 127.0,207.6 127.0,207.9 127.7,207.9 127.7,207.6 128.5,207.6 128.5,208.5 129.2,208.5 129.2,209.2 129.9,209.2 129.9,206.3 130.7,206.3 130.7,208.7 131.4,208.7 131.4,207.6 132.2,207.6 132.2,207.4 132.9,207.4 132.9,207.5 133.7,207.5 133.7,209.0 134.4,209.0 134.4,206.9 135.1,206.9 135.1,209.3 135.9,209.3 135.9,209.9 136.6,209.9 136.6,207.0 137.4,207.0 137.4,207.3 138.1,207.3 138.1,208.1 138.8,208.1 138.8,209.8 139.6,209.8 139.6,208.1 140.3,208.1 140.3,208.1 141.1,208.1 141.1,208.5 141.8,208.5 141.8,208.2 142.5,208.2 142.5,210.4 143.3,210.4 143.3,207.7 144.0,207.7 144.0,207.2 144.8,207.2 144.8,206.7 145.5,206.7 145.5,209.9 146.2,209.9 146.2,206.6 147.0,206.6 147.0,209.9 147.7,209.9 147.7,208.8 148.5,208.8 148.5,208.8 149.2,208.8 149.2,209.5 150.0,209.5 150.0,208.9 150.7,208.9 150.7,206.4 151.4,206.4 151.4,207.2 152.2,207.2 152.2,207.0 152.9,207.0 152.9,207.2 153.7,207.2 153.7,206.6 154.4,206.6 154.4,207.2 155.1,207.2 155.1,208.0 155.9,208.0 155.9,207.6 156.6,207.6 156.6,207.9 157.4,207.9 157.4,207.5 158.1,207.5 158.1,205.6 158.8,205.6 158.8,208.0 159.6,208.0 159.6,209.7 160.3,209.7 160.3,207.9 161.1,207.9 161.1,207.6 161.8,207.6 161.8,208.5 162.5,208.5 162.5,207.9 163.3,207.9 163.3,210.4 164.0,210.4 164.0,206.7 164.8,206.7 164.8,207.7 165.5,207.7 165.5,209.2 166.3,209.2 166.3,206.8 167.0,206.8 167.0,209.3 167.7,209.3 167.7,208.0 168.5,208.0 168.5,208.0 169.2,208.0 169.2,207.9 170.0,207.9 170.0,208.2 170.7,208.2 170.7,207.9 171.4,207.9 171.4,207.0 172.2,207.0 172.2,208.8 172.9,208.8 172.9,208.0 173.7,208.0 173.7,208.0 174.4,208.0 174.4,209.2 175.1,209.2 175.1,206.7 175.9,206.7 175.9,206.7 176.6,206.7 176.6,208.5 177.4,208.5 177.4,208.9 178.1,208.9 178.1,210.1 178.8,210.1 178.8,206.4 179.6,206.4 179.6,209.4 180.3,209.4 180.3,210.1 181.1,210.1 181.1,207.6 181.8,207.6 181.8,209.5 182.6,209.5 182.6,208.7 183.3,208.7 183.3,211.1 184.0,211.1 184.0,210.1 184.8,210.1 184.8,211.7 185.5,211.7 185.5,208.8 186.3,208.8 186.3,209.2 187.0,209.2 187.0,207.7 187.7,207.7 187.7,208.1 188.5,208.1 188.5,206.4 189.2,206.4 189.2,206.7 190.0,206.7 190.0,207.3 190.7,207.3 190.7,207.8 191.4,207.8 191.4,208.7 192.2,208.7 192.2,210.1 192.9,210.1 192.9,210.0 193.7,210.0 193.7,206.9 194.4,206.9 194.4,209.0 195.2,209.0 195.2,208.7 195.9,208.7 195.9,209.1 196.6,209.1 196.6,208.6 197.4,208.6 197.4,208.9 198.1,208.9 198.1,207.3 198.9,207.3 198.9,208.9 199.6,208.9 199.6,209.2 200.3,209.2 200.3,207.3 201.1,207.3 201.1,210.5 201.8,210Line truncated
<circle class="nj-charts-json-dot" cx="243.3" cy="138.8" r="3.5"><title>#5828: 1.97&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="243.3" y1="54.0" x2="243.3" y2="133.8"/>
<circle class="nj-theme-dot" cx="243.3" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="243.3" y="50.0" text-anchor="middle">1</text>
<circle class="nj-charts-json-dot" cx="258.9" cy="127.0" r="3.5"><title>#5884: 2.2&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="258.9" y1="36.0" x2="258.9" y2="122.0"/>
<circle class="nj-theme-dot" cx="258.9" cy="28.0" r="7.5"/>
<text class="nj-theme-num" x="258.9" y="32.0" text-anchor="middle">1</text>
<line class="nj-charts-axis" x1="44" y1="208" x2="330" y2="208"/>
<text class="nj-charts-note" x="8" y="262">speedup over 3.12.0 (log scale), more is better</text>
</svg>

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

@@ -1,6 +1,6 @@
<svg class="nj-fig nj-charts nj-charts--timeline" viewBox="0 0 340 270" role="img" aria-labelledby="nj-blog-tl-to_cbor_twitter nj-blog-tl-to_cbor_twitter-d" xmlns="http://www.w3.org/2000/svg">
<title id="nj-blog-tl-to_cbor_twitter">to_cbor() twitter: speedup over 3.12.0 by commit</title>
<desc id="nj-blog-tl-to_cbor_twitter-d">to_cbor() twitter: speedup over 3.12.0 at each of 360 commits, ending at 5.1x. Labeled steps, by theme: 4, 6, 6.</desc>
<desc id="nj-blog-tl-to_cbor_twitter-d">to_cbor() twitter: speedup over 3.12.0 at each of 387 commits, ending at 5.0x. Labeled steps, by theme: 4, 6, 6.</desc>
<text class="nj-charts-panel" x="8" y="18">to_cbor() twitter</text>
<line class="nj-charts-grid" x1="44" y1="208" x2="330" y2="208"/>
<text class="nj-charts-tick nj-charts-tick--r" x="38" y="212">1&#215;</text>
@@ -12,25 +12,25 @@
<text class="nj-charts-tick nj-charts-tick--r" x="38" y="70">8&#215;</text>
<line class="nj-charts-axis" x1="44" y1="208" x2="44" y2="212"/>
<text class="nj-charts-tick" x="44" y="225">3.12.0</text>
<line class="nj-charts-axis" x1="116.496" y1="208" x2="116.496" y2="212"/>
<text class="nj-charts-tick" x="116.496" y="225">Sep 2026</text>
<line class="nj-charts-axis" x1="195.365" y1="208" x2="195.365" y2="212"/>
<text class="nj-charts-tick" x="195.365" y="225">Oct</text>
<line class="nj-charts-axis" x1="302.117" y1="208" x2="302.117" y2="212"/>
<text class="nj-charts-tick" x="302.117" y="225">Nov</text>
<polyline class="nj-charts-json" points="44.0,208.0 44.8,208.0 44.8,208.0 45.6,208.0 45.6,204.9 46.4,204.9 46.4,205.2 47.2,205.2 47.2,204.7 48.0,204.7 48.0,205.2 48.8,205.2 48.8,205.0 49.6,205.0 49.6,204.9 50.4,204.9 50.4,205.0 51.2,205.0 51.2,205.0 52.0,205.0 52.0,205.1 52.8,205.1 52.8,205.4 53.6,205.4 53.6,205.0 54.4,205.0 54.4,205.2 55.2,205.2 55.2,211.6 55.9,211.6 55.9,206.8 56.7,206.8 56.7,204.2 57.5,204.2 57.5,207.6 58.3,207.6 58.3,204.1 59.1,204.1 59.1,203.8 59.9,203.8 59.9,204.2 60.7,204.2 60.7,205.1 61.5,205.1 61.5,204.4 62.3,204.4 62.3,204.3 63.1,204.3 63.1,204.0 63.9,204.0 63.9,202.7 64.7,202.7 64.7,204.2 65.5,204.2 65.5,204.2 66.3,204.2 66.3,204.2 67.1,204.2 67.1,204.4 67.9,204.4 67.9,206.2 68.7,206.2 68.7,204.3 69.5,204.3 69.5,204.1 70.3,204.1 70.3,204.3 71.1,204.3 71.1,204.3 71.9,204.3 71.9,204.3 72.7,204.3 72.7,204.3 73.5,204.3 73.5,204.4 74.3,204.4 74.3,204.8 75.1,204.8 75.1,208.4 75.9,208.4 75.9,203.5 76.7,203.5 76.7,206.2 77.5,206.2 77.5,204.4 78.3,204.4 78.3,203.2 79.1,203.2 79.1,204.1 79.8,204.1 79.8,204.2 80.6,204.2 80.6,203.7 81.4,203.7 81.4,204.2 82.2,204.2 82.2,203.2 83.0,203.2 83.0,204.2 83.8,204.2 83.8,204.4 84.6,204.4 84.6,203.8 85.4,203.8 85.4,204.4 86.2,204.4 86.2,204.7 87.0,204.7 87.0,204.6 87.8,204.6 87.8,208.7 88.6,208.7 88.6,205.2 89.4,205.2 89.4,205.5 90.2,205.5 90.2,205.2 91.0,205.2 91.0,205.3 91.8,205.3 91.8,206.8 92.6,206.8 92.6,204.6 93.4,204.6 93.4,205.5 94.2,205.5 94.2,205.1 95.0,205.1 95.0,204.7 95.8,204.7 95.8,205.7 96.6,205.7 96.6,205.0 97.4,205.0 97.4,204.9 98.2,204.9 98.2,206.5 99.0,206.5 99.0,205.6 99.8,205.6 99.8,205.0 100.6,205.0 100.6,209.2 101.4,209.2 101.4,205.9 102.2,205.9 102.2,206.5 103.0,206.5 103.0,205.5 103.7,205.5 103.7,205.3 104.5,205.3 104.5,205.3 105.3,205.3 105.3,205.1 106.1,205.1 106.1,204.4 106.9,204.4 106.9,204.6 107.7,204.6 107.7,204.8 108.5,204.8 108.5,204.2 109.3,204.2 109.3,203.8 110.1,203.8 110.1,204.4 110.9,204.4 110.9,202.8 111.7,202.8 111.7,203.5 112.5,203.5 112.5,204.0 113.3,204.0 113.3,204.3 114.1,204.3 114.1,202.9 114.9,202.9 114.9,203.3 115.7,203.3 115.7,204.4 116.5,204.4 116.5,204.5 117.3,204.5 117.3,204.1 118.1,204.1 118.1,208.3 118.9,208.3 118.9,203.8 119.7,203.8 119.7,207.0 120.5,207.0 120.5,205.9 121.3,205.9 121.3,205.4 122.1,205.4 122.1,205.3 122.9,205.3 122.9,205.8 123.7,205.8 123.7,205.4 124.5,205.4 124.5,205.6 125.3,205.6 125.3,206.3 126.1,206.3 126.1,205.5 126.9,205.5 126.9,204.8 127.6,204.8 127.6,204.6 128.4,204.6 128.4,206.1 129.2,206.1 129.2,204.6 130.0,204.6 130.0,204.1 130.8,204.1 130.8,204.3 131.6,204.3 131.6,205.6 132.4,205.6 132.4,203.9 133.2,203.9 133.2,204.0 134.0,204.0 134.0,203.9 134.8,203.9 134.8,204.6 135.6,204.6 135.6,204.1 136.4,204.1 136.4,203.9 137.2,203.9 137.2,204.8 138.0,204.8 138.0,203.2 138.8,203.2 138.8,203.3 139.6,203.3 139.6,204.7 140.4,204.7 140.4,208.3 141.2,208.3 141.2,204.3 142.0,204.3 142.0,207.4 142.8,207.4 142.8,204.4 143.6,204.4 143.6,208.2 144.4,208.2 144.4,205.0 145.2,205.0 145.2,204.9 146.0,204.9 146.0,208.8 146.8,208.8 146.8,207.9 147.6,207.9 147.6,206.2 148.4,206.2 148.4,204.2 149.2,204.2 149.2,204.1 150.0,204.1 150.0,204.2 150.8,204.2 150.8,202.2 151.5,202.2 151.5,205.6 152.3,205.6 152.3,203.0 153.1,203.0 153.1,203.4 153.9,203.4 153.9,202.7 154.7,202.7 154.7,203.6 155.5,203.6 155.5,203.3 156.3,203.3 156.3,203.2 157.1,203.2 157.1,204.9 157.9,204.9 157.9,202.9 158.7,202.9 158.7,202.2 159.5,202.2 159.5,202.5 160.3,202.5 160.3,202.9 161.1,202.9 161.1,202.9 161.9,202.9 161.9,202.3 162.7,202.3 162.7,202.9 163.5,202.9 163.5,203.7 164.3,203.7 164.3,204.1 165.1,204.1 165.1,203.9 165.9,203.9 165.9,203.7 166.7,203.7 166.7,203.3 167.5,203.3 167.5,203.8 168.3,203.8 168.3,205.0 169.1,205.0 169.1,208.0 169.9,208.0 169.9,205.1 170.7,205.1 170.7,206.5 171.5,206.5 171.5,205.4 172.3,205.4 172.3,205.4 173.1,205.4 173.1,207.0 173.9,207.0 173.9,204.9 174.7,204.9 174.7,205.4 175.4,205.4 175.4,203.6 176.2,203.6 176.2,205.7 177.0,205.7 177.0,204.5 177.8,204.5 177.8,205.0 178.6,205.0 178.6,205.2 179.4,205.2 179.4,204.9 180.2,204.9 180.2,204.5 181.0,204.5 181.0,204.9 181.8,204.9 181.8,205.3 182.6,205.3 182.6,203.9 183.4,203.9 183.4,204.8 184.2,204.8 184.2,204.8 185.0,204.8 185.0,203.6 185.8,203.6 185.8,203.4 186.6,203.4 186.6,203.8 187.4,203.8 187.4,205.1 188.2,205.1 188.2,205.5 189.0,205.5 189.0,204.0 189.8,204.0 189.8,204.9 190.6,204.9 190.6,205.0 191.4,205.0 191.4,206.4 192.2,206.4 192.2,205.1 193.0,205.1 193.0,204.5 193.8,204.5 193.8,204.8 194.6,204.8 194.6,205.2 195.4,205.2 195.4,205.0 196.2,205.0 196.2,204.6 197.0,204.6 197.0,203.9 197.8,203.9 197.8,203.5 198.6,203.5 198.6,203.6 199.3,203.6 199.3,204.2 200.1,204.2 200.1,205.9 200.9,205.9 200.9,205.2 201.7,205.2 201.7,204.8 202.5,204.8 202.5,207.3 203.3,207.3 203.3,205.2 204.1,205.2 204.1,208.6 204.9,208.6 204.9,204.3 205.7,204.3 205.7,203.9 206.5,203.9 206.5,203.2 207.3,203.2 207.3,203.9 208.1,203.9 208.1,205.9 208.9,205.9 208.9,204.8 209.7,204.8 209.7,204.7 210.5,204.7 210.5,203.6 211.3,203.6 211.3,203.7 212.1,203.7 212.1,208.2 212.9,208.2 212.9,208.4Line truncated
<circle class="nj-charts-json-dot" cx="231.2" cy="153.7" r="3.5"><title>#5328: 2.2&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="231.2" y1="54.0" x2="231.2" y2="148.7"/>
<circle class="nj-theme-dot" cx="231.2" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="231.2" y="50.0" text-anchor="middle">4</text>
<circle class="nj-charts-json-dot" cx="265.5" cy="123.4" r="3.5"><title>#5824: 3.5&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="265.5" y1="54.0" x2="265.5" y2="118.4"/>
<circle class="nj-theme-dot" cx="265.5" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="265.5" y="50.0" text-anchor="middle">6</text>
<circle class="nj-charts-json-dot" cx="277.4" cy="96.9" r="3.5"><title>#5885: 5.1&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="277.4" y1="36.0" x2="277.4" y2="91.9"/>
<circle class="nj-theme-dot" cx="277.4" cy="28.0" r="7.5"/>
<text class="nj-theme-num" x="277.4" y="32.0" text-anchor="middle">6</text>
<line class="nj-charts-axis" x1="111.425" y1="208" x2="111.425" y2="212"/>
<text class="nj-charts-tick" x="111.425" y="225">Sep 2026</text>
<line class="nj-charts-axis" x1="184.777" y1="208" x2="184.777" y2="212"/>
<text class="nj-charts-tick" x="184.777" y="225">Oct</text>
<line class="nj-charts-axis" x1="284.062" y1="208" x2="284.062" y2="212"/>
<text class="nj-charts-tick" x="284.062" y="225">Nov</text>
<polyline class="nj-charts-json" points="44.0,208.0 44.7,208.0 44.7,208.0 45.5,208.0 45.5,204.9 46.2,204.9 46.2,205.2 47.0,205.2 47.0,204.7 47.7,204.7 47.7,205.2 48.4,205.2 48.4,205.0 49.2,205.0 49.2,204.9 49.9,204.9 49.9,205.0 50.7,205.0 50.7,205.0 51.4,205.0 51.4,205.1 52.2,205.1 52.2,205.4 52.9,205.4 52.9,205.0 53.6,205.0 53.6,205.2 54.4,205.2 54.4,211.6 55.1,211.6 55.1,206.8 55.9,206.8 55.9,204.2 56.6,204.2 56.6,207.6 57.3,207.6 57.3,204.1 58.1,204.1 58.1,203.8 58.8,203.8 58.8,204.2 59.6,204.2 59.6,205.1 60.3,205.1 60.3,204.4 61.0,204.4 61.0,204.3 61.8,204.3 61.8,204.0 62.5,204.0 62.5,202.7 63.3,202.7 63.3,204.2 64.0,204.2 64.0,204.2 64.7,204.2 64.7,204.2 65.5,204.2 65.5,204.4 66.2,204.4 66.2,206.2 67.0,206.2 67.0,204.3 67.7,204.3 67.7,204.1 68.5,204.1 68.5,204.3 69.2,204.3 69.2,204.3 69.9,204.3 69.9,204.3 70.7,204.3 70.7,204.3 71.4,204.3 71.4,204.4 72.2,204.4 72.2,204.8 72.9,204.8 72.9,208.4 73.6,208.4 73.6,203.5 74.4,203.5 74.4,206.2 75.1,206.2 75.1,204.4 75.9,204.4 75.9,203.2 76.6,203.2 76.6,204.1 77.3,204.1 77.3,204.2 78.1,204.2 78.1,203.7 78.8,203.7 78.8,204.2 79.6,204.2 79.6,203.2 80.3,203.2 80.3,204.2 81.0,204.2 81.0,204.4 81.8,204.4 81.8,203.8 82.5,203.8 82.5,204.4 83.3,204.4 83.3,204.7 84.0,204.7 84.0,204.6 84.8,204.6 84.8,208.7 85.5,208.7 85.5,205.2 86.2,205.2 86.2,205.5 87.0,205.5 87.0,205.2 87.7,205.2 87.7,205.3 88.5,205.3 88.5,206.8 89.2,206.8 89.2,204.6 89.9,204.6 89.9,205.5 90.7,205.5 90.7,205.1 91.4,205.1 91.4,204.7 92.2,204.7 92.2,205.7 92.9,205.7 92.9,205.0 93.6,205.0 93.6,204.9 94.4,204.9 94.4,206.5 95.1,206.5 95.1,205.6 95.9,205.6 95.9,205.0 96.6,205.0 96.6,209.2 97.3,209.2 97.3,205.9 98.1,205.9 98.1,206.5 98.8,206.5 98.8,205.5 99.6,205.5 99.6,205.3 100.3,205.3 100.3,205.3 101.1,205.3 101.1,205.1 101.8,205.1 101.8,204.4 102.5,204.4 102.5,204.6 103.3,204.6 103.3,204.8 104.0,204.8 104.0,204.2 104.8,204.2 104.8,203.8 105.5,203.8 105.5,204.4 106.2,204.4 106.2,202.8 107.0,202.8 107.0,203.5 107.7,203.5 107.7,204.0 108.5,204.0 108.5,204.3 109.2,204.3 109.2,202.9 109.9,202.9 109.9,203.3 110.7,203.3 110.7,204.4 111.4,204.4 111.4,204.5 112.2,204.5 112.2,204.1 112.9,204.1 112.9,208.3 113.6,208.3 113.6,203.8 114.4,203.8 114.4,207.0 115.1,207.0 115.1,205.9 115.9,205.9 115.9,205.4 116.6,205.4 116.6,205.3 117.4,205.3 117.4,205.8 118.1,205.8 118.1,205.4 118.8,205.4 118.8,205.6 119.6,205.6 119.6,206.3 120.3,206.3 120.3,205.5 121.1,205.5 121.1,204.8 121.8,204.8 121.8,204.6 122.5,204.6 122.5,206.1 123.3,206.1 123.3,204.6 124.0,204.6 124.0,204.1 124.8,204.1 124.8,204.3 125.5,204.3 125.5,205.6 126.2,205.6 126.2,203.9 127.0,203.9 127.0,204.0 127.7,204.0 127.7,203.9 128.5,203.9 128.5,204.6 129.2,204.6 129.2,204.1 129.9,204.1 129.9,203.9 130.7,203.9 130.7,204.8 131.4,204.8 131.4,203.2 132.2,203.2 132.2,203.3 132.9,203.3 132.9,204.7 133.7,204.7 133.7,208.3 134.4,208.3 134.4,204.3 135.1,204.3 135.1,207.4 135.9,207.4 135.9,204.4 136.6,204.4 136.6,208.2 137.4,208.2 137.4,205.0 138.1,205.0 138.1,204.9 138.8,204.9 138.8,208.8 139.6,208.8 139.6,207.9 140.3,207.9 140.3,206.2 141.1,206.2 141.1,204.2 141.8,204.2 141.8,204.1 142.5,204.1 142.5,204.2 143.3,204.2 143.3,202.2 144.0,202.2 144.0,205.6 144.8,205.6 144.8,203.0 145.5,203.0 145.5,203.4 146.2,203.4 146.2,202.7 147.0,202.7 147.0,203.6 147.7,203.6 147.7,203.3 148.5,203.3 148.5,203.2 149.2,203.2 149.2,204.9 150.0,204.9 150.0,202.9 150.7,202.9 150.7,202.2 151.4,202.2 151.4,202.5 152.2,202.5 152.2,202.9 152.9,202.9 152.9,202.9 153.7,202.9 153.7,202.3 154.4,202.3 154.4,202.9 155.1,202.9 155.1,203.7 155.9,203.7 155.9,204.1 156.6,204.1 156.6,203.9 157.4,203.9 157.4,203.7 158.1,203.7 158.1,203.3 158.8,203.3 158.8,203.8 159.6,203.8 159.6,205.0 160.3,205.0 160.3,208.0 161.1,208.0 161.1,205.1 161.8,205.1 161.8,206.5 162.5,206.5 162.5,205.4 163.3,205.4 163.3,205.4 164.0,205.4 164.0,207.0 164.8,207.0 164.8,204.9 165.5,204.9 165.5,205.4 166.3,205.4 166.3,203.6 167.0,203.6 167.0,205.7 167.7,205.7 167.7,204.5 168.5,204.5 168.5,205.0 169.2,205.0 169.2,205.2 170.0,205.2 170.0,204.9 170.7,204.9 170.7,204.5 171.4,204.5 171.4,204.9 172.2,204.9 172.2,205.3 172.9,205.3 172.9,203.9 173.7,203.9 173.7,204.8 174.4,204.8 174.4,204.8 175.1,204.8 175.1,203.6 175.9,203.6 175.9,203.4 176.6,203.4 176.6,203.8 177.4,203.8 177.4,205.1 178.1,205.1 178.1,205.5 178.8,205.5 178.8,204.0 179.6,204.0 179.6,204.9 180.3,204.9 180.3,205.0 181.1,205.0 181.1,206.4 181.8,206.4 181.8,205.1 182.6,205.1 182.6,204.5 183.3,204.5 183.3,204.8 184.0,204.8 184.0,205.2 184.8,205.2 184.8,205.0 185.5,205.0 185.5,204.6 186.3,204.6 186.3,203.9 187.0,203.9 187.0,203.5 187.7,203.5 187.7,203.6 188.5,203.6 188.5,204.2 189.2,204.2 189.2,205.9 190.0,205.9 190.0,205.2 190.7,205.2 190.7,204.8 191.4,204.8 191.4,207.3 192.2,207.3 192.2,205.2 192.9,205.2 192.9,208.6 193.7,208.6 193.7,204.3 194.4,204.3 194.4,203.9 195.2,203.9 195.2,203.2 195.9,203.2 195.9,203.9 196.6,203.9 196.6,205.9 197.4,205.9 197.4,204.8 198.1,204.8 198.1,204.7 198.9,204.7 198.9,203.6 199.6,203.6 199.6,203.7 200.3,203.7 200.3,208.2 201.1,208.2 201.1,208.4 201.8,208Line truncated
<circle class="nj-charts-json-dot" cx="218.1" cy="153.7" r="3.5"><title>#5328: 2.2&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="218.1" y1="54.0" x2="218.1" y2="148.7"/>
<circle class="nj-theme-dot" cx="218.1" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="218.1" y="50.0" text-anchor="middle">4</text>
<circle class="nj-charts-json-dot" cx="250.0" cy="123.4" r="3.5"><title>#5824: 3.5&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="250.0" y1="54.0" x2="250.0" y2="118.4"/>
<circle class="nj-theme-dot" cx="250.0" cy="46.0" r="7.5"/>
<text class="nj-theme-num" x="250.0" y="50.0" text-anchor="middle">6</text>
<circle class="nj-charts-json-dot" cx="261.1" cy="96.9" r="3.5"><title>#5885: 5.1&#215;</title></circle>
<line class="nj-charts-grid" stroke-dasharray="2 2" x1="261.1" y1="36.0" x2="261.1" y2="91.9"/>
<circle class="nj-theme-dot" cx="261.1" cy="28.0" r="7.5"/>
<text class="nj-theme-num" x="261.1" y="32.0" text-anchor="middle">6</text>
<line class="nj-charts-axis" x1="44" y1="208" x2="330" y2="208"/>
<text class="nj-charts-note" x="8" y="262">speedup over 3.12.0 (log scale), more is better</text>
</svg>

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 12 KiB

+144 -144
View File
@@ -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-mac nj-blog-uc-mac-d" xmlns="http://www.w3.org/2000/svg">
<title id="nj-blog-uc-mac">Use cases: time of each library relative to the fastest, Apple M1 Max</title>
<desc id="nj-blog-uc-mac-d">Table of relative times, libraries by use case. nlohmann/json json_document validate: 1.00; nlohmann/json json_document sum: 1.00; nlohmann/json json_document select: 1.00; nlohmann/json json_document edit: 1.00 (0.85 doing less, N); nlohmann/json json_document minify: 1.00 (0.84 doing less, N); nlohmann/json json_document write: 1.00 (0.69 doing less, N); yyjson validate: 1.41; yyjson sum: 1.14; yyjson select: 1.30; yyjson edit: 1.48; yyjson minify: 1.26 (1.18 doing less, N); yyjson write: 1.23; simdjson validate: 1.52; simdjson sum: 1.21; simdjson select: 1.34 (0.76 doing less, P); simdjson edit: n/a; simdjson minify: 1.73 (0.18 doing less, P); simdjson write: 2.41; sonic-rs (Rust) validate: 1.91; sonic-rs (Rust) sum: 1.54; sonic-rs (Rust) select: 1.85; sonic-rs (Rust) edit: 2.10; sonic-rs (Rust) minify: 1.93; sonic-rs (Rust) write: 2.34; sonic-cpp validate: no fully validating way (2.50 doing less, U); sonic-cpp sum: no fully validating way (1.86 doing less, U); sonic-cpp select: no fully validating way (2.34 doing less, U); sonic-cpp edit: no fully validating way (1.70 doing less, U); sonic-cpp minify: no fully validating way (2.03 doing less, U); sonic-cpp write: 1.61; simd-json (Rust) validate: 2.05; simd-json (Rust) sum: 1.63; simd-json (Rust) select: 2.39; simd-json (Rust) edit: 2.85; simd-json (Rust) minify: 3.40; simd-json (Rust) write: 3.05; nlohmann/json json validate: 1.38; nlohmann/json json sum: 1.34; nlohmann/json json select: 6.09; nlohmann/json json edit: 3.22; nlohmann/json json minify: 4.39; nlohmann/json json write: 2.03; Glaze validate: 2.03; Glaze sum: 3.88; Glaze select: 1.81 (0.81 doing less, P); Glaze edit: 4.44; Glaze minify: 5.23 (1.05 doing less, P); Glaze write: 2.19; Boost.J&#8203;SON validate: 2.54; Boost.J&#8203;SON sum: 2.02; Boost.J&#8203;SON select: 3.31; Boost.J&#8203;SON edit: 3.23; Boost.J&#8203;SON minify: 3.89; Boost.J&#8203;SON write: 3.67; serde_json (Rust) validate: 2.44 (2.21 doing less, U); serde_json (Rust) sum: 2.60; serde_json (Rust) select: 2.41 (2.26 doing less, U); serde_json (Rust) edit: 5.02; serde_json (Rust) minify: 5.85; serde_json (Rust) write: 2.90; RapidJSON validate: 4.67 (3.09 doing less, U); RapidJSON sum: 4.18 (2.89 doing less, U); RapidJSON select: 6.02 (3.93 doing less, U); RapidJSON edit: 4.85 (3.83 doing less, U); RapidJSON minify: 4.85 (3.66 doing less, U N); RapidJSON write: 5.74.</desc>
<desc id="nj-blog-uc-mac-d">Table of relative times, libraries by use case. nlohmann/json json_document validate: 1.00; nlohmann/json json_document sum: 1.00; nlohmann/json json_document select: 1.00; nlohmann/json json_document edit: 1.00 (0.85 doing less, N); nlohmann/json json_document minify: 1.00 (0.84 doing less, N); nlohmann/json json_document write: 1.00 (0.69 doing less, N); yyjson validate: 1.42; yyjson sum: 1.15; yyjson select: 1.31; yyjson edit: 1.49; yyjson minify: 1.25 (1.18 doing less, N); yyjson write: 1.23; simdjson validate: 1.55; simdjson sum: 1.20; simdjson select: 1.35 (0.76 doing less, P); simdjson edit: n/a; simdjson minify: 1.72 (0.18 doing less, P); simdjson write: 2.36; sonic-rs (Rust) validate: 1.95; sonic-rs (Rust) sum: 1.56; sonic-rs (Rust) select: 1.87; sonic-rs (Rust) edit: 2.13; sonic-rs (Rust) minify: 1.96; sonic-rs (Rust) write: 2.41; sonic-cpp validate: no fully validating way (2.55 doing less, U); sonic-cpp sum: no fully validating way (1.86 doing less, U); sonic-cpp select: no fully validating way (2.34 doing less, U); sonic-cpp edit: no fully validating way (1.71 doing less, U); sonic-cpp minify: no fully validating way (2.03 doing less, U); sonic-cpp write: 1.60; simd-json (Rust) validate: 2.11; simd-json (Rust) sum: 1.66; simd-json (Rust) select: 2.43; simd-json (Rust) edit: 2.89; simd-json (Rust) minify: 3.44; simd-json (Rust) write: 3.13; nlohmann/json json validate: 1.40; nlohmann/json json sum: 1.35; nlohmann/json json select: 6.15; nlohmann/json json edit: 3.22; nlohmann/json json minify: 4.41; nlohmann/json json write: 2.06; Glaze validate: 2.07; Glaze sum: 3.89; Glaze select: 1.81 (0.83 doing less, P); Glaze edit: 4.45; Glaze minify: 5.22 (1.03 doing less, P); Glaze write: 2.19; Boost.J&#8203;SON validate: 2.58; Boost.J&#8203;SON sum: 2.01; Boost.J&#8203;SON select: 3.33; Boost.J&#8203;SON edit: 3.26; Boost.J&#8203;SON minify: 3.87; Boost.J&#8203;SON write: 3.68; serde_json (Rust) validate: 2.51 (2.27 doing less, U); serde_json (Rust) sum: 2.64; serde_json (Rust) select: 2.45 (2.29 doing less, U); serde_json (Rust) edit: 5.10; serde_json (Rust) minify: 5.91; serde_json (Rust) write: 2.98; RapidJSON validate: 4.77 (3.13 doing less, U); RapidJSON sum: 4.20 (2.87 doing less, U); RapidJSON select: 6.05 (3.96 doing less, U); RapidJSON edit: 4.89 (3.87 doing less, U); RapidJSON minify: 4.84 (3.60 doing less, U N); RapidJSON write: 5.86.</desc>
<text class="nj-charts-tick" x="270" y="34">validate</text>
<text class="nj-charts-tick" x="362" y="34">sum</text>
<text class="nj-charts-tick" x="454" y="34">select</text>
@@ -8,89 +8,89 @@
<text class="nj-charts-tick" x="638" y="34">minify</text>
<text class="nj-charts-tick" x="730" y="34">write</text>
<text class="nj-charts-rowlabel nj-charts-name-json" x="216" y="66" text-anchor="end">nlohmann/json json_document</text>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · validate&#10;1.00× the time of the fastest library (fully validating)&#10;way: accept&#10;twitter.json: 172 µs&#10;citm_catalog.json: 313 µs&#10;canada.json: 905 µs&#10;jeopardy.json: 20,926 µ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: 168 µs&#10;citm_catalog.json: 313 µs&#10;canada.json: 865 µs&#10;jeopardy.json: 20,582 µs">
<rect class="nj-heat-0" x="225" y="45" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · sum&#10;1.00× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 219 µs&#10;citm_catalog.json: 493 µs&#10;canada.json: 1,803 µs&#10;jeopardy.json: 28,898 µ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: 219 µs&#10;citm_catalog.json: 484 µs&#10;canada.json: 1,802 µs&#10;jeopardy.json: 28,838 µs">
<rect class="nj-heat-0" x="317" y="45" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · select&#10;1.00× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 183 µs&#10;citm_catalog.json: 363 µs&#10;canada.json: 944 µs&#10;jeopardy.json: 24,801 µ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: 179 µs&#10;citm_catalog.json: 362 µs&#10;canada.json: 942 µs&#10;jeopardy.json: 24,436 µs">
<rect class="nj-heat-0" x="409" y="45" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · edit&#10;1.00× the time of the fastest library (fully validating)&#10;way: editable&#10;twitter.json: 288 µs&#10;citm_catalog.json: 559 µs&#10;canada.json: 2,737 µs&#10;jeopardy.json: 58,019 µ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: 557 µs&#10;canada.json: 2,737 µs&#10;jeopardy.json: 57,427 µs">
<rect class="nj-heat-0" x="501" y="45" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="523.5" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · edit, checking less&#10;0.85× the time of the fastest fully validating library&#10;way: editable (source numbers)&#10;twitter.json: 281 µs (validates fully)&#10;citm_catalog.json: 557 µs (validates fully)&#10;canada.json: 1,504 µs (validates fully)&#10;jeopardy.json: 57,885 µ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 · edit, checking less&#10;0.85× the time of the fastest fully validating library&#10;twitter.json: 280 µs · editable (source numbers) (validates fully)&#10;citm_catalog.json: 557 µs · editable (validates fully)&#10;canada.json: 1,446 µs · editable (source numbers) (validates fully)&#10;jeopardy.json: 57,348 µs · editable (source numbers) (validates fully)&#10;copies each number&#x27;s text instead of formatting it (number_format::source)">
<rect class="nj-heat-0" x="547" y="45" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="568.5" y="60" text-anchor="middle">0.85</text>
<text class="nj-charts-cell nj-charts-cell--small" x="568.5" y="73" text-anchor="middle">N</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · minify&#10;1.00× the time of the fastest library (fully validating)&#10;way: parse + dump&#10;twitter.json: 261 µs&#10;citm_catalog.json: 496 µs&#10;canada.json: 2,570 µs&#10;jeopardy.json: 37,624 µ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: 256 µs&#10;citm_catalog.json: 495 µs&#10;canada.json: 2,570 µs&#10;jeopardy.json: 37,436 µs">
<rect class="nj-heat-0" x="593" y="45" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · minify, checking less&#10;0.84× the time of the fastest fully validating library&#10;twitter.json: 252 µs · parse + dump (source numbers) (validates fully)&#10;citm_catalog.json: 494 µs · parse + dump (source numbers) (validates fully)&#10;canada.json: 1,343 µs · parse + dump (source numbers) (validates fully)&#10;jeopardy.json: 37,624 µ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.84× the time of the fastest fully validating library&#10;way: parse + dump (source numbers)&#10;twitter.json: 250 µs (validates fully)&#10;citm_catalog.json: 494 µs (validates fully)&#10;canada.json: 1,341 µs (validates fully)&#10;jeopardy.json: 37,239 µs (validates fully)&#10;copies each number&#x27;s text instead of formatting it (number_format::source)">
<rect class="nj-heat-0" x="639" y="45" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="60" text-anchor="middle">0.84</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="73" text-anchor="middle">N</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · write&#10;1.00× the time of the fastest library (fully validating)&#10;way: dump&#10;twitter.json: 76.2 µs&#10;citm_catalog.json: 139 µs&#10;canada.json: 1,625 µs&#10;jeopardy.json: 14,861 µ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: 75.2 µs&#10;citm_catalog.json: 136 µs&#10;canada.json: 1,626 µs&#10;jeopardy.json: 14,602 µs">
<rect class="nj-heat-0" x="685" y="45" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="707.5" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · write, checking less&#10;0.69× the time of the fastest fully validating library&#10;way: dump (source numbers)&#10;twitter.json: 72.8 µs (validates fully)&#10;citm_catalog.json: 136 µs (validates fully)&#10;canada.json: 398 µs (validates fully)&#10;jeopardy.json: 14,758 µ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.69× the time of the fastest fully validating library&#10;twitter.json: 72.8 µs · dump (source numbers) (validates fully)&#10;citm_catalog.json: 134 µs · dump (source numbers) (validates fully)&#10;canada.json: 398 µs · dump (source numbers) (validates fully)&#10;jeopardy.json: 14,602 µs · dump (validates fully)&#10;copies each number&#x27;s text instead of formatting it (number_format::source)">
<rect class="nj-heat-0" x="731" y="45" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="752.5" y="60" text-anchor="middle">0.69</text>
<text class="nj-charts-cell nj-charts-cell--small" x="752.5" y="73" text-anchor="middle">N</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="102" text-anchor="end">yyjson</text>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · validate&#10;1.41× the time of the fastest library (fully validating)&#10;twitter.json: 183 µs · insitu (copy)&#10;citm_catalog.json: 476 µs · read&#10;canada.json: 1,487 µs · insitu (copy)&#10;jeopardy.json: 30,922 µ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="yyjson · validate&#10;1.42× the time of the fastest library (fully validating)&#10;twitter.json: 179 µs · read&#10;citm_catalog.json: 472 µs · insitu (copy)&#10;canada.json: 1,490 µs · insitu (copy)&#10;jeopardy.json: 30,452 µs · read (raw numbers)&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-1" x="225" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="102" text-anchor="middle">1.41</text>
<text class="nj-charts-cell" x="270" y="102" text-anchor="middle">1.42</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · sum&#10;1.14× the time of the fastest library (fully validating)&#10;twitter.json: 231 µs · insitu (copy)&#10;citm_catalog.json: 571 µs · read&#10;canada.json: 1,875 µs · read&#10;jeopardy.json: 37,817 µ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="yyjson · sum&#10;1.15× the time of the fastest library (fully validating)&#10;way: read&#10;twitter.json: 229 µs&#10;citm_catalog.json: 573 µs&#10;canada.json: 1,939 µs&#10;jeopardy.json: 37,474 µs">
<rect class="nj-heat-0" x="317" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="102" text-anchor="middle">1.14</text>
<text class="nj-charts-cell" x="362" y="102" text-anchor="middle">1.15</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · select&#10;1.30× the time of the fastest library (fully validating)&#10;twitter.json: 191 µs · insitu (copy)&#10;citm_catalog.json: 480 µs · read&#10;canada.json: 1,489 µs · insitu (copy)&#10;jeopardy.json: 32,777 µ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="yyjson · select&#10;1.31× the time of the fastest library (fully validating)&#10;twitter.json: 190 µs · insitu (copy)&#10;citm_catalog.json: 480 µs · read&#10;canada.json: 1,488 µs · insitu (copy)&#10;jeopardy.json: 32,288 µs · read (raw numbers)&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-1" x="409" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="102" text-anchor="middle">1.30</text>
<text class="nj-charts-cell" x="454" y="102" text-anchor="middle">1.31</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · edit&#10;1.48× the time of the fastest library (fully validating)&#10;twitter.json: 440 µs · insitu (copy) + mut copy&#10;citm_catalog.json: 904 µs · mut copy&#10;canada.json: 3,692 µs · mut copy&#10;jeopardy.json: 84,466 µ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="yyjson · edit&#10;1.49× the time of the fastest library (fully validating)&#10;way: insitu (copy) + mut copy&#10;twitter.json: 440 µs&#10;citm_catalog.json: 905 µs&#10;canada.json: 3,691 µs&#10;jeopardy.json: 83,313 µs&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-1" x="501" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="102" text-anchor="middle">1.48</text>
<text class="nj-charts-cell" x="546" y="102" text-anchor="middle">1.49</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · minify&#10;1.26× the time of the fastest library (fully validating)&#10;twitter.json: 298 µs · insitu (copy) + write&#10;citm_catalog.json: 642 µs · read + write&#10;canada.json: 3,222 µs · insitu (copy) + write&#10;jeopardy.json: 51,001 µs · read + write&#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="yyjson · minify&#10;1.25× the time of the fastest library (fully validating)&#10;way: insitu (copy) + write&#10;twitter.json: 291 µs&#10;citm_catalog.json: 641 µs&#10;canada.json: 3,217 µs&#10;jeopardy.json: 50,196 µs&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-1" x="593" y="81" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="102" text-anchor="middle">1.26</text>
<text class="nj-charts-cell" x="615.5" y="102" text-anchor="middle">1.25</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · minify, checking less&#10;1.18× the time of the fastest fully validating library&#10;twitter.json: 298 µs · insitu (copy) + write (validates fully)&#10;citm_catalog.json: 642 µs · read + write (validates fully)&#10;canada.json: 2,523 µs · read (raw numbers) + write (validates fully)&#10;jeopardy.json: 51,001 µ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">
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · minify, checking less&#10;1.18× the time of the fastest fully validating library&#10;twitter.json: 291 µs · insitu (copy) + write (validates fully)&#10;citm_catalog.json: 641 µs · insitu (copy) + write (validates fully)&#10;canada.json: 2,519 µs · read (raw numbers) + write (validates fully)&#10;jeopardy.json: 50,196 µs · insitu (copy) + write (validates fully)&#10;copies each number&#x27;s text instead of formatting it (YYJSON_READ_NUMBER_AS_RAW)&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-1" x="639" y="81" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="96" text-anchor="middle">1.18</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="109" text-anchor="middle">N</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · write&#10;1.23× the time of the fastest library (fully validating)&#10;way: write&#10;twitter.json: 101 µs&#10;citm_catalog.json: 167 µs&#10;canada.json: 1,719 µs&#10;jeopardy.json: 19,937 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · write&#10;1.23× the time of the fastest library (fully validating)&#10;way: write&#10;twitter.json: 101 µs&#10;citm_catalog.json: 164 µs&#10;canada.json: 1,716 µs&#10;jeopardy.json: 19,722 µs">
<rect class="nj-heat-1" x="685" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="102" text-anchor="middle">1.23</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="138" text-anchor="end">simdjson</text>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · validate&#10;1.52× the time of the fastest library (fully validating)&#10;way: D&#8203;OM&#10;twitter.json: 215 µs&#10;citm_catalog.json: 460 µs&#10;canada.json: 1,890 µs&#10;jeopardy.json: 28,890 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · validate&#10;1.55× the time of the fastest library (fully validating)&#10;way: D&#8203;OM&#10;twitter.json: 212 µs&#10;citm_catalog.json: 462 µs&#10;canada.json: 1,889 µs&#10;jeopardy.json: 28,974 µs">
<rect class="nj-heat-2" x="225" y="117" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="138" text-anchor="middle">1.52</text>
<text class="nj-charts-cell" x="270" y="138" text-anchor="middle">1.55</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · sum&#10;1.21× the time of the fastest library (fully validating)&#10;twitter.json: 249 µs · D&#8203;OM&#10;citm_catalog.json: 572 µs · On-Demand&#10;canada.json: 2,398 µs · On-Demand&#10;jeopardy.json: 34,994 µs · D&#8203;OM">
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · sum&#10;1.20× the time of the fastest library (fully validating)&#10;twitter.json: 247 µs · D&#8203;OM&#10;citm_catalog.json: 566 µs · On-Demand&#10;canada.json: 2,374 µs · On-Demand&#10;jeopardy.json: 34,863 µs · D&#8203;OM">
<rect class="nj-heat-1" x="317" y="117" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="138" text-anchor="middle">1.21</text>
<text class="nj-charts-cell" x="362" y="138" text-anchor="middle">1.20</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · select&#10;1.34× the time of the fastest library (fully validating)&#10;way: D&#8203;OM&#10;twitter.json: 192 µs&#10;citm_catalog.json: 454 µs&#10;canada.json: 1,893 µs&#10;jeopardy.json: 30,714 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · select&#10;1.35× the time of the fastest library (fully validating)&#10;way: D&#8203;OM&#10;twitter.json: 193 µs&#10;citm_catalog.json: 448 µs&#10;canada.json: 1,888 µs&#10;jeopardy.json: 30,483 µs">
<rect class="nj-heat-1" x="409" y="117" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="431.5" y="138" text-anchor="middle">1.34</text>
<text class="nj-charts-cell" x="431.5" y="138" text-anchor="middle">1.35</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · select, checking less&#10;0.76× the time of the fastest fully validating library&#10;twitter.json: 128 µs · On-Demand structs&#10;citm_catalog.json: 356 µs · On-Demand&#10;canada.json: 571 µs · On-Demand&#10;jeopardy.json: 19,633 µs · On-Demand&#10;reads lazily: On-Demand reads only what you ask for and steps over the rest by matching brackets">
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · select, checking less&#10;0.76× the time of the fastest fully validating library&#10;twitter.json: 125 µs · On-Demand structs&#10;citm_catalog.json: 352 µs · On-Demand&#10;canada.json: 568 µs · On-Demand&#10;jeopardy.json: 19,629 µs · On-Demand&#10;reads lazily: On-Demand reads only what you ask for and steps over the rest by matching brackets">
<rect class="nj-heat-0" x="455" y="117" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="476.5" y="132" text-anchor="middle">0.76</text>
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="145" text-anchor="middle">P</text>
@@ -99,268 +99,268 @@
<rect class="nj-heat-na" x="501" y="117" width="90" height="34" rx="3"/>
<text class="nj-charts-tick" x="546" y="138">n/a</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · minify&#10;1.73× the time of the fastest library (fully validating)&#10;way: D&#8203;OM + to_string&#10;twitter.json: 425 µs&#10;citm_catalog.json: 850 µs&#10;canada.json: 5,094 µs&#10;jeopardy.json: 61,202 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · minify&#10;1.72× the time of the fastest library (fully validating)&#10;way: D&#8203;OM + to_string&#10;twitter.json: 413 µs&#10;citm_catalog.json: 830 µs&#10;canada.json: 5,072 µs&#10;jeopardy.json: 60,913 µs">
<rect class="nj-heat-2" x="593" y="117" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="138" text-anchor="middle">1.73</text>
<text class="nj-charts-cell" x="615.5" y="138" text-anchor="middle">1.72</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · minify, checking less&#10;0.18× the time of the fastest fully validating library&#10;way: minify&#10;twitter.json: 62.5 µs&#10;citm_catalog.json: 168 µs&#10;canada.json: 227 µs&#10;jeopardy.json: 5,756 µ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.18× the time of the fastest fully validating library&#10;way: minify&#10;twitter.json: 61.3 µs&#10;citm_catalog.json: 168 µs&#10;canada.json: 228 µs&#10;jeopardy.json: 5,674 µs&#10;simdjson::minify() only removes whitespace, without parsing the values">
<rect class="nj-heat-0" x="639" y="117" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="132" text-anchor="middle">0.18</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="145" text-anchor="middle">P</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · write&#10;2.41× the time of the fastest library (fully validating)&#10;way: to_string&#10;twitter.json: 201 µs&#10;citm_catalog.json: 416 µs&#10;canada.json: 3,186 µs&#10;jeopardy.json: 32,185 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · write&#10;2.36× the time of the fastest library (fully validating)&#10;way: to_string&#10;twitter.json: 195 µs&#10;citm_catalog.json: 384 µs&#10;canada.json: 3,194 µs&#10;jeopardy.json: 31,714 µs">
<rect class="nj-heat-2" x="685" y="117" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="138" text-anchor="middle">2.41</text>
<text class="nj-charts-cell" x="730" y="138" text-anchor="middle">2.36</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="174" text-anchor="end">sonic-rs (Rust)</text>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · validate&#10;1.91× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 326 µs&#10;citm_catalog.json: 681 µs&#10;canada.json: 1,939 µs&#10;jeopardy.json: 31,450 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · validate&#10;1.95× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 325 µs&#10;citm_catalog.json: 686 µs&#10;canada.json: 1,935 µs&#10;jeopardy.json: 31,234 µs">
<rect class="nj-heat-2" x="225" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="174" text-anchor="middle">1.91</text>
<text class="nj-charts-cell" x="270" y="174" text-anchor="middle">1.95</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · sum&#10;1.54× the time of the fastest library (fully validating)&#10;way: visitor&#10;twitter.json: 364 µs&#10;citm_catalog.json: 778 µs&#10;canada.json: 2,703 µs&#10;jeopardy.json: 41,361 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · sum&#10;1.56× the time of the fastest library (fully validating)&#10;way: visitor&#10;twitter.json: 372 µs&#10;citm_catalog.json: 779 µs&#10;canada.json: 2,727 µs&#10;jeopardy.json: 41,807 µs">
<rect class="nj-heat-2" x="317" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="174" text-anchor="middle">1.54</text>
<text class="nj-charts-cell" x="362" y="174" text-anchor="middle">1.56</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · select&#10;1.85× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 333 µs&#10;citm_catalog.json: 691 µs&#10;canada.json: 1,936 µs&#10;jeopardy.json: 40,660 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · select&#10;1.87× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 333 µs&#10;citm_catalog.json: 694 µs&#10;canada.json: 1,937 µs&#10;jeopardy.json: 40,455 µs">
<rect class="nj-heat-2" x="409" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="174" text-anchor="middle">1.85</text>
<text class="nj-charts-cell" x="454" y="174" text-anchor="middle">1.87</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · edit&#10;2.10× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 634 µs&#10;citm_catalog.json: 1,257 µs&#10;canada.json: 4,396 µs&#10;jeopardy.json: 140,936 µ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: 636 µs&#10;citm_catalog.json: 1,263 µs&#10;canada.json: 4,393 µs&#10;jeopardy.json: 142,331 µs">
<rect class="nj-heat-2" x="501" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="174" text-anchor="middle">2.10</text>
<text class="nj-charts-cell" x="546" y="174" text-anchor="middle">2.13</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · minify&#10;1.93× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 535 µs&#10;citm_catalog.json: 1,134 µs&#10;canada.json: 4,377 µs&#10;jeopardy.json: 64,832 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · minify&#10;1.96× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 550 µs&#10;citm_catalog.json: 1,148 µs&#10;canada.json: 4,388 µs&#10;jeopardy.json: 65,218 µs">
<rect class="nj-heat-2" x="593" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="174" text-anchor="middle">1.93</text>
<text class="nj-charts-cell" x="638" y="174" text-anchor="middle">1.96</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · write&#10;2.34× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 212 µs&#10;citm_catalog.json: 446 µs&#10;canada.json: 2,419 µs&#10;jeopardy.json: 33,366 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · write&#10;2.41× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 218 µs&#10;citm_catalog.json: 459 µs&#10;canada.json: 2,432 µs&#10;jeopardy.json: 33,952 µs">
<rect class="nj-heat-2" x="685" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="174" text-anchor="middle">2.34</text>
<text class="nj-charts-cell" x="730" y="174" text-anchor="middle">2.41</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="210" text-anchor="end">sonic-cpp</text>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · validate, checking less&#10;2.50× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 382 µs&#10;citm_catalog.json: 985 µs&#10;canada.json: 2,579 µs&#10;jeopardy.json: 40,996 µ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="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="204" text-anchor="middle">2.50</text>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · validate, checking less&#10;2.55× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 380 µs&#10;citm_catalog.json: 982 µs&#10;canada.json: 2,580 µs&#10;jeopardy.json: 41,126 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<rect class="nj-heat-3" x="225" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="204" text-anchor="middle">2.55</text>
<text class="nj-charts-cell nj-charts-cell--small" x="270" y="217" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · sum, checking less&#10;1.86× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 428 µs&#10;citm_catalog.json: 1,098 µs&#10;canada.json: 2,975 µs&#10;jeopardy.json: 48,487 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · sum, checking less&#10;1.86× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 428 µs&#10;citm_catalog.json: 1,085 µs&#10;canada.json: 2,959 µs&#10;jeopardy.json: 48,328 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<rect class="nj-heat-2" x="317" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="204" text-anchor="middle">1.86</text>
<text class="nj-charts-cell nj-charts-cell--small" x="362" y="217" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · select, checking less&#10;2.34× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 385 µs&#10;citm_catalog.json: 993 µs&#10;canada.json: 2,611 µs&#10;jeopardy.json: 46,356 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · select, checking less&#10;2.34× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 386 µs&#10;citm_catalog.json: 989 µs&#10;canada.json: 2,574 µs&#10;jeopardy.json: 45,604 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<rect class="nj-heat-2" x="409" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="204" text-anchor="middle">2.34</text>
<text class="nj-charts-cell nj-charts-cell--small" x="454" y="217" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · edit, checking less&#10;1.70× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 488 µs&#10;citm_catalog.json: 1,218 µs&#10;canada.json: 5,662 µs&#10;jeopardy.json: 63,697 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · edit, checking less&#10;1.71× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 489 µs&#10;citm_catalog.json: 1,219 µs&#10;canada.json: 5,641 µs&#10;jeopardy.json: 63,124 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<rect class="nj-heat-2" x="501" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="204" text-anchor="middle">1.70</text>
<text class="nj-charts-cell" x="546" y="204" text-anchor="middle">1.71</text>
<text class="nj-charts-cell nj-charts-cell--small" x="546" y="217" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · minify, checking less&#10;2.03× the time of the fastest fully validating library&#10;way: Document + Serialize&#10;twitter.json: 504 µs&#10;citm_catalog.json: 1,217 µs&#10;canada.json: 5,634 µs&#10;jeopardy.json: 61,988 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · minify, checking less&#10;2.03× the time of the fastest fully validating library&#10;way: Document + Serialize&#10;twitter.json: 497 µs&#10;citm_catalog.json: 1,217 µs&#10;canada.json: 5,626 µs&#10;jeopardy.json: 60,900 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<rect class="nj-heat-2" x="593" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="204" text-anchor="middle">2.03</text>
<text class="nj-charts-cell nj-charts-cell--small" x="638" y="217" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · write&#10;1.61× the time of the fastest library (fully validating)&#10;way: Serialize&#10;twitter.json: 114 µs&#10;citm_catalog.json: 240 µs&#10;canada.json: 3,109 µs&#10;jeopardy.json: 20,327 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-cpp · write&#10;1.60× the time of the fastest library (fully validating)&#10;way: Serialize&#10;twitter.json: 112 µs&#10;citm_catalog.json: 236 µs&#10;canada.json: 3,046 µs&#10;jeopardy.json: 19,821 µs">
<rect class="nj-heat-2" x="685" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="210" text-anchor="middle">1.61</text>
<text class="nj-charts-cell" x="730" y="210" text-anchor="middle">1.60</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="246" text-anchor="end">simd-json (Rust)</text>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · validate&#10;2.05× the time of the fastest library (fully validating)&#10;way: tape (copy)&#10;twitter.json: 289 µs&#10;citm_catalog.json: 698 µs&#10;canada.json: 2,278 µs&#10;jeopardy.json: 38,874 µ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;2.11× the time of the fastest library (fully validating)&#10;way: tape (copy)&#10;twitter.json: 290 µs&#10;citm_catalog.json: 718 µs&#10;canada.json: 2,289 µs&#10;jeopardy.json: 38,707 µs&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-2" x="225" y="225" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="246" text-anchor="middle">2.05</text>
<text class="nj-charts-cell" x="270" y="246" text-anchor="middle">2.11</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · sum&#10;1.63× the time of the fastest library (fully validating)&#10;way: visitor (copy)&#10;twitter.json: 354 µs&#10;citm_catalog.json: 866 µs&#10;canada.json: 2,717 µs&#10;jeopardy.json: 47,518 µ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;1.66× the time of the fastest library (fully validating)&#10;way: visitor (copy)&#10;twitter.json: 365 µs&#10;citm_catalog.json: 868 µs&#10;canada.json: 2,729 µs&#10;jeopardy.json: 48,056 µs&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-2" x="317" y="225" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="246" text-anchor="middle">1.63</text>
<text class="nj-charts-cell" x="362" y="246" text-anchor="middle">1.66</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · select&#10;2.39× the time of the fastest library (fully validating)&#10;way: structs (copy)&#10;twitter.json: 364 µs&#10;citm_catalog.json: 914 µs&#10;canada.json: 2,657 µs&#10;jeopardy.json: 57,697 µ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.43× the time of the fastest library (fully validating)&#10;way: structs (copy)&#10;twitter.json: 370 µs&#10;citm_catalog.json: 913 µs&#10;canada.json: 2,655 µs&#10;jeopardy.json: 57,851 µs&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-2" x="409" y="225" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="246" text-anchor="middle">2.39</text>
<text class="nj-charts-cell" x="454" y="246" text-anchor="middle">2.43</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · edit&#10;2.85× the time of the fastest library (fully validating)&#10;way: borrowed (copy)&#10;twitter.json: 948 µs&#10;citm_catalog.json: 2,102 µs&#10;canada.json: 7,654 µs&#10;jeopardy.json: 110,693 µ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) · edit&#10;2.89× the time of the fastest library (fully validating)&#10;twitter.json: 952 µs · borrowed (copy)&#10;citm_catalog.json: 2,112 µs · borrowed (copy)&#10;canada.json: 7,687 µs · owned (copy)&#10;jeopardy.json: 110,610 µs · borrowed (copy)&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-3" x="501" y="225" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="246" text-anchor="middle">2.85</text>
<text class="nj-charts-cell" x="546" y="246" text-anchor="middle">2.89</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · minify&#10;3.40× the time of the fastest library (fully validating)&#10;way: borrowed (copy)&#10;twitter.json: 952 µs&#10;citm_catalog.json: 2,111 µs&#10;canada.json: 7,658 µs&#10;jeopardy.json: 108,130 µ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.44× the time of the fastest library (fully validating)&#10;way: borrowed (copy)&#10;twitter.json: 969 µs&#10;citm_catalog.json: 2,107 µs&#10;canada.json: 7,698 µs&#10;jeopardy.json: 108,355 µs&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-3" x="593" y="225" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="246" text-anchor="middle">3.40</text>
<text class="nj-charts-cell" x="638" y="246" text-anchor="middle">3.44</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · write&#10;3.05× the time of the fastest library (fully validating)&#10;way: borrowed&#10;twitter.json: 355 µs&#10;citm_catalog.json: 478 µs&#10;canada.json: 2,728 µs&#10;jeopardy.json: 47,412 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · write&#10;3.13× the time of the fastest library (fully validating)&#10;way: borrowed&#10;twitter.json: 368 µs&#10;citm_catalog.json: 490 µs&#10;canada.json: 2,744 µs&#10;jeopardy.json: 47,185 µs">
<rect class="nj-heat-3" x="685" y="225" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="246" text-anchor="middle">3.05</text>
<text class="nj-charts-cell" x="730" y="246" text-anchor="middle">3.13</text>
</g>
<text class="nj-charts-rowlabel nj-charts-name-json" x="216" y="282" text-anchor="end">nlohmann/json json</text>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · validate&#10;1.38× the time of the fastest library (fully validating)&#10;way: accept&#10;twitter.json: 234 µs&#10;citm_catalog.json: 456 µs&#10;canada.json: 1,253 µs&#10;jeopardy.json: 27,563 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · validate&#10;1.40× the time of the fastest library (fully validating)&#10;way: accept&#10;twitter.json: 232 µs&#10;citm_catalog.json: 459 µs&#10;canada.json: 1,239 µs&#10;jeopardy.json: 27,461 µs">
<rect class="nj-heat-1" x="225" y="261" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="282" text-anchor="middle">1.38</text>
<text class="nj-charts-cell" x="270" y="282" text-anchor="middle">1.40</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · sum&#10;1.34× the time of the fastest library (fully validating)&#10;way: sax&#10;twitter.json: 303 µs&#10;citm_catalog.json: 602 µs&#10;canada.json: 2,208 µs&#10;jeopardy.json: 44,688 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · sum&#10;1.35× the time of the fastest library (fully validating)&#10;way: sax&#10;twitter.json: 303 µs&#10;citm_catalog.json: 594 µs&#10;canada.json: 2,208 µs&#10;jeopardy.json: 45,434 µs">
<rect class="nj-heat-1" x="317" y="261" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="282" text-anchor="middle">1.34</text>
<text class="nj-charts-cell" x="362" y="282" text-anchor="middle">1.35</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · select&#10;6.09× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 1,208 µs&#10;citm_catalog.json: 2,128 µs&#10;canada.json: 5,088 µs&#10;jeopardy.json: 163,712 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · select&#10;6.15× the time of the fastest library (fully validating)&#10;twitter.json: 1,217 µs · structs (from_json)&#10;citm_catalog.json: 2,108 µs · parse&#10;canada.json: 5,090 µs · parse&#10;jeopardy.json: 163,979 µs · parse">
<rect class="nj-heat-4" x="409" y="261" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="282" text-anchor="middle">6.09</text>
<text class="nj-charts-cell" x="454" y="282" text-anchor="middle">6.15</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · edit&#10;3.22× the time of the fastest library (fully validating)&#10;twitter.json: 1,115 µs · ordered_json&#10;citm_catalog.json: 2,065 µs · ordered_json&#10;canada.json: 7,348 µs · parse&#10;jeopardy.json: 162,216 µs · ordered_json">
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · edit&#10;3.22× the time of the fastest library (fully validating)&#10;twitter.json: 1,120 µs · ordered_json&#10;citm_catalog.json: 2,035 µs · ordered_json&#10;canada.json: 7,331 µs · parse&#10;jeopardy.json: 158,720 µs · ordered_json">
<rect class="nj-heat-3" x="501" y="261" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="282" text-anchor="middle">3.22</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · minify&#10;4.39× the time of the fastest library (fully validating)&#10;way: parse + dump&#10;twitter.json: 1,446 µs&#10;citm_catalog.json: 2,406 µs&#10;canada.json: 7,328 µs&#10;jeopardy.json: 182,132 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · minify&#10;4.41× the time of the fastest library (fully validating)&#10;way: parse + dump&#10;twitter.json: 1,443 µs&#10;citm_catalog.json: 2,382 µs&#10;canada.json: 7,341 µs&#10;jeopardy.json: 181,781 µs">
<rect class="nj-heat-3" x="593" y="261" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="282" text-anchor="middle">4.39</text>
<text class="nj-charts-cell" x="638" y="282" text-anchor="middle">4.41</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · write&#10;2.03× the time of the fastest library (fully validating)&#10;way: dump&#10;twitter.json: 216 µs&#10;citm_catalog.json: 287 µs&#10;canada.json: 2,274 µs&#10;jeopardy.json: 30,928 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · write&#10;2.06× the time of the fastest library (fully validating)&#10;way: dump&#10;twitter.json: 215 µs&#10;citm_catalog.json: 287 µs&#10;canada.json: 2,242 µs&#10;jeopardy.json: 31,455 µs">
<rect class="nj-heat-2" x="685" y="261" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="282" text-anchor="middle">2.03</text>
<text class="nj-charts-cell" x="730" y="282" text-anchor="middle">2.06</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="318" text-anchor="end">Glaze</text>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · validate&#10;2.03× the time of the fastest library (fully validating)&#10;way: validate_json&#10;twitter.json: 333 µs&#10;citm_catalog.json: 854 µs&#10;canada.json: 1,302 µs&#10;jeopardy.json: 46,251 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · validate&#10;2.07× the time of the fastest library (fully validating)&#10;way: validate_json&#10;twitter.json: 331 µs&#10;citm_catalog.json: 855 µs&#10;canada.json: 1,302 µs&#10;jeopardy.json: 46,377 µs">
<rect class="nj-heat-2" x="225" y="297" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="318" text-anchor="middle">2.03</text>
<text class="nj-charts-cell" x="270" y="318" text-anchor="middle">2.07</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · sum&#10;3.88× the time of the fastest library (fully validating)&#10;way: generic (double, strict)&#10;twitter.json: 974 µs&#10;citm_catalog.json: 2,057 µs&#10;canada.json: 6,338 µs&#10;jeopardy.json: 100,272 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · sum&#10;3.89× the time of the fastest library (fully validating)&#10;way: generic (double, strict)&#10;twitter.json: 972 µs&#10;citm_catalog.json: 2,054 µs&#10;canada.json: 6,342 µs&#10;jeopardy.json: 99,827 µs">
<rect class="nj-heat-3" x="317" y="297" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="318" text-anchor="middle">3.88</text>
<text class="nj-charts-cell" x="362" y="318" text-anchor="middle">3.89</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · select&#10;1.81× the time of the fastest library (fully validating)&#10;way: structs (validate_skipped)&#10;twitter.json: 314 µs&#10;citm_catalog.json: 852 µs&#10;canada.json: 1,303 µs&#10;jeopardy.json: 47,692 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · select&#10;1.81× the time of the fastest library (fully validating)&#10;way: structs (validate_skipped)&#10;twitter.json: 312 µs&#10;citm_catalog.json: 848 µs&#10;canada.json: 1,302 µs&#10;jeopardy.json: 46,251 µs">
<rect class="nj-heat-2" x="409" y="297" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="431.5" y="318" text-anchor="middle">1.81</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · select, checking less&#10;0.81× the time of the fastest fully validating library&#10;way: structs&#10;twitter.json: 238 µs&#10;citm_catalog.json: 253 µs&#10;canada.json: 310 µs&#10;jeopardy.json: 36,013 µ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.83× the time of the fastest fully validating library&#10;way: structs&#10;twitter.json: 238 µs&#10;citm_catalog.json: 253 µs&#10;canada.json: 310 µs&#10;jeopardy.json: 37,390 µs&#10;reads into structs and steps over fields it doesn&#x27;t know without checking them (validate_skipped checks them too)">
<rect class="nj-heat-0" x="455" y="297" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="476.5" y="312" text-anchor="middle">0.81</text>
<text class="nj-charts-cell" x="476.5" y="312" text-anchor="middle">0.83</text>
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="325" text-anchor="middle">P</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · edit&#10;4.44× the time of the fastest library (fully validating)&#10;way: generic (strict)&#10;twitter.json: 1,527 µs&#10;citm_catalog.json: 3,216 µs&#10;canada.json: 11,033 µs&#10;jeopardy.json: 183,648 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · edit&#10;4.45× the time of the fastest library (fully validating)&#10;way: generic (strict)&#10;twitter.json: 1,529 µs&#10;citm_catalog.json: 3,236 µs&#10;canada.json: 10,925 µs&#10;jeopardy.json: 179,055 µs">
<rect class="nj-heat-3" x="501" y="297" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="318" text-anchor="middle">4.44</text>
<text class="nj-charts-cell" x="546" y="318" text-anchor="middle">4.45</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · minify&#10;5.23× the time of the fastest library (fully validating)&#10;way: generic (strict)&#10;twitter.json: 1,512 µs&#10;citm_catalog.json: 3,245 µs&#10;canada.json: 11,112 µs&#10;jeopardy.json: 172,173 µ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,510 µs&#10;citm_catalog.json: 3,204 µs&#10;canada.json: 10,919 µs&#10;jeopardy.json: 170,463 µs">
<rect class="nj-heat-4" x="593" y="297" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="318" text-anchor="middle">5.23</text>
<text class="nj-charts-cell" x="615.5" y="318" text-anchor="middle">5.22</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · minify, checking less&#10;1.05× the time of the fastest fully validating library&#10;way: minify_json&#10;twitter.json: 284 µs&#10;citm_catalog.json: 747 µs&#10;canada.json: 1,746 µs&#10;jeopardy.json: 40,439 µ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;1.03× the time of the fastest fully validating library&#10;way: minify_json&#10;twitter.json: 279 µs&#10;citm_catalog.json: 730 µs&#10;canada.json: 1,708 µs&#10;jeopardy.json: 39,468 µs&#10;minify_json only removes whitespace, without parsing the values">
<rect class="nj-heat-0" x="639" y="297" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="312" text-anchor="middle">1.05</text>
<text class="nj-charts-cell" x="660.5" y="312" text-anchor="middle">1.03</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="325" text-anchor="middle">P</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · write&#10;2.19× the time of the fastest library (fully validating)&#10;twitter.json: 212 µs · generic&#10;citm_catalog.json: 476 µs · generic (strict)&#10;canada.json: 1,702 µs · generic (strict)&#10;jeopardy.json: 34,032 µ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: 210 µs · generic&#10;citm_catalog.json: 468 µs · generic&#10;canada.json: 1,696 µs · generic (strict)&#10;jeopardy.json: 33,414 µs · generic">
<rect class="nj-heat-2" x="685" y="297" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="318" text-anchor="middle">2.19</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="354" text-anchor="end">Boost.J&#8203;SON</text>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · validate&#10;2.54× the time of the fastest library (fully validating)&#10;way: S&#8203;AX (numbers: none)&#10;twitter.json: 540 µs&#10;citm_catalog.json: 990 µs&#10;canada.json: 1,449 µs&#10;jeopardy.json: 54,480 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · validate&#10;2.58× the time of the fastest library (fully validating)&#10;way: S&#8203;AX (numbers: none)&#10;twitter.json: 530 µs&#10;citm_catalog.json: 989 µs&#10;canada.json: 1,449 µs&#10;jeopardy.json: 54,540 µs">
<rect class="nj-heat-3" x="225" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="354" text-anchor="middle">2.54</text>
<text class="nj-charts-cell" x="270" y="354" text-anchor="middle">2.58</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · sum&#10;2.02× the time of the fastest library (fully validating)&#10;way: S&#8203;AX&#10;twitter.json: 538 µs&#10;citm_catalog.json: 1,028 µs&#10;canada.json: 3,084 µs&#10;jeopardy.json: 54,765 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · sum&#10;2.01× the time of the fastest library (fully validating)&#10;way: S&#8203;AX&#10;twitter.json: 537 µs&#10;citm_catalog.json: 1,007 µs&#10;canada.json: 3,053 µs&#10;jeopardy.json: 54,616 µs">
<rect class="nj-heat-2" x="317" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="354" text-anchor="middle">2.02</text>
<text class="nj-charts-cell" x="362" y="354" text-anchor="middle">2.01</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · select&#10;3.31× the time of the fastest library (fully validating)&#10;twitter.json: 623 µs · parse_into structs&#10;citm_catalog.json: 1,208 µs · parse_into structs&#10;canada.json: 3,638 µs · parse&#10;jeopardy.json: 67,923 µs · parse_into structs">
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · select&#10;3.33× the time of the fastest library (fully validating)&#10;twitter.json: 620 µs · parse_into structs&#10;citm_catalog.json: 1,205 µs · parse_into structs&#10;canada.json: 3,632 µs · parse&#10;jeopardy.json: 67,371 µs · parse_into structs">
<rect class="nj-heat-3" x="409" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="354" text-anchor="middle">3.31</text>
<text class="nj-charts-cell" x="454" y="354" text-anchor="middle">3.33</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · edit&#10;3.23× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 1,355 µs&#10;citm_catalog.json: 1,997 µs&#10;canada.json: 6,522 µs&#10;jeopardy.json: 157,849 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · edit&#10;3.26× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 1,362 µs&#10;citm_catalog.json: 2,002 µs&#10;canada.json: 6,523 µs&#10;jeopardy.json: 156,766 µs">
<rect class="nj-heat-3" x="501" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="354" text-anchor="middle">3.23</text>
<text class="nj-charts-cell" x="546" y="354" text-anchor="middle">3.26</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · minify&#10;3.89× the time of the fastest library (fully validating)&#10;way: parse + serialize&#10;twitter.json: 1,407 µs&#10;citm_catalog.json: 2,003 µs&#10;canada.json: 6,555 µs&#10;jeopardy.json: 154,865 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · minify&#10;3.87× the time of the fastest library (fully validating)&#10;way: parse + serialize&#10;twitter.json: 1,382 µs&#10;citm_catalog.json: 1,991 µs&#10;canada.json: 6,534 µs&#10;jeopardy.json: 152,254 µs">
<rect class="nj-heat-3" x="593" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="354" text-anchor="middle">3.89</text>
<text class="nj-charts-cell" x="638" y="354" text-anchor="middle">3.87</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · write&#10;3.67× the time of the fastest library (fully validating)&#10;way: serialize&#10;twitter.json: 499 µs&#10;citm_catalog.json: 511 µs&#10;canada.json: 2,873 µs&#10;jeopardy.json: 63,201 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · write&#10;3.68× the time of the fastest library (fully validating)&#10;way: serialize&#10;twitter.json: 498 µs&#10;citm_catalog.json: 502 µs&#10;canada.json: 2,871 µs&#10;jeopardy.json: 62,307 µs">
<rect class="nj-heat-3" x="685" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="354" text-anchor="middle">3.67</text>
<text class="nj-charts-cell" x="730" y="354" text-anchor="middle">3.68</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="390" text-anchor="end">serde_json (Rust)</text>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · validate&#10;2.44× the time of the fastest library (fully validating)&#10;way: from_utf8 + IgnoredAny&#10;twitter.json: 452 µs&#10;citm_catalog.json: 1,103 µs&#10;canada.json: 1,556 µs&#10;jeopardy.json: 46,517 µs">
<rect class="nj-heat-2" x="225" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="247.5" y="390" text-anchor="middle">2.44</text>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · validate&#10;2.51× the time of the fastest library (fully validating)&#10;way: from_utf8 + IgnoredAny&#10;twitter.json: 461 µs&#10;citm_catalog.json: 1,104 µs&#10;canada.json: 1,561 µs&#10;jeopardy.json: 46,689 µs">
<rect class="nj-heat-3" x="225" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="247.5" y="390" text-anchor="middle">2.51</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · validate, checking less&#10;2.21× the time of the fastest fully validating library&#10;way: IgnoredAny&#10;twitter.json: 354 µs&#10;citm_catalog.json: 1,047 µs&#10;canada.json: 1,451 µs&#10;jeopardy.json: 44,984 µ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;2.27× the time of the fastest fully validating library&#10;way: IgnoredAny&#10;twitter.json: 357 µs&#10;citm_catalog.json: 1,055 µs&#10;canada.json: 1,460 µs&#10;jeopardy.json: 45,135 µs&#10;trusts U&#8203;TF-8 in the strings it skips (from_slice); strings it reads are checked">
<rect class="nj-heat-2" x="271" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="292.5" y="384" text-anchor="middle">2.21</text>
<text class="nj-charts-cell" x="292.5" y="384" text-anchor="middle">2.27</text>
<text class="nj-charts-cell nj-charts-cell--small" x="292.5" y="397" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · sum&#10;2.60× the time of the fastest library (fully validating)&#10;way: visitor&#10;twitter.json: 652 µs&#10;citm_catalog.json: 1,242 µs&#10;canada.json: 4,772 µs&#10;jeopardy.json: 66,568 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · sum&#10;2.64× the time of the fastest library (fully validating)&#10;way: visitor&#10;twitter.json: 661 µs&#10;citm_catalog.json: 1,238 µs&#10;canada.json: 4,799 µs&#10;jeopardy.json: 68,254 µs">
<rect class="nj-heat-3" x="317" y="369" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="390" text-anchor="middle">2.60</text>
<text class="nj-charts-cell" x="362" y="390" text-anchor="middle">2.64</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · select&#10;2.41× the time of the fastest library (fully validating)&#10;way: from_utf8 + structs&#10;twitter.json: 480 µs&#10;citm_catalog.json: 1,125 µs&#10;canada.json: 1,560 µs&#10;jeopardy.json: 62,378 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · select&#10;2.45× the time of the fastest library (fully validating)&#10;way: from_utf8 + structs&#10;twitter.json: 484 µs&#10;citm_catalog.json: 1,126 µs&#10;canada.json: 1,559 µs&#10;jeopardy.json: 63,574 µs">
<rect class="nj-heat-2" x="409" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="431.5" y="390" text-anchor="middle">2.41</text>
<text class="nj-charts-cell" x="431.5" y="390" text-anchor="middle">2.45</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · select, checking less&#10;2.26× the time of the fastest fully validating library&#10;twitter.json: 410 µs · structs&#10;citm_catalog.json: 1,084 µs · structs&#10;canada.json: 1,455 µs · structs&#10;jeopardy.json: 62,378 µs · from_utf8 + structs (validates fully)&#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) · select, checking less&#10;2.29× the time of the fastest fully validating library&#10;twitter.json: 412 µs · structs&#10;citm_catalog.json: 1,086 µs · structs&#10;canada.json: 1,454 µs · structs&#10;jeopardy.json: 63,574 µs · from_utf8 + structs (validates fully)&#10;trusts U&#8203;TF-8 in the strings it skips (from_slice); strings it reads are checked">
<rect class="nj-heat-2" x="455" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="476.5" y="384" text-anchor="middle">2.26</text>
<text class="nj-charts-cell" x="476.5" y="384" text-anchor="middle">2.29</text>
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="397" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · edit&#10;5.02× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 2,009 µs&#10;citm_catalog.json: 3,316 µs&#10;canada.json: 9,666 µs&#10;jeopardy.json: 251,931 µ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,036 µs&#10;citm_catalog.json: 3,323 µs&#10;canada.json: 9,645 µs&#10;jeopardy.json: 255,608 µs">
<rect class="nj-heat-4" x="501" y="369" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="390" text-anchor="middle">5.02</text>
<text class="nj-charts-cell" x="546" y="390" text-anchor="middle">5.10</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · minify&#10;5.85× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 2,004 µs&#10;citm_catalog.json: 3,290 µs&#10;canada.json: 9,792 µs&#10;jeopardy.json: 227,369 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · minify&#10;5.91× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 2,020 µs&#10;citm_catalog.json: 3,296 µs&#10;canada.json: 9,635 µs&#10;jeopardy.json: 232,185 µs">
<rect class="nj-heat-4" x="593" y="369" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="390" text-anchor="middle">5.85</text>
<text class="nj-charts-cell" x="638" y="390" text-anchor="middle">5.91</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · write&#10;2.90× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 322 µs&#10;citm_catalog.json: 490 µs&#10;canada.json: 2,286 µs&#10;jeopardy.json: 49,967 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · write&#10;2.98× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 340 µs&#10;citm_catalog.json: 497 µs&#10;canada.json: 2,257 µs&#10;jeopardy.json: 50,311 µs">
<rect class="nj-heat-3" x="685" y="369" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="390" text-anchor="middle">2.90</text>
<text class="nj-charts-cell" x="730" y="390" text-anchor="middle">2.98</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="426" text-anchor="end">RapidJSON</text>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · validate&#10;4.67× the time of the fastest library (fully validating)&#10;twitter.json: 1,318 µs · insitu (copy)&#10;citm_catalog.json: 1,391 µs · S&#8203;AX (string stream, default precision)&#10;canada.json: 1,971 µs · S&#8203;AX (string stream, default precision)&#10;jeopardy.json: 133,695 µ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.77× the time of the fastest library (fully validating)&#10;twitter.json: 1,312 µs · insitu (copy)&#10;citm_catalog.json: 1,392 µs · S&#8203;AX (string stream, default precision)&#10;canada.json: 1,976 µs · S&#8203;AX (string stream, default precision)&#10;jeopardy.json: 134,644 µs · S&#8203;AX (string stream, default precision)&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-3" x="225" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="247.5" y="426" text-anchor="middle">4.67</text>
<text class="nj-charts-cell" x="247.5" y="426" text-anchor="middle">4.77</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · validate, checking less&#10;3.09× the time of the fastest fully validating library&#10;twitter.json: 706 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,033 µs · S&#8203;AX (string stream, default precision) (no encoding check)&#10;canada.json: 1,971 µs · S&#8203;AX (string stream, default precision) (validates fully)&#10;jeopardy.json: 64,732 µ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 · validate, checking less&#10;3.13× the time of the fastest fully validating library&#10;twitter.json: 690 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,029 µs · S&#8203;AX (string stream, default precision) (no encoding check)&#10;canada.json: 1,976 µs · S&#8203;AX (string stream, default precision) (validates fully)&#10;jeopardy.json: 64,302 µs · insitu (copy) (no encoding check)&#10;trusts U&#8203;TF-8: RapidJSON&#x27;s default (kParseValidateEncodingFlag checks it)&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-3" x="271" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="292.5" y="420" text-anchor="middle">3.09</text>
<text class="nj-charts-cell" x="292.5" y="420" text-anchor="middle">3.13</text>
<text class="nj-charts-cell nj-charts-cell--small" x="292.5" y="433" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · sum&#10;4.18× the time of the fastest library (fully validating)&#10;twitter.json: 1,332 µs · S&#8203;AX&#10;citm_catalog.json: 1,472 µs · S&#8203;AX (string stream)&#10;canada.json: 6,448 µs · S&#8203;AX (string stream)&#10;jeopardy.json: 136,330 µs · S&#8203;AX (string stream)">
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · sum&#10;4.20× the time of the fastest library (fully validating)&#10;twitter.json: 1,346 µs · S&#8203;AX&#10;citm_catalog.json: 1,454 µs · S&#8203;AX (string stream)&#10;canada.json: 6,453 µs · S&#8203;AX (string stream)&#10;jeopardy.json: 135,579 µs · S&#8203;AX (string stream)">
<rect class="nj-heat-3" x="317" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="339.5" y="426" text-anchor="middle">4.18</text>
<text class="nj-charts-cell" x="339.5" y="426" text-anchor="middle">4.20</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · sum, checking less&#10;2.89× the time of the fastest fully validating library&#10;twitter.json: 738 µs · S&#8203;AX (string stream) (no encoding check)&#10;citm_catalog.json: 1,157 µs · S&#8203;AX (string stream) (no encoding check)&#10;canada.json: 6,432 µs · S&#8203;AX (string stream) (no encoding check)&#10;jeopardy.json: 71,646 µ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 · sum, checking less&#10;2.87× the time of the fastest fully validating library&#10;twitter.json: 730 µs · S&#8203;AX (string stream) (no encoding check)&#10;citm_catalog.json: 1,132 µs · S&#8203;AX (string stream) (no encoding check)&#10;canada.json: 6,427 µs · S&#8203;AX (string stream) (no encoding check)&#10;jeopardy.json: 70,706 µs · insitu (copy) (no encoding check)&#10;trusts U&#8203;TF-8: RapidJSON&#x27;s default (kParseValidateEncodingFlag checks it)&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-3" x="363" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="384.5" y="420" text-anchor="middle">2.89</text>
<text class="nj-charts-cell" x="384.5" y="420" text-anchor="middle">2.87</text>
<text class="nj-charts-cell nj-charts-cell--small" x="384.5" y="433" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · select&#10;6.02× the time of the fastest library (fully validating)&#10;twitter.json: 1,314 µs · insitu (copy)&#10;citm_catalog.json: 1,578 µs · insitu (copy)&#10;canada.json: 6,814 µs · Document (string stream)&#10;jeopardy.json: 144,649 µ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;6.05× the time of the fastest library (fully validating)&#10;way: insitu (copy)&#10;twitter.json: 1,317 µs&#10;citm_catalog.json: 1,564 µs&#10;canada.json: 6,761 µs&#10;jeopardy.json: 143,406 µs&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-4" x="409" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="431.5" y="426" text-anchor="middle">6.02</text>
<text class="nj-charts-cell" x="431.5" y="426" text-anchor="middle">6.05</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · select, checking less&#10;3.93× the time of the fastest fully validating library&#10;twitter.json: 701 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,166 µs · insitu (copy) (no encoding check)&#10;canada.json: 6,745 µs · Document (string stream) (no encoding check)&#10;jeopardy.json: 67,617 µ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.96× the time of the fastest fully validating library&#10;twitter.json: 703 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,152 µs · insitu (copy) (no encoding check)&#10;canada.json: 6,761 µs · insitu (copy) (validates fully)&#10;jeopardy.json: 67,167 µs · insitu (copy) (no encoding check)&#10;trusts U&#8203;TF-8: RapidJSON&#x27;s default (kParseValidateEncodingFlag checks it)&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-3" x="455" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="476.5" y="420" text-anchor="middle">3.93</text>
<text class="nj-charts-cell" x="476.5" y="420" text-anchor="middle">3.96</text>
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="433" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · edit&#10;4.85× the time of the fastest library (fully validating)&#10;twitter.json: 1,924 µs · Document&#10;citm_catalog.json: 2,393 µs · insitu (copy)&#10;canada.json: 13,711 µs · Document (string stream)&#10;jeopardy.json: 224,328 µ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;4.89× the time of the fastest library (fully validating)&#10;twitter.json: 1,928 µs · Document&#10;citm_catalog.json: 2,385 µs · Document (string stream)&#10;canada.json: 13,768 µs · Document (string stream)&#10;jeopardy.json: 222,367 µs · Document (string stream)">
<rect class="nj-heat-3" x="501" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="523.5" y="426" text-anchor="middle">4.85</text>
<text class="nj-charts-cell" x="523.5" y="426" text-anchor="middle">4.89</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · edit, checking less&#10;3.83× the time of the fastest fully validating library&#10;twitter.json: 1,356 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,992 µs · insitu (copy) (no encoding check)&#10;canada.json: 13,711 µs · Document (string stream) (validates fully)&#10;jeopardy.json: 147,902 µ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 · edit, checking less&#10;3.87× the time of the fastest fully validating library&#10;way: insitu (copy) (no encoding check)&#10;twitter.json: 1,358 µs&#10;citm_catalog.json: 1,993 µs&#10;canada.json: 13,737 µs&#10;jeopardy.json: 147,900 µs&#10;trusts U&#8203;TF-8: RapidJSON&#x27;s default (kParseValidateEncodingFlag checks it)&#10;(copy): parses in place, on a copy of the input that is part of the time">
<rect class="nj-heat-3" x="547" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="568.5" y="420" text-anchor="middle">3.83</text>
<text class="nj-charts-cell" x="568.5" y="420" text-anchor="middle">3.87</text>
<text class="nj-charts-cell nj-charts-cell--small" x="568.5" y="433" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · minify&#10;4.85× the time of the fastest library (fully validating)&#10;twitter.json: 1,523 µs · S&#8203;AX to Writer&#10;citm_catalog.json: 1,803 µs · S&#8203;AX to Writer (string stream)&#10;canada.json: 14,378 µs · Document + Writer&#10;jeopardy.json: 174,958 µs · S&#8203;AX to Writer (string stream)">
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · minify&#10;4.84× the time of the fastest library (fully validating)&#10;twitter.json: 1,501 µs · S&#8203;AX to Writer&#10;citm_catalog.json: 1,784 µs · S&#8203;AX to Writer (string stream)&#10;canada.json: 14,332 µs · Document + Writer&#10;jeopardy.json: 173,504 µs · S&#8203;AX to Writer (string stream)">
<rect class="nj-heat-3" x="593" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="426" text-anchor="middle">4.85</text>
<text class="nj-charts-cell" x="615.5" y="426" text-anchor="middle">4.84</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · minify, checking less&#10;3.66× the time of the fastest fully validating library&#10;twitter.json: 1,044 µs · S&#8203;AX to Writer (string stream) (no encoding check)&#10;citm_catalog.json: 1,499 µs · S&#8203;AX to Writer (string stream) (no encoding check)&#10;canada.json: 11,568 µs · S&#8203;AX to Writer (raw numbers) (validates fully)&#10;jeopardy.json: 123,908 µ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;3.60× the time of the fastest fully validating library&#10;twitter.json: 1,045 µs · S&#8203;AX to Writer (string stream) (no encoding check)&#10;citm_catalog.json: 1,474 µs · S&#8203;AX to Writer (string stream) (no encoding check)&#10;canada.json: 10,853 µs · S&#8203;AX to Writer (raw numbers) (no encoding check)&#10;jeopardy.json: 122,744 µs · S&#8203;AX to Writer (string stream) (no encoding check)&#10;trusts U&#8203;TF-8: RapidJSON&#x27;s default (kParseValidateEncodingFlag checks it)&#10;copies each number&#x27;s text instead of formatting it (kParseNumbersAsStringsFlag)">
<rect class="nj-heat-3" x="639" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="420" text-anchor="middle">3.66</text>
<text class="nj-charts-cell" x="660.5" y="420" text-anchor="middle">3.60</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="433" text-anchor="middle">U N</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · write&#10;5.74× the time of the fastest library (fully validating)&#10;way: Writer&#10;twitter.json: 596 µs&#10;citm_catalog.json: 836 µs&#10;canada.json: 6,928 µs&#10;jeopardy.json: 80,160 µs">
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · write&#10;5.86× the time of the fastest library (fully validating)&#10;way: Writer&#10;twitter.json: 606 µs&#10;citm_catalog.json: 838 µs&#10;canada.json: 6,906 µs&#10;jeopardy.json: 82,072 µs">
<rect class="nj-heat-4" x="685" y="405" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="426" text-anchor="middle">5.74</text>
<text class="nj-charts-cell" x="730" y="426" text-anchor="middle">5.86</text>
</g>
<text class="nj-charts-tick nj-charts-tick--l" x="8" y="472">time relative to the fastest fully validating library, less is better</text>
<g><rect class="nj-heat-0" x="8" y="482" width="76" height="20" rx="3"/>

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-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>
<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.83 doing less, N); nlohmann/json json_document write: 1.00 (0.71 doing less, N); yyjson validate: 2.21; yyjson sum: 1.23; yyjson select: 1.40; yyjson edit: 1.48; yyjson minify: 1.27 (1.09 doing less, N); yyjson write: 1.16; sonic-cpp validate: no fully validating way (2.32 doing less, U); sonic-cpp sum: no fully validating way (1.26 doing less, U); sonic-cpp select: no fully validating way (1.50 doing less, U); sonic-cpp edit: no fully validating way (1.21 doing less, U); sonic-cpp minify: no fully validating way (1.36 doing less, U); sonic-cpp write: 1.33; simdjson validate: 2.06; simdjson sum: 1.19; simdjson select: 1.33 (0.56 doing less, P); simdjson edit: n/a; simdjson minify: 1.55 (0.18 doing less, P); simdjson write: 2.07; sonic-rs (Rust) validate: 1.90; sonic-rs (Rust) sum: 1.13; sonic-rs (Rust) select: 1.37; sonic-rs (Rust) edit: 1.90; sonic-rs (Rust) minify: 1.75; sonic-rs (Rust) write: 2.01; Boost.J&#8203;SON validate: 1.80; Boost.J&#8203;SON sum: 1.17; Boost.J&#8203;SON select: 2.19; Boost.J&#8203;SON edit: 2.37; Boost.J&#8203;SON minify: 2.65; Boost.J&#8203;SON write: 2.38; nlohmann/json json validate: 1.43; nlohmann/json json sum: 1.00; nlohmann/json json select: 6.54; nlohmann/json json edit: 3.53; nlohmann/json json minify: 4.31; nlohmann/json json write: 1.88; simd-json (Rust) validate: 3.57; simd-json (Rust) sum: 1.91; simd-json (Rust) select: 2.61; simd-json (Rust) edit: 2.88; simd-json (Rust) minify: 3.43; simd-json (Rust) write: 2.28; serde_json (Rust) validate: 2.36 (2.11 doing less, U); serde_json (Rust) sum: 2.35; serde_json (Rust) select: 1.75; serde_json (Rust) edit: 4.53; serde_json (Rust) minify: 4.99; serde_json (Rust) write: 2.22; Glaze validate: 2.24; Glaze sum: 4.24 (3.96 doing less, P); Glaze select: 1.39 (0.61 doing less, P); Glaze edit: 5.50; Glaze minify: 5.78 (0.69 doing less, P); Glaze write: 1.95; RapidJSON validate: 5.18 (3.77 doing less, U); RapidJSON sum: 3.25 (2.40 doing less, U); RapidJSON select: 4.45 (3.45 doing less, U); RapidJSON edit: 3.16 (2.68 doing less, U); RapidJSON minify: 3.43 (2.57 doing less, U N); RapidJSON write: 2.86.</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.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>
<text class="nj-charts-tick" x="270" y="34">validate</text>
<text class="nj-charts-tick" x="362" y="34">sum</text>
<text class="nj-charts-tick" x="454" y="34">select</text>
@@ -8,359 +8,359 @@
<text class="nj-charts-tick" x="638" y="34">minify</text>
<text class="nj-charts-tick" x="730" y="34">write</text>
<text class="nj-charts-rowlabel nj-charts-name-json" x="216" y="66" text-anchor="end">nlohmann/json json_document</text>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · validate&#10;1.00× the time of the fastest library (fully validating)&#10;way: accept&#10;twitter.json: 250 µs&#10;citm_catalog.json: 509 µs&#10;canada.json: 1,032 µs&#10;jeopardy.json: 34,454 µ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: 252 µs&#10;citm_catalog.json: 510 µs&#10;canada.json: 1,050 µs&#10;jeopardy.json: 35,577 µs">
<rect class="nj-heat-0" x="225" y="45" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · sum&#10;1.05× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 366 µs&#10;citm_catalog.json: 941 µs&#10;canada.json: 3,680 µs&#10;jeopardy.json: 86,966 µs">
<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">
<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>
</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: 316 µs · structs (from_json)&#10;citm_catalog.json: 783 µs · parse&#10;canada.json: 1,368 µs · structs (from_json)&#10;jeopardy.json: 91,736 µ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: 318 µs&#10;citm_catalog.json: 785 µs&#10;canada.json: 1,369 µs&#10;jeopardy.json: 91,072 µs">
<rect class="nj-heat-0" x="409" y="45" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · edit&#10;1.00× the time of the fastest library (fully validating)&#10;way: editable&#10;twitter.json: 519 µs&#10;citm_catalog.json: 1,152 µs&#10;canada.json: 5,671 µs&#10;jeopardy.json: 195,716 µ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: 520 µs&#10;citm_catalog.json: 1,151 µs&#10;canada.json: 5,756 µs&#10;jeopardy.json: 205,350 µs">
<rect class="nj-heat-0" x="501" y="45" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="523.5" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · edit, checking less&#10;0.81× the time of the fastest fully validating library&#10;twitter.json: 518 µs · editable (source numbers) (validates fully)&#10;citm_catalog.json: 1,152 µs · editable (validates fully)&#10;canada.json: 2,502 µs · editable (source numbers) (validates fully)&#10;jeopardy.json: 195,716 µ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.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)">
<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 nj-charts-cell--small" x="568.5" y="73" text-anchor="middle">N</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · minify&#10;1.00× the time of the fastest library (fully validating)&#10;way: parse + dump&#10;twitter.json: 472 µs&#10;citm_catalog.json: 1,055 µs&#10;canada.json: 5,041 µs&#10;jeopardy.json: 149,143 µ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: 478 µs&#10;citm_catalog.json: 1,057 µs&#10;canada.json: 5,326 µs&#10;jeopardy.json: 157,291 µs">
<rect class="nj-heat-0" x="593" y="45" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · minify, checking less&#10;0.83× the time of the fastest fully validating library&#10;twitter.json: 467 µs · parse + dump (source numbers) (validates fully)&#10;citm_catalog.json: 1,055 µs · parse + dump (validates fully)&#10;canada.json: 2,363 µs · parse + dump (source numbers) (validates fully)&#10;jeopardy.json: 149,143 µ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.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)">
<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.83</text>
<text class="nj-charts-cell" x="660.5" y="60" text-anchor="middle">0.82</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="73" text-anchor="middle">N</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · write&#10;1.00× the time of the fastest library (fully validating)&#10;way: dump&#10;twitter.json: 158 µs&#10;citm_catalog.json: 279 µs&#10;canada.json: 3,637 µs&#10;jeopardy.json: 67,366 µ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: 161 µs&#10;citm_catalog.json: 279 µs&#10;canada.json: 3,842 µs&#10;jeopardy.json: 71,224 µs">
<rect class="nj-heat-0" x="685" y="45" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="707.5" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · write, checking less&#10;0.71× the time of the fastest fully validating library&#10;twitter.json: 153 µs · dump (source numbers) (validates fully)&#10;citm_catalog.json: 276 µs · dump (source numbers) (validates fully)&#10;canada.json: 982 µs · dump (source numbers) (validates fully)&#10;jeopardy.json: 67,366 µ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.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)">
<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.71</text>
<text class="nj-charts-cell" x="752.5" y="60" text-anchor="middle">0.70</text>
<text class="nj-charts-cell nj-charts-cell--small" x="752.5" y="73" text-anchor="middle">N</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="102" text-anchor="end">yyjson</text>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · validate&#10;2.21× the time of the fastest library (fully validating)&#10;twitter.json: 383 µs · read&#10;citm_catalog.json: 887 µs · read&#10;canada.json: 2,572 µs · read (raw numbers)&#10;jeopardy.json: 123,640 µs · read (raw numbers)">
<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">
<rect class="nj-heat-2" x="225" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="102" text-anchor="middle">2.21</text>
<text class="nj-charts-cell" x="270" y="102" text-anchor="middle">2.24</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · sum&#10;1.23× the time of the fastest library (fully validating)&#10;twitter.json: 436 µs · read&#10;citm_catalog.json: 1,048 µs · insitu (copy)&#10;canada.json: 3,454 µs · read&#10;jeopardy.json: 133,577 µ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="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">
<rect class="nj-heat-1" x="317" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="102" text-anchor="middle">1.23</text>
<text class="nj-charts-cell" x="362" y="102" text-anchor="middle">1.24</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · select&#10;1.40× the time of the fastest library (fully validating)&#10;twitter.json: 386 µs · insitu (copy)&#10;citm_catalog.json: 891 µs · insitu (copy)&#10;canada.json: 2,572 µs · read (raw numbers)&#10;jeopardy.json: 135,813 µ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="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">
<rect class="nj-heat-1" x="409" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="102" text-anchor="middle">1.40</text>
<text class="nj-charts-cell" x="454" y="102" text-anchor="middle">1.43</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · edit&#10;1.48× the time of the fastest library (fully validating)&#10;twitter.json: 833 µs · mut copy&#10;citm_catalog.json: 1,674 µs · mut copy&#10;canada.json: 7,249 µs · mut copy&#10;jeopardy.json: 316,652 µ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="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">
<rect class="nj-heat-1" x="501" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="102" text-anchor="middle">1.48</text>
<text class="nj-charts-cell" x="546" y="102" text-anchor="middle">1.47</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · minify&#10;1.27× the time of the fastest library (fully validating)&#10;way: read + write&#10;twitter.json: 626 µs&#10;citm_catalog.json: 1,261 µs&#10;canada.json: 6,179 µs&#10;jeopardy.json: 200,886 µs">
<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: 626 µs · read + write (validates fully)&#10;citm_catalog.json: 1,236 µs · read (raw numbers) + write (validates fully)&#10;canada.json: 3,426 µs · read (raw numbers) + write (validates fully)&#10;jeopardy.json: 197,700 µs · read (raw numbers) + write (validates fully)&#10;copies each number&#x27;s text instead of formatting it (YYJSON_READ_NUMBER_AS_RAW)">
<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.16× the time of the fastest library (fully validating)&#10;way: write&#10;twitter.json: 216 µs&#10;citm_catalog.json: 367 µs&#10;canada.json: 3,366 µs&#10;jeopardy.json: 73,272 µs">
<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.16</text>
<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.32× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 451 µs&#10;citm_catalog.json: 998 µs&#10;canada.json: 3,031 µs&#10;jeopardy.json: 95,823 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<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.32</text>
<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.26× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 504 µs&#10;citm_catalog.json: 1,176 µs&#10;canada.json: 3,701 µs&#10;jeopardy.json: 104,509 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<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.26</text>
<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.50× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 454 µs&#10;citm_catalog.json: 1,015 µs&#10;canada.json: 3,025 µs&#10;jeopardy.json: 112,621 µ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.50</text>
<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.21× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 642 µs&#10;citm_catalog.json: 1,497 µs&#10;canada.json: 8,153 µs&#10;jeopardy.json: 184,321 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<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.21</text>
<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: 655 µs&#10;citm_catalog.json: 1,474 µs&#10;canada.json: 7,856 µs&#10;jeopardy.json: 169,992 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<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.33× the time of the fastest library (fully validating)&#10;way: Serialize&#10;twitter.json: 228 µs&#10;citm_catalog.json: 474 µs&#10;canada.json: 4,766 µs&#10;jeopardy.json: 66,619 µs">
<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.33</text>
<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">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: 302 µs&#10;citm_catalog.json: 721 µs&#10;canada.json: 3,202 µs&#10;jeopardy.json: 116,859 µs">
<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">2.06</text>
<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="simdjson · sum&#10;1.19× the time of the fastest library (fully validating)&#10;twitter.json: 391 µs · D&#8203;OM&#10;citm_catalog.json: 969 µs · D&#8203;OM&#10;canada.json: 4,121 µs · D&#8203;OM&#10;jeopardy.json: 116,855 µs · On-Demand">
<rect class="nj-heat-1" x="317" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="174" text-anchor="middle">1.19</text>
<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="simdjson · select&#10;1.33× the time of the fastest library (fully validating)&#10;way: D&#8203;OM&#10;twitter.json: 318 µs&#10;citm_catalog.json: 728 µs&#10;canada.json: 3,213 µs&#10;jeopardy.json: 129,986 µ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.33</text>
<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="simdjson · select, checking less&#10;0.56× the time of the fastest fully validating library&#10;way: On-Demand&#10;twitter.json: 182 µs&#10;citm_catalog.json: 494 µs&#10;canada.json: 692 µs&#10;jeopardy.json: 50,660 µs&#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 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 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"/>
<text class="nj-charts-tick" x="546" y="174">n/a</text>
<rect class="nj-heat-na" x="501" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-tick" x="546" y="210">n/a</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · minify&#10;1.55× the time of the fastest library (fully validating)&#10;way: D&#8203;OM + to_string&#10;twitter.json: 706 µs&#10;citm_catalog.json: 1,411 µs&#10;canada.json: 8,125 µs&#10;jeopardy.json: 270,332 µs">
<rect class="nj-heat-2" x="593" y="153" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="174" text-anchor="middle">1.55</text>
<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">
<rect class="nj-heat-2" x="593" y="189" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="210" text-anchor="middle">1.57</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · minify, checking less&#10;0.18× the time of the fastest fully validating library&#10;way: minify&#10;twitter.json: 99.0 µs&#10;citm_catalog.json: 270 µs&#10;canada.json: 329 µs&#10;jeopardy.json: 42,546 µ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"/>
<text class="nj-charts-cell" x="660.5" y="168" text-anchor="middle">0.18</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="181" text-anchor="middle">P</text>
<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">
<rect class="nj-heat-0" x="639" y="189" 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 nj-charts-cell--small" x="660.5" y="217" text-anchor="middle">P</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · write&#10;2.07× the time of the fastest library (fully validating)&#10;way: to_string&#10;twitter.json: 382 µs&#10;citm_catalog.json: 661 µs&#10;canada.json: 4,787 µs&#10;jeopardy.json: 162,220 µs">
<rect class="nj-heat-2" x="685" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="174" text-anchor="middle">2.07</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.90× the time of the fastest library (fully validating)&#10;way: IgnoredAny&#10;twitter.json: 501 µs&#10;citm_catalog.json: 970 µs&#10;canada.json: 2,249 µs&#10;jeopardy.json: 54,369 µs">
<rect class="nj-heat-2" x="225" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="210" text-anchor="middle">1.90</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · sum&#10;1.13× the time of the fastest library (fully validating)&#10;way: visitor&#10;twitter.json: 501 µs&#10;citm_catalog.json: 1,123 µs&#10;canada.json: 4,397 µs&#10;jeopardy.json: 59,583 µs">
<rect class="nj-heat-0" x="317" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="210" text-anchor="middle">1.13</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · select&#10;1.37× the time of the fastest library (fully validating)&#10;way: structs&#10;twitter.json: 504 µs&#10;citm_catalog.json: 1,033 µs&#10;canada.json: 2,328 µs&#10;jeopardy.json: 90,486 µs">
<rect class="nj-heat-1" x="409" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="210" text-anchor="middle">1.37</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · edit&#10;1.90× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 1,197 µs&#10;citm_catalog.json: 2,389 µs&#10;canada.json: 7,744 µs&#10;jeopardy.json: 390,952 µs">
<rect class="nj-heat-2" x="501" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="210" text-anchor="middle">1.90</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · minify&#10;1.75× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 1,000 µs&#10;citm_catalog.json: 2,097 µs&#10;canada.json: 7,795 µs&#10;jeopardy.json: 215,280 µs">
<rect class="nj-heat-2" x="593" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="210" text-anchor="middle">1.75</text>
</g>
<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: 434 µs&#10;citm_catalog.json: 927 µs&#10;canada.json: 3,987 µs&#10;jeopardy.json: 109,176 µs">
<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">
<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.01</text>
<text class="nj-charts-cell" x="730" y="210" text-anchor="middle">2.13</text>
</g>
<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.80× the time of the fastest library (fully validating)&#10;twitter.json: 570 µs · S&#8203;AX (numbers: none)&#10;citm_catalog.json: 903 µs · S&#8203;AX (numbers: none)&#10;canada.json: 1,678 µs · S&#8203;AX (numbers: none)&#10;jeopardy.json: 55,087 µs · S&#8203;AX">
<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">
<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.80</text>
<text class="nj-charts-cell" x="270" y="246" text-anchor="middle">1.82</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · sum&#10;1.17× the time of the fastest library (fully validating)&#10;way: S&#8203;AX&#10;twitter.json: 580 µs&#10;citm_catalog.json: 928 µs&#10;canada.json: 5,715 µs&#10;jeopardy.json: 55,874 µs">
<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">
<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.17</text>
<text class="nj-charts-cell" x="362" y="246" text-anchor="middle">1.20</text>
</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;twitter.json: 760 µs · parse_into structs&#10;citm_catalog.json: 1,388 µs · parse_into structs&#10;canada.json: 7,026 µs · parse&#10;jeopardy.json: 97,008 µs · parse_into structs">
<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">
<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.27</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · edit&#10;2.37× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 1,716 µs&#10;citm_catalog.json: 2,578 µs&#10;canada.json: 13,427 µs&#10;jeopardy.json: 354,510 µs">
<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">
<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.37</text>
<text class="nj-charts-cell" x="546" y="246" text-anchor="middle">2.36</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · minify&#10;2.65× the time of the fastest library (fully validating)&#10;way: parse + serialize&#10;twitter.json: 1,722 µs&#10;citm_catalog.json: 2,573 µs&#10;canada.json: 12,678 µs&#10;jeopardy.json: 330,878 µs">
<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">
<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.65</text>
<text class="nj-charts-cell" x="638" y="246" text-anchor="middle">2.66</text>
</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: 478 µs&#10;citm_catalog.json: 913 µs&#10;canada.json: 5,610 µs&#10;jeopardy.json: 141,994 µs">
<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">
<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>
</g>
<text class="nj-charts-rowlabel nj-charts-name-json" x="216" y="282" text-anchor="end">nlohmann/json json</text>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · validate&#10;1.43× the time of the fastest library (fully validating)&#10;way: accept&#10;twitter.json: 335 µs&#10;citm_catalog.json: 711 µs&#10;canada.json: 2,018 µs&#10;jeopardy.json: 39,513 µs">
<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">
<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.43</text>
<text class="nj-charts-cell" x="270" y="282" text-anchor="middle">1.44</text>
</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: 431 µs&#10;citm_catalog.json: 914 µs&#10;canada.json: 3,824 µs&#10;jeopardy.json: 60,439 µs">
<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">
<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>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · select&#10;6.54× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 3,181 µs&#10;citm_catalog.json: 4,583 µs&#10;canada.json: 9,599 µs&#10;jeopardy.json: 405,734 µs">
<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)">
<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.54</text>
<text class="nj-charts-cell" x="454" y="282" text-anchor="middle">6.77</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · edit&#10;3.53× the time of the fastest library (fully validating)&#10;twitter.json: 2,452 µs · ordered_json&#10;citm_catalog.json: 4,402 µs · ordered_json&#10;canada.json: 14,765 µs · parse&#10;jeopardy.json: 646,489 µs · ordered_json">
<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">
<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.53</text>
<text class="nj-charts-cell" x="546" y="282" text-anchor="middle">3.45</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · minify&#10;4.31× the time of the fastest library (fully validating)&#10;way: parse + dump&#10;twitter.json: 3,525 µs&#10;citm_catalog.json: 5,178 µs&#10;canada.json: 14,024 µs&#10;jeopardy.json: 506,705 µs">
<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">
<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.31</text>
<text class="nj-charts-cell" x="638" y="282" text-anchor="middle">4.38</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · write&#10;1.88× the time of the fastest library (fully validating)&#10;way: dump&#10;twitter.json: 438 µs&#10;citm_catalog.json: 599 µs&#10;canada.json: 4,458 µs&#10;jeopardy.json: 116,318 µs">
<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">
<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.88</text>
<text class="nj-charts-cell" x="730" y="282" text-anchor="middle">1.87</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="318" text-anchor="end">simd-json (Rust)</text>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · validate&#10;3.57× the time of the fastest library (fully validating)&#10;way: tape (copy)&#10;twitter.json: 567 µs&#10;citm_catalog.json: 1,430 µs&#10;canada.json: 4,359 µs&#10;jeopardy.json: 207,551 µ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.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">
<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.57</text>
<text class="nj-charts-cell" x="270" y="318" text-anchor="middle">3.51</text>
</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: 681 µs&#10;citm_catalog.json: 1,650 µs&#10;canada.json: 5,083 µs&#10;jeopardy.json: 210,185 µ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;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">
<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">1.90</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · select&#10;2.61× the time of the fastest library (fully validating)&#10;way: structs (copy)&#10;twitter.json: 679 µs&#10;citm_catalog.json: 1,731 µs&#10;canada.json: 5,144 µs&#10;jeopardy.json: 239,164 µ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.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">
<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.61</text>
<text class="nj-charts-cell" x="454" y="318" text-anchor="middle">2.68</text>
</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,862 µs · borrowed (copy)&#10;citm_catalog.json: 4,194 µs · borrowed (copy)&#10;canada.json: 14,896 µs · owned (copy)&#10;jeopardy.json: 391,369 µ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;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">
<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">2.93</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · minify&#10;3.43× the time of the fastest library (fully validating)&#10;way: borrowed (copy)&#10;twitter.json: 1,889 µs&#10;citm_catalog.json: 4,196 µs&#10;canada.json: 15,716 µs&#10;jeopardy.json: 414,377 µ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.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">
<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.43</text>
<text class="nj-charts-cell" x="638" y="318" text-anchor="middle">3.30</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · write&#10;2.28× the time of the fastest library (fully validating)&#10;way: borrowed&#10;twitter.json: 582 µs&#10;citm_catalog.json: 800 µs&#10;canada.json: 5,147 µs&#10;jeopardy.json: 122,623 µs">
<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">
<rect class="nj-heat-2" x="685" y="297" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="318" text-anchor="middle">2.28</text>
<text class="nj-charts-cell" x="730" y="318" text-anchor="middle">2.18</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="354" text-anchor="end">serde_json (Rust)</text>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · validate&#10;2.36× the time of the fastest library (fully validating)&#10;way: from_utf8 + IgnoredAny&#10;twitter.json: 624 µs&#10;citm_catalog.json: 1,440 µs&#10;canada.json: 2,406 µs&#10;jeopardy.json: 64,720 µs">
<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">
<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.36</text>
<text class="nj-charts-cell" x="247.5" y="354" text-anchor="middle">2.32</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · validate, checking less&#10;2.11× the time of the fastest fully validating library&#10;way: IgnoredAny&#10;twitter.json: 484 µs&#10;citm_catalog.json: 1,370 µs&#10;canada.json: 2,314 µs&#10;jeopardy.json: 58,247 µ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;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">
<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.11</text>
<text class="nj-charts-cell" x="292.5" y="348" text-anchor="middle">2.08</text>
<text class="nj-charts-cell nj-charts-cell--small" x="292.5" y="361" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · sum&#10;2.35× the time of the fastest library (fully validating)&#10;way: visitor&#10;twitter.json: 1,311 µs&#10;citm_catalog.json: 2,288 µs&#10;canada.json: 7,127 µs&#10;jeopardy.json: 129,497 µs">
<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">
<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.35</text>
<text class="nj-charts-cell" x="362" y="354" text-anchor="middle">2.30</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · select&#10;1.75× the time of the fastest library (fully validating)&#10;way: from_utf8 + structs&#10;twitter.json: 701 µs&#10;citm_catalog.json: 1,532 µs&#10;canada.json: 2,529 µs&#10;jeopardy.json: 107,316 µs">
<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">
<rect class="nj-heat-2" x="409" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="354" text-anchor="middle">1.75</text>
<text class="nj-charts-cell" x="454" y="354" text-anchor="middle">1.80</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · edit&#10;4.53× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 4,042 µs&#10;citm_catalog.json: 6,586 µs&#10;canada.json: 16,631 µs&#10;jeopardy.json: 632,766 µs">
<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">
<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.53</text>
<text class="nj-charts-cell" x="546" y="354" text-anchor="middle">4.73</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · minify&#10;4.99× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 4,012 µs&#10;citm_catalog.json: 6,583 µs&#10;canada.json: 17,306 µs&#10;jeopardy.json: 509,702 µs">
<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">
<rect class="nj-heat-3" x="593" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="354" text-anchor="middle">4.99</text>
<text class="nj-charts-cell" x="638" y="354" text-anchor="middle">4.88</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · write&#10;2.22× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 550 µs&#10;citm_catalog.json: 887 µs&#10;canada.json: 4,005 µs&#10;jeopardy.json: 134,163 µs">
<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">
<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.22</text>
<text class="nj-charts-cell" x="730" y="354" text-anchor="middle">2.13</text>
</g>
<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.24× the time of the fastest library (fully validating)&#10;way: validate_json&#10;twitter.json: 594 µs&#10;citm_catalog.json: 1,230 µs&#10;canada.json: 2,139 µs&#10;jeopardy.json: 73,235 µs">
<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">
<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.24</text>
<text class="nj-charts-cell" x="270" y="390" text-anchor="middle">2.28</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · sum&#10;4.24× the time of the fastest library (fully validating)&#10;way: generic (double, strict)&#10;twitter.json: 2,374 µs&#10;citm_catalog.json: 3,982 µs&#10;canada.json: 11,930 µs&#10;jeopardy.json: 261,204 µs">
<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">
<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.24</text>
<text class="nj-charts-cell" x="339.5" y="390" text-anchor="middle">4.33</text>
</g>
<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: 2,374 µs · generic (double, strict) (validates fully)&#10;citm_catalog.json: 3,982 µs · generic (double, strict) (validates fully)&#10;canada.json: 11,921 µs · generic (double)&#10;jeopardy.json: 198,036 µ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;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">
<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">3.96</text>
<text class="nj-charts-cell" x="384.5" y="384" text-anchor="middle">4.04</text>
<text class="nj-charts-cell nj-charts-cell--small" x="384.5" y="397" text-anchor="middle">P</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · select&#10;1.39× the time of the fastest library (fully validating)&#10;way: structs (validate_skipped)&#10;twitter.json: 542 µs&#10;citm_catalog.json: 1,369 µs&#10;canada.json: 1,846 µs&#10;jeopardy.json: 83,907 µs">
<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">
<rect class="nj-heat-1" x="409" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="431.5" y="390" text-anchor="middle">1.39</text>
<text class="nj-charts-cell" x="431.5" y="390" text-anchor="middle">1.43</text>
</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: 337 µs&#10;citm_catalog.json: 416 µs&#10;canada.json: 447 µs&#10;jeopardy.json: 68,455 µ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.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)">
<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 nj-charts-cell--small" x="476.5" y="397" text-anchor="middle">P</text>
</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: 3,896 µs&#10;citm_catalog.json: 7,671 µs&#10;canada.json: 28,104 µs&#10;jeopardy.json: 723,675 µs">
<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">
<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>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · minify&#10;5.78× the time of the fastest library (fully validating)&#10;way: generic (strict)&#10;twitter.json: 3,801 µs&#10;citm_catalog.json: 7,482 µs&#10;canada.json: 26,932 µs&#10;jeopardy.json: 544,342 µs">
<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">
<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.78</text>
<text class="nj-charts-cell" x="615.5" y="390" text-anchor="middle">5.87</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · minify, checking less&#10;0.69× the time of the fastest fully validating library&#10;way: minify_json&#10;twitter.json: 422 µs&#10;citm_catalog.json: 1,051 µs&#10;canada.json: 2,140 µs&#10;jeopardy.json: 87,842 µ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.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">
<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.69</text>
<text class="nj-charts-cell" x="660.5" y="384" text-anchor="middle">0.70</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.95× the time of the fastest library (fully validating)&#10;twitter.json: 396 µs · generic&#10;citm_catalog.json: 725 µs · generic (strict)&#10;canada.json: 4,107 µs · generic (strict)&#10;jeopardy.json: 132,573 µs · generic">
<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">
<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.95</text>
<text class="nj-charts-cell" x="730" y="390" text-anchor="middle">1.94</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="426" text-anchor="end">RapidJSON</text>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · validate&#10;5.18× the time of the fastest library (fully validating)&#10;twitter.json: 1,798 µs · insitu (copy)&#10;citm_catalog.json: 1,944 µs · S&#8203;AX (default precision)&#10;canada.json: 4,019 µs · S&#8203;AX (string stream, default precision)&#10;jeopardy.json: 232,684 µ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;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">
<rect class="nj-heat-4" x="225" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="247.5" y="426" text-anchor="middle">5.18</text>
<text class="nj-charts-cell" x="247.5" y="426" text-anchor="middle">5.26</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · validate, checking less&#10;3.77× the time of the fastest fully validating library&#10;twitter.json: 1,173 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,504 µs · S&#8203;AX (default precision) (no encoding check)&#10;canada.json: 4,019 µs · S&#8203;AX (string stream, default precision) (validates fully)&#10;jeopardy.json: 128,516 µ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.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">
<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.77</text>
<text class="nj-charts-cell" x="292.5" y="420" text-anchor="middle">3.82</text>
<text class="nj-charts-cell nj-charts-cell--small" x="292.5" y="433" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · sum&#10;3.25× the time of the fastest library (fully validating)&#10;twitter.json: 1,846 µs · insitu (copy)&#10;citm_catalog.json: 2,176 µs · S&#8203;AX&#10;canada.json: 10,561 µs · S&#8203;AX (string stream)&#10;jeopardy.json: 239,499 µ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.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">
<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.25</text>
<text class="nj-charts-cell" x="339.5" y="426" text-anchor="middle">3.33</text>
</g>
<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: 1,229 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,761 µs · S&#8203;AX (no encoding check)&#10;canada.json: 10,561 µs · S&#8203;AX (string stream) (validates fully)&#10;jeopardy.json: 131,510 µ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: 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">
<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.40</text>
<text class="nj-charts-cell" x="384.5" y="420" text-anchor="middle">2.44</text>
<text class="nj-charts-cell nj-charts-cell--small" x="384.5" y="433" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · select&#10;4.45× the time of the fastest library (fully validating)&#10;way: insitu (copy)&#10;twitter.json: 1,806 µs&#10;citm_catalog.json: 2,303 µs&#10;canada.json: 11,395 µs&#10;jeopardy.json: 257,762 µ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.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">
<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.45</text>
<text class="nj-charts-cell" x="431.5" y="426" text-anchor="middle">4.65</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · select, checking less&#10;3.45× the time of the fastest fully validating library&#10;twitter.json: 1,184 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,929 µs · insitu (copy) (no encoding check)&#10;canada.json: 11,261 µs · Document (string stream) (no encoding check)&#10;jeopardy.json: 171,716 µ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.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">
<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.45</text>
<text class="nj-charts-cell" x="476.5" y="420" text-anchor="middle">3.59</text>
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="433" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · edit&#10;3.16× the time of the fastest library (fully validating)&#10;way: insitu (copy)&#10;twitter.json: 2,478 µs&#10;citm_catalog.json: 3,261 µs&#10;canada.json: 21,686 µs&#10;jeopardy.json: 378,727 µ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.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">
<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.16</text>
<text class="nj-charts-cell" x="523.5" y="426" text-anchor="middle">3.15</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · edit, checking less&#10;2.68× the time of the fastest fully validating library&#10;twitter.json: 1,842 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 2,887 µs · insitu (copy) (no encoding check)&#10;canada.json: 21,686 µs · insitu (copy) (validates fully)&#10;jeopardy.json: 294,727 µ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.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">
<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.68</text>
<text class="nj-charts-cell" x="568.5" y="420" text-anchor="middle">2.66</text>
<text class="nj-charts-cell nj-charts-cell--small" x="568.5" y="433" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · minify&#10;3.43× the time of the fastest library (fully validating)&#10;twitter.json: 2,456 µs · S&#8203;AX to Writer&#10;citm_catalog.json: 2,864 µs · S&#8203;AX to Writer&#10;canada.json: 21,753 µs · Document + Writer&#10;jeopardy.json: 338,985 µs · S&#8203;AX to Writer (string stream)">
<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)">
<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.43</text>
<text class="nj-charts-cell" x="615.5" y="426" text-anchor="middle">3.49</text>
</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,794 µs · S&#8203;AX to Writer (no encoding check)&#10;citm_catalog.json: 2,444 µs · S&#8203;AX to Writer (no encoding check)&#10;canada.json: 14,707 µs · S&#8203;AX to Writer (raw numbers) (no encoding check)&#10;jeopardy.json: 252,656 µ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.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)">
<rect class="nj-heat-3" x="639" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="420" text-anchor="middle">2.57</text>
<text class="nj-charts-cell" x="660.5" y="420" text-anchor="middle">2.62</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="433" text-anchor="middle">U N</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · write&#10;2.86× the time of the fastest library (fully validating)&#10;way: Writer&#10;twitter.json: 633 µs&#10;citm_catalog.json: 960 µs&#10;canada.json: 9,388 µs&#10;jeopardy.json: 127,319 µs">
<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">
<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.86</text>
<text class="nj-charts-cell" x="730" y="426" text-anchor="middle">2.90</text>
</g>
<text class="nj-charts-tick nj-charts-tick--l" x="8" y="472">time relative to the fastest fully validating library, less is better</text>
<g><rect class="nj-heat-0" x="8" y="482" width="76" height="20" rx="3"/>

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 47 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">
<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.78 doing less, N); nlohmann/json json_document minify: 1.00 (0.78 doing less, N); nlohmann/json json_document write: 1.00 (0.64 doing less, N); yyjson validate: 2.23; yyjson sum: 1.31; yyjson select: 1.37; yyjson edit: 1.43; yyjson minify: 1.24 (0.99 doing less, N); yyjson write: 1.08; sonic-cpp validate: no fully validating way (2.32 doing less, U); sonic-cpp sum: no fully validating way (1.26 doing less, U); sonic-cpp select: no fully validating way (1.43 doing less, U); sonic-cpp edit: no fully validating way (1.18 doing less, U); sonic-cpp minify: no fully validating way (1.33 doing less, U); sonic-cpp write: 1.49; simdjson validate: 2.08; simdjson sum: 1.00; simdjson select: 1.29 (0.55 doing less, P); simdjson edit: n/a; simdjson minify: 1.49 (0.17 doing less, P); simdjson write: 2.09; sonic-rs (Rust) validate: 1.98; sonic-rs (Rust) sum: 1.14; sonic-rs (Rust) select: 1.36; sonic-rs (Rust) edit: 1.87; sonic-rs (Rust) minify: 1.68; sonic-rs (Rust) write: 2.05; Boost.J&#8203;SON validate: 1.98; Boost.J&#8203;SON sum: 1.29; Boost.J&#8203;SON select: 2.21; Boost.J&#8203;SON edit: 2.33; Boost.J&#8203;SON minify: 2.54; Boost.J&#8203;SON write: 2.33; nlohmann/json json validate: 1.69; nlohmann/json json sum: 1.17; nlohmann/json json select: 6.20; nlohmann/json json edit: 3.42; nlohmann/json json minify: 4.07; nlohmann/json json write: 1.84; simd-json (Rust) validate: 3.71; simd-json (Rust) sum: 1.93; simd-json (Rust) select: 2.59; simd-json (Rust) edit: 2.83; simd-json (Rust) minify: 3.30; simd-json (Rust) write: 2.34; serde_json (Rust) validate: 2.46 (2.19 doing less, U); serde_json (Rust) sum: 2.38; serde_json (Rust) select: 1.74; serde_json (Rust) edit: 4.45; serde_json (Rust) minify: 4.80; serde_json (Rust) write: 2.27; RapidJSON validate: 3.86 (3.48 doing less, U); RapidJSON sum: 2.35 (2.15 doing less, U); RapidJSON select: 3.17 (3.02 doing less, U); RapidJSON edit: 2.49 (2.40 doing less, U); RapidJSON minify: 2.58 (2.36 doing less, U N); RapidJSON write: 2.94; Glaze validate: 2.87; Glaze sum: 4.05; Glaze select: 1.71 (0.59 doing less, P); Glaze edit: 4.48; Glaze minify: 4.56 (0.75 doing less, P); Glaze write: 1.96.</desc>
<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>
<text class="nj-charts-tick" x="270" y="34">validate</text>
<text class="nj-charts-tick" x="362" y="34">sum</text>
<text class="nj-charts-tick" x="454" y="34">select</text>
@@ -8,119 +8,119 @@
<text class="nj-charts-tick" x="638" y="34">minify</text>
<text class="nj-charts-tick" x="730" y="34">write</text>
<text class="nj-charts-rowlabel nj-charts-name-json" x="216" y="66" text-anchor="end">nlohmann/json json_document</text>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · validate&#10;1.00× the time of the fastest library (fully validating)&#10;way: accept&#10;twitter.json: 254 µs&#10;citm_catalog.json: 515 µs&#10;canada.json: 892 µs&#10;jeopardy.json: 33,006 µ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: 256 µs&#10;citm_catalog.json: 521 µs&#10;canada.json: 928 µs&#10;jeopardy.json: 36,964 µs">
<rect class="nj-heat-0" x="225" y="45" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · sum&#10;1.10× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 384 µs&#10;citm_catalog.json: 1,066 µs&#10;canada.json: 3,526 µs&#10;jeopardy.json: 88,527 µs">
<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">
<rect class="nj-heat-0" x="317" y="45" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="66" text-anchor="middle">1.10</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · select&#10;1.00× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 325 µs&#10;citm_catalog.json: 863 µs&#10;canada.json: 1,302 µs&#10;jeopardy.json: 87,940 µ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: 328 µs&#10;citm_catalog.json: 860 µs&#10;canada.json: 1,305 µs&#10;jeopardy.json: 90,569 µs">
<rect class="nj-heat-0" x="409" y="45" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · edit&#10;1.00× the time of the fastest library (fully validating)&#10;way: editable&#10;twitter.json: 538 µs&#10;citm_catalog.json: 1,214 µs&#10;canada.json: 5,640 µs&#10;jeopardy.json: 193,024 µ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: 533 µs&#10;citm_catalog.json: 1,238 µs&#10;canada.json: 5,830 µs&#10;jeopardy.json: 199,767 µs">
<rect class="nj-heat-0" x="501" y="45" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="523.5" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · edit, checking less&#10;0.78× the time of the fastest fully validating library&#10;twitter.json: 533 µs · editable (source numbers) (validates fully)&#10;citm_catalog.json: 1,214 µs · editable (validates fully)&#10;canada.json: 2,140 µs · editable (source numbers) (validates fully)&#10;jeopardy.json: 193,024 µ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.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)">
<rect class="nj-heat-0" x="547" y="45" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="568.5" y="60" text-anchor="middle">0.78</text>
<text class="nj-charts-cell" x="568.5" y="60" text-anchor="middle">0.79</text>
<text class="nj-charts-cell nj-charts-cell--small" x="568.5" y="73" text-anchor="middle">N</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · minify&#10;1.00× the time of the fastest library (fully validating)&#10;way: parse + dump&#10;twitter.json: 478 µs&#10;citm_catalog.json: 1,152 µs&#10;canada.json: 5,209 µs&#10;jeopardy.json: 152,631 µ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: 486 µs&#10;citm_catalog.json: 1,142 µs&#10;canada.json: 5,420 µs&#10;jeopardy.json: 148,094 µs">
<rect class="nj-heat-0" x="593" y="45" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · minify, checking less&#10;0.78× the time of the fastest fully validating library&#10;way: parse + dump (source numbers)&#10;twitter.json: 467 µs (validates fully)&#10;citm_catalog.json: 1,118 µs (validates fully)&#10;canada.json: 2,150 µs (validates fully)&#10;jeopardy.json: 145,664 µ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 · 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)">
<rect class="nj-heat-0" x="639" y="45" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="60" text-anchor="middle">0.78</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="73" text-anchor="middle">N</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · write&#10;1.00× the time of the fastest library (fully validating)&#10;way: dump&#10;twitter.json: 154 µs&#10;citm_catalog.json: 251 µs&#10;canada.json: 3,946 µs&#10;jeopardy.json: 64,776 µ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: 156 µs&#10;citm_catalog.json: 252 µs&#10;canada.json: 3,972 µs&#10;jeopardy.json: 73,004 µs">
<rect class="nj-heat-0" x="685" y="45" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="707.5" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · write, checking less&#10;0.64× the time of the fastest fully validating library&#10;way: dump (source numbers)&#10;twitter.json: 139 µs (validates fully)&#10;citm_catalog.json: 229 µs (validates fully)&#10;canada.json: 831 µs (validates fully)&#10;jeopardy.json: 62,866 µ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.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)">
<rect class="nj-heat-0" x="731" y="45" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="752.5" y="60" text-anchor="middle">0.64</text>
<text class="nj-charts-cell" x="752.5" y="60" text-anchor="middle">0.63</text>
<text class="nj-charts-cell nj-charts-cell--small" x="752.5" y="73" text-anchor="middle">N</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="102" text-anchor="end">yyjson</text>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · validate&#10;2.23× the time of the fastest library (fully validating)&#10;twitter.json: 393 µs · read&#10;citm_catalog.json: 930 µs · read (raw numbers)&#10;canada.json: 2,140 µs · read (raw numbers)&#10;jeopardy.json: 122,230 µ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="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">
<rect class="nj-heat-2" x="225" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="102" text-anchor="middle">2.23</text>
<text class="nj-charts-cell" x="270" y="102" text-anchor="middle">2.19</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · sum&#10;1.31× the time of the fastest library (fully validating)&#10;way: read&#10;twitter.json: 445 µs&#10;citm_catalog.json: 1,093 µs&#10;canada.json: 3,948 µs&#10;jeopardy.json: 133,860 µs">
<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">
<rect class="nj-heat-1" x="317" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="102" text-anchor="middle">1.31</text>
<text class="nj-charts-cell" x="362" y="102" text-anchor="middle">1.35</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · select&#10;1.37× the time of the fastest library (fully validating)&#10;twitter.json: 402 µs · read (raw numbers)&#10;citm_catalog.json: 954 µs · read&#10;canada.json: 2,127 µs · read (raw numbers)&#10;jeopardy.json: 140,491 µs · read">
<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">
<rect class="nj-heat-1" x="409" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="102" text-anchor="middle">1.37</text>
<text class="nj-charts-cell" x="454" y="102" text-anchor="middle">1.38</text>
</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: 786 µs · mut copy&#10;citm_catalog.json: 1,642 µs · insitu (copy) + mut copy&#10;canada.json: 7,599 µs · insitu (copy) + mut copy&#10;jeopardy.json: 303,303 µ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="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">
<rect class="nj-heat-1" x="501" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="102" text-anchor="middle">1.43</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · minify&#10;1.24× the time of the fastest library (fully validating)&#10;twitter.json: 610 µs · read + write&#10;citm_catalog.json: 1,277 µs · read + write&#10;canada.json: 6,630 µs · read + write&#10;jeopardy.json: 199,086 µs · insitu (copy) + write&#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="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: 609 µs · read (raw numbers) + write (validates fully)&#10;citm_catalog.json: 1,221 µs · read (raw numbers) + write (validates fully)&#10;canada.json: 2,860 µs · read (raw numbers) + write (validates fully)&#10;jeopardy.json: 199,086 µ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">
<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: 185 µs&#10;citm_catalog.json: 318 µs&#10;canada.json: 3,330 µs&#10;jeopardy.json: 67,531 µs">
<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.32× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 404 µs&#10;citm_catalog.json: 923 µs&#10;canada.json: 3,216 µs&#10;jeopardy.json: 93,142 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<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.32</text>
<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.26× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 458 µs&#10;citm_catalog.json: 1,120 µs&#10;canada.json: 3,887 µs&#10;jeopardy.json: 107,494 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<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.26</text>
<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.43× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 408 µs&#10;citm_catalog.json: 942 µs&#10;canada.json: 3,166 µs&#10;jeopardy.json: 110,763 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<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.43</text>
<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.18× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 620 µs&#10;citm_catalog.json: 1,426 µs&#10;canada.json: 8,466 µs&#10;jeopardy.json: 181,035 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<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.18</text>
<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,498 µs&#10;canada.json: 8,354 µs&#10;jeopardy.json: 173,180 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<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.49× the time of the fastest library (fully validating)&#10;way: Serialize&#10;twitter.json: 258 µs&#10;citm_catalog.json: 508 µs&#10;canada.json: 5,077 µs&#10;jeopardy.json: 72,262 µs">
<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.49</text>
<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.08× the time of the fastest library (fully validating)&#10;way: D&#8203;OM&#10;twitter.json: 297 µs&#10;citm_catalog.json: 687 µs&#10;canada.json: 3,165 µs&#10;jeopardy.json: 111,631 µs">
<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.08</text>
<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: 344 µs&#10;citm_catalog.json: 809 µs&#10;canada.json: 3,405 µs&#10;jeopardy.json: 90,960 µ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: 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.29× the time of the fastest library (fully validating)&#10;way: D&#8203;OM&#10;twitter.json: 311 µs&#10;citm_catalog.json: 698 µs&#10;canada.json: 3,141 µs&#10;jeopardy.json: 130,228 µs">
<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.29</text>
<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: 178 µs · On-Demand&#10;citm_catalog.json: 494 µs · On-Demand (key selectors)&#10;canada.json: 674 µs · On-Demand&#10;jeopardy.json: 48,492 µs · On-Demand&#10;reads lazily: On-Demand reads only what you ask for and steps over the rest by matching brackets">
<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>
@@ -129,231 +129,231 @@
<rect class="nj-heat-na" x="501" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-tick" x="546" y="174">n/a</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · minify&#10;1.49× the time of the fastest library (fully validating)&#10;way: D&#8203;OM + to_string&#10;twitter.json: 666 µs&#10;citm_catalog.json: 1,354 µs&#10;canada.json: 8,606 µs&#10;jeopardy.json: 280,739 µs">
<rect class="nj-heat-1" x="593" y="153" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="174" text-anchor="middle">1.49</text>
<g 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">
<rect class="nj-heat-2" x="593" y="153" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="174" text-anchor="middle">1.52</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · minify, checking less&#10;0.17× the time of the fastest fully validating library&#10;way: minify&#10;twitter.json: 93.3 µs&#10;citm_catalog.json: 279 µs&#10;canada.json: 314 µs&#10;jeopardy.json: 46,006 µ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.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">
<rect class="nj-heat-0" x="639" y="153" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="168" text-anchor="middle">0.17</text>
<text class="nj-charts-cell" x="660.5" y="168" text-anchor="middle">0.18</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="181" text-anchor="middle">P</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · write&#10;2.09× the time of the fastest library (fully validating)&#10;way: to_string&#10;twitter.json: 346 µs&#10;citm_catalog.json: 610 µs&#10;canada.json: 5,580 µs&#10;jeopardy.json: 158,670 µs">
<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">
<rect class="nj-heat-2" x="685" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="174" text-anchor="middle">2.09</text>
<text class="nj-charts-cell" x="730" y="174" text-anchor="middle">2.06</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.98× the time of the fastest library (fully validating)&#10;way: IgnoredAny&#10;twitter.json: 501 µs&#10;citm_catalog.json: 970 µs&#10;canada.json: 2,249 µs&#10;jeopardy.json: 54,369 µs">
<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">
<rect class="nj-heat-2" x="225" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="210" text-anchor="middle">1.98</text>
<text class="nj-charts-cell" x="270" y="210" text-anchor="middle">1.88</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · sum&#10;1.14× the time of the fastest library (fully validating)&#10;way: visitor&#10;twitter.json: 501 µs&#10;citm_catalog.json: 1,123 µs&#10;canada.json: 4,397 µs&#10;jeopardy.json: 59,583 µs">
<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="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="210" text-anchor="middle">1.14</text>
<text class="nj-charts-cell" x="362" y="210" text-anchor="middle">1.10</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · select&#10;1.36× the time of the fastest library (fully validating)&#10;way: structs&#10;twitter.json: 504 µs&#10;citm_catalog.json: 1,033 µs&#10;canada.json: 2,328 µs&#10;jeopardy.json: 90,486 µs">
<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">
<rect class="nj-heat-1" x="409" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="210" text-anchor="middle">1.36</text>
<text class="nj-charts-cell" x="454" y="210" text-anchor="middle">1.35</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · edit&#10;1.87× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 1,197 µs&#10;citm_catalog.json: 2,389 µs&#10;canada.json: 7,744 µs&#10;jeopardy.json: 390,952 µs">
<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">
<rect class="nj-heat-2" x="501" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="210" text-anchor="middle">1.87</text>
<text class="nj-charts-cell" x="546" y="210" text-anchor="middle">1.92</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · minify&#10;1.68× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 1,000 µs&#10;citm_catalog.json: 2,097 µs&#10;canada.json: 7,795 µs&#10;jeopardy.json: 215,280 µs">
<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">
<rect class="nj-heat-2" x="593" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="210" text-anchor="middle">1.68</text>
<text class="nj-charts-cell" x="638" y="210" text-anchor="middle">1.70</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · write&#10;2.05× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 434 µs&#10;citm_catalog.json: 927 µs&#10;canada.json: 3,987 µs&#10;jeopardy.json: 109,176 µs">
<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">
<rect class="nj-heat-2" x="685" y="189" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="210" text-anchor="middle">2.05</text>
<text class="nj-charts-cell" x="730" y="210" text-anchor="middle">1.93</text>
</g>
<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.98× the time of the fastest library (fully validating)&#10;way: S&#8203;AX (numbers: none)&#10;twitter.json: 683 µs&#10;citm_catalog.json: 913 µs&#10;canada.json: 1,642 µs&#10;jeopardy.json: 57,932 µs">
<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">
<rect class="nj-heat-2" x="225" y="225" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="246" text-anchor="middle">1.98</text>
<text class="nj-charts-cell" x="270" y="246" text-anchor="middle">1.91</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · sum&#10;1.29× the time of the fastest library (fully validating)&#10;way: S&#8203;AX&#10;twitter.json: 690 µs&#10;citm_catalog.json: 956 µs&#10;canada.json: 5,762 µs&#10;jeopardy.json: 62,051 µs">
<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">
<rect class="nj-heat-1" x="317" y="225" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="246" text-anchor="middle">1.29</text>
<text class="nj-charts-cell" x="362" y="246" text-anchor="middle">1.27</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · select&#10;2.21× the time of the fastest library (fully validating)&#10;twitter.json: 883 µs · parse_into structs&#10;citm_catalog.json: 1,286 µs · parse_into structs&#10;canada.json: 6,690 µs · parse&#10;jeopardy.json: 101,286 µs · parse_into structs">
<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">
<rect class="nj-heat-2" x="409" y="225" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="246" text-anchor="middle">2.21</text>
<text class="nj-charts-cell" x="454" y="246" text-anchor="middle">2.18</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · edit&#10;2.33× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 1,859 µs&#10;citm_catalog.json: 2,513 µs&#10;canada.json: 12,765 µs&#10;jeopardy.json: 348,703 µ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: 1,771 µs&#10;citm_catalog.json: 2,584 µs&#10;canada.json: 13,346 µs&#10;jeopardy.json: 356,511 µs">
<rect class="nj-heat-2" x="501" y="225" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="246" text-anchor="middle">2.33</text>
<text class="nj-charts-cell" x="546" y="246" text-anchor="middle">2.31</text>
</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,783 µs&#10;citm_catalog.json: 2,498 µs&#10;canada.json: 12,367 µs&#10;jeopardy.json: 329,300 µs">
<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">
<rect class="nj-heat-3" x="593" y="225" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="246" text-anchor="middle">2.54</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · write&#10;2.33× the time of the fastest library (fully validating)&#10;way: serialize&#10;twitter.json: 451 µs&#10;citm_catalog.json: 832 µs&#10;canada.json: 5,570 µs&#10;jeopardy.json: 138,780 µs">
<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">
<rect class="nj-heat-2" x="685" y="225" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="246" text-anchor="middle">2.33</text>
</g>
<text class="nj-charts-rowlabel nj-charts-name-json" x="216" y="282" text-anchor="end">nlohmann/json json</text>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · validate&#10;1.69× the time of the fastest library (fully validating)&#10;way: accept&#10;twitter.json: 370 µs&#10;citm_catalog.json: 883 µs&#10;canada.json: 2,441 µs&#10;jeopardy.json: 39,142 µs">
<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">
<rect class="nj-heat-2" x="225" y="261" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="282" text-anchor="middle">1.69</text>
<text class="nj-charts-cell" x="270" y="282" text-anchor="middle">1.66</text>
</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: 533 µs&#10;citm_catalog.json: 1,113 µs&#10;canada.json: 4,134 µs&#10;jeopardy.json: 66,403 µs">
<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">
<rect class="nj-heat-1" x="317" y="261" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="282" text-anchor="middle">1.17</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · select&#10;6.20× the time of the fastest library (fully validating)&#10;twitter.json: 2,984 µs · parse&#10;citm_catalog.json: 4,548 µs · parse&#10;canada.json: 9,124 µs · structs (from_json)&#10;jeopardy.json: 383,108 µs · parse">
<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)">
<rect class="nj-heat-4" x="409" y="261" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="282" text-anchor="middle">6.20</text>
<text class="nj-charts-cell" x="454" y="282" text-anchor="middle">6.34</text>
</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,535 µs · ordered_json&#10;citm_catalog.json: 4,484 µs · ordered_json&#10;canada.json: 13,526 µs · parse&#10;jeopardy.json: 635,912 µs · ordered_json">
<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">
<rect class="nj-heat-3" x="501" y="261" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="282" text-anchor="middle">3.42</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · minify&#10;4.07× the time of the fastest library (fully validating)&#10;way: parse + dump&#10;twitter.json: 3,369 µs&#10;citm_catalog.json: 5,399 µs&#10;canada.json: 13,402 µs&#10;jeopardy.json: 493,302 µs">
<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">
<rect class="nj-heat-3" x="593" y="261" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="282" text-anchor="middle">4.07</text>
<text class="nj-charts-cell" x="638" y="282" text-anchor="middle">4.13</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · write&#10;1.84× the time of the fastest library (fully validating)&#10;way: dump&#10;twitter.json: 413 µs&#10;citm_catalog.json: 611 µs&#10;canada.json: 3,905 µs&#10;jeopardy.json: 113,990 µs">
<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">
<rect class="nj-heat-2" x="685" y="261" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="282" text-anchor="middle">1.84</text>
<text class="nj-charts-cell" x="730" y="282" text-anchor="middle">1.81</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="318" text-anchor="end">simd-json (Rust)</text>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · validate&#10;3.71× the time of the fastest library (fully validating)&#10;way: tape (copy)&#10;twitter.json: 567 µs&#10;citm_catalog.json: 1,430 µs&#10;canada.json: 4,359 µs&#10;jeopardy.json: 207,551 µ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.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">
<rect class="nj-heat-3" x="225" y="297" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="318" text-anchor="middle">3.71</text>
<text class="nj-charts-cell" x="270" y="318" text-anchor="middle">3.55</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · sum&#10;1.93× the time of the fastest library (fully validating)&#10;way: visitor (copy)&#10;twitter.json: 681 µs&#10;citm_catalog.json: 1,650 µs&#10;canada.json: 5,083 µs&#10;jeopardy.json: 210,185 µ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;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">
<rect class="nj-heat-2" x="317" y="297" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="318" text-anchor="middle">1.93</text>
<text class="nj-charts-cell" x="362" y="318" text-anchor="middle">1.91</text>
</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: 679 µs&#10;citm_catalog.json: 1,731 µs&#10;canada.json: 5,144 µs&#10;jeopardy.json: 239,164 µ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.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">
<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.63</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · edit&#10;2.83× the time of the fastest library (fully validating)&#10;twitter.json: 1,862 µs · borrowed (copy)&#10;citm_catalog.json: 4,194 µs · borrowed (copy)&#10;canada.json: 14,896 µs · owned (copy)&#10;jeopardy.json: 391,369 µ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;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">
<rect class="nj-heat-3" x="501" y="297" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="318" text-anchor="middle">2.83</text>
<text class="nj-charts-cell" x="546" y="318" text-anchor="middle">2.87</text>
</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,889 µs&#10;citm_catalog.json: 4,196 µs&#10;canada.json: 15,716 µs&#10;jeopardy.json: 414,377 µ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.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">
<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.25</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · write&#10;2.34× the time of the fastest library (fully validating)&#10;way: borrowed&#10;twitter.json: 582 µs&#10;citm_catalog.json: 800 µs&#10;canada.json: 5,147 µs&#10;jeopardy.json: 122,623 µs">
<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">
<rect class="nj-heat-2" x="685" y="297" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="318" text-anchor="middle">2.34</text>
<text class="nj-charts-cell" x="730" y="318" text-anchor="middle">2.22</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="354" text-anchor="end">serde_json (Rust)</text>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · validate&#10;2.46× the time of the fastest library (fully validating)&#10;way: from_utf8 + IgnoredAny&#10;twitter.json: 624 µs&#10;citm_catalog.json: 1,440 µs&#10;canada.json: 2,406 µs&#10;jeopardy.json: 64,720 µs">
<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">
<rect class="nj-heat-2" x="225" y="333" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="247.5" y="354" text-anchor="middle">2.46</text>
<text class="nj-charts-cell" x="247.5" y="354" text-anchor="middle">2.35</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · validate, checking less&#10;2.19× the time of the fastest fully validating library&#10;way: IgnoredAny&#10;twitter.json: 484 µs&#10;citm_catalog.json: 1,370 µs&#10;canada.json: 2,314 µs&#10;jeopardy.json: 58,247 µ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;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">
<rect class="nj-heat-2" x="271" y="333" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="292.5" y="348" text-anchor="middle">2.19</text>
<text class="nj-charts-cell" x="292.5" y="348" text-anchor="middle">2.10</text>
<text class="nj-charts-cell nj-charts-cell--small" x="292.5" y="361" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · sum&#10;2.38× the time of the fastest library (fully validating)&#10;way: visitor&#10;twitter.json: 1,311 µs&#10;citm_catalog.json: 2,288 µs&#10;canada.json: 7,127 µs&#10;jeopardy.json: 129,497 µs">
<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">
<rect class="nj-heat-2" x="317" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="354" text-anchor="middle">2.38</text>
<text class="nj-charts-cell" x="362" y="354" text-anchor="middle">2.31</text>
</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: 701 µs&#10;citm_catalog.json: 1,532 µs&#10;canada.json: 2,529 µs&#10;jeopardy.json: 107,316 µs">
<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">
<rect class="nj-heat-2" x="409" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="354" text-anchor="middle">1.74</text>
<text class="nj-charts-cell" x="454" y="354" text-anchor="middle">1.77</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · edit&#10;4.45× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 4,042 µs&#10;citm_catalog.json: 6,586 µs&#10;canada.json: 16,631 µs&#10;jeopardy.json: 632,766 µs">
<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">
<rect class="nj-heat-3" x="501" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="354" text-anchor="middle">4.45</text>
<text class="nj-charts-cell" x="546" y="354" text-anchor="middle">4.64</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · minify&#10;4.80× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 4,012 µs&#10;citm_catalog.json: 6,583 µs&#10;canada.json: 17,306 µs&#10;jeopardy.json: 509,702 µs">
<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">
<rect class="nj-heat-3" x="593" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="354" text-anchor="middle">4.80</text>
<text class="nj-charts-cell" x="638" y="354" text-anchor="middle">4.82</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · write&#10;2.27× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 550 µs&#10;citm_catalog.json: 887 µs&#10;canada.json: 4,005 µs&#10;jeopardy.json: 134,163 µs">
<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">
<rect class="nj-heat-2" x="685" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="354" text-anchor="middle">2.27</text>
<text class="nj-charts-cell" x="730" y="354" text-anchor="middle">2.17</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="390" text-anchor="end">RapidJSON</text>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · validate&#10;3.86× the time of the fastest library (fully validating)&#10;twitter.json: 1,215 µs · insitu (copy)&#10;citm_catalog.json: 1,550 µs · S&#8203;AX (string stream, default precision)&#10;canada.json: 3,625 µs · S&#8203;AX (string stream, default precision)&#10;jeopardy.json: 125,139 µ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;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">
<rect class="nj-heat-3" x="225" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="247.5" y="390" text-anchor="middle">3.86</text>
<text class="nj-charts-cell" x="247.5" y="390" text-anchor="middle">3.76</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · validate, checking less&#10;3.48× the time of the fastest fully validating library&#10;twitter.json: 1,052 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,427 µs · S&#8203;AX (default precision) (no encoding check)&#10;canada.json: 3,625 µs · S&#8203;AX (string stream, default precision) (validates fully)&#10;jeopardy.json: 104,342 µ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.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">
<rect class="nj-heat-3" x="271" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="292.5" y="384" text-anchor="middle">3.48</text>
<text class="nj-charts-cell" x="292.5" y="384" text-anchor="middle">3.43</text>
<text class="nj-charts-cell nj-charts-cell--small" x="292.5" y="397" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · sum&#10;2.35× the time of the fastest library (fully validating)&#10;twitter.json: 1,256 µs · insitu (copy)&#10;citm_catalog.json: 1,713 µs · S&#8203;AX (string stream)&#10;canada.json: 9,547 µs · S&#8203;AX (string stream)&#10;jeopardy.json: 127,564 µ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.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">
<rect class="nj-heat-2" x="317" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="339.5" y="390" text-anchor="middle">2.35</text>
<text class="nj-charts-cell" x="339.5" y="390" text-anchor="middle">2.33</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · sum, checking less&#10;2.15× the time of the fastest fully validating library&#10;twitter.json: 1,099 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,635 µs · S&#8203;AX (string stream) (no encoding check)&#10;canada.json: 9,105 µs · S&#8203;AX (string stream) (no encoding check)&#10;jeopardy.json: 113,500 µ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.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">
<rect class="nj-heat-2" x="363" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="384.5" y="384" text-anchor="middle">2.15</text>
<text class="nj-charts-cell" x="384.5" y="384" text-anchor="middle">2.14</text>
<text class="nj-charts-cell nj-charts-cell--small" x="384.5" y="397" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · select&#10;3.17× the time of the fastest library (fully validating)&#10;twitter.json: 1,217 µs · insitu (copy)&#10;citm_catalog.json: 1,807 µs · insitu (copy)&#10;canada.json: 9,688 µs · Document (string stream)&#10;jeopardy.json: 152,275 µ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.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">
<rect class="nj-heat-3" x="409" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="431.5" y="390" text-anchor="middle">3.17</text>
<text class="nj-charts-cell" x="431.5" y="390" text-anchor="middle">3.18</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · select, checking less&#10;3.02× the time of the fastest fully validating library&#10;twitter.json: 1,056 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,767 µs · insitu (copy) (no encoding check)&#10;canada.json: 9,632 µs · Document (string stream) (no encoding check)&#10;jeopardy.json: 148,964 µ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;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">
<rect class="nj-heat-3" x="455" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="476.5" y="384" text-anchor="middle">3.02</text>
<text class="nj-charts-cell" x="476.5" y="384" text-anchor="middle">2.99</text>
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="397" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · edit&#10;2.49× the time of the fastest library (fully validating)&#10;twitter.json: 1,896 µs · insitu (copy)&#10;citm_catalog.json: 2,754 µs · insitu (copy)&#10;canada.json: 19,359 µs · Document (string stream)&#10;jeopardy.json: 269,071 µ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;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">
<rect class="nj-heat-2" x="501" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="523.5" y="390" text-anchor="middle">2.49</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · edit, checking less&#10;2.40× the time of the fastest fully validating library&#10;twitter.json: 1,749 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 2,730 µs · insitu (copy) (no encoding check)&#10;canada.json: 19,155 µs · Document (string stream) (no encoding check)&#10;jeopardy.json: 259,148 µ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.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">
<rect class="nj-heat-2" x="547" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="568.5" y="384" text-anchor="middle">2.40</text>
<text class="nj-charts-cell" x="568.5" y="384" text-anchor="middle">2.41</text>
<text class="nj-charts-cell nj-charts-cell--small" x="568.5" y="397" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · minify&#10;2.58× the time of the fastest library (fully validating)&#10;way: S&#8203;AX to Writer (string stream)&#10;twitter.json: 1,851 µs&#10;citm_catalog.json: 2,429 µs&#10;canada.json: 18,810 µs&#10;jeopardy.json: 229,769 µs">
<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">
<rect class="nj-heat-3" x="593" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="390" text-anchor="middle">2.58</text>
<text class="nj-charts-cell" x="615.5" y="390" text-anchor="middle">2.63</text>
</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,710 µs · S&#8203;AX to Writer (string stream) (no encoding check)&#10;citm_catalog.json: 2,429 µs · S&#8203;AX to Writer (string stream) (validates fully)&#10;canada.json: 14,205 µs · S&#8203;AX to Writer (raw numbers) (validates fully)&#10;jeopardy.json: 229,769 µs · S&#8203;AX to Writer (string stream) (validates fully)&#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.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)">
<rect class="nj-heat-2" x="639" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="384" text-anchor="middle">2.36</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="397" text-anchor="middle">U N</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · write&#10;2.94× the time of the fastest library (fully validating)&#10;way: Writer&#10;twitter.json: 638 µs&#10;citm_catalog.json: 984 µs&#10;canada.json: 8,886 µs&#10;jeopardy.json: 131,435 µs">
<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">
<rect class="nj-heat-3" x="685" y="369" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="390" text-anchor="middle">2.94</text>
<text class="nj-charts-cell" x="730" y="390" text-anchor="middle">2.93</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="426" text-anchor="end">Glaze</text>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · validate&#10;2.87× the time of the fastest library (fully validating)&#10;way: validate_json&#10;twitter.json: 705 µs&#10;citm_catalog.json: 1,971 µs&#10;canada.json: 2,532 µs&#10;jeopardy.json: 74,805 µs">
<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">
<rect class="nj-heat-3" x="225" y="405" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="426" text-anchor="middle">2.87</text>
<text class="nj-charts-cell" x="270" y="426" text-anchor="middle">2.78</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · sum&#10;4.05× the time of the fastest library (fully validating)&#10;way: generic (double, strict)&#10;twitter.json: 2,317 µs&#10;citm_catalog.json: 4,068 µs&#10;canada.json: 10,333 µs&#10;jeopardy.json: 237,723 µs">
<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">
<rect class="nj-heat-3" x="317" y="405" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="426" text-anchor="middle">4.05</text>
<text class="nj-charts-cell" x="362" y="426" text-anchor="middle">4.06</text>
</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: 608 µs&#10;citm_catalog.json: 1,978 µs&#10;canada.json: 2,521 µs&#10;jeopardy.json: 90,807 µs">
<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">
<rect class="nj-heat-2" x="409" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="431.5" y="426" text-anchor="middle">1.71</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · select, checking less&#10;0.59× the time of the fastest fully validating library&#10;way: structs&#10;twitter.json: 345 µs&#10;citm_catalog.json: 401 µs&#10;canada.json: 415 µs&#10;jeopardy.json: 67,456 µ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.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)">
<rect class="nj-heat-0" x="455" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="476.5" y="420" text-anchor="middle">0.59</text>
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="433" text-anchor="middle">P</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · edit&#10;4.48× the time of the fastest library (fully validating)&#10;way: generic (strict)&#10;twitter.json: 3,364 µs&#10;citm_catalog.json: 6,036 µs&#10;canada.json: 21,592 µs&#10;jeopardy.json: 652,302 µs">
<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">
<rect class="nj-heat-3" x="501" y="405" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="426" text-anchor="middle">4.48</text>
<text class="nj-charts-cell" x="546" y="426" text-anchor="middle">4.39</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · minify&#10;4.56× the time of the fastest library (fully validating)&#10;way: generic (strict)&#10;twitter.json: 3,243 µs&#10;citm_catalog.json: 6,175 µs&#10;canada.json: 20,961 µs&#10;jeopardy.json: 451,368 µs">
<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">
<rect class="nj-heat-3" x="593" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="426" text-anchor="middle">4.56</text>
<text class="nj-charts-cell" x="615.5" y="426" text-anchor="middle">4.62</text>
</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: 417 µs&#10;citm_catalog.json: 1,299 µs&#10;canada.json: 2,699 µs&#10;jeopardy.json: 93,794 µ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.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">
<rect class="nj-heat-0" x="639" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="420" text-anchor="middle">0.75</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="433" text-anchor="middle">P</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · write&#10;1.96× the time of the fastest library (fully validating)&#10;way: generic&#10;twitter.json: 377 µs&#10;citm_catalog.json: 730 µs&#10;canada.json: 4,050 µs&#10;jeopardy.json: 129,720 µs">
<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>

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">
<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.10; 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.71 doing less, N); yyjson validate: 2.06; yyjson sum: 1.44; yyjson select: 1.37; yyjson edit: 1.57; yyjson minify: 1.37 (1.03 doing less, N); yyjson write: 1.08; sonic-cpp validate: no fully validating way (2.21 doing less, U); sonic-cpp sum: no fully validating way (1.28 doing less, U); sonic-cpp select: no fully validating way (1.48 doing less, U); sonic-cpp edit: no fully validating way (1.22 doing less, U); sonic-cpp minify: no fully validating way (1.40 doing less, U); sonic-cpp write: 1.50; simdjson validate: 1.93; simdjson sum: 1.00; simdjson select: 1.29 (0.56 doing less, P); simdjson edit: n/a; simdjson minify: 1.55 (0.21 doing less, P); simdjson write: 2.09; sonic-rs (Rust) validate: 1.77; sonic-rs (Rust) sum: 1.13; sonic-rs (Rust) select: 1.33; sonic-rs (Rust) edit: 1.86; sonic-rs (Rust) minify: 1.71; sonic-rs (Rust) write: 2.00; Boost.J&#8203;SON validate: 1.83; Boost.J&#8203;SON sum: 1.30; Boost.J&#8203;SON select: 2.23; Boost.J&#8203;SON edit: 2.45; Boost.J&#8203;SON minify: 2.83; Boost.J&#8203;SON write: 2.50; nlohmann/json json validate: 1.34; nlohmann/json json sum: 1.04; nlohmann/json json select: 6.05; nlohmann/json json edit: 3.37; nlohmann/json json minify: 4.13; nlohmann/json json write: 1.85; simd-json (Rust) validate: 3.31; simd-json (Rust) sum: 1.91; simd-json (Rust) select: 2.54; simd-json (Rust) edit: 2.82; simd-json (Rust) minify: 3.35; simd-json (Rust) write: 2.28; serde_json (Rust) validate: 2.19 (1.96 doing less, U); serde_json (Rust) sum: 2.35; serde_json (Rust) select: 1.70; serde_json (Rust) edit: 4.44; serde_json (Rust) minify: 4.88; serde_json (Rust) write: 2.21; Glaze validate: 2.05; Glaze sum: 4.06 (3.93 doing less, P); Glaze select: 1.39 (0.58 doing less, P); Glaze edit: 4.71; Glaze minify: 4.96 (0.70 doing less, P); Glaze write: 1.80; RapidJSON validate: 3.88 (3.36 doing less, U); RapidJSON sum: 2.67 (2.34 doing less, U); RapidJSON select: 3.39 (3.12 doing less, U); RapidJSON edit: 2.65 (2.52 doing less, U); RapidJSON minify: 3.64 (2.61 doing less, U N); RapidJSON write: 2.95.</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.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>
<text class="nj-charts-tick" x="270" y="34">validate</text>
<text class="nj-charts-tick" x="362" y="34">sum</text>
<text class="nj-charts-tick" x="454" y="34">select</text>
@@ -8,119 +8,119 @@
<text class="nj-charts-tick" x="638" y="34">minify</text>
<text class="nj-charts-tick" x="730" y="34">write</text>
<text class="nj-charts-rowlabel nj-charts-name-json" x="216" y="66" text-anchor="end">nlohmann/json json_document</text>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · validate&#10;1.00× the time of the fastest library (fully validating)&#10;way: accept&#10;twitter.json: 267 µs&#10;citm_catalog.json: 664 µs&#10;canada.json: 986 µs&#10;jeopardy.json: 34,874 µ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: 267 µs&#10;citm_catalog.json: 556 µs&#10;canada.json: 989 µs&#10;jeopardy.json: 34,784 µs">
<rect class="nj-heat-0" x="225" y="45" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · sum&#10;1.10× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 387 µs&#10;citm_catalog.json: 1,036 µs&#10;canada.json: 3,704 µs&#10;jeopardy.json: 89,477 µs">
<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">
<rect class="nj-heat-0" x="317" y="45" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="66" text-anchor="middle">1.10</text>
<text class="nj-charts-cell" x="362" y="66" text-anchor="middle">1.12</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · select&#10;1.00× the time of the fastest library (fully validating)&#10;twitter.json: 329 µs · structs (from_json)&#10;citm_catalog.json: 855 µs · parse&#10;canada.json: 1,360 µs · structs (from_json)&#10;jeopardy.json: 90,597 µ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;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">
<rect class="nj-heat-0" x="409" y="45" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · edit&#10;1.00× the time of the fastest library (fully validating)&#10;way: editable&#10;twitter.json: 530 µs&#10;citm_catalog.json: 1,209 µs&#10;canada.json: 5,792 µs&#10;jeopardy.json: 193,925 µ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: 537 µs&#10;citm_catalog.json: 1,204 µs&#10;canada.json: 5,808 µs&#10;jeopardy.json: 201,668 µs">
<rect class="nj-heat-0" x="501" y="45" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="523.5" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · edit, checking less&#10;0.82× the time of the fastest fully validating library&#10;twitter.json: 530 µs · editable (validates fully)&#10;citm_catalog.json: 1,209 µs · editable (validates fully)&#10;canada.json: 2,621 µs · editable (source numbers) (validates fully)&#10;jeopardy.json: 193,925 µ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: 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)">
<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 nj-charts-cell--small" x="568.5" y="73" text-anchor="middle">N</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · minify&#10;1.00× the time of the fastest library (fully validating)&#10;way: parse + dump&#10;twitter.json: 475 µs&#10;citm_catalog.json: 1,102 µs&#10;canada.json: 5,414 µs&#10;jeopardy.json: 144,877 µ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: 480 µs&#10;citm_catalog.json: 1,128 µs&#10;canada.json: 5,283 µs&#10;jeopardy.json: 141,931 µs">
<rect class="nj-heat-0" x="593" y="45" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · minify, checking less&#10;0.81× the time of the fastest fully validating library&#10;twitter.json: 471 µs · parse + dump (source numbers) (validates fully)&#10;citm_catalog.json: 1,102 µs · parse + dump (validates fully)&#10;canada.json: 2,372 µs · parse + dump (source numbers) (validates fully)&#10;jeopardy.json: 144,877 µ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;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)">
<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.81</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>
</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: 260 µs&#10;canada.json: 3,811 µs&#10;jeopardy.json: 72,196 µ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: 152 µs&#10;citm_catalog.json: 273 µs&#10;canada.json: 3,935 µs&#10;jeopardy.json: 68,184 µs">
<rect class="nj-heat-0" x="685" y="45" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="707.5" y="66" text-anchor="middle">1.00</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json_document · write, checking less&#10;0.71× the time of the fastest fully validating library&#10;twitter.json: 147 µs · dump (source numbers) (validates fully)&#10;citm_catalog.json: 260 µs · dump (validates fully)&#10;canada.json: 997 µs · dump (source numbers) (validates fully)&#10;jeopardy.json: 71,822 µs · dump (source numbers) (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: 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)">
<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.71</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>
</g>
<text class="nj-charts-rowlabel " x="216" y="102" text-anchor="end">yyjson</text>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · validate&#10;2.06× the time of the fastest library (fully validating)&#10;twitter.json: 394 µs · insitu (copy)&#10;citm_catalog.json: 984 µs · read&#10;canada.json: 2,222 µs · read (raw numbers)&#10;jeopardy.json: 128,528 µ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="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)">
<rect class="nj-heat-2" x="225" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="270" y="102" text-anchor="middle">2.06</text>
<text class="nj-charts-cell" x="270" y="102" text-anchor="middle">2.17</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · sum&#10;1.44× the time of the fastest library (fully validating)&#10;twitter.json: 443 µs · insitu (copy)&#10;citm_catalog.json: 1,146 µs · insitu (copy)&#10;canada.json: 5,974 µs · read&#10;jeopardy.json: 129,054 µ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="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">
<rect class="nj-heat-1" x="317" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="362" y="102" text-anchor="middle">1.44</text>
<text class="nj-charts-cell" x="362" y="102" text-anchor="middle">1.48</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · select&#10;1.37× the time of the fastest library (fully validating)&#10;twitter.json: 397 µs · read&#10;citm_catalog.json: 994 µs · insitu (copy)&#10;canada.json: 2,228 µs · read (raw numbers)&#10;jeopardy.json: 140,073 µ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="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">
<rect class="nj-heat-1" x="409" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="102" text-anchor="middle">1.37</text>
<text class="nj-charts-cell" x="454" y="102" text-anchor="middle">1.38</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · edit&#10;1.57× the time of the fastest library (fully validating)&#10;twitter.json: 841 µs · insitu (copy) + mut copy&#10;citm_catalog.json: 1,719 µs · mut copy&#10;canada.json: 9,803 µs · insitu (copy) + mut copy&#10;jeopardy.json: 309,935 µ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="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">
<rect class="nj-heat-2" x="501" y="81" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="102" text-anchor="middle">1.57</text>
<text class="nj-charts-cell" x="546" y="102" text-anchor="middle">1.56</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="yyjson · minify&#10;1.37× the time of the fastest library (fully validating)&#10;twitter.json: 600 µs · insitu (copy) + write&#10;citm_catalog.json: 1,316 µs · insitu (copy) + write&#10;canada.json: 9,151 µs · read + write&#10;jeopardy.json: 201,645 µs · read + write&#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="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.37</text>
<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.03× the time of the fastest fully validating library&#10;twitter.json: 600 µs · read (raw numbers) + write (validates fully)&#10;citm_catalog.json: 1,264 µs · read (raw numbers) + write (validates fully)&#10;canada.json: 2,994 µs · read (raw numbers) + write (validates fully)&#10;jeopardy.json: 201,645 µs · read + write (validates fully)&#10;copies each number&#x27;s text instead of formatting it (YYJSON_READ_NUMBER_AS_RAW)">
<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.03</text>
<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.08× the time of the fastest library (fully validating)&#10;way: write&#10;twitter.json: 180 µs&#10;citm_catalog.json: 325 µs&#10;canada.json: 3,548 µs&#10;jeopardy.json: 71,044 µs">
<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.08</text>
<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.21× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 409 µs&#10;citm_catalog.json: 1,025 µs&#10;canada.json: 3,561 µs&#10;jeopardy.json: 96,607 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<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.21</text>
<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.28× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 459 µs&#10;citm_catalog.json: 1,209 µs&#10;canada.json: 4,247 µs&#10;jeopardy.json: 103,731 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<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.28</text>
<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.48× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 412 µs&#10;citm_catalog.json: 1,044 µs&#10;canada.json: 3,632 µs&#10;jeopardy.json: 106,188 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<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.48</text>
<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.22× the time of the fastest fully validating library&#10;way: Document&#10;twitter.json: 632 µs&#10;citm_catalog.json: 1,583 µs&#10;canada.json: 8,734 µs&#10;jeopardy.json: 184,592 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<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.22</text>
<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: 647 µs&#10;citm_catalog.json: 1,563 µs&#10;canada.json: 8,917 µs&#10;jeopardy.json: 176,625 µs&#10;trusts U&#8203;TF-8: sonic-cpp 1.0.2 doesn&#x27;t check it">
<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.50× the time of the fastest library (fully validating)&#10;way: Serialize&#10;twitter.json: 268 µs&#10;citm_catalog.json: 543 µs&#10;canada.json: 5,057 µs&#10;jeopardy.json: 75,734 µs">
<rect class="nj-heat-2" x="685" y="117" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="138" text-anchor="middle">1.50</text>
<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;1.93× the time of the fastest library (fully validating)&#10;way: D&#8203;OM&#10;twitter.json: 309 µs&#10;citm_catalog.json: 737 µs&#10;canada.json: 3,183 µs&#10;jeopardy.json: 115,296 µs">
<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">1.93</text>
<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: 356 µs&#10;citm_catalog.json: 819 µs&#10;canada.json: 3,291 µs&#10;jeopardy.json: 94,267 µ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: 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.29× the time of the fastest library (fully validating)&#10;way: D&#8203;OM&#10;twitter.json: 323 µs&#10;citm_catalog.json: 748 µs&#10;canada.json: 3,189 µs&#10;jeopardy.json: 126,288 µs">
<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.29</text>
<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: 186 µs · On-Demand&#10;citm_catalog.json: 508 µs · On-Demand&#10;canada.json: 707 µs · On-Demand&#10;jeopardy.json: 50,215 µs · On-Demand (key selectors)&#10;reads lazily: On-Demand reads only what you ask for and steps over the rest by matching brackets">
<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>
@@ -129,238 +129,238 @@
<rect class="nj-heat-na" x="501" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-tick" x="546" y="174">n/a</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · minify&#10;1.55× the time of the fastest library (fully validating)&#10;way: D&#8203;OM + to_string&#10;twitter.json: 689 µs&#10;citm_catalog.json: 1,394 µs&#10;canada.json: 8,457 µs&#10;jeopardy.json: 292,576 µ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: 699 µs&#10;citm_catalog.json: 1,393 µs&#10;canada.json: 8,627 µs&#10;jeopardy.json: 287,360 µs">
<rect class="nj-heat-2" x="593" y="153" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="615.5" y="174" text-anchor="middle">1.55</text>
<text class="nj-charts-cell" x="615.5" y="174" text-anchor="middle">1.56</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · minify, checking less&#10;0.21× the time of the fastest fully validating library&#10;way: minify&#10;twitter.json: 122 µs&#10;citm_catalog.json: 336 µs&#10;canada.json: 426 µs&#10;jeopardy.json: 49,731 µ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.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">
<rect class="nj-heat-0" x="639" y="153" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="168" text-anchor="middle">0.21</text>
<text class="nj-charts-cell" x="660.5" y="168" text-anchor="middle">0.22</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="181" text-anchor="middle">P</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simdjson · write&#10;2.09× the time of the fastest library (fully validating)&#10;way: to_string&#10;twitter.json: 360 µs&#10;citm_catalog.json: 636 µs&#10;canada.json: 5,363 µs&#10;jeopardy.json: 169,032 µs">
<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">
<rect class="nj-heat-2" x="685" y="153" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="174" text-anchor="middle">2.09</text>
<text class="nj-charts-cell" x="730" y="174" text-anchor="middle">2.05</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.77× the time of the fastest library (fully validating)&#10;way: IgnoredAny&#10;twitter.json: 501 µs&#10;citm_catalog.json: 970 µs&#10;canada.json: 2,249 µs&#10;jeopardy.json: 54,369 µs">
<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">
<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.77</text>
<text class="nj-charts-cell" x="270" y="210" text-anchor="middle">1.83</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · sum&#10;1.13× the time of the fastest library (fully validating)&#10;way: visitor&#10;twitter.json: 501 µs&#10;citm_catalog.json: 1,123 µs&#10;canada.json: 4,397 µs&#10;jeopardy.json: 59,583 µs">
<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">
<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.13</text>
<text class="nj-charts-cell" x="362" y="210" text-anchor="middle">1.11</text>
</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: 504 µs&#10;citm_catalog.json: 1,033 µs&#10;canada.json: 2,328 µs&#10;jeopardy.json: 90,486 µs">
<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">
<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>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · edit&#10;1.86× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 1,197 µs&#10;citm_catalog.json: 2,389 µs&#10;canada.json: 7,744 µs&#10;jeopardy.json: 390,952 µs">
<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">
<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.86</text>
<text class="nj-charts-cell" x="546" y="210" text-anchor="middle">1.92</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · minify&#10;1.71× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 1,000 µs&#10;citm_catalog.json: 2,097 µs&#10;canada.json: 7,795 µs&#10;jeopardy.json: 215,280 µs">
<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">
<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.71</text>
<text class="nj-charts-cell" x="638" y="210" text-anchor="middle">1.74</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="sonic-rs (Rust) · write&#10;2.00× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 434 µs&#10;citm_catalog.json: 927 µs&#10;canada.json: 3,987 µs&#10;jeopardy.json: 109,176 µs">
<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">
<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.00</text>
<text class="nj-charts-cell" x="730" y="210" text-anchor="middle">1.94</text>
</g>
<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.83× the time of the fastest library (fully validating)&#10;twitter.json: 730 µs · S&#8203;AX (numbers: none)&#10;citm_catalog.json: 934 µs · S&#8203;AX (numbers: none)&#10;canada.json: 1,637 µs · S&#8203;AX (numbers: none)&#10;jeopardy.json: 60,745 µs · S&#8203;AX">
<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">
<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.83</text>
<text class="nj-charts-cell" x="270" y="246" text-anchor="middle">1.90</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · sum&#10;1.30× the time of the fastest library (fully validating)&#10;way: S&#8203;AX&#10;twitter.json: 746 µs&#10;citm_catalog.json: 1,025 µs&#10;canada.json: 5,370 µs&#10;jeopardy.json: 63,333 µs">
<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">
<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.30</text>
<text class="nj-charts-cell" x="362" y="246" text-anchor="middle">1.32</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · select&#10;2.23× the time of the fastest library (fully validating)&#10;twitter.json: 899 µs · parse_into structs&#10;citm_catalog.json: 1,353 µs · parse_into structs&#10;canada.json: 7,011 µs · parse&#10;jeopardy.json: 100,039 µs · parse_into structs">
<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">
<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.23</text>
<text class="nj-charts-cell" x="454" y="246" text-anchor="middle">2.19</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Boost.J&#8203;SON · edit&#10;2.45× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 1,889 µs&#10;citm_catalog.json: 2,952 µs&#10;canada.json: 13,537 µs&#10;jeopardy.json: 346,542 µs">
<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">
<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.45</text>
<text class="nj-charts-cell" x="546" y="246" text-anchor="middle">2.49</text>
</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,907 µs&#10;citm_catalog.json: 2,950 µs&#10;canada.json: 13,662 µs&#10;jeopardy.json: 342,183 µs">
<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">
<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>
</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: 474 µs&#10;citm_catalog.json: 1,003 µs&#10;canada.json: 6,012 µs&#10;jeopardy.json: 148,120 µs">
<rect class="nj-heat-2" x="685" y="225" width="90" height="34" rx="3"/>
<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">
<rect class="nj-heat-3" x="685" y="225" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="246" text-anchor="middle">2.50</text>
</g>
<text class="nj-charts-rowlabel nj-charts-name-json" x="216" y="282" text-anchor="end">nlohmann/json json</text>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · validate&#10;1.34× the time of the fastest library (fully validating)&#10;way: accept&#10;twitter.json: 312 µs&#10;citm_catalog.json: 686 µs&#10;canada.json: 2,345 µs&#10;jeopardy.json: 38,948 µs">
<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">
<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.34</text>
<text class="nj-charts-cell" x="270" y="282" text-anchor="middle">1.39</text>
</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: 941 µs&#10;canada.json: 3,816 µs&#10;jeopardy.json: 64,406 µs">
<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">
<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.04</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · select&#10;6.05× the time of the fastest library (fully validating)&#10;way: parse&#10;twitter.json: 3,032 µs&#10;citm_catalog.json: 4,466 µs&#10;canada.json: 9,085 µs&#10;jeopardy.json: 376,812 µs">
<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">
<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.05</text>
<text class="nj-charts-cell" x="454" y="282" text-anchor="middle">6.25</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · edit&#10;3.37× the time of the fastest library (fully validating)&#10;twitter.json: 2,503 µs · ordered_json&#10;citm_catalog.json: 4,414 µs · ordered_json&#10;canada.json: 13,479 µs · parse&#10;jeopardy.json: 622,816 µs · ordered_json">
<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">
<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.37</text>
<text class="nj-charts-cell" x="546" y="282" text-anchor="middle">3.34</text>
</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,417 µs&#10;citm_catalog.json: 5,153 µs&#10;canada.json: 13,425 µs&#10;jeopardy.json: 504,511 µs">
<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">
<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.19</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="nlohmann/json json · write&#10;1.85× the time of the fastest library (fully validating)&#10;way: dump&#10;twitter.json: 413 µs&#10;citm_catalog.json: 617 µs&#10;canada.json: 4,036 µs&#10;jeopardy.json: 124,865 µs">
<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">
<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.85</text>
<text class="nj-charts-cell" x="730" y="282" text-anchor="middle">1.86</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="318" text-anchor="end">simd-json (Rust)</text>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · validate&#10;3.31× the time of the fastest library (fully validating)&#10;way: tape (copy)&#10;twitter.json: 567 µs&#10;citm_catalog.json: 1,430 µs&#10;canada.json: 4,359 µs&#10;jeopardy.json: 207,551 µ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.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">
<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.31</text>
<text class="nj-charts-cell" x="270" y="318" text-anchor="middle">3.45</text>
</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: 681 µs&#10;citm_catalog.json: 1,650 µs&#10;canada.json: 5,083 µs&#10;jeopardy.json: 210,185 µ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;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">
<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>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · select&#10;2.54× the time of the fastest library (fully validating)&#10;way: structs (copy)&#10;twitter.json: 679 µs&#10;citm_catalog.json: 1,731 µs&#10;canada.json: 5,144 µs&#10;jeopardy.json: 239,164 µ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.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">
<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.54</text>
<text class="nj-charts-cell" x="454" y="318" text-anchor="middle">2.59</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · edit&#10;2.82× the time of the fastest library (fully validating)&#10;twitter.json: 1,862 µs · borrowed (copy)&#10;citm_catalog.json: 4,194 µs · borrowed (copy)&#10;canada.json: 14,896 µs · owned (copy)&#10;jeopardy.json: 391,369 µ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;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">
<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.82</text>
<text class="nj-charts-cell" x="546" y="318" text-anchor="middle">2.88</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · minify&#10;3.35× the time of the fastest library (fully validating)&#10;way: borrowed (copy)&#10;twitter.json: 1,889 µs&#10;citm_catalog.json: 4,196 µs&#10;canada.json: 15,716 µs&#10;jeopardy.json: 414,377 µ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.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">
<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.35</text>
<text class="nj-charts-cell" x="638" y="318" text-anchor="middle">3.33</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="simd-json (Rust) · write&#10;2.28× the time of the fastest library (fully validating)&#10;way: borrowed&#10;twitter.json: 582 µs&#10;citm_catalog.json: 800 µs&#10;canada.json: 5,147 µs&#10;jeopardy.json: 122,623 µs">
<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">
<rect class="nj-heat-2" x="685" y="297" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="730" y="318" text-anchor="middle">2.28</text>
<text class="nj-charts-cell" x="730" y="318" text-anchor="middle">2.23</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="354" text-anchor="end">serde_json (Rust)</text>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · validate&#10;2.19× the time of the fastest library (fully validating)&#10;way: from_utf8 + IgnoredAny&#10;twitter.json: 624 µs&#10;citm_catalog.json: 1,440 µs&#10;canada.json: 2,406 µs&#10;jeopardy.json: 64,720 µs">
<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">
<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.19</text>
<text class="nj-charts-cell" x="247.5" y="354" text-anchor="middle">2.29</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · validate, checking less&#10;1.96× the time of the fastest fully validating library&#10;way: IgnoredAny&#10;twitter.json: 484 µs&#10;citm_catalog.json: 1,370 µs&#10;canada.json: 2,314 µs&#10;jeopardy.json: 58,247 µ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;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">
<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">1.96</text>
<text class="nj-charts-cell" x="292.5" y="348" text-anchor="middle">2.04</text>
<text class="nj-charts-cell nj-charts-cell--small" x="292.5" y="361" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · sum&#10;2.35× the time of the fastest library (fully validating)&#10;way: visitor&#10;twitter.json: 1,311 µs&#10;citm_catalog.json: 2,288 µs&#10;canada.json: 7,127 µs&#10;jeopardy.json: 129,497 µs">
<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">
<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.35</text>
<text class="nj-charts-cell" x="362" y="354" text-anchor="middle">2.32</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · select&#10;1.70× the time of the fastest library (fully validating)&#10;way: from_utf8 + structs&#10;twitter.json: 701 µs&#10;citm_catalog.json: 1,532 µs&#10;canada.json: 2,529 µs&#10;jeopardy.json: 107,316 µs">
<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">
<rect class="nj-heat-2" x="409" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="454" y="354" text-anchor="middle">1.70</text>
<text class="nj-charts-cell" x="454" y="354" text-anchor="middle">1.74</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · edit&#10;4.44× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 4,042 µs&#10;citm_catalog.json: 6,586 µs&#10;canada.json: 16,631 µs&#10;jeopardy.json: 632,766 µs">
<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">
<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.44</text>
<text class="nj-charts-cell" x="546" y="354" text-anchor="middle">4.66</text>
</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,012 µs&#10;citm_catalog.json: 6,583 µs&#10;canada.json: 17,306 µs&#10;jeopardy.json: 509,702 µs">
<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">
<rect class="nj-heat-3" x="593" y="333" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="638" y="354" text-anchor="middle">4.88</text>
<text class="nj-charts-cell" x="638" y="354" text-anchor="middle">4.93</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="serde_json (Rust) · write&#10;2.21× the time of the fastest library (fully validating)&#10;way: Value&#10;twitter.json: 550 µs&#10;citm_catalog.json: 887 µs&#10;canada.json: 4,005 µs&#10;jeopardy.json: 134,163 µs">
<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">
<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.21</text>
<text class="nj-charts-cell" x="730" y="354" text-anchor="middle">2.18</text>
</g>
<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.05× the time of the fastest library (fully validating)&#10;way: validate_json&#10;twitter.json: 584 µs&#10;citm_catalog.json: 1,402 µs&#10;canada.json: 1,837 µs&#10;jeopardy.json: 71,382 µs">
<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">
<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.05</text>
<text class="nj-charts-cell" x="270" y="390" text-anchor="middle">2.16</text>
</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,341 µs&#10;citm_catalog.json: 4,037 µs&#10;canada.json: 10,434 µs&#10;jeopardy.json: 249,828 µ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: 2,300 µs&#10;citm_catalog.json: 4,139 µs&#10;canada.json: 11,207 µs&#10;jeopardy.json: 258,486 µs">
<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.06</text>
<text class="nj-charts-cell" x="339.5" y="390" text-anchor="middle">4.14</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · sum, checking less&#10;3.93× the time of the fastest fully validating library&#10;twitter.json: 2,341 µs · generic (double, strict) (validates fully)&#10;citm_catalog.json: 4,037 µs · generic (double, strict) (validates fully)&#10;canada.json: 10,434 µs · generic (double, strict) (validates fully)&#10;jeopardy.json: 219,119 µ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="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">
<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">3.93</text>
<text class="nj-charts-cell" x="384.5" y="384" text-anchor="middle">3.98</text>
<text class="nj-charts-cell nj-charts-cell--small" x="384.5" y="397" text-anchor="middle">P</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · select&#10;1.39× the time of the fastest library (fully validating)&#10;way: structs (validate_skipped)&#10;twitter.json: 523 µs&#10;citm_catalog.json: 1,473 µs&#10;canada.json: 1,853 µs&#10;jeopardy.json: 89,506 µs">
<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">
<rect class="nj-heat-1" x="409" y="369" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="431.5" y="390" text-anchor="middle">1.39</text>
<text class="nj-charts-cell" x="431.5" y="390" text-anchor="middle">1.38</text>
</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: 338 µs&#10;citm_catalog.json: 406 µs&#10;canada.json: 434 µs&#10;jeopardy.json: 66,029 µ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.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)">
<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.58</text>
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="397" text-anchor="middle">P</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · edit&#10;4.71× the time of the fastest library (fully validating)&#10;way: generic (strict)&#10;twitter.json: 3,474 µs&#10;citm_catalog.json: 6,531 µs&#10;canada.json: 23,193 µs&#10;jeopardy.json: 673,526 µs">
<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">
<rect class="nj-heat-3" x="501" y="369" width="90" height="34" rx="3"/>
<text class="nj-charts-cell" x="546" y="390" text-anchor="middle">4.71</text>
<text class="nj-charts-cell" x="546" y="390" text-anchor="middle">4.67</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="Glaze · minify&#10;4.96× the time of the fastest library (fully validating)&#10;way: generic (strict)&#10;twitter.json: 3,359 µs&#10;citm_catalog.json: 6,437 µs&#10;canada.json: 23,896 µs&#10;jeopardy.json: 480,814 µs">
<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">
<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">4.96</text>
<text class="nj-charts-cell" x="615.5" y="390" text-anchor="middle">5.00</text>
</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: 417 µs&#10;citm_catalog.json: 1,116 µs&#10;canada.json: 2,113 µs&#10;jeopardy.json: 97,812 µ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.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">
<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.72</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.80× the time of the fastest library (fully validating)&#10;way: generic&#10;twitter.json: 336 µs&#10;citm_catalog.json: 682 µs&#10;canada.json: 3,750 µs&#10;jeopardy.json: 133,730 µs">
<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.80</text>
<text class="nj-charts-cell" x="730" y="390" text-anchor="middle">1.79</text>
</g>
<text class="nj-charts-rowlabel " x="216" y="426" text-anchor="end">RapidJSON</text>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · validate&#10;3.88× the time of the fastest library (fully validating)&#10;twitter.json: 1,201 µs · insitu (copy)&#10;citm_catalog.json: 1,931 µs · insitu (copy)&#10;canada.json: 4,114 µs · S&#8203;AX (string stream, default precision)&#10;jeopardy.json: 145,137 µ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.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">
<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">3.88</text>
<text class="nj-charts-cell" x="247.5" y="426" text-anchor="middle">4.92</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · validate, checking less&#10;3.36× the time of the fastest fully validating library&#10;twitter.json: 1,033 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,487 µs · S&#8203;AX (default precision) (no encoding check)&#10;canada.json: 3,966 µs · S&#8203;AX (string stream, default precision) (no encoding check)&#10;jeopardy.json: 127,587 µ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.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">
<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.36</text>
<text class="nj-charts-cell" x="292.5" y="420" text-anchor="middle">3.62</text>
<text class="nj-charts-cell nj-charts-cell--small" x="292.5" y="433" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · sum&#10;2.67× the time of the fastest library (fully validating)&#10;twitter.json: 1,256 µs · insitu (copy)&#10;citm_catalog.json: 2,114 µs · insitu (copy)&#10;canada.json: 11,059 µs · S&#8203;AX (string stream)&#10;jeopardy.json: 155,532 µ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.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">
<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">2.67</text>
<text class="nj-charts-cell" x="339.5" y="426" text-anchor="middle">3.24</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · sum, checking less&#10;2.34× the time of the fastest fully validating library&#10;twitter.json: 1,085 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,750 µs · S&#8203;AX (no encoding check)&#10;canada.json: 11,008 µs · S&#8203;AX (string stream) (no encoding check)&#10;jeopardy.json: 128,734 µ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.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">
<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.34</text>
<text class="nj-charts-cell" x="384.5" y="420" text-anchor="middle">2.37</text>
<text class="nj-charts-cell nj-charts-cell--small" x="384.5" y="433" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · select&#10;3.39× the time of the fastest library (fully validating)&#10;way: insitu (copy)&#10;twitter.json: 1,207 µs&#10;citm_catalog.json: 1,947 µs&#10;canada.json: 11,910 µs&#10;jeopardy.json: 164,386 µ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.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">
<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">3.39</text>
<text class="nj-charts-cell" x="431.5" y="426" text-anchor="middle">4.05</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · select, checking less&#10;3.12× the time of the fastest fully validating library&#10;twitter.json: 1,037 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 1,847 µs · insitu (copy) (no encoding check)&#10;canada.json: 11,692 µs · Document (no encoding check)&#10;jeopardy.json: 147,489 µ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.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">
<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.12</text>
<text class="nj-charts-cell" x="476.5" y="420" text-anchor="middle">3.27</text>
<text class="nj-charts-cell nj-charts-cell--small" x="476.5" y="433" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · edit&#10;2.65× the time of the fastest library (fully validating)&#10;way: insitu (copy)&#10;twitter.json: 1,920 µs&#10;citm_catalog.json: 2,977 µs&#10;canada.json: 21,152 µs&#10;jeopardy.json: 293,851 µ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;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">
<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.65</text>
<text class="nj-charts-cell" x="523.5" y="426" text-anchor="middle">2.99</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · edit, checking less&#10;2.52× the time of the fastest fully validating library&#10;twitter.json: 1,747 µs · insitu (copy) (no encoding check)&#10;citm_catalog.json: 2,823 µs · insitu (copy) (no encoding check)&#10;canada.json: 20,998 µs · Document (no encoding check)&#10;jeopardy.json: 280,165 µ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 · 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">
<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.52</text>
<text class="nj-charts-cell" x="568.5" y="420" text-anchor="middle">2.58</text>
<text class="nj-charts-cell nj-charts-cell--small" x="568.5" y="433" text-anchor="middle">U</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · minify&#10;3.64× the time of the fastest library (fully validating)&#10;twitter.json: 2,746 µs · S&#8203;AX to Writer (string stream)&#10;citm_catalog.json: 3,162 µs · S&#8203;AX to Writer (string stream)&#10;canada.json: 21,674 µs · S&#8203;AX to Writer&#10;jeopardy.json: 381,832 µs · S&#8203;AX to Writer (string stream)">
<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)">
<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.64</text>
<text class="nj-charts-cell" x="615.5" y="426" text-anchor="middle">3.57</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · minify, checking less&#10;2.61× the time of the fastest fully validating library&#10;twitter.json: 1,824 µs · S&#8203;AX to Writer (string stream) (no encoding check)&#10;citm_catalog.json: 2,672 µs · S&#8203;AX to Writer (string stream) (no encoding check)&#10;canada.json: 15,166 µs · S&#8203;AX to Writer (raw numbers) (no encoding check)&#10;jeopardy.json: 259,100 µ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.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)">
<rect class="nj-heat-3" x="639" y="405" width="44" height="34" rx="3"/>
<text class="nj-charts-cell" x="660.5" y="420" text-anchor="middle">2.61</text>
<text class="nj-charts-cell" x="660.5" y="420" text-anchor="middle">2.57</text>
<text class="nj-charts-cell nj-charts-cell--small" x="660.5" y="433" text-anchor="middle">U N</text>
</g>
<g class="nj-heat-cell" tabindex="0" data-tip="RapidJSON · write&#10;2.95× the time of the fastest library (fully validating)&#10;way: Writer&#10;twitter.json: 661 µs&#10;citm_catalog.json: 1,015 µs&#10;canada.json: 8,980 µs&#10;jeopardy.json: 136,957 µs">
<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">
<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.95</text>
<text class="nj-charts-cell" x="730" y="426" text-anchor="middle">2.96</text>
</g>
<text class="nj-charts-tick nj-charts-tick--l" x="8" y="472">time relative to the fastest fully validating library, less is better</text>
<g><rect class="nj-heat-0" x="8" y="482" width="76" height="20" rx="3"/>

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

+3
View File
@@ -269,6 +269,9 @@ target_link_libraries(myproject PRIVATE nlohmann_json_modules)
target_compile_definitions(myproject PRIVATE NLOHMANN_JSON_BUILD_MODULES)
```
If `main.cpp` also uses `import std;`, the project needs CMake 4.5 or newer and a Ninja generator; see
[Modules](../features/modules.md#requirements) for the supported toolchains.
## See also
- [Macros](../api/macros/index.md) - reference of all macros
@@ -0,0 +1,7 @@
cmake_minimum_required(VERSION 3.15)
project(json_example)
find_package(nlohmann_json CONFIG REQUIRED)
add_executable(json_example example.cpp)
target_link_libraries(json_example PRIVATE nlohmann_json::nlohmann_json)
@@ -0,0 +1,10 @@
#include <nlohmann/json.hpp>
#include <iostream>
#include <iomanip>
using nlohmann::json;
int main()
{
std::cout << std::setw(4) << json::meta() << std::endl;
}
@@ -14,7 +14,8 @@
![Conda](../images/package_managers/conda.svg){: style="height:1em"}&nbsp;[**Conda**](#conda) `nlohmann_json` &emsp;
![MacPorts](../images/package_managers/macports.svg){: style="height:1em"}&nbsp;[**MacPorts**](#macports) `nlohmann-json`<br>
![cpm.cmake](../images/package_managers/CPM.png){: style="height:1em"}&nbsp;[**CPM.cmake**](#cpmcmake) `gh:nlohmann/json` &emsp;
![xmake](../images/package_managers/xmake.svg){: style="height:1em"}&nbsp;[**xmake**](#xmake) `nlohmann_json`
![xmake](../images/package_managers/xmake.svg){: style="height:1em"}&nbsp;[**xmake**](#xmake) `nlohmann_json` &emsp;
![Nix](../images/package_managers/nix.svg){: style="height:1em"}&nbsp;[**Nix**](#nix) `nlohmann_json`
</p>
## Running example
@@ -906,6 +907,56 @@ CPMAddPackage("gh:nlohmann/json@3.12.0")
* * *
## Nix
!!! abstract "Summary"
package: [**`nlohmann_json`**](https://search.nixos.org/packages?channel=unstable&show=nlohmann_json&query=nlohmann_json)
- :octicons-tag-24: Available versions: current version of each Nixpkgs channel (may lag behind the latest release)
- :octicons-rocket-24: The package is maintained by the Nixpkgs community and updated after releases.
- :octicons-file-24: File issues at the [Nixpkgs issue tracker](https://github.com/NixOS/nixpkgs/issues)
- :octicons-question-24: [Nix website](https://nixos.org)
If you are using [Nix](https://nixos.org) or [NixOS](https://nixos.org/manual/nixos/stable/), the library is available
as the [nlohmann_json](https://search.nixos.org/packages?channel=unstable&show=nlohmann_json&query=nlohmann_json)
package in [Nixpkgs](https://github.com/NixOS/nixpkgs). To try it in a temporary shell, execute
```shell
nix-shell -p nlohmann_json
```
On NixOS, the package can be installed system-wide by adding it to `configuration.nix`:
```nix
environment.systemPackages = [ pkgs.nlohmann_json ];
```
??? example "Example: CMake"
1. Create the following files:
```cpp title="example.cpp"
--8<-- "integration/nix/example.cpp"
```
```cmake title="CMakeLists.txt"
--8<-- "integration/nix/CMakeLists.txt"
```
2. Enter a shell that provides the package, CMake, and a C++ compiler:
```sh
nix-shell -p nlohmann_json cmake
```
3. Compile the code:
```sh
cmake -S . -B build
cmake --build build
```
## Other package managers
The library is also contained in many other package repositories; [Repology](https://repology.org/project/nlohmann-json/versions) tracks the packaged
+1
View File
@@ -459,6 +459,7 @@ nav:
- 'JSON_SKIP_UNSUPPORTED_COMPILER_CHECK': api/macros/json_skip_unsupported_compiler_check.md
- 'JSON_STRICT_BINARY_UTF8': api/macros/json_strict_binary_utf8.md
- 'JSON_STRICT_NUL_HANDLING': api/macros/json_strict_nul_handling.md
- 'JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE': api/macros/json_ubjson_valueless_elements_per_byte.md
- 'JSON_USE_GLOBAL_UDLS': api/macros/json_use_global_udls.md
- 'JSON_USE_IMPLICIT_CONVERSIONS': api/macros/json_use_implicit_conversions.md
- 'JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON': api/macros/json_use_legacy_discarded_value_comparison.md
+2 -2
View File
@@ -1,8 +1,8 @@
wheel==0.48.0
mkdocs==1.6.1 # documentation framework
mkdocs-git-revision-date-localized-plugin==1.6.3 # plugin "git-revision-date-localized"
mkdocs-material==9.8.0 # theme for mkdocs
mkdocs-git-revision-date-localized-plugin==1.7.0 # plugin "git-revision-date-localized"
mkdocs-material==9.8.1 # theme for mkdocs
mkdocs-material-extensions==1.3.1 # extensions
mkdocs-minify-plugin==0.8.0 # plugin "minify"
mkdocs-redirects==1.2.3 # plugin "redirects"
File diff suppressed because it is too large. Load diff
+184 -182
View File
@@ -1,183 +1,185 @@
benchmark,unit,3.12.0,3.13.0,speedup
Accept/canada,ns,1.27789e+07,1.34304e+06,9.515
Accept/citm_catalog,ns,6.47666e+06,474064,13.662
Accept/floats,ns,1.14227e+08,1.72173e+07,6.634
Accept/jeopardy,ns,2.18081e+08,2.79002e+07,7.816
Accept/signed_ints,ns,1.15981e+08,2.33778e+07,4.961
Accept/small_signed_ints,ns,5.64996e+07,1.31818e+07,4.286
Accept/twitter,ns,2.48725e+06,234277,10.617
Accept/unsigned_ints,ns,1.14729e+08,2.28147e+07,5.029
BinaryToCbor/1024,ns,315.368,108.041,2.919
BinaryToCbor/128,ns,266.074,114.105,2.332
BinaryToCbor/16,ns,246.212,49.912,4.933
BinaryToCbor/16384,ns,950.054,418.045,2.273
BinaryToCbor/2048,ns,340.213,126.796,2.683
BinaryToCbor/256,ns,279.79,91.7512,3.049
BinaryToCbor/32,ns,262.471,50.3433,5.214
BinaryToCbor/32768,ns,1578.4,837.8,1.884
BinaryToCbor/4096,ns,431.963,174.276,2.479
BinaryToCbor/512,ns,296.768,102.073,2.907
BinaryToCbor/64,ns,259.159,84.2641,3.076
BinaryToCbor/8,ns,250.574,49.9122,5.020
BinaryToCbor/8192,ns,527.418,253.616,2.080
Copy/canada,ns,3.68841e+06,2.9017e+06,1.271
Copy/citm_catalog,ns,1.64706e+06,1.48507e+06,1.109
Copy/twitter,ns,810558,728698,1.112
CopyAssign/canada,ns,3.73912e+06,2.94393e+06,1.270
CopyAssign/citm_catalog,ns,1.6545e+06,1.53713e+06,1.076
CopyAssign/twitter,ns,817997,752415,1.087
CopyOnly/canada,ns,1.53602e+06,1.52075e+06,1.010
CopyOnly/citm_catalog,ns,754817,794741,0.950
CopyOnly/twitter,ns,406966,410330,0.992
CopyRing/canada,ns,3.74734e+06,2.92592e+06,1.281
CopyRing/citm_catalog,ns,1.7477e+06,1.54757e+06,1.129
CopyRing/twitter,ns,876191,784261,1.117
DestroyOnly/canada,ns,2.16216e+06,1.38217e+06,1.564
DestroyOnly/citm_catalog,ns,895535,681877,1.313
DestroyOnly/twitter,ns,406450,326620,1.244
Diff/canada,ns,3.91782e+07,3.75209e+06,10.442
Diff/citm_catalog,ns,6.91552e+06,1.09211e+06,6.332
Diff/twitter,ns,4.92965e+06,639734,7.706
Dump/canada / -,ns,6.70617e+06,2.31399e+06,2.898
Dump/canada / 4,ns,8.81664e+06,3.03083e+06,2.909
Dump/citm_catalog / -,ns,1.39132e+06,295525,4.708
Dump/citm_catalog / 4,ns,1.94729e+06,421536,4.620
Dump/floats / -,ns,6.35321e+07,2.37757e+07,2.672
Dump/floats / 4,ns,7.19879e+07,2.4663e+07,2.919
Dump/jeopardy / -,ns,2.0176e+08,3.0624e+07,6.588
Dump/jeopardy / 4,ns,2.20493e+08,3.43504e+07,6.419
Dump/signed_ints / -,ns,2.36853e+07,1.07405e+07,2.205
Dump/signed_ints / 4,ns,3.2029e+07,1.13731e+07,2.816
Dump/small_signed_ints / -,ns,1.78623e+07,7.93339e+06,2.252
Dump/small_signed_ints / 4,ns,2.50508e+07,8.80939e+06,2.844
Dump/twitter / -,ns,1.40813e+06,213513,6.595
Dump/twitter / 4,ns,1.59095e+06,249353,6.380
Dump/unsigned_ints / -,ns,2.35653e+07,8.07378e+06,2.919
Dump/unsigned_ints / 4,ns,3.17269e+07,8.50708e+06,3.729
Equal/canada,ns,463162,336269,1.377
Equal/citm_catalog,ns,264124,260967,1.012
Equal/twitter,ns,138843,128906,1.077
Flatten/canada,ns,2.86941e+07,1.1214e+07,2.559
Flatten/citm_catalog,ns,6.4406e+06,3.00538e+06,2.143
Flatten/twitter,ns,3.53051e+06,2.05449e+06,1.718
FlattenOrdered/citm_catalog,ns,2.56371e+08,1.40896e+06,181.958
FlattenOrdered/twitter,ns,5.00313e+07,863594,57.934
FromBinaryBuffer/bjdata / canada,ns,8.15141e+06,4.17154e+06,1.954
FromBinaryBuffer/bjdata / twitter,ns,3.18297e+06,893076,3.564
FromBinaryBuffer/bjdata_optimized / canada,ns,8.73882e+06,2.42167e+06,3.609
FromBinaryBuffer/bjdata_optimized / twitter,ns,3.15905e+06,884856,3.570
FromBinaryBuffer/bson / canada,ns,9.33283e+06,4.27358e+06,2.184
FromBinaryBuffer/bson / citm_catalog,ns,3.91854e+06,1.61073e+06,2.433
FromBinaryBuffer/bson / twitter,ns,3.176e+06,910290,3.489
FromBinaryBuffer/cbor / canada,ns,8.39002e+06,2.08256e+06,4.029
FromBinaryBuffer/cbor / citm_catalog,ns,3.71495e+06,1.31999e+06,2.814
FromBinaryBuffer/cbor / floats,ns,2.91606e+07,5.48446e+06,5.317
FromBinaryBuffer/cbor / jeopardy,ns,3.52964e+08,1.00739e+08,3.504
FromBinaryBuffer/cbor / signed_ints,ns,3.59874e+07,9.77712e+06,3.681
FromBinaryBuffer/cbor / twitter,ns,3.08997e+06,878827,3.516
FromBinaryBuffer/msgpack / canada,ns,8.25869e+06,2.09779e+06,3.937
FromBinaryBuffer/msgpack / citm_catalog,ns,3.71825e+06,1.28675e+06,2.890
FromBinaryBuffer/msgpack / jeopardy,ns,3.56624e+08,9.69017e+07,3.680
FromBinaryBuffer/msgpack / twitter,ns,3.06392e+06,850067,3.604
FromBinaryBuffer/ubjson / canada,ns,8.12649e+06,4.14411e+06,1.961
FromBinaryBuffer/ubjson / citm_catalog,ns,3.82184e+06,1.65659e+06,2.307
FromBinaryBuffer/ubjson / jeopardy,ns,3.65507e+08,1.01303e+08,3.608
FromBinaryBuffer/ubjson / twitter,ns,3.15221e+06,895746,3.519
FromBinaryBuffer/ubjson_optimized / canada,ns,8.5126e+06,2.38858e+06,3.564
FromBinaryBuffer/ubjson_optimized / twitter,ns,3.12199e+06,882166,3.539
FromBinaryFile/bjdata / twitter,ns,1.04222e+07,1.45214e+06,7.177
FromBinaryFile/bson / twitter,ns,1.02874e+07,1.23514e+06,8.329
FromBinaryFile/cbor / canada,ns,1.43434e+07,2.4071e+06,5.959
FromBinaryFile/cbor / twitter,ns,9.92359e+06,1.075e+06,9.231
FromBinaryFile/ubjson / canada,ns,1.35516e+07,6.2336e+06,2.174
FromBinaryFile/ubjson / twitter,ns,1.05159e+07,1.46077e+06,7.199
FromBinaryShape/containers / bjdata,ns,1.43175e+07,7.24204e+06,1.977
FromBinaryShape/containers / bson,ns,1.74215e+07,7.97531e+06,2.184
FromBinaryShape/containers / cbor,ns,1.3898e+07,3.93021e+06,3.536
FromBinaryShape/containers / msgpack,ns,1.378e+07,3.88449e+06,3.547
FromBinaryShape/containers / ubjson,ns,1.44223e+07,7.2737e+06,1.983
FromBinaryShape/containers / ubjson_optimized,ns,1.49736e+07,4.48674e+06,3.337
FromBinaryShape/nested / bjdata,ns,96363.9,38197.9,2.523
FromBinaryShape/nested / bson,ns,102515,42496.1,2.412
FromBinaryShape/nested / cbor,ns,93842.1,35385.5,2.652
FromBinaryShape/nested / msgpack,ns,92033,34888.5,2.638
FromBinaryShape/nested / ubjson,ns,96455.9,37922.6,2.543
FromBinaryShape/scalars / bjdata,ns,2.48048e+07,1.1476e+07,2.161
FromBinaryShape/scalars / cbor,ns,2.56641e+07,5.68711e+06,4.513
FromBinaryShape/scalars / msgpack,ns,2.44254e+07,5.56716e+06,4.387
FromBinaryShape/scalars / ubjson,ns,2.49328e+07,1.15997e+07,2.149
FromCborChunkedString/10000 chunks,ns,90902.3,61512.6,1.478
FromMsgpack/canada,ns,1.43596e+07,2.40425e+06,5.973
FromMsgpack/citm_catalog,ns,9.03526e+06,1.66705e+06,5.420
FromMsgpack/floats,ns,5.97879e+07,2.82314e+07,2.118
FromMsgpack/jeopardy,ns,1.14023e+09,1.1207e+08,10.174
FromMsgpack/signed_ints,ns,6.30943e+07,3.27435e+07,1.927
FromMsgpack/small_signed_ints,ns,6.34225e+07,3.52538e+07,1.799
FromMsgpack/twitter,ns,9.99383e+06,1.01241e+06,9.871
FromMsgpack/unsigned_ints,ns,5.61151e+07,2.82024e+07,1.990
"GetArray<std::array<int, 1000>>",ns,2242.43,641.094,3.498
GetArray<std::deque<int>>,ns,8157.44,1172.81,6.955
GetArray<std::set<int>>,ns,58833.4,41553,1.416
GetArray<std::vector<int>>,ns,6725.67,670.816,10.026
GetMap/citm_catalog,ns,3.44193e+06,2.43771e+06,1.412
GetVectorDouble/floats,ns,6.7017e+06,650766,10.298
GetVectorInt/signed_ints,ns,8.06579e+06,3.40643e+06,2.368
Iterate/canada,ns,873618,445143,1.963
Iterate/citm_catalog,ns,301801,157823,1.912
Iterate/twitter,ns,87345,58936.4,1.482
JsonPointerAt/citm_catalog,ns,1.85369e+06,1.1599e+06,1.598
JsonPointerAt/twitter,ns,791487,599585,1.320
JsonPointerContains/citm_catalog,ns,2.73824e+06,1.25465e+06,2.182
JsonPointerContains/twitter,ns,1.32403e+06,620312,2.134
JsonPointerParse/citm_catalog,ns,5.72778e+06,2.21453e+06,2.586
JsonPointerParse/twitter,ns,2.4672e+06,1.00864e+06,2.446
JsonPointerToString/citm_catalog,ns,6.65484e+06,1.89788e+06,3.506
JsonPointerToString/twitter,ns,2.13903e+06,811916,2.635
ParseFILE/canada,ns,5.29148e+07,6.01689e+06,8.794
ParseFILE/citm_catalog,ns,3.49593e+07,2.34075e+06,14.935
ParseFILE/twitter,ns,1.38263e+07,1.34963e+06,10.245
ParseFile/canada,ns,1.76922e+07,6.22534e+06,2.842
ParseFile/citm_catalog,ns,7.85962e+06,2.47244e+06,3.179
ParseFile/floats,ns,1.29413e+08,4.83839e+07,2.675
ParseFile/jeopardy,ns,3.30328e+08,1.56161e+08,2.115
ParseFile/signed_ints,ns,1.27675e+08,4.65862e+07,2.741
ParseFile/small_signed_ints,ns,6.44651e+07,3.33577e+07,1.933
ParseFile/twitter,ns,3.39729e+06,1.37932e+06,2.463
ParseFile/unsigned_ints,ns,1.23326e+08,4.73146e+07,2.607
ParseIndented/canada / 4,ns,3.41603e+07,4.60976e+06,7.410
ParseIndented/citm_catalog / 4,ns,7.45491e+06,1.45798e+06,5.113
ParseIndented/jeopardy / 4,ns,3.38801e+08,1.14349e+08,2.963
ParseIndented/twitter / 4,ns,3.61322e+06,975391,3.704
ParseStreamValues/ndjson,ns,7.07974e+06,3.7154e+06,1.906
ParseStreamValues/numbers,ns,1.92884e+06,388042,4.971
ParseString/canada,ns,1.52389e+07,3.73427e+06,4.081
ParseString/citm_catalog,ns,7.40128e+06,1.44821e+06,5.111
ParseString/floats,ns,1.19856e+08,2.49654e+07,4.801
ParseString/jeopardy,ns,3.03449e+08,1.13053e+08,2.684
ParseString/signed_ints,ns,1.21175e+08,2.86805e+07,4.225
ParseString/small_signed_ints,ns,6.07636e+07,1.77037e+07,3.432
ParseString/twitter,ns,3.21074e+06,920551,3.488
ParseString/unsigned_ints,ns,1.20011e+08,2.85056e+07,4.210
ParseStringOrdered/canada,ns,1.52544e+07,3.77964e+06,4.036
ParseStringOrdered/citm_catalog,ns,1.09927e+07,1.34339e+06,8.183
ParseStringOrdered/jeopardy,ns,3.60435e+08,9.81296e+07,3.673
ParseStringOrdered/twitter,ns,4.41151e+06,803859,5.488
Patch/canada,ns,1.01249e+07,3.41425e+06,2.965
Patch/citm_catalog,ns,2.54415e+06,1.65413e+06,1.538
Patch/twitter,ns,1.4932e+06,870217,1.716
SaxParse/canada,ns,1.28611e+07,2.49889e+06,5.147
SaxParse/citm_catalog,ns,6.43798e+06,655372,9.823
SaxParse/twitter,ns,2.48859e+06,334038,7.450
ToCbor/canada,ns,1.39101e+06,554952,2.507
ToCbor/citm_catalog,ns,1.0334e+06,260397,3.969
ToCbor/floats,ns,8.93763e+06,1.84589e+06,4.842
ToCbor/jeopardy,ns,7.14785e+07,2.10551e+07,3.395
ToCbor/signed_ints,ns,1.13863e+07,2.74211e+06,4.152
ToCbor/small_signed_ints,ns,1.02822e+07,2.37622e+06,4.327
ToCbor/twitter,ns,636979,144369,4.412
ToCbor/unsigned_ints,ns,8.04576e+06,2.74066e+06,2.936
ToJsonStrings/copy,ns,5.85988e+06,5.60056e+06,1.046
ToJsonStrings/move,ns,5.92335e+06,3.04643e+06,1.944
Unflatten/canada,ns,4.17811e+07,1.08132e+07,3.864
Unflatten/citm_catalog,ns,9.80315e+06,3.53672e+06,2.772
Unflatten/twitter,ns,4.56968e+06,2.16566e+06,2.110
FromBinaryBuffer/msgpack / jeopardy,ns,3.56376e+08,9.37052e+07,3.803
GetVectorInt/signed_ints,ns,8.00368e+06,3.38526e+06,2.364
FromBinaryFile/bson / twitter,ns,1.01661e+07,1.22525e+06,8.297
Unflatten/citm_catalog,ns,9.79429e+06,3.6099e+06,2.713
FromBinaryShape/containers / cbor,ns,1.38062e+07,3.95491e+06,3.491
Diff/twitter,ns,4.8593e+06,640238,7.590
FromBinaryBuffer/cbor / floats,ns,2.89316e+07,5.38972e+06,5.368
Patch/canada,ns,1.00183e+07,3.40486e+06,2.942
JsonPointerToString/twitter,ns,2.13885e+06,811648,2.635
ParseFILE/canada,ns,5.23339e+07,5.94603e+06,8.801
Copy/citm_catalog,ns,1.62473e+06,1.47096e+06,1.105
ToCbor/twitter,ns,637711,140404,4.542
CopyAssign/twitter,ns,809718,768280,1.054
Equal/twitter,ns,137425,128272,1.071
FromBinaryShape/singles / msgpack,ns,9.79667e+06,3.84137e+06,2.550
Flatten/citm_catalog,ns,6.39977e+06,2.99034e+06,2.140
Equal/citm_catalog,ns,257648,254695,1.012
Accept/floats,ns,1.13431e+08,1.71844e+07,6.601
Unflatten/twitter,ns,4.63581e+06,2.18616e+06,2.121
BinaryToCbor/8,ns,246.515,48.6634,5.066
Dump/unsigned_ints / 4,ns,3.16753e+07,8.41946e+06,3.762
Dump/small_signed_ints / 4,ns,2.48696e+07,8.72941e+06,2.849
Accept/canada,ns,1.26794e+07,1.32204e+06,9.591
CopyAssign/citm_catalog,ns,1.658e+06,1.50401e+06,1.102
Diff/canada,ns,3.81491e+07,3.73659e+06,10.210
FromBinaryBuffer/bjdata / canada,ns,8.09969e+06,4.07622e+06,1.987
FromBinaryShape/containers / msgpack,ns,1.37529e+07,3.94846e+06,3.483
FromBinaryBuffer/ubjson_optimized / twitter,ns,3.105e+06,860260,3.609
FromBinaryBuffer/ubjson / canada,ns,8.10092e+06,4.13921e+06,1.957
FromBinaryBuffer/bjdata_optimized / canada,ns,8.57969e+06,2.40635e+06,3.565
Iterate/citm_catalog,ns,298875,146683,2.038
Dump/signed_ints / -,ns,2.35657e+07,1.06527e+07,2.212
Iterate/twitter,ns,87819.6,57086.7,1.538
ParseFile/unsigned_ints,ns,1.21976e+08,4.74314e+07,2.572
ToCbor/unsigned_ints,ns,8.02163e+06,2.73539e+06,2.933
FromBinaryBuffer/msgpack / canada,ns,8.2439e+06,2.09919e+06,3.927
ToCbor/small_signed_ints,ns,1.02153e+07,2.37758e+06,4.297
CopyRing/twitter,ns,859173,798950,1.075
FromBinaryFile/cbor / twitter,ns,9.83918e+06,1.05639e+06,9.314
ParseIndented/jeopardy / 4,ns,3.36775e+08,1.13321e+08,2.972
Iterate/canada,ns,871453,427207,2.040
BinaryToCbor/128,ns,255.325,113.969,2.240
Dump/unsigned_ints / -,ns,2.347e+07,8.05437e+06,2.914
Dump/citm_catalog / -,ns,1.3828e+06,292068,4.735
FromMsgpack/small_signed_ints,ns,6.28886e+07,3.37245e+07,1.865
ToCbor/signed_ints,ns,1.13369e+07,2.73327e+06,4.148
Dump/citm_catalog / 4,ns,1.92706e+06,415294,4.640
Accept/signed_ints,ns,1.15108e+08,2.32984e+07,4.941
Accept/unsigned_ints,ns,1.13981e+08,2.2856e+07,4.987
ToCbor/floats,ns,8.90101e+06,1.8411e+06,4.835
Dump/twitter / 4,ns,1.58163e+06,248861,6.355
Flatten/twitter,ns,3.47975e+06,2.04214e+06,1.704
ParseFILE/citm_catalog,ns,3.47528e+07,2.33647e+06,14.874
CopyRing/citm_catalog,ns,1.71026e+06,1.54721e+06,1.105
DestroyOnly/canada,ns,2.1373e+06,1.37986e+06,1.549
ParseIndented/canada / 4,ns,3.36975e+07,4.55234e+06,7.402
FromBinaryShape/nested / msgpack,ns,92164.1,34825.9,2.646
Copy/canada,ns,3.66531e+06,2.91548e+06,1.257
ParseFile/small_signed_ints,ns,6.36556e+07,3.32302e+07,1.916
SaxParse/citm_catalog,ns,6.40417e+06,651648,9.828
BinaryToCbor/1024,ns,310.054,103.516,2.995
FromBinaryBuffer/cbor / citm_catalog,ns,3.68791e+06,1.33699e+06,2.758
ParseString/small_signed_ints,ns,6.06983e+07,1.76778e+07,3.434
"GetArray<std::array<int, 1000>>",ns,2232.07,639.577,3.490
Dump/jeopardy / 4,ns,2.19387e+08,3.45399e+07,6.352
FromBinaryBuffer/ubjson / twitter,ns,3.12176e+06,872419,3.578
Dump/signed_ints / 4,ns,3.18414e+07,1.12445e+07,2.832
JsonPointerContains/citm_catalog,ns,2.70305e+06,1.24338e+06,2.174
Dump/twitter / -,ns,1.39545e+06,212169,6.577
ParseStringOrdered/canada,ns,1.50466e+07,3.77243e+06,3.989
Accept/jeopardy,ns,2.16678e+08,2.77477e+07,7.809
FromBinaryFile/cbor / canada,ns,1.42295e+07,2.4159e+06,5.890
Dump/jeopardy / -,ns,2.0084e+08,3.11939e+07,6.438
ToJsonStrings/copy,ns,5.86291e+06,5.5919e+06,1.048
BinaryToCbor/16,ns,244.867,48.2527,5.075
FromBinaryBuffer/cbor / canada,ns,8.25796e+06,2.10045e+06,3.932
Accept/small_signed_ints,ns,5.6282e+07,1.32434e+07,4.250
Patch/citm_catalog,ns,2.54655e+06,1.6363e+06,1.556
Unflatten/canada,ns,4.11873e+07,1.10494e+07,3.728
JsonPointerContains/twitter,ns,1.29206e+06,609759,2.119
Dump/floats / -,ns,6.31208e+07,2.36329e+07,2.671
CopyRing/canada,ns,3.73092e+06,2.94199e+06,1.268
ParseString/unsigned_ints,ns,1.18699e+08,2.83952e+07,4.180
ParseString/canada,ns,1.50831e+07,3.72801e+06,4.046
FromMsgpack/twitter,ns,9.91629e+06,999651,9.920
ParseFile/floats,ns,1.28428e+08,4.82106e+07,2.664
ParseStreamValues/ndjson,ns,7.12846e+06,3.74839e+06,1.902
FromMsgpack/citm_catalog,ns,8.9175e+06,1.6513e+06,5.400
FromBinaryBuffer/cbor / jeopardy,ns,3.54251e+08,1.00932e+08,3.510
CopyOnly/twitter,ns,398464,411184,0.969
BinaryToCbor/16384,ns,981.9,410.592,2.391
JsonPointerAt/twitter,ns,791229,593059,1.334
ParseFILE/twitter,ns,1.36013e+07,1.31018e+06,10.381
FromMsgpack/signed_ints,ns,6.22982e+07,3.26718e+07,1.907
FromCborChunkedString/10000 chunks,ns,90088.7,61202,1.472
FromBinaryShape/containers / bjdata,ns,1.40505e+07,7.07234e+06,1.987
JsonPointerToString/citm_catalog,ns,6.5753e+06,1.90833e+06,3.446
FlattenOrdered/twitter,ns,4.96493e+07,862665,57.553
DestroyOnly/citm_catalog,ns,879499,679164,1.295
FromBinaryFile/bjdata / twitter,ns,1.04027e+07,1.46032e+06,7.124
ToCbor/canada,ns,1.37306e+06,559412,2.454
GetMap/citm_catalog,ns,3.40323e+06,2.42997e+06,1.401
FromBinaryBuffer/bson / citm_catalog,ns,3.87408e+06,1.58607e+06,2.443
FromBinaryShape/nested / bson,ns,101814,42220.7,2.411
BinaryToCbor/4096,ns,407.896,168.978,2.414
CopyOnly/canada,ns,1.52999e+06,1.53061e+06,1.000
Dump/canada / 4,ns,8.85726e+06,3.02915e+06,2.924
JsonPointerAt/citm_catalog,ns,1.83519e+06,1.14559e+06,1.602
BinaryToCbor/32,ns,255.202,49.7487,5.130
ParseFile/citm_catalog,ns,7.73392e+06,2.43664e+06,3.174
FromBinaryShape/scalars / ubjson,ns,2.4621e+07,1.11449e+07,2.209
FromBinaryShape/scalars / cbor,ns,2.55544e+07,5.55805e+06,4.598
ParseStringOrdered/jeopardy,ns,3.6028e+08,9.79505e+07,3.678
FromBinaryFile/ubjson / canada,ns,1.35226e+07,6.34861e+06,2.130
FromBinaryBuffer/ubjson / jeopardy,ns,3.661e+08,9.93732e+07,3.684
BinaryToCbor/2048,ns,330.184,122.318,2.699
FromBinaryShape/nested / cbor,ns,93712.6,35235.7,2.660
ParseIndented/citm_catalog / 4,ns,7.2551e+06,1.46145e+06,4.964
BinaryToCbor/64,ns,257.867,83.3886,3.092
ParseFile/signed_ints,ns,1.26092e+08,4.60109e+07,2.740
CopyAssign/canada,ns,3.72953e+06,2.94923e+06,1.265
FromBinaryBuffer/bjdata / twitter,ns,3.1287e+06,873093,3.583
Dump/floats / 4,ns,7.1031e+07,2.45563e+07,2.893
FromBinaryBuffer/msgpack / twitter,ns,3.03481e+06,831338,3.651
FromBinaryShape/nested / bjdata,ns,95576.6,37944.7,2.519
ToJsonStrings/move,ns,5.84459e+06,3.0561e+06,1.912
FromMsgpack/jeopardy,ns,1.13918e+09,1.12093e+08,10.163
ParseString/signed_ints,ns,1.20325e+08,2.89864e+07,4.151
FromBinaryBuffer/bson / canada,ns,9.28095e+06,4.34519e+06,2.136
FromBinaryShape/containers / bson,ns,1.65723e+07,7.72033e+06,2.147
FromBinaryBuffer/cbor / signed_ints,ns,3.55593e+07,9.76349e+06,3.642
FromBinaryBuffer/ubjson / citm_catalog,ns,3.83988e+06,1.62757e+06,2.359
FromBinaryFile/ubjson / twitter,ns,1.03741e+07,1.44004e+06,7.204
Accept/citm_catalog,ns,6.37657e+06,473623,13.463
FromBinaryShape/singles / cbor,ns,9.80279e+06,3.85097e+06,2.546
Equal/canada,ns,455750,332820,1.369
JsonPointerParse/citm_catalog,ns,5.70466e+06,2.22344e+06,2.566
Flatten/canada,ns,2.84742e+07,1.1313e+07,2.517
ToCbor/jeopardy,ns,7.15663e+07,2.05264e+07,3.487
Copy/twitter,ns,800349,726319,1.102
FromBinaryShape/scalars / bjdata,ns,2.45145e+07,1.12069e+07,2.187
FromBinaryShape/containers / ubjson,ns,1.40347e+07,7.03944e+06,1.994
GetVectorDouble/floats,ns,6.68308e+06,658764,10.145
ParseFile/twitter,ns,3.35391e+06,1.35767e+06,2.470
CopyOnly/citm_catalog,ns,745442,794860,0.938
FromBinaryBuffer/cbor / twitter,ns,3.04874e+06,865468,3.523
FromBinaryBuffer/ubjson_optimized / canada,ns,8.44636e+06,2.38005e+06,3.549
ParseFile/canada,ns,1.7446e+07,6.23937e+06,2.796
FromBinaryBuffer/bson / twitter,ns,3.07555e+06,892243,3.447
SaxParse/twitter,ns,2.47779e+06,333102,7.439
BinaryToCbor/512,ns,292.983,98.3304,2.980
ToCbor/citm_catalog,ns,1.02844e+06,253313,4.060
FromMsgpack/floats,ns,5.95208e+07,2.78865e+07,2.134
FromBinaryBuffer/bjdata_optimized / twitter,ns,3.12712e+06,865993,3.611
Patch/twitter,ns,1.47408e+06,870268,1.694
ParseStreamValues/numbers,ns,1.92083e+06,385096,4.988
ParseIndented/twitter / 4,ns,3.58975e+06,955860,3.756
SaxParse/canada,ns,1.27866e+07,2.51963e+06,5.075
FromBinaryShape/scalars / msgpack,ns,2.43314e+07,5.38279e+06,4.520
BinaryToCbor/8192,ns,513.598,247.942,2.071
JsonPointerParse/twitter,ns,2.45095e+06,1.00205e+06,2.446
ParseFile/jeopardy,ns,3.30464e+08,1.58395e+08,2.086
FromBinaryBuffer/msgpack / citm_catalog,ns,3.70592e+06,1.2882e+06,2.877
ParseStringOrdered/citm_catalog,ns,1.08745e+07,1.3409e+06,8.110
FromMsgpack/canada,ns,1.44132e+07,2.40718e+06,5.988
ParseString/citm_catalog,ns,7.31279e+06,1.44898e+06,5.047
Dump/small_signed_ints / -,ns,1.78234e+07,7.93107e+06,2.247
Dump/canada / -,ns,6.69249e+06,2.30011e+06,2.910
FlattenOrdered/citm_catalog,ns,2.5462e+08,1.40264e+06,181.529
FromBinaryShape/containers / ubjson_optimized,ns,1.47327e+07,4.43609e+06,3.321
ParseString/jeopardy,ns,3.04442e+08,1.11899e+08,2.721
GetArray<std::set<int>>,ns,58151.3,41496.7,1.401
GetArray<std::vector<int>>,ns,6666.04,667.858,9.981
ParseString/floats,ns,1.18914e+08,2.45271e+07,4.848
BinaryToCbor/32768,ns,1576.97,800.59,1.970
Diff/citm_catalog,ns,6.81411e+06,1.0862e+06,6.273
ParseString/twitter,ns,3.18533e+06,901779,3.532
FromBinaryShape/nested / ubjson,ns,96073.3,37939.8,2.532
BinaryToCbor/256,ns,275.64,89.4743,3.081
FromMsgpack/unsigned_ints,ns,5.56157e+07,2.81137e+07,1.978
Accept/twitter,ns,2.46679e+06,233126,10.581
GetArray<std::deque<int>>,ns,8115.04,1164.68,6.968
ParseStringOrdered/twitter,ns,4.35839e+06,792369,5.500
DestroyOnly/twitter,ns,401329,325985,1.231
1 benchmark unit 3.12.0 3.13.0 speedup
2 Accept/canada FromBinaryBuffer/msgpack / jeopardy ns 1.27789e+07 3.56376e+08 1.34304e+06 9.37052e+07 9.515 3.803
3 Accept/citm_catalog GetVectorInt/signed_ints ns 6.47666e+06 8.00368e+06 474064 3.38526e+06 13.662 2.364
4 Accept/floats FromBinaryFile/bson / twitter ns 1.14227e+08 1.01661e+07 1.72173e+07 1.22525e+06 6.634 8.297
5 Accept/jeopardy Unflatten/citm_catalog ns 2.18081e+08 9.79429e+06 2.79002e+07 3.6099e+06 7.816 2.713
6 Accept/signed_ints FromBinaryShape/containers / cbor ns 1.15981e+08 1.38062e+07 2.33778e+07 3.95491e+06 4.961 3.491
7 Accept/small_signed_ints Diff/twitter ns 5.64996e+07 4.8593e+06 1.31818e+07 640238 4.286 7.590
8 Accept/twitter FromBinaryBuffer/cbor / floats ns 2.48725e+06 2.89316e+07 234277 5.38972e+06 10.617 5.368
9 Accept/unsigned_ints Patch/canada ns 1.14729e+08 1.00183e+07 2.28147e+07 3.40486e+06 5.029 2.942
10 BinaryToCbor/1024 JsonPointerToString/twitter ns 315.368 2.13885e+06 108.041 811648 2.919 2.635
11 BinaryToCbor/128 ParseFILE/canada ns 266.074 5.23339e+07 114.105 5.94603e+06 2.332 8.801
12 BinaryToCbor/16 Copy/citm_catalog ns 246.212 1.62473e+06 49.912 1.47096e+06 4.933 1.105
13 BinaryToCbor/16384 ToCbor/twitter ns 950.054 637711 418.045 140404 2.273 4.542
14 BinaryToCbor/2048 CopyAssign/twitter ns 340.213 809718 126.796 768280 2.683 1.054
15 BinaryToCbor/256 Equal/twitter ns 279.79 137425 91.7512 128272 3.049 1.071
16 BinaryToCbor/32 FromBinaryShape/singles / msgpack ns 262.471 9.79667e+06 50.3433 3.84137e+06 5.214 2.550
17 BinaryToCbor/32768 Flatten/citm_catalog ns 1578.4 6.39977e+06 837.8 2.99034e+06 1.884 2.140
18 BinaryToCbor/4096 Equal/citm_catalog ns 431.963 257648 174.276 254695 2.479 1.012
19 BinaryToCbor/512 Accept/floats ns 296.768 1.13431e+08 102.073 1.71844e+07 2.907 6.601
20 BinaryToCbor/64 Unflatten/twitter ns 259.159 4.63581e+06 84.2641 2.18616e+06 3.076 2.121
21 BinaryToCbor/8 ns 250.574 246.515 49.9122 48.6634 5.020 5.066
22 BinaryToCbor/8192 Dump/unsigned_ints / 4 ns 527.418 3.16753e+07 253.616 8.41946e+06 2.080 3.762
23 Copy/canada Dump/small_signed_ints / 4 ns 3.68841e+06 2.48696e+07 2.9017e+06 8.72941e+06 1.271 2.849
24 Copy/citm_catalog Accept/canada ns 1.64706e+06 1.26794e+07 1.48507e+06 1.32204e+06 1.109 9.591
25 Copy/twitter CopyAssign/citm_catalog ns 810558 1.658e+06 728698 1.50401e+06 1.112 1.102
26 CopyAssign/canada Diff/canada ns 3.73912e+06 3.81491e+07 2.94393e+06 3.73659e+06 1.270 10.210
27 CopyAssign/citm_catalog FromBinaryBuffer/bjdata / canada ns 1.6545e+06 8.09969e+06 1.53713e+06 4.07622e+06 1.076 1.987
28 CopyAssign/twitter FromBinaryShape/containers / msgpack ns 817997 1.37529e+07 752415 3.94846e+06 1.087 3.483
29 CopyOnly/canada FromBinaryBuffer/ubjson_optimized / twitter ns 1.53602e+06 3.105e+06 1.52075e+06 860260 1.010 3.609
30 CopyOnly/citm_catalog FromBinaryBuffer/ubjson / canada ns 754817 8.10092e+06 794741 4.13921e+06 0.950 1.957
31 CopyOnly/twitter FromBinaryBuffer/bjdata_optimized / canada ns 406966 8.57969e+06 410330 2.40635e+06 0.992 3.565
32 CopyRing/canada Iterate/citm_catalog ns 3.74734e+06 298875 2.92592e+06 146683 1.281 2.038
33 CopyRing/citm_catalog Dump/signed_ints / - ns 1.7477e+06 2.35657e+07 1.54757e+06 1.06527e+07 1.129 2.212
34 CopyRing/twitter Iterate/twitter ns 876191 87819.6 784261 57086.7 1.117 1.538
35 DestroyOnly/canada ParseFile/unsigned_ints ns 2.16216e+06 1.21976e+08 1.38217e+06 4.74314e+07 1.564 2.572
36 DestroyOnly/citm_catalog ToCbor/unsigned_ints ns 895535 8.02163e+06 681877 2.73539e+06 1.313 2.933
37 DestroyOnly/twitter FromBinaryBuffer/msgpack / canada ns 406450 8.2439e+06 326620 2.09919e+06 1.244 3.927
38 Diff/canada ToCbor/small_signed_ints ns 3.91782e+07 1.02153e+07 3.75209e+06 2.37758e+06 10.442 4.297
39 Diff/citm_catalog CopyRing/twitter ns 6.91552e+06 859173 1.09211e+06 798950 6.332 1.075
40 Diff/twitter FromBinaryFile/cbor / twitter ns 4.92965e+06 9.83918e+06 639734 1.05639e+06 7.706 9.314
41 Dump/canada / - ParseIndented/jeopardy / 4 ns 6.70617e+06 3.36775e+08 2.31399e+06 1.13321e+08 2.898 2.972
42 Dump/canada / 4 Iterate/canada ns 8.81664e+06 871453 3.03083e+06 427207 2.909 2.040
43 Dump/citm_catalog / - BinaryToCbor/128 ns 1.39132e+06 255.325 295525 113.969 4.708 2.240
44 Dump/citm_catalog / 4 Dump/unsigned_ints / - ns 1.94729e+06 2.347e+07 421536 8.05437e+06 4.620 2.914
45 Dump/floats / - Dump/citm_catalog / - ns 6.35321e+07 1.3828e+06 2.37757e+07 292068 2.672 4.735
46 Dump/floats / 4 FromMsgpack/small_signed_ints ns 7.19879e+07 6.28886e+07 2.4663e+07 3.37245e+07 2.919 1.865
47 Dump/jeopardy / - ToCbor/signed_ints ns 2.0176e+08 1.13369e+07 3.0624e+07 2.73327e+06 6.588 4.148
48 Dump/jeopardy / 4 Dump/citm_catalog / 4 ns 2.20493e+08 1.92706e+06 3.43504e+07 415294 6.419 4.640
49 Dump/signed_ints / - Accept/signed_ints ns 2.36853e+07 1.15108e+08 1.07405e+07 2.32984e+07 2.205 4.941
50 Dump/signed_ints / 4 Accept/unsigned_ints ns 3.2029e+07 1.13981e+08 1.13731e+07 2.2856e+07 2.816 4.987
51 Dump/small_signed_ints / - ToCbor/floats ns 1.78623e+07 8.90101e+06 7.93339e+06 1.8411e+06 2.252 4.835
52 Dump/small_signed_ints / 4 Dump/twitter / 4 ns 2.50508e+07 1.58163e+06 8.80939e+06 248861 2.844 6.355
53 Dump/twitter / - Flatten/twitter ns 1.40813e+06 3.47975e+06 213513 2.04214e+06 6.595 1.704
54 Dump/twitter / 4 ParseFILE/citm_catalog ns 1.59095e+06 3.47528e+07 249353 2.33647e+06 6.380 14.874
55 Dump/unsigned_ints / - CopyRing/citm_catalog ns 2.35653e+07 1.71026e+06 8.07378e+06 1.54721e+06 2.919 1.105
56 Dump/unsigned_ints / 4 DestroyOnly/canada ns 3.17269e+07 2.1373e+06 8.50708e+06 1.37986e+06 3.729 1.549
57 Equal/canada ParseIndented/canada / 4 ns 463162 3.36975e+07 336269 4.55234e+06 1.377 7.402
58 Equal/citm_catalog FromBinaryShape/nested / msgpack ns 264124 92164.1 260967 34825.9 1.012 2.646
59 Equal/twitter Copy/canada ns 138843 3.66531e+06 128906 2.91548e+06 1.077 1.257
60 Flatten/canada ParseFile/small_signed_ints ns 2.86941e+07 6.36556e+07 1.1214e+07 3.32302e+07 2.559 1.916
61 Flatten/citm_catalog SaxParse/citm_catalog ns 6.4406e+06 6.40417e+06 3.00538e+06 651648 2.143 9.828
62 Flatten/twitter BinaryToCbor/1024 ns 3.53051e+06 310.054 2.05449e+06 103.516 1.718 2.995
63 FlattenOrdered/citm_catalog FromBinaryBuffer/cbor / citm_catalog ns 2.56371e+08 3.68791e+06 1.40896e+06 1.33699e+06 181.958 2.758
64 FlattenOrdered/twitter ParseString/small_signed_ints ns 5.00313e+07 6.06983e+07 863594 1.76778e+07 57.934 3.434
65 FromBinaryBuffer/bjdata / canada GetArray<std::array<int, 1000>> ns 8.15141e+06 2232.07 4.17154e+06 639.577 1.954 3.490
66 FromBinaryBuffer/bjdata / twitter Dump/jeopardy / 4 ns 3.18297e+06 2.19387e+08 893076 3.45399e+07 3.564 6.352
67 FromBinaryBuffer/bjdata_optimized / canada FromBinaryBuffer/ubjson / twitter ns 8.73882e+06 3.12176e+06 2.42167e+06 872419 3.609 3.578
68 FromBinaryBuffer/bjdata_optimized / twitter Dump/signed_ints / 4 ns 3.15905e+06 3.18414e+07 884856 1.12445e+07 3.570 2.832
69 FromBinaryBuffer/bson / canada JsonPointerContains/citm_catalog ns 9.33283e+06 2.70305e+06 4.27358e+06 1.24338e+06 2.184 2.174
70 FromBinaryBuffer/bson / citm_catalog Dump/twitter / - ns 3.91854e+06 1.39545e+06 1.61073e+06 212169 2.433 6.577
71 FromBinaryBuffer/bson / twitter ParseStringOrdered/canada ns 3.176e+06 1.50466e+07 910290 3.77243e+06 3.489 3.989
72 FromBinaryBuffer/cbor / canada Accept/jeopardy ns 8.39002e+06 2.16678e+08 2.08256e+06 2.77477e+07 4.029 7.809
73 FromBinaryBuffer/cbor / citm_catalog FromBinaryFile/cbor / canada ns 3.71495e+06 1.42295e+07 1.31999e+06 2.4159e+06 2.814 5.890
74 FromBinaryBuffer/cbor / floats Dump/jeopardy / - ns 2.91606e+07 2.0084e+08 5.48446e+06 3.11939e+07 5.317 6.438
75 FromBinaryBuffer/cbor / jeopardy ToJsonStrings/copy ns 3.52964e+08 5.86291e+06 1.00739e+08 5.5919e+06 3.504 1.048
76 FromBinaryBuffer/cbor / signed_ints BinaryToCbor/16 ns 3.59874e+07 244.867 9.77712e+06 48.2527 3.681 5.075
77 FromBinaryBuffer/cbor / twitter FromBinaryBuffer/cbor / canada ns 3.08997e+06 8.25796e+06 878827 2.10045e+06 3.516 3.932
78 FromBinaryBuffer/msgpack / canada Accept/small_signed_ints ns 8.25869e+06 5.6282e+07 2.09779e+06 1.32434e+07 3.937 4.250
79 FromBinaryBuffer/msgpack / citm_catalog Patch/citm_catalog ns 3.71825e+06 2.54655e+06 1.28675e+06 1.6363e+06 2.890 1.556
80 FromBinaryBuffer/msgpack / jeopardy Unflatten/canada ns 3.56624e+08 4.11873e+07 9.69017e+07 1.10494e+07 3.680 3.728
81 FromBinaryBuffer/msgpack / twitter JsonPointerContains/twitter ns 3.06392e+06 1.29206e+06 850067 609759 3.604 2.119
82 FromBinaryBuffer/ubjson / canada Dump/floats / - ns 8.12649e+06 6.31208e+07 4.14411e+06 2.36329e+07 1.961 2.671
83 FromBinaryBuffer/ubjson / citm_catalog CopyRing/canada ns 3.82184e+06 3.73092e+06 1.65659e+06 2.94199e+06 2.307 1.268
84 FromBinaryBuffer/ubjson / jeopardy ParseString/unsigned_ints ns 3.65507e+08 1.18699e+08 1.01303e+08 2.83952e+07 3.608 4.180
85 FromBinaryBuffer/ubjson / twitter ParseString/canada ns 3.15221e+06 1.50831e+07 895746 3.72801e+06 3.519 4.046
86 FromBinaryBuffer/ubjson_optimized / canada FromMsgpack/twitter ns 8.5126e+06 9.91629e+06 2.38858e+06 999651 3.564 9.920
87 FromBinaryBuffer/ubjson_optimized / twitter ParseFile/floats ns 3.12199e+06 1.28428e+08 882166 4.82106e+07 3.539 2.664
88 FromBinaryFile/bjdata / twitter ParseStreamValues/ndjson ns 1.04222e+07 7.12846e+06 1.45214e+06 3.74839e+06 7.177 1.902
89 FromBinaryFile/bson / twitter FromMsgpack/citm_catalog ns 1.02874e+07 8.9175e+06 1.23514e+06 1.6513e+06 8.329 5.400
90 FromBinaryFile/cbor / canada FromBinaryBuffer/cbor / jeopardy ns 1.43434e+07 3.54251e+08 2.4071e+06 1.00932e+08 5.959 3.510
91 FromBinaryFile/cbor / twitter CopyOnly/twitter ns 9.92359e+06 398464 1.075e+06 411184 9.231 0.969
92 FromBinaryFile/ubjson / canada BinaryToCbor/16384 ns 1.35516e+07 981.9 6.2336e+06 410.592 2.174 2.391
93 FromBinaryFile/ubjson / twitter JsonPointerAt/twitter ns 1.05159e+07 791229 1.46077e+06 593059 7.199 1.334
94 FromBinaryShape/containers / bjdata ParseFILE/twitter ns 1.43175e+07 1.36013e+07 7.24204e+06 1.31018e+06 1.977 10.381
95 FromBinaryShape/containers / bson FromMsgpack/signed_ints ns 1.74215e+07 6.22982e+07 7.97531e+06 3.26718e+07 2.184 1.907
96 FromBinaryShape/containers / cbor FromCborChunkedString/10000 chunks ns 1.3898e+07 90088.7 3.93021e+06 61202 3.536 1.472
97 FromBinaryShape/containers / msgpack FromBinaryShape/containers / bjdata ns 1.378e+07 1.40505e+07 3.88449e+06 7.07234e+06 3.547 1.987
98 FromBinaryShape/containers / ubjson JsonPointerToString/citm_catalog ns 1.44223e+07 6.5753e+06 7.2737e+06 1.90833e+06 1.983 3.446
99 FromBinaryShape/containers / ubjson_optimized FlattenOrdered/twitter ns 1.49736e+07 4.96493e+07 4.48674e+06 862665 3.337 57.553
100 FromBinaryShape/nested / bjdata DestroyOnly/citm_catalog ns 96363.9 879499 38197.9 679164 2.523 1.295
101 FromBinaryShape/nested / bson FromBinaryFile/bjdata / twitter ns 102515 1.04027e+07 42496.1 1.46032e+06 2.412 7.124
102 FromBinaryShape/nested / cbor ToCbor/canada ns 93842.1 1.37306e+06 35385.5 559412 2.652 2.454
103 FromBinaryShape/nested / msgpack GetMap/citm_catalog ns 92033 3.40323e+06 34888.5 2.42997e+06 2.638 1.401
104 FromBinaryShape/nested / ubjson FromBinaryBuffer/bson / citm_catalog ns 96455.9 3.87408e+06 37922.6 1.58607e+06 2.543 2.443
105 FromBinaryShape/scalars / bjdata FromBinaryShape/nested / bson ns 2.48048e+07 101814 1.1476e+07 42220.7 2.161 2.411
106 FromBinaryShape/scalars / cbor BinaryToCbor/4096 ns 2.56641e+07 407.896 5.68711e+06 168.978 4.513 2.414
107 FromBinaryShape/scalars / msgpack CopyOnly/canada ns 2.44254e+07 1.52999e+06 5.56716e+06 1.53061e+06 4.387 1.000
108 FromBinaryShape/scalars / ubjson Dump/canada / 4 ns 2.49328e+07 8.85726e+06 1.15997e+07 3.02915e+06 2.149 2.924
109 FromCborChunkedString/10000 chunks JsonPointerAt/citm_catalog ns 90902.3 1.83519e+06 61512.6 1.14559e+06 1.478 1.602
110 FromMsgpack/canada BinaryToCbor/32 ns 1.43596e+07 255.202 2.40425e+06 49.7487 5.973 5.130
111 FromMsgpack/citm_catalog ParseFile/citm_catalog ns 9.03526e+06 7.73392e+06 1.66705e+06 2.43664e+06 5.420 3.174
112 FromMsgpack/floats FromBinaryShape/scalars / ubjson ns 5.97879e+07 2.4621e+07 2.82314e+07 1.11449e+07 2.118 2.209
113 FromMsgpack/jeopardy FromBinaryShape/scalars / cbor ns 1.14023e+09 2.55544e+07 1.1207e+08 5.55805e+06 10.174 4.598
114 FromMsgpack/signed_ints ParseStringOrdered/jeopardy ns 6.30943e+07 3.6028e+08 3.27435e+07 9.79505e+07 1.927 3.678
115 FromMsgpack/small_signed_ints FromBinaryFile/ubjson / canada ns 6.34225e+07 1.35226e+07 3.52538e+07 6.34861e+06 1.799 2.130
116 FromMsgpack/twitter FromBinaryBuffer/ubjson / jeopardy ns 9.99383e+06 3.661e+08 1.01241e+06 9.93732e+07 9.871 3.684
117 FromMsgpack/unsigned_ints BinaryToCbor/2048 ns 5.61151e+07 330.184 2.82024e+07 122.318 1.990 2.699
118 GetArray<std::array<int, 1000>> FromBinaryShape/nested / cbor ns 2242.43 93712.6 641.094 35235.7 3.498 2.660
119 GetArray<std::deque<int>> ParseIndented/citm_catalog / 4 ns 8157.44 7.2551e+06 1172.81 1.46145e+06 6.955 4.964
120 GetArray<std::set<int>> BinaryToCbor/64 ns 58833.4 257.867 41553 83.3886 1.416 3.092
121 GetArray<std::vector<int>> ParseFile/signed_ints ns 6725.67 1.26092e+08 670.816 4.60109e+07 10.026 2.740
122 GetMap/citm_catalog CopyAssign/canada ns 3.44193e+06 3.72953e+06 2.43771e+06 2.94923e+06 1.412 1.265
123 GetVectorDouble/floats FromBinaryBuffer/bjdata / twitter ns 6.7017e+06 3.1287e+06 650766 873093 10.298 3.583
124 GetVectorInt/signed_ints Dump/floats / 4 ns 8.06579e+06 7.1031e+07 3.40643e+06 2.45563e+07 2.368 2.893
125 Iterate/canada FromBinaryBuffer/msgpack / twitter ns 873618 3.03481e+06 445143 831338 1.963 3.651
126 Iterate/citm_catalog FromBinaryShape/nested / bjdata ns 301801 95576.6 157823 37944.7 1.912 2.519
127 Iterate/twitter ToJsonStrings/move ns 87345 5.84459e+06 58936.4 3.0561e+06 1.482 1.912
128 JsonPointerAt/citm_catalog FromMsgpack/jeopardy ns 1.85369e+06 1.13918e+09 1.1599e+06 1.12093e+08 1.598 10.163
129 JsonPointerAt/twitter ParseString/signed_ints ns 791487 1.20325e+08 599585 2.89864e+07 1.320 4.151
130 JsonPointerContains/citm_catalog FromBinaryBuffer/bson / canada ns 2.73824e+06 9.28095e+06 1.25465e+06 4.34519e+06 2.182 2.136
131 JsonPointerContains/twitter FromBinaryShape/containers / bson ns 1.32403e+06 1.65723e+07 620312 7.72033e+06 2.134 2.147
132 JsonPointerParse/citm_catalog FromBinaryBuffer/cbor / signed_ints ns 5.72778e+06 3.55593e+07 2.21453e+06 9.76349e+06 2.586 3.642
133 JsonPointerParse/twitter FromBinaryBuffer/ubjson / citm_catalog ns 2.4672e+06 3.83988e+06 1.00864e+06 1.62757e+06 2.446 2.359
134 JsonPointerToString/citm_catalog FromBinaryFile/ubjson / twitter ns 6.65484e+06 1.03741e+07 1.89788e+06 1.44004e+06 3.506 7.204
135 JsonPointerToString/twitter Accept/citm_catalog ns 2.13903e+06 6.37657e+06 811916 473623 2.635 13.463
136 ParseFILE/canada FromBinaryShape/singles / cbor ns 5.29148e+07 9.80279e+06 6.01689e+06 3.85097e+06 8.794 2.546
137 ParseFILE/citm_catalog Equal/canada ns 3.49593e+07 455750 2.34075e+06 332820 14.935 1.369
138 ParseFILE/twitter JsonPointerParse/citm_catalog ns 1.38263e+07 5.70466e+06 1.34963e+06 2.22344e+06 10.245 2.566
139 ParseFile/canada Flatten/canada ns 1.76922e+07 2.84742e+07 6.22534e+06 1.1313e+07 2.842 2.517
140 ParseFile/citm_catalog ToCbor/jeopardy ns 7.85962e+06 7.15663e+07 2.47244e+06 2.05264e+07 3.179 3.487
141 ParseFile/floats Copy/twitter ns 1.29413e+08 800349 4.83839e+07 726319 2.675 1.102
142 ParseFile/jeopardy FromBinaryShape/scalars / bjdata ns 3.30328e+08 2.45145e+07 1.56161e+08 1.12069e+07 2.115 2.187
143 ParseFile/signed_ints FromBinaryShape/containers / ubjson ns 1.27675e+08 1.40347e+07 4.65862e+07 7.03944e+06 2.741 1.994
144 ParseFile/small_signed_ints GetVectorDouble/floats ns 6.44651e+07 6.68308e+06 3.33577e+07 658764 1.933 10.145
145 ParseFile/twitter ns 3.39729e+06 3.35391e+06 1.37932e+06 1.35767e+06 2.463 2.470
146 ParseFile/unsigned_ints CopyOnly/citm_catalog ns 1.23326e+08 745442 4.73146e+07 794860 2.607 0.938
147 ParseIndented/canada / 4 FromBinaryBuffer/cbor / twitter ns 3.41603e+07 3.04874e+06 4.60976e+06 865468 7.410 3.523
148 ParseIndented/citm_catalog / 4 FromBinaryBuffer/ubjson_optimized / canada ns 7.45491e+06 8.44636e+06 1.45798e+06 2.38005e+06 5.113 3.549
149 ParseIndented/jeopardy / 4 ParseFile/canada ns 3.38801e+08 1.7446e+07 1.14349e+08 6.23937e+06 2.963 2.796
150 ParseIndented/twitter / 4 FromBinaryBuffer/bson / twitter ns 3.61322e+06 3.07555e+06 975391 892243 3.704 3.447
151 ParseStreamValues/ndjson SaxParse/twitter ns 7.07974e+06 2.47779e+06 3.7154e+06 333102 1.906 7.439
152 ParseStreamValues/numbers BinaryToCbor/512 ns 1.92884e+06 292.983 388042 98.3304 4.971 2.980
153 ParseString/canada ToCbor/citm_catalog ns 1.52389e+07 1.02844e+06 3.73427e+06 253313 4.081 4.060
154 ParseString/citm_catalog FromMsgpack/floats ns 7.40128e+06 5.95208e+07 1.44821e+06 2.78865e+07 5.111 2.134
155 ParseString/floats FromBinaryBuffer/bjdata_optimized / twitter ns 1.19856e+08 3.12712e+06 2.49654e+07 865993 4.801 3.611
156 ParseString/jeopardy Patch/twitter ns 3.03449e+08 1.47408e+06 1.13053e+08 870268 2.684 1.694
157 ParseString/signed_ints ParseStreamValues/numbers ns 1.21175e+08 1.92083e+06 2.86805e+07 385096 4.225 4.988
158 ParseString/small_signed_ints ParseIndented/twitter / 4 ns 6.07636e+07 3.58975e+06 1.77037e+07 955860 3.432 3.756
159 ParseString/twitter SaxParse/canada ns 3.21074e+06 1.27866e+07 920551 2.51963e+06 3.488 5.075
160 ParseString/unsigned_ints FromBinaryShape/scalars / msgpack ns 1.20011e+08 2.43314e+07 2.85056e+07 5.38279e+06 4.210 4.520
161 ParseStringOrdered/canada BinaryToCbor/8192 ns 1.52544e+07 513.598 3.77964e+06 247.942 4.036 2.071
162 ParseStringOrdered/citm_catalog JsonPointerParse/twitter ns 1.09927e+07 2.45095e+06 1.34339e+06 1.00205e+06 8.183 2.446
163 ParseStringOrdered/jeopardy ParseFile/jeopardy ns 3.60435e+08 3.30464e+08 9.81296e+07 1.58395e+08 3.673 2.086
164 ParseStringOrdered/twitter FromBinaryBuffer/msgpack / citm_catalog ns 4.41151e+06 3.70592e+06 803859 1.2882e+06 5.488 2.877
165 Patch/canada ParseStringOrdered/citm_catalog ns 1.01249e+07 1.08745e+07 3.41425e+06 1.3409e+06 2.965 8.110
166 Patch/citm_catalog FromMsgpack/canada ns 2.54415e+06 1.44132e+07 1.65413e+06 2.40718e+06 1.538 5.988
167 Patch/twitter ParseString/citm_catalog ns 1.4932e+06 7.31279e+06 870217 1.44898e+06 1.716 5.047
168 SaxParse/canada Dump/small_signed_ints / - ns 1.28611e+07 1.78234e+07 2.49889e+06 7.93107e+06 5.147 2.247
169 SaxParse/citm_catalog Dump/canada / - ns 6.43798e+06 6.69249e+06 655372 2.30011e+06 9.823 2.910
170 SaxParse/twitter FlattenOrdered/citm_catalog ns 2.48859e+06 2.5462e+08 334038 1.40264e+06 7.450 181.529
171 ToCbor/canada FromBinaryShape/containers / ubjson_optimized ns 1.39101e+06 1.47327e+07 554952 4.43609e+06 2.507 3.321
172 ToCbor/citm_catalog ParseString/jeopardy ns 1.0334e+06 3.04442e+08 260397 1.11899e+08 3.969 2.721
173 ToCbor/floats GetArray<std::set<int>> ns 8.93763e+06 58151.3 1.84589e+06 41496.7 4.842 1.401
174 ToCbor/jeopardy GetArray<std::vector<int>> ns 7.14785e+07 6666.04 2.10551e+07 667.858 3.395 9.981
175 ToCbor/signed_ints ParseString/floats ns 1.13863e+07 1.18914e+08 2.74211e+06 2.45271e+07 4.152 4.848
176 ToCbor/small_signed_ints BinaryToCbor/32768 ns 1.02822e+07 1576.97 2.37622e+06 800.59 4.327 1.970
177 ToCbor/twitter Diff/citm_catalog ns 636979 6.81411e+06 144369 1.0862e+06 4.412 6.273
178 ToCbor/unsigned_ints ParseString/twitter ns 8.04576e+06 3.18533e+06 2.74066e+06 901779 2.936 3.532
179 ToJsonStrings/copy FromBinaryShape/nested / ubjson ns 5.85988e+06 96073.3 5.60056e+06 37939.8 1.046 2.532
180 ToJsonStrings/move BinaryToCbor/256 ns 5.92335e+06 275.64 3.04643e+06 89.4743 1.944 3.081
181 Unflatten/canada FromMsgpack/unsigned_ints ns 4.17811e+07 5.56157e+07 1.08132e+07 2.81137e+07 3.864 1.978
182 Unflatten/citm_catalog Accept/twitter ns 9.80315e+06 2.46679e+06 3.53672e+06 233126 2.772 10.581
183 Unflatten/twitter GetArray<std::deque<int>> ns 4.56968e+06 8115.04 2.16566e+06 1164.68 2.110 6.968
184 ParseStringOrdered/twitter ns 4.35839e+06 792369 5.500
185 DestroyOnly/twitter ns 401329 325985 1.231
@@ -358,4 +358,31 @@ index,commit,date,pr,subject,parse_twitter,parse_citm,parse_canada,parse_citm_co
356,e48800f09d,2026-11-04,6001,Binary reader and writer: remove checks that invariants make dead (#6001),1371.292,2434.395,6104.099,2313.769,1711.288,483.297,211.214,288.130,2308.992,416.639,1300.966,138.719,1455.595,1695.539,180.445,370.313,962.574
357,951271127b,2026-11-07,6028,Binary readers: append strings straight from contiguous input (#6028),1381.807,2431.713,6099.235,2311.519,1694.104,464.615,207.900,288.438,2322.463,418.952,1227.851,138.811,1468.723,1706.816,177.249,369.912,975.798
358,18138227dc,2026-11-07,6030,Scan the buffer of a FILE in bulk with glibc and the Apple C library (#6030),1379.500,2439.343,6147.771,2308.199,1689.427,482.217,213.967,290.466,2309.747,420.209,1239.525,139.367,1443.438,1731.583,180.401,364.380,975.476
359,candidate,,,develop + open pull requests,1230.726,2155.896,5188.718,2038.886,1713.280,234.359,212.584,289.591,2313.669,425.788,1234.309,137.017,1444.999,1699.919,179.250,367.586,954.772
359,7757de3a58,2026-11-09,6039,Iterator: test for objects before arrays (#6039),1380.384,2436.173,6147.015,2327.618,1738.474,479.559,210.207,289.011,2311.297,416.324,1223.047,137.995,1446.103,1697.968,178.351,369.205,962.294
360,33f15727ce,2026-11-10,6031,Parse JSON in one block of memory with a fused pointer-based parser (#6031),1232.688,2159.908,5203.801,1984.113,1697.135,230.527,211.447,288.789,2304.532,416.955,1225.428,137.797,1440.462,1683.331,176.779,366.584,951.058
361,5901d861ff,2026-11-10,6049,json_view: keep tokens without an integer digit out of the float batch (#6049),1228.185,2146.667,5181.943,1972.052,1698.107,231.118,209.299,289.238,2307.989,416.087,1231.054,137.859,1447.867,1702.647,176.785,368.826,954.212
362,2a4aec3e69,2026-11-10,6033,SWAR and vector scans: test for special bytes in fewer operations (#6033),1233.188,2161.879,5191.370,1978.785,1703.568,230.498,210.532,289.351,2308.372,418.358,1227.920,137.364,1447.278,1702.532,177.017,364.865,945.366
363,8d591bf720,2026-11-10,6029,Read iterator pairs of std::string and std::vector as pointer ranges (#6029),1227.886,2159.435,5199.636,1982.978,1715.561,231.767,210.422,289.284,2302.689,420.006,1230.287,137.760,1445.918,1705.056,177.166,368.877,944.291
364,be08f42456,2026-11-11,6073,"Fix parse(container, function) for plain functions as callback (#6073)",1220.622,2159.982,5175.604,1981.034,1693.147,231.401,209.595,288.827,2299.556,419.193,1229.394,138.610,1445.513,1710.022,176.390,365.380,940.510
365,0d38e99d83,2026-11-11,6077,Resume patch operations from the common prefix in constant time per step (#6077),1233.522,2158.617,5196.765,1980.941,1702.170,229.834,210.821,288.592,2308.507,417.081,1227.764,137.399,1446.635,1704.976,175.744,367.698,943.458
366,1dae5a66b1,2026-11-11,6081,Add JSON_RECURSION_DEPTH_LIMIT to set how deep value walks recurse (#6081),1230.690,2151.489,5191.953,1984.906,1700.260,230.793,211.017,288.089,2312.342,419.356,1223.258,138.339,1445.548,1704.768,177.168,366.790,961.568
367,94331d1050,2026-11-11,6086,Document that read() must not be given a view of the document itself (#6086),1228.842,2162.550,5193.906,1980.191,1700.069,231.572,211.080,288.779,2304.155,417.238,1216.482,137.702,1438.880,1701.421,175.708,367.558,957.223
368,9d35fe6d21,2026-11-11,6084,Reject integer tokens in float nodes of fully checked images (#6084),1236.233,2162.730,5182.683,1979.372,1695.141,230.901,209.906,288.776,2311.244,417.004,1222.106,137.967,1443.311,1700.528,176.628,366.710,949.742
369,02d57db31e,2026-11-11,6085,Do not compare an edited NaN equal to itself in json_view (#6085),1233.778,2151.744,5213.938,1982.767,1704.871,230.701,209.543,289.741,2297.221,417.113,1224.923,137.565,1445.522,1701.807,176.716,368.262,952.823
370,cdfb130fa6,2026-11-12,6075,Read a std::u8string from a JSON string and store it as one in every configuration (#6075),1236.354,2153.790,5199.718,1978.715,1702.050,230.356,210.653,289.444,2304.222,426.317,1220.273,137.684,1444.870,1690.885,178.127,367.347,949.974
371,2755952d36,2026-11-13,6100,"Fix develop CI: GCC 4.8, Clang 3.4 and clang-tidy errors (#6100)",1222.899,2156.212,5181.916,1972.216,1707.991,229.903,210.406,289.413,2310.431,418.713,1219.681,140.001,1436.467,1700.257,175.641,361.899,950.782
372,72966ae73d,2026-11-13,6117,Force inlining of the serializer helpers only in optimized builds (#6117),1229.660,2150.695,5157.099,1966.099,1692.936,229.292,210.305,289.231,2301.568,415.831,1220.180,137.774,1432.240,1698.052,174.548,366.678,950.163
373,81888ff9f0,2026-11-13,6119,Report a missing 0xFF after a final BON8 string also without strict (#6119),1233.542,2151.332,5183.625,1984.042,1710.823,229.551,211.353,289.866,2311.086,418.131,1227.319,137.569,1444.212,1700.958,176.178,365.856,953.536
374,73ec296320,2026-11-15,6078,Bound the total number of valueless UBJSON elements per input (#6078),1225.244,2142.945,5179.239,1975.435,1692.371,229.707,209.821,289.197,2300.630,417.989,1221.188,138.535,1444.541,1693.598,175.269,364.811,955.163
375,253e4c3926,2026-11-15,6082,Bound what the DOM parsers reserve for arrays that announce a size (#6082),1228.159,2150.463,5174.974,1987.111,1705.310,230.039,210.280,288.954,2308.954,418.132,1227.745,138.757,1449.575,1700.477,176.470,370.286,958.173
376,99adff001d,2026-11-15,6076,Make unflatten() linear in the length of the keys (#6076),1247.784,2178.565,5282.307,1990.546,1707.260,232.710,209.397,289.724,2306.957,417.662,1224.773,137.922,1443.309,1700.334,177.686,369.785,963.850
377,abbc29963a,2026-11-15,6121,Keep only the beginning and the end of a long token for error messages (#6121),1243.430,2162.966,5197.807,1981.517,1699.622,231.899,212.120,289.719,2312.327,416.077,1223.013,137.234,1446.961,1713.164,177.601,367.974,943.188
378,a1284028b2,2026-11-18,6132,json_view: fix a scalar set() through a view of an erased value (#6132),1236.319,2162.056,5207.239,1983.479,1706.768,229.802,210.298,289.318,2316.301,416.765,1221.983,137.681,1448.338,1705.124,178.169,368.837,945.636
379,03ce377876,2026-11-18,6134,Pass the complete text of a UBJSON/BJData high-precision number to SAX number_float (#6134),1233.842,2157.797,5178.062,1980.544,1708.546,229.843,213.918,288.147,2309.180,418.388,1223.172,136.906,1441.884,1704.709,176.812,368.129,945.403
380,1f7250f77f,2026-11-18,6135,Write a binary subtype independently of number_unsigned_t in dump() (#6135),1236.309,2157.733,5209.677,1982.646,1701.816,231.043,213.443,289.575,2302.857,416.062,1226.513,137.043,1446.779,1709.938,176.500,367.158,943.228
381,6ac411e14c,2026-11-18,6137,Report the same error position for bulk number runs as for byte-wise input (#6137),1238.184,2163.547,5163.505,1972.937,1713.279,230.776,213.511,290.663,2327.517,418.178,1226.622,136.560,1439.095,1697.021,176.058,367.883,938.042
382,f91e900875,2026-11-18,6138,Fix stale comments in include/ (#6138),1234.367,2151.995,5201.583,1976.619,1700.410,229.218,214.634,289.998,2311.756,418.839,1219.061,138.104,1441.412,1700.653,176.893,365.899,941.629
383,f6eb5e4fb1,2026-11-18,6140,Fix documentation errors and clean up repository leftovers (#6140),1247.164,2168.977,5259.532,1993.329,1717.332,232.236,213.166,289.975,2321.773,418.984,1222.782,137.583,1448.037,1704.815,178.514,369.683,949.272
384,555ef48fb6,2026-11-18,6125,Fix reverse iterator subscript exception for objects (#6125),1238.656,2160.482,5201.062,1979.512,1702.148,229.870,214.298,290.640,2319.590,418.756,1223.883,137.797,1445.209,1698.182,177.839,368.290,948.144
385,d957a10f55,2026-11-23,6133,Copy instead of move when converting an rvalue non-owning range (#6133),1237.055,2154.473,5199.230,1977.363,1691.616,229.104,214.277,289.952,2302.805,416.649,1219.672,137.072,1448.652,1694.414,178.065,366.387,937.835
386,322063822f,2026-11-23,6136,Cut long tokens in parse error messages at UTF-8 character boundaries (#6136),1239.085,2158.953,5203.703,1980.401,1717.697,231.102,210.689,289.365,2309.008,419.673,1227.474,138.525,1455.568,1722.782,177.614,367.281,937.850
1 index commit date pr subject parse_twitter parse_citm parse_canada parse_citm_compact parse_twitter_ifstream accept_twitter dump_twitter dump_citm dump_canada dump4_citm from_cbor_twitter to_cbor_twitter copy_destroy_citm equal_citm view_parse_twitter view_parse_citm view_parse_canada
358 356 e48800f09d 2026-11-04 6001 Binary reader and writer: remove checks that invariants make dead (#6001) 1371.292 2434.395 6104.099 2313.769 1711.288 483.297 211.214 288.130 2308.992 416.639 1300.966 138.719 1455.595 1695.539 180.445 370.313 962.574
359 357 951271127b 2026-11-07 6028 Binary readers: append strings straight from contiguous input (#6028) 1381.807 2431.713 6099.235 2311.519 1694.104 464.615 207.900 288.438 2322.463 418.952 1227.851 138.811 1468.723 1706.816 177.249 369.912 975.798
360 358 18138227dc 2026-11-07 6030 Scan the buffer of a FILE in bulk with glibc and the Apple C library (#6030) 1379.500 2439.343 6147.771 2308.199 1689.427 482.217 213.967 290.466 2309.747 420.209 1239.525 139.367 1443.438 1731.583 180.401 364.380 975.476
361 359 candidate 7757de3a58 2026-11-09 6039 develop + open pull requests Iterator: test for objects before arrays (#6039) 1230.726 1380.384 2155.896 2436.173 5188.718 6147.015 2038.886 2327.618 1713.280 1738.474 234.359 479.559 212.584 210.207 289.591 289.011 2313.669 2311.297 425.788 416.324 1234.309 1223.047 137.017 137.995 1444.999 1446.103 1699.919 1697.968 179.250 178.351 367.586 369.205 954.772 962.294
362 360 33f15727ce 2026-11-10 6031 Parse JSON in one block of memory with a fused pointer-based parser (#6031) 1232.688 2159.908 5203.801 1984.113 1697.135 230.527 211.447 288.789 2304.532 416.955 1225.428 137.797 1440.462 1683.331 176.779 366.584 951.058
363 361 5901d861ff 2026-11-10 6049 json_view: keep tokens without an integer digit out of the float batch (#6049) 1228.185 2146.667 5181.943 1972.052 1698.107 231.118 209.299 289.238 2307.989 416.087 1231.054 137.859 1447.867 1702.647 176.785 368.826 954.212
364 362 2a4aec3e69 2026-11-10 6033 SWAR and vector scans: test for special bytes in fewer operations (#6033) 1233.188 2161.879 5191.370 1978.785 1703.568 230.498 210.532 289.351 2308.372 418.358 1227.920 137.364 1447.278 1702.532 177.017 364.865 945.366
365 363 8d591bf720 2026-11-10 6029 Read iterator pairs of std::string and std::vector as pointer ranges (#6029) 1227.886 2159.435 5199.636 1982.978 1715.561 231.767 210.422 289.284 2302.689 420.006 1230.287 137.760 1445.918 1705.056 177.166 368.877 944.291
366 364 be08f42456 2026-11-11 6073 Fix parse(container, function) for plain functions as callback (#6073) 1220.622 2159.982 5175.604 1981.034 1693.147 231.401 209.595 288.827 2299.556 419.193 1229.394 138.610 1445.513 1710.022 176.390 365.380 940.510
367 365 0d38e99d83 2026-11-11 6077 Resume patch operations from the common prefix in constant time per step (#6077) 1233.522 2158.617 5196.765 1980.941 1702.170 229.834 210.821 288.592 2308.507 417.081 1227.764 137.399 1446.635 1704.976 175.744 367.698 943.458
368 366 1dae5a66b1 2026-11-11 6081 Add JSON_RECURSION_DEPTH_LIMIT to set how deep value walks recurse (#6081) 1230.690 2151.489 5191.953 1984.906 1700.260 230.793 211.017 288.089 2312.342 419.356 1223.258 138.339 1445.548 1704.768 177.168 366.790 961.568
369 367 94331d1050 2026-11-11 6086 Document that read() must not be given a view of the document itself (#6086) 1228.842 2162.550 5193.906 1980.191 1700.069 231.572 211.080 288.779 2304.155 417.238 1216.482 137.702 1438.880 1701.421 175.708 367.558 957.223
370 368 9d35fe6d21 2026-11-11 6084 Reject integer tokens in float nodes of fully checked images (#6084) 1236.233 2162.730 5182.683 1979.372 1695.141 230.901 209.906 288.776 2311.244 417.004 1222.106 137.967 1443.311 1700.528 176.628 366.710 949.742
371 369 02d57db31e 2026-11-11 6085 Do not compare an edited NaN equal to itself in json_view (#6085) 1233.778 2151.744 5213.938 1982.767 1704.871 230.701 209.543 289.741 2297.221 417.113 1224.923 137.565 1445.522 1701.807 176.716 368.262 952.823
372 370 cdfb130fa6 2026-11-12 6075 Read a std::u8string from a JSON string and store it as one in every configuration (#6075) 1236.354 2153.790 5199.718 1978.715 1702.050 230.356 210.653 289.444 2304.222 426.317 1220.273 137.684 1444.870 1690.885 178.127 367.347 949.974
373 371 2755952d36 2026-11-13 6100 Fix develop CI: GCC 4.8, Clang 3.4 and clang-tidy errors (#6100) 1222.899 2156.212 5181.916 1972.216 1707.991 229.903 210.406 289.413 2310.431 418.713 1219.681 140.001 1436.467 1700.257 175.641 361.899 950.782
374 372 72966ae73d 2026-11-13 6117 Force inlining of the serializer helpers only in optimized builds (#6117) 1229.660 2150.695 5157.099 1966.099 1692.936 229.292 210.305 289.231 2301.568 415.831 1220.180 137.774 1432.240 1698.052 174.548 366.678 950.163
375 373 81888ff9f0 2026-11-13 6119 Report a missing 0xFF after a final BON8 string also without strict (#6119) 1233.542 2151.332 5183.625 1984.042 1710.823 229.551 211.353 289.866 2311.086 418.131 1227.319 137.569 1444.212 1700.958 176.178 365.856 953.536
376 374 73ec296320 2026-11-15 6078 Bound the total number of valueless UBJSON elements per input (#6078) 1225.244 2142.945 5179.239 1975.435 1692.371 229.707 209.821 289.197 2300.630 417.989 1221.188 138.535 1444.541 1693.598 175.269 364.811 955.163
377 375 253e4c3926 2026-11-15 6082 Bound what the DOM parsers reserve for arrays that announce a size (#6082) 1228.159 2150.463 5174.974 1987.111 1705.310 230.039 210.280 288.954 2308.954 418.132 1227.745 138.757 1449.575 1700.477 176.470 370.286 958.173
378 376 99adff001d 2026-11-15 6076 Make unflatten() linear in the length of the keys (#6076) 1247.784 2178.565 5282.307 1990.546 1707.260 232.710 209.397 289.724 2306.957 417.662 1224.773 137.922 1443.309 1700.334 177.686 369.785 963.850
379 377 abbc29963a 2026-11-15 6121 Keep only the beginning and the end of a long token for error messages (#6121) 1243.430 2162.966 5197.807 1981.517 1699.622 231.899 212.120 289.719 2312.327 416.077 1223.013 137.234 1446.961 1713.164 177.601 367.974 943.188
380 378 a1284028b2 2026-11-18 6132 json_view: fix a scalar set() through a view of an erased value (#6132) 1236.319 2162.056 5207.239 1983.479 1706.768 229.802 210.298 289.318 2316.301 416.765 1221.983 137.681 1448.338 1705.124 178.169 368.837 945.636
381 379 03ce377876 2026-11-18 6134 Pass the complete text of a UBJSON/BJData high-precision number to SAX number_float (#6134) 1233.842 2157.797 5178.062 1980.544 1708.546 229.843 213.918 288.147 2309.180 418.388 1223.172 136.906 1441.884 1704.709 176.812 368.129 945.403
382 380 1f7250f77f 2026-11-18 6135 Write a binary subtype independently of number_unsigned_t in dump() (#6135) 1236.309 2157.733 5209.677 1982.646 1701.816 231.043 213.443 289.575 2302.857 416.062 1226.513 137.043 1446.779 1709.938 176.500 367.158 943.228
383 381 6ac411e14c 2026-11-18 6137 Report the same error position for bulk number runs as for byte-wise input (#6137) 1238.184 2163.547 5163.505 1972.937 1713.279 230.776 213.511 290.663 2327.517 418.178 1226.622 136.560 1439.095 1697.021 176.058 367.883 938.042
384 382 f91e900875 2026-11-18 6138 Fix stale comments in include/ (#6138) 1234.367 2151.995 5201.583 1976.619 1700.410 229.218 214.634 289.998 2311.756 418.839 1219.061 138.104 1441.412 1700.653 176.893 365.899 941.629
385 383 f6eb5e4fb1 2026-11-18 6140 Fix documentation errors and clean up repository leftovers (#6140) 1247.164 2168.977 5259.532 1993.329 1717.332 232.236 213.166 289.975 2321.773 418.984 1222.782 137.583 1448.037 1704.815 178.514 369.683 949.272
386 384 555ef48fb6 2026-11-18 6125 Fix reverse iterator subscript exception for objects (#6125) 1238.656 2160.482 5201.062 1979.512 1702.148 229.870 214.298 290.640 2319.590 418.756 1223.883 137.797 1445.209 1698.182 177.839 368.290 948.144
387 385 d957a10f55 2026-11-23 6133 Copy instead of move when converting an rvalue non-owning range (#6133) 1237.055 2154.473 5199.230 1977.363 1691.616 229.104 214.277 289.952 2302.805 416.649 1219.672 137.072 1448.652 1694.414 178.065 366.387 937.835
388 386 322063822f 2026-11-23 6136 Cut long tokens in parse error messages at UTF-8 character boundaries (#6136) 1239.085 2158.953 5203.703 1980.401 1717.697 231.102 210.689 289.365 2309.008 419.673 1227.474 138.525 1455.568 1722.782 177.614 367.281 937.850
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
Loaded 100 of 147 files, more files were not shown because too many files have changed in this diff. Show more