mirror of
https://github.com/nlohmann/json.git
synced 2026-11-04 03:39:22 +00:00
The suite (Appendix B, the short-version table, the overview and distribution
figures) and the timeline endpoint now measure develop d20c4dcd89 with #5964
and #5908 merged. The geometric mean stays 2.9x (2.95); Dump/signed_ints and
Dump/unsigned_ints gain 1.5x and 2.1x from #5964; GetVectorDouble/floats drops
from 10.3x to 7.0x because the old candidate's suite binary happened to compile
that loop faster (a standalone build takes 0.97 ms with both headers).
The timeline endpoint is the 10-27 value scaled by the ratio of the new to the
old candidate, both measured on 10-30, so that it stays comparable with the
other points of the timeline.
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
13 files changed
+466
-463
No files matched your search
@@ -117,24 +117,24 @@ def swar():
|
||||
# ---------- overview: speedup per workload (Google Benchmark rows, 3.12.0 time / 3.13.0 time) ----------
|
||||
# (group, label, speedup), copied from the table "The short version"
|
||||
OVERVIEW = [
|
||||
("Parsing", "twitter.json", 3.02),
|
||||
("Parsing", "citm_catalog.json", 4.13),
|
||||
("Parsing", "canada.json", 3.46),
|
||||
("Parsing", "canada.json, indented", 6.74),
|
||||
("Parsing", "citm, ordered_json", 6.58),
|
||||
("Parsing", "twitter, std::ifstream", 2.46),
|
||||
("Parsing", "citm, FILE*", 4.76),
|
||||
("Parsing", "citm, accept()", 6.99),
|
||||
("Writing", "dump() twitter", 6.67),
|
||||
("Writing", "dump() canada", 2.95),
|
||||
("Writing", "dump(4) citm", 4.63),
|
||||
("Writing", "to_cbor() twitter", 4.50),
|
||||
("Reading CBOR", "twitter, memory", 3.11),
|
||||
("Reading CBOR", "twitter, FILE*", 6.31),
|
||||
("Values", "diff() canada", 10.44),
|
||||
("Values", "iterate canada", 2.69),
|
||||
("Parsing", "twitter.json", 3.08),
|
||||
("Parsing", "citm_catalog.json", 4.19),
|
||||
("Parsing", "canada.json", 3.38),
|
||||
("Parsing", "canada.json, indented", 6.67),
|
||||
("Parsing", "citm, ordered_json", 6.76),
|
||||
("Parsing", "twitter, std::ifstream", 2.44),
|
||||
("Parsing", "citm, FILE*", 4.69),
|
||||
("Parsing", "citm, accept()", 6.92),
|
||||
("Writing", "dump() twitter", 6.73),
|
||||
("Writing", "dump() canada", 2.92),
|
||||
("Writing", "dump(4) citm", 4.67),
|
||||
("Writing", "to_cbor() twitter", 4.45),
|
||||
("Reading CBOR", "twitter, memory", 3.21),
|
||||
("Reading CBOR", "twitter, FILE*", 6.38),
|
||||
("Values", "diff() canada", 10.48),
|
||||
("Values", "iterate canada", 2.82),
|
||||
("Values", "copy + destroy citm", 1.11),
|
||||
("Values", "== citm", 1.04),
|
||||
("Values", "== citm", 1.07),
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user