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>
This commit is contained in:
26 files changed
+16023
-15968
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -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
|
||||
|
@@ -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
|
||||
|
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
@@ -201,23 +201,23 @@ 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.49),
|
||||
("Parsing", "citm_catalog.json", 5.11),
|
||||
("Parsing", "canada.json", 4.08),
|
||||
("Parsing", "canada.json, indented", 7.41),
|
||||
("Parsing", "citm, ordered_json", 8.18),
|
||||
("Parsing", "twitter, std::ifstream", 2.46),
|
||||
("Parsing", "citm, FILE*", 14.94),
|
||||
("Parsing", "citm, accept()", 13.66),
|
||||
("Writing", "dump() twitter", 6.60),
|
||||
("Writing", "dump() canada", 2.90),
|
||||
("Writing", "dump(4) citm", 4.62),
|
||||
("Writing", "to_cbor() twitter", 4.41),
|
||||
("Parsing", "twitter.json", 3.53),
|
||||
("Parsing", "citm_catalog.json", 5.05),
|
||||
("Parsing", "canada.json", 4.05),
|
||||
("Parsing", "canada.json, indented", 7.40),
|
||||
("Parsing", "citm, ordered_json", 8.11),
|
||||
("Parsing", "twitter, std::ifstream", 2.47),
|
||||
("Parsing", "citm, FILE*", 14.87),
|
||||
("Parsing", "citm, accept()", 13.46),
|
||||
("Writing", "dump() twitter", 6.58),
|
||||
("Writing", "dump() canada", 2.91),
|
||||
("Writing", "dump(4) citm", 4.64),
|
||||
("Writing", "to_cbor() twitter", 4.54),
|
||||
("Reading CBOR", "twitter, memory", 3.52),
|
||||
("Reading CBOR", "twitter, FILE*", 9.23),
|
||||
("Values", "diff() canada", 10.44),
|
||||
("Values", "iterate canada", 1.96),
|
||||
("Values", "copy + destroy citm", 1.11),
|
||||
("Reading CBOR", "twitter, FILE*", 9.31),
|
||||
("Values", "diff() canada", 10.21),
|
||||
("Values", "iterate canada", 2.04),
|
||||
("Values", "copy + destroy citm", 1.10),
|
||||
("Values", "== citm", 1.01),
|
||||
]
|
||||
|
||||
@@ -313,9 +313,6 @@ TIMELINE = [
|
||||
("from_cbor_twitter", "from_cbor() twitter", [(5233, "1"), (5501, "4"), (5185, "U"), (5746, "U"), (6028, "4")]),
|
||||
("to_cbor_twitter", "to_cbor() twitter", [(5328, "4"), (5824, "6"), (5885, "6")]),
|
||||
]
|
||||
# pull requests that were not merged yet when the timeline was measured: their step is the last point, the candidate
|
||||
# (develop with the open pull requests merged); drop a number here once its pull request is on develop
|
||||
PENDING = {6031}
|
||||
MONTHS = [("2025-04", "3.12.0"), ("2026-09", "Sep 2026"), ("2026-10", "Oct"), ("2026-11", "Nov")]
|
||||
|
||||
|
||||
@@ -362,8 +359,6 @@ def timeline():
|
||||
groups = []
|
||||
for pr, lab in labels:
|
||||
i = next((k for k, r in enumerate(rows) if r["pr"] == str(pr)), None)
|
||||
if i is None and pr in PENDING and rows[-1]["commit"] == "candidate":
|
||||
i = n - 1
|
||||
assert i is not None, "no commit of #%d in the timeline" % pr
|
||||
if groups and X(i) - X(groups[-1][-1][1]) < 6:
|
||||
groups[-1].append((pr, i, lab))
|
||||
@@ -402,15 +397,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 []", 4237, 10.8),
|
||||
("diff() 20k objects vs half", 122, 4.13),
|
||||
("parse() callback, 32k objects", 1398, 12.1),
|
||||
("operator< nested 24 deep", 64.4, 0.002),
|
||||
("operator< citm, 10x", 284, 3.94),
|
||||
("flatten() citm, ordered_json", 271, 1.45),
|
||||
("to_bson() 200 deep, 100x", 20.3, 0.352),
|
||||
("push_back() 100k, diagnostics", 1589, 5.32),
|
||||
("at(i) 10k, diagnostics", 45.9, 0.088),
|
||||
("diff() 64k numbers vs []", 4131, 11.2),
|
||||
("diff() 20k objects vs half", 134, 7.16),
|
||||
("parse() callback, 32k objects", 826, 7.67),
|
||||
("operator< nested 24 deep", 53.8, 0.004),
|
||||
("operator< citm, 10x", 270, 3.78),
|
||||
("flatten() citm, ordered_json", 261, 1.59),
|
||||
("to_bson() 200 deep, 100x", 19.6, 0.392),
|
||||
("push_back() 100k, diagnostics", 1515, 0.936),
|
||||
("at(i) 10k, diagnostics", 30.4, 0.0095),
|
||||
]
|
||||
|
||||
|
||||
@@ -505,10 +500,10 @@ def heldout():
|
||||
# CPU time of the compiler in ms, median of 5 interleaved rounds, C++20, M1 Max (the post's appendix G)
|
||||
# (3.12.0, 3.13.0, 3.13.0 with a precompiled header, 3.13.0 as a module)
|
||||
PRICE = [
|
||||
("Apple clang 21, -O0 (debug)", [("count_numbers", 830.8, 1131.1, 639.0, 790.3), ("server_config", 962.8, 1312.5, 774.2, 1036.5)]),
|
||||
("Apple clang 21, -O2", [("count_numbers", 1328.4, 1898.4, 1311.8, 1491.2), ("server_config", 1584.1, 2251.0, 1778.7, 1925.9)]),
|
||||
("GCC 16, -O0 (debug)", [("count_numbers", 1416.5, 2385.4, 1592.9, 1603.7), ("server_config", 1877.6, 2819.8, 2152.1, 2180.2)]),
|
||||
("GCC 16, -O2", [("count_numbers", 2159.0, 3464.5, 2765.0, 2739.8), ("server_config", 2877.9, 4388.2, 3722.4, 3773.8)]),
|
||||
("Apple clang 21, -O0 (debug)", [("count_numbers", 886.0, 1245.0, 664.0, 871.0), ("server_config", 1037.0, 1472.0, 809.0, 1072.0)]),
|
||||
("Apple clang 21, -O2", [("count_numbers", 1348.0, 1992.0, 1391.0, 1637.0), ("server_config", 1647.0, 2412.0, 1854.0, 2047.0)]),
|
||||
("GCC 16, -O0 (debug)", [("count_numbers", 1514.0, 2490.0, 1667.0, 1652.0), ("server_config", 1948.0, 2926.0, 2192.0, 2208.0)]),
|
||||
("GCC 16, -O2", [("count_numbers", 2254.0, 3653.0, 2863.0, 2854.0), ("server_config", 2984.0, 4589.0, 3913.0, 3897.0)]),
|
||||
]
|
||||
PRICE_SERIES = [("3.13.0", "nj-charts-c2"), ("3.13.0, precompiled header", "nj-charts-c1"), ("3.13.0, module", "nj-charts-c3")]
|
||||
|
||||
|
||||
Reference in new issue
Block a user