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

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