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:
Niels Lohmann committed 2026-11-23 16:40:13 +01:00
1 parent 322063822f
commit 8ddda7fc3e
26 files changed
+16023 -15968

No files matched your search

@@ -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