mirror of
https://github.com/nlohmann/json.git
synced 2026-11-04 11:49:22 +00:00
docs: measure the 3.13.0 post against develop with the open pull requests of 11-02
Suite, timeline endpoint, Appendix D and the scalar-run numbers now come from
develop b2674a4a2f with #5990, #5991, #5992, #5996, #5997, #5998, #5999 and
#6000 merged. The scalar runs are measured against a build without them on
develop's code, which no longer checks for a scalar before entering the loop.
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
15 files changed
+514
-513
No files matched your search
@@ -201,24 +201,24 @@ def digits():
|
||||
# ---------- 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.10),
|
||||
("Parsing", "citm_catalog.json", 4.19),
|
||||
("Parsing", "canada.json", 3.45),
|
||||
("Parsing", "canada.json, indented", 6.57),
|
||||
("Parsing", "citm, ordered_json", 6.67),
|
||||
("Parsing", "twitter, std::ifstream", 2.44),
|
||||
("Parsing", "citm, FILE*", 4.72),
|
||||
("Parsing", "citm, accept()", 7.63),
|
||||
("Writing", "dump() twitter", 6.68),
|
||||
("Writing", "dump() canada", 2.92),
|
||||
("Writing", "dump(4) citm", 4.59),
|
||||
("Writing", "to_cbor() twitter", 4.47),
|
||||
("Reading CBOR", "twitter, memory", 3.23),
|
||||
("Reading CBOR", "twitter, FILE*", 6.50),
|
||||
("Values", "diff() canada", 10.43),
|
||||
("Values", "iterate canada", 2.70),
|
||||
("Parsing", "twitter.json", 3.06),
|
||||
("Parsing", "citm_catalog.json", 4.07),
|
||||
("Parsing", "canada.json", 3.31),
|
||||
("Parsing", "canada.json, indented", 6.34),
|
||||
("Parsing", "citm, ordered_json", 6.52),
|
||||
("Parsing", "twitter, std::ifstream", 2.46),
|
||||
("Parsing", "citm, FILE*", 4.70),
|
||||
("Parsing", "citm, accept()", 6.96),
|
||||
("Writing", "dump() twitter", 6.59),
|
||||
("Writing", "dump() canada", 2.94),
|
||||
("Writing", "dump(4) citm", 4.54),
|
||||
("Writing", "to_cbor() twitter", 4.30),
|
||||
("Reading CBOR", "twitter, memory", 3.19),
|
||||
("Reading CBOR", "twitter, FILE*", 6.41),
|
||||
("Values", "diff() canada", 10.21),
|
||||
("Values", "iterate canada", 2.79),
|
||||
("Values", "copy + destroy citm", 1.11),
|
||||
("Values", "== citm", 1.07),
|
||||
("Values", "== citm", 1.05),
|
||||
]
|
||||
|
||||
|
||||
@@ -396,15 +396,15 @@ def timeline():
|
||||
# ---------- cliffs: 3.12.0 and 3.13.0 times on a log axis ----------
|
||||
# (operation, 3.12.0 ms, 3.13.0 ms), copied from the table in "Fix the algorithm first"
|
||||
CLIFFS = [
|
||||
("diff() 64k numbers vs []", 4101, 10.1),
|
||||
("diff() 20k objects vs half", 119, 3.83),
|
||||
("parse() callback, 32k objects", 1348, 11.5),
|
||||
("operator< nested 24 deep", 63.6, 0.002),
|
||||
("operator< citm, 10x", 273, 3.80),
|
||||
("diff() 64k numbers vs []", 4113, 10.1),
|
||||
("diff() 20k objects vs half", 119, 3.90),
|
||||
("parse() callback, 32k objects", 1363, 11.5),
|
||||
("operator< nested 24 deep", 63.7, 0.002),
|
||||
("operator< citm, 10x", 274, 3.83),
|
||||
("flatten() citm, ordered_json", 253, 1.37),
|
||||
("to_bson() 200 deep, 100x", 19.5, 0.357),
|
||||
("push_back() 100k, diagnostics", 1525, 5.14),
|
||||
("at(i) 10k, diagnostics", 43.9, 0.080),
|
||||
("to_bson() 200 deep, 100x", 19.8, 0.352),
|
||||
("push_back() 100k, diagnostics", 1541, 5.11),
|
||||
("at(i) 10k, diagnostics", 44.0, 0.084),
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user