From 842985ebe6545327c031c3f4da29e320a8ac32a4 Mon Sep 17 00:00:00 2001 From: Rafael Vuijk Date: Fri, 27 Nov 2026 02:01:40 +0000 Subject: [PATCH 1/3] Temporary: measure the 3053rd and the 3067th, interleaved, for the 2.10.0 pair Restored before this branch is merged. Co-Authored-By: Claude Opus 5.5 --- Sources/Tests/DotnetBenchmark/key-commits.txt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Sources/Tests/DotnetBenchmark/key-commits.txt b/Sources/Tests/DotnetBenchmark/key-commits.txt index f5fa42135..467e16a51 100644 --- a/Sources/Tests/DotnetBenchmark/key-commits.txt +++ b/Sources/Tests/DotnetBenchmark/key-commits.txt @@ -35,9 +35,7 @@ # per-commit, so every column compiles the same file and runs the same file. Measured: v2.1.0 and # v2.2.0 build and run under it. -v2.1.0 -v2.2.0 -v2.3.0 -v2.4.0 -v2.5.0 -master +81dfb49d5 +bcd00676f +81dfb49d5 +bcd00676f From 5041e4559b5a05fb14f3312ed085e8e690da9b7f Mon Sep 17 00:00:00 2001 From: Rafael Vuijk Date: Fri, 27 Nov 2026 04:05:51 +0000 Subject: [PATCH 2/3] Revert "Temporary: measure the 3053rd and the 3067th, interleaved, for the 2.10.0 pair" This reverts commit bae6f6ec4b72c7b11f45ee8e658eaa9efe684cd4. --- Sources/Tests/DotnetBenchmark/key-commits.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Sources/Tests/DotnetBenchmark/key-commits.txt b/Sources/Tests/DotnetBenchmark/key-commits.txt index 467e16a51..f5fa42135 100644 --- a/Sources/Tests/DotnetBenchmark/key-commits.txt +++ b/Sources/Tests/DotnetBenchmark/key-commits.txt @@ -35,7 +35,9 @@ # per-commit, so every column compiles the same file and runs the same file. Measured: v2.1.0 and # v2.2.0 build and run under it. -81dfb49d5 -bcd00676f -81dfb49d5 -bcd00676f +v2.1.0 +v2.2.0 +v2.3.0 +v2.4.0 +v2.5.0 +master From 1dc37557643046a66504fe4dce875f7b4b17e597 Mon Sep 17 00:00:00 2001 From: Rafael Vuijk Date: Fri, 27 Nov 2026 04:09:38 +0000 Subject: [PATCH 3/3] Measure the 2.10.0 performance pair, the 3053rd and the 3067th v2.9.0 and 2.10.0's last kernel change, from one interleaved run of the key-commits workflow (45925911365). A 3067th column is added to the two history tables at the top, from the Kernel Benchmark's run on that commit (45924828059). Allocation is flat except CompileEasy +2.47% and CompileHard +1.40%, one step at the 3059th (#2558), a walk of the nodes before compiling. The SolveHard timing rise on the runner is not seen re-timed on one desktop. Co-Authored-By: Claude Opus 5.5 --- .../WhatsNew/version_performance_control.md | 154 ++++++++++++------ 1 file changed, 108 insertions(+), 46 deletions(-) diff --git a/Sources/AngouriMath/Docs/WhatsNew/version_performance_control.md b/Sources/AngouriMath/Docs/WhatsNew/version_performance_control.md index 73d6700c7..806e1fe9f 100644 --- a/Sources/AngouriMath/Docs/WhatsNew/version_performance_control.md +++ b/Sources/AngouriMath/Docs/WhatsNew/version_performance_control.md @@ -123,29 +123,29 @@ benchmark and the size of the move. A move nobody can explain is the finding, no --- -| Method | [331st](https://github.com/asc-community/AngouriMath/commit/10e6e5a90e7270336b68dc5fd6aa36f3e0e65d2b) | [380th](https://github.com/asc-community/AngouriMath/commit/73ae36488ddb863c1d6f35db5ed2f5dcf1484a26) | [391st](https://github.com/asc-community/AngouriMath/commit/c7e08e6936bfdc2373377bec81ffd160e406244f) | [410th](https://github.com/asc-community/AngouriMath/commit/20814936bc740a9f410af4a4368e9895eab7aaf7) | [483rd](https://github.com/asc-community/AngouriMath/commit/355963dcdf0ff9da568e9f1144ad2b7b68c19584) | [520th](https://github.com/asc-community/AngouriMath/commit/70aa71acb73307c9f7df0aac006faae31b06058c) | [690th](https://github.com/asc-community/AngouriMath/commit/5cc894939cb3657f0aa7ef5a25fd55011058929f) | [826th](https://github.com/asc-community/AngouriMath/commit/87e33ec3590a95dd4ec59ff5c1f77064a64196d1) | [914th](https://github.com/asc-community/AngouriMath/commit/6134338df083a908369b6bcfb69e70a4269ec51b) | [920th](https://github.com/asc-community/AngouriMath/commit/501a0a3a9b2e07cddf92c4446b73ad6e2748253a) | [1034th](https://github.com/asc-community/AngouriMath/commit/a3f48b47795b2dc2b3435152989a6e15639a65b4) | [1066th](https://github.com/asc-community/AngouriMath/commit/a33746651f56a380b6c17913aa844f162f258d8c) | [1090th](https://github.com/asc-community/AngouriMath/commit/9530c5b04484e98023941f7693bbeb1a3282cee6) | [1446th](https://github.com/asc-community/AngouriMath/commit/2abb2b537c03977281f3fc2cab1da2c78c36a5f5) | [1620th](https://github.com/asc-community/AngouriMath/commit/e05d71797f53a9ac7dbdad6075cd7302a91036e7) | [1671st](https://github.com/asc-community/AngouriMath/commit/253b5a8d598a9a1d721b777340bd53ae3be12f99) | [1769th](https://github.com/asc-community/AngouriMath/commit/3ac24bc241e898509533bc980ec5dc91c5d79a07) | [1844th](https://github.com/asc-community/AngouriMath/commit/55cd1a58) | [2943rd](https://github.com/asc-community/AngouriMath/commit/842e8e9517ac0db3f3c31b906f197b3480fd07ee) | [2997th](https://github.com/asc-community/AngouriMath/commit/27aba15f09ad40791c337cc6d0c177abccc6b20e) | [3051st](https://github.com/asc-community/AngouriMath/commit/8987b77d88809c35aa270278641fb2a186d4206f) | -|---------------- |--------------:|---------------:|---------------:|--------------:|----------------:|--------------:|--------------:|--------------:|--------------:|--------------:|--------------:|--------------:|--------------:|-----------------:|--------------:|--------------:|--:| --------------: |--:|--:|--:| -| ParseEasy | 28,599 | 73,669 | 134,120 | 44,328 | 54,675 | 21,722 | 32,212 | 32,138 | 34,702 | 32,199 | 33,008 | 27,483 | 33,043 | 34,664 | 11,760 ns | 10,857 ns | 10,080 ns | 6,846 ns | 11,055 ns | 6,903 ns | 6,899 ns | -| ParseHard | 92,037 | 208,710 | 415,440 | 178,760 | 287,865 | 209,853 | 624,769 | 698,094 | 4,272,898 | 3,862,375 | 4,731,275 | 4,051,823 | 5,284,613 | 5,657,058 | 2,617,362 ns | 2,493,337 ns | 2,235,852 ns | 1,621,902 ns | 53,198 ns | 28,801 ns | 29,944 ns | -| SimplifyEasy | 6,225,707 | 16,387,374 | 41,081,822 | 397,973 | 2,594,367 | 168,462 | 225,393 | 281,626 | 122,809 | 79,184 | 94,505 | 86,478 | 102,600 | 87,759 | 153,704 ns | 152,631 ns | 136,841 ns | 111,852 ns | 95,565 ns | 29,223 ns | 31,630 ns | -| SimplifyHard | 3,245,613,128 | 8,120,319,273 | 9,715,629,251 | 7,477,089,153 | 13,529,147,530 | 3,015,302,746 | 3,162,675,550 | 3,826,831,860 | 4,024,002,060 | 2,633,113,653 | 3,262,112,233 | 4,540,783,876 | 4,639,170,780 | 4,880,264,786 | 2,848,037,261 ns | 2,916,127,943 ns | 2,489,408,789 ns | 1,762,805,433 ns | 166,915,182 ns | 91,317,804 ns | 84,841,369 ns | -| Derivate | 5,550 | 39,895 | 161,507 | 50,858 | 56,255 | 37,702 | 46,083 | 86,751 | 68,604 | 41,388 | 58,340 | 48,376 | 54,228 | 60,425 | 26,808 ns | 25,629 ns | 23,674 ns | 16,507 ns | 29,118 ns | 17,286 ns | 17,135 ns | -| SolveEasy | 677,259 | 4,066,049 | 33,760,616 | 7,556,902 | 124,888,489 | 38,935,084 | 42,101,926 | 43,102,578 | 43,778,486 | 42,818,770 | 42,230,213 | 35,415,096 | 45,032,006 | 45,587,157 | 21,829,186 ns | 21,322,368 ns | 8,530,148 ns | 6,240,038 ns | 447,578 ns | 219,126 ns | 227,984 ns | -| SolveEasyMedium | 192,319 | 741,114 | 2,861,751 | 646,063 | 789,993 | 124,082 | 154,729 | 142,744 | 138,836 | 78,712 | 110,144 | 88,021 | 106,430 | 108,175 | 48,368 ns | 48,863 ns | 50,203 ns | 37,304 ns | 38,390 ns | 21,602 ns | 20,677 ns | -| SolveMedium | 22,487,990 | 126,650,858 | 690,232,457 | 178,691,349 | 350,752,882 | 2,961,363 | 2,174,299 | 2,108,050 | 2,248,458 | 2,449,733 | 2,996,001 | 2,661,744 | 3,272,498 | 4,409,082 | 783,737 ns | 796,814 ns | 696,969 ns | 510,664 ns | 497,053 ns | 293,962 ns | 293,742 ns | -| SolveMediumHard | > 1 h | > 1 h | 12,033,099,074 | 2,754,157,261 | 5,779,298,835 | 240,930,082 | 258,560,720 | 309,944,856 | 346,532,318 | 258,799,676 | 305,404,083 | 354,286,153 | 409,437,694 | 453,280,166 | 124,316,631 ns | 129,750,583 ns | 117,103,179 ns | 94,087,468 ns | 14,234,151 ns | 9,588,874 ns | 9,867,968 ns | -| SolveHard | > 1 h | > 1 h | 21,565,808,100 | 5,636,112,783 | 100,663,275,757 | 1,862,768,773 | 2,532,972,635 | 3,000,655,673 | 3,606,412,386 | 2,425,286,433 | 2,918,112,980 | 3,162,162,893 | 3,353,403,193 | 3,494,150,836 | 1,134,532,585 ns | 1,365,230,469 ns | 1,144,927,429 ns | 887,253,553 ns | 118,299,251 ns | 68,427,437 ns | 69,392,973 ns | -| EvalEasy | 12,059 | 200,766 | 1,548,901 | 550,676 | 3,354,484 | 34 | 72 | 68 | 84 | 28 | 11 | 11 | 13 | 9 | 2 ns | 2 ns | 1 ns | 2 ns | 4 ns | 3 ns | 3 ns | -| EvalTrig | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | 1,344,115 ns | 1,280,227 ns | 977,789 ns | 60,728 ns | 40,855 ns | 40,062 ns | -| EvalTrigPrecise | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | 43,285,515 ns | 37,048,158 ns | 29,174,367 ns | 726,611 ns | 544,978 ns | 524,580 ns | -| EvalPolynomialFresh | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | 8,143 ns | 5,398 ns | 5,352 ns | -| EvalTranscendentalFresh | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | 30,802 ns | 19,789 ns | 20,200 ns | -| EvalPolynomialFresh15Digits | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | 9,104 ns | 5,528 ns | 5,634 ns | -| CompileEasy | 24,771 | 38,300 | 62,328 | 33,684 | 40,751 | 9,208 | 15,467 | 5,487 | 5,623 | 6,283 | 6,254 | 5,143 | 565,597 | 589,540 | 352,800 ns | 352,449 ns | 314,521 ns | 215,593 ns | 407,752 ns | 260,088 ns | 256,801 ns | -| CompileHard | 61,572 | 84,042 | 139,499 | 73,738 | 96,203 | 18,274 | 26,390 | 14,782 | 15,657 | 17,986 | 17,672 | 14,902 | 1,234,995 | 1,321,375 | 595,593 ns | 596,664 ns | 585,717 ns | 424,923 ns | 509,801 ns | 296,326 ns | 304,495 ns | -| RunEasy | 138 | 126 | 123 | 117 | 128 | 157 | 170 | 165 | 175 | 167 | 161 | 149 | 48 | 43 | 42 ns | 42 ns | 28 ns | 21 ns | 49 ns | 22 ns | 21 ns | -| RunMedium | 833 | 950 | 920 | 844 | 838 | 1,008 | 1,081 | 1,064 | 1,155 | 1,089 | 982 | 875 | 630 | 549 | 318 ns | 320 ns | 238 ns | 181 ns | 303 ns | 175 ns | 171 ns | -| RunHard | 1,403 | 1,644 | 1,558 | 1,427 | 1,391 | 1,974 | 2,102 | 2,037 | 2,046 | 2,044 | 1,855 | 1,655 | 1,041 | 928 | 586 ns | 582 ns | 433 ns | 318 ns | 505 ns | 275 ns | 276 ns | +| Method | [331st](https://github.com/asc-community/AngouriMath/commit/10e6e5a90e7270336b68dc5fd6aa36f3e0e65d2b) | [380th](https://github.com/asc-community/AngouriMath/commit/73ae36488ddb863c1d6f35db5ed2f5dcf1484a26) | [391st](https://github.com/asc-community/AngouriMath/commit/c7e08e6936bfdc2373377bec81ffd160e406244f) | [410th](https://github.com/asc-community/AngouriMath/commit/20814936bc740a9f410af4a4368e9895eab7aaf7) | [483rd](https://github.com/asc-community/AngouriMath/commit/355963dcdf0ff9da568e9f1144ad2b7b68c19584) | [520th](https://github.com/asc-community/AngouriMath/commit/70aa71acb73307c9f7df0aac006faae31b06058c) | [690th](https://github.com/asc-community/AngouriMath/commit/5cc894939cb3657f0aa7ef5a25fd55011058929f) | [826th](https://github.com/asc-community/AngouriMath/commit/87e33ec3590a95dd4ec59ff5c1f77064a64196d1) | [914th](https://github.com/asc-community/AngouriMath/commit/6134338df083a908369b6bcfb69e70a4269ec51b) | [920th](https://github.com/asc-community/AngouriMath/commit/501a0a3a9b2e07cddf92c4446b73ad6e2748253a) | [1034th](https://github.com/asc-community/AngouriMath/commit/a3f48b47795b2dc2b3435152989a6e15639a65b4) | [1066th](https://github.com/asc-community/AngouriMath/commit/a33746651f56a380b6c17913aa844f162f258d8c) | [1090th](https://github.com/asc-community/AngouriMath/commit/9530c5b04484e98023941f7693bbeb1a3282cee6) | [1446th](https://github.com/asc-community/AngouriMath/commit/2abb2b537c03977281f3fc2cab1da2c78c36a5f5) | [1620th](https://github.com/asc-community/AngouriMath/commit/e05d71797f53a9ac7dbdad6075cd7302a91036e7) | [1671st](https://github.com/asc-community/AngouriMath/commit/253b5a8d598a9a1d721b777340bd53ae3be12f99) | [1769th](https://github.com/asc-community/AngouriMath/commit/3ac24bc241e898509533bc980ec5dc91c5d79a07) | [1844th](https://github.com/asc-community/AngouriMath/commit/55cd1a58) | [2943rd](https://github.com/asc-community/AngouriMath/commit/842e8e9517ac0db3f3c31b906f197b3480fd07ee) | [2997th](https://github.com/asc-community/AngouriMath/commit/27aba15f09ad40791c337cc6d0c177abccc6b20e) | [3051st](https://github.com/asc-community/AngouriMath/commit/8987b77d88809c35aa270278641fb2a186d4206f) | [3067th](https://github.com/asc-community/AngouriMath/commit/bcd00676f668368b17242d8da3b23d3def361195) | +|---------------- |--------------:|---------------:|---------------:|--------------:|----------------:|--------------:|--------------:|--------------:|--------------:|--------------:|--------------:|--------------:|--------------:|-----------------:|--------------:|--------------:|--:| --------------: |--:|--:|--:|--:| +| ParseEasy | 28,599 | 73,669 | 134,120 | 44,328 | 54,675 | 21,722 | 32,212 | 32,138 | 34,702 | 32,199 | 33,008 | 27,483 | 33,043 | 34,664 | 11,760 ns | 10,857 ns | 10,080 ns | 6,846 ns | 11,055 ns | 6,903 ns | 6,899 ns | 6,193 ns | +| ParseHard | 92,037 | 208,710 | 415,440 | 178,760 | 287,865 | 209,853 | 624,769 | 698,094 | 4,272,898 | 3,862,375 | 4,731,275 | 4,051,823 | 5,284,613 | 5,657,058 | 2,617,362 ns | 2,493,337 ns | 2,235,852 ns | 1,621,902 ns | 53,198 ns | 28,801 ns | 29,944 ns | 27,330 ns | +| SimplifyEasy | 6,225,707 | 16,387,374 | 41,081,822 | 397,973 | 2,594,367 | 168,462 | 225,393 | 281,626 | 122,809 | 79,184 | 94,505 | 86,478 | 102,600 | 87,759 | 153,704 ns | 152,631 ns | 136,841 ns | 111,852 ns | 95,565 ns | 29,223 ns | 31,630 ns | 29,712 ns | +| SimplifyHard | 3,245,613,128 | 8,120,319,273 | 9,715,629,251 | 7,477,089,153 | 13,529,147,530 | 3,015,302,746 | 3,162,675,550 | 3,826,831,860 | 4,024,002,060 | 2,633,113,653 | 3,262,112,233 | 4,540,783,876 | 4,639,170,780 | 4,880,264,786 | 2,848,037,261 ns | 2,916,127,943 ns | 2,489,408,789 ns | 1,762,805,433 ns | 166,915,182 ns | 91,317,804 ns | 84,841,369 ns | 85,035,400 ns | +| Derivate | 5,550 | 39,895 | 161,507 | 50,858 | 56,255 | 37,702 | 46,083 | 86,751 | 68,604 | 41,388 | 58,340 | 48,376 | 54,228 | 60,425 | 26,808 ns | 25,629 ns | 23,674 ns | 16,507 ns | 29,118 ns | 17,286 ns | 17,135 ns | 15,877 ns | +| SolveEasy | 677,259 | 4,066,049 | 33,760,616 | 7,556,902 | 124,888,489 | 38,935,084 | 42,101,926 | 43,102,578 | 43,778,486 | 42,818,770 | 42,230,213 | 35,415,096 | 45,032,006 | 45,587,157 | 21,829,186 ns | 21,322,368 ns | 8,530,148 ns | 6,240,038 ns | 447,578 ns | 219,126 ns | 227,984 ns | 212,861 ns | +| SolveEasyMedium | 192,319 | 741,114 | 2,861,751 | 646,063 | 789,993 | 124,082 | 154,729 | 142,744 | 138,836 | 78,712 | 110,144 | 88,021 | 106,430 | 108,175 | 48,368 ns | 48,863 ns | 50,203 ns | 37,304 ns | 38,390 ns | 21,602 ns | 20,677 ns | 19,639 ns | +| SolveMedium | 22,487,990 | 126,650,858 | 690,232,457 | 178,691,349 | 350,752,882 | 2,961,363 | 2,174,299 | 2,108,050 | 2,248,458 | 2,449,733 | 2,996,001 | 2,661,744 | 3,272,498 | 4,409,082 | 783,737 ns | 796,814 ns | 696,969 ns | 510,664 ns | 497,053 ns | 293,962 ns | 293,742 ns | 290,554 ns | +| SolveMediumHard | > 1 h | > 1 h | 12,033,099,074 | 2,754,157,261 | 5,779,298,835 | 240,930,082 | 258,560,720 | 309,944,856 | 346,532,318 | 258,799,676 | 305,404,083 | 354,286,153 | 409,437,694 | 453,280,166 | 124,316,631 ns | 129,750,583 ns | 117,103,179 ns | 94,087,468 ns | 14,234,151 ns | 9,588,874 ns | 9,867,968 ns | 9,436,606 ns | +| SolveHard | > 1 h | > 1 h | 21,565,808,100 | 5,636,112,783 | 100,663,275,757 | 1,862,768,773 | 2,532,972,635 | 3,000,655,673 | 3,606,412,386 | 2,425,286,433 | 2,918,112,980 | 3,162,162,893 | 3,353,403,193 | 3,494,150,836 | 1,134,532,585 ns | 1,365,230,469 ns | 1,144,927,429 ns | 887,253,553 ns | 118,299,251 ns | 68,427,437 ns | 69,392,973 ns | 75,361,657 ns | +| EvalEasy | 12,059 | 200,766 | 1,548,901 | 550,676 | 3,354,484 | 34 | 72 | 68 | 84 | 28 | 11 | 11 | 13 | 9 | 2 ns | 2 ns | 1 ns | 2 ns | 4 ns | 3 ns | 3 ns | 3 ns | +| EvalTrig | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | 1,344,115 ns | 1,280,227 ns | 977,789 ns | 60,728 ns | 40,855 ns | 40,062 ns | 38,176 ns | +| EvalTrigPrecise | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | 43,285,515 ns | 37,048,158 ns | 29,174,367 ns | 726,611 ns | 544,978 ns | 524,580 ns | 514,601 ns | +| EvalPolynomialFresh | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | 8,143 ns | 5,398 ns | 5,352 ns | 4,937 ns | +| EvalTranscendentalFresh | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | 30,802 ns | 19,789 ns | 20,200 ns | 19,022 ns | +| EvalPolynomialFresh15Digits | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | 9,104 ns | 5,528 ns | 5,634 ns | 5,181 ns | +| CompileEasy | 24,771 | 38,300 | 62,328 | 33,684 | 40,751 | 9,208 | 15,467 | 5,487 | 5,623 | 6,283 | 6,254 | 5,143 | 565,597 | 589,540 | 352,800 ns | 352,449 ns | 314,521 ns | 215,593 ns | 407,752 ns | 260,088 ns | 256,801 ns | 260,505 ns | +| CompileHard | 61,572 | 84,042 | 139,499 | 73,738 | 96,203 | 18,274 | 26,390 | 14,782 | 15,657 | 17,986 | 17,672 | 14,902 | 1,234,995 | 1,321,375 | 595,593 ns | 596,664 ns | 585,717 ns | 424,923 ns | 509,801 ns | 296,326 ns | 304,495 ns | 297,973 ns | +| RunEasy | 138 | 126 | 123 | 117 | 128 | 157 | 170 | 165 | 175 | 167 | 161 | 149 | 48 | 43 | 42 ns | 42 ns | 28 ns | 21 ns | 49 ns | 22 ns | 21 ns | 22 ns | +| RunMedium | 833 | 950 | 920 | 844 | 838 | 1,008 | 1,081 | 1,064 | 1,155 | 1,089 | 982 | 875 | 630 | 549 | 318 ns | 320 ns | 238 ns | 181 ns | 303 ns | 175 ns | 171 ns | 174 ns | +| RunHard | 1,403 | 1,644 | 1,558 | 1,427 | 1,391 | 1,974 | 2,102 | 2,037 | 2,046 | 2,044 | 1,855 | 1,655 | 1,041 | 928 | 586 ns | 582 ns | 433 ns | 318 ns | 505 ns | 275 ns | 276 ns | 272 ns | @@ -155,29 +155,29 @@ Bytes allocated per operation, measured in the same run as the timing column of above. The 1671st is the first version measured for it, so the history is shorter than the timings'; later runs add to it the same way. -| Method | [1671st](https://github.com/asc-community/AngouriMath/commit/253b5a8d598a9a1d721b777340bd53ae3be12f99) | [1769th](https://github.com/asc-community/AngouriMath/commit/3ac24bc241e898509533bc980ec5dc91c5d79a07) | [1844th](https://github.com/asc-community/AngouriMath/commit/55cd1a58) | [2943rd](https://github.com/asc-community/AngouriMath/commit/842e8e9517ac0db3f3c31b906f197b3480fd07ee) | [2997th](https://github.com/asc-community/AngouriMath/commit/27aba15f09ad40791c337cc6d0c177abccc6b20e) | [3051st](https://github.com/asc-community/AngouriMath/commit/8987b77d88809c35aa270278641fb2a186d4206f) | -|---|--:|--:| --: |--:|--:|--:| -| ParseEasy | 18,052 B | 18,040 B | 18,109 B | 18,424 B | 18,200 B | 18,200 B | -| ParseHard | 3,486,004 B | 3,522,411 B | 3,522,458 B | 59,927 B | 58,944 B | 58,944 B | -| SimplifyEasy | 127,578 B | 128,096 B | 128,096 B | 79,785 B | 28,120 B | 28,121 B | -| SimplifyHard | 3,710,538,008 B | 3,620,663,136 B | 3,632,010,176 B | 161,716,160 B | 135,436,272 B | 134,185,440 B | -| Derivate | 52,821 B | 52,822 B | 52,822 B | 57,227 B | 53,889 B | 53,899 B | -| SolveEasy | 20,213,448 B | 8,852,065 B | 8,853,472 B | 448,295 B | 411,077 B | 408,673 B | -| SolveEasyMedium | 79,613 B | 95,788 B | 97,192 B | 66,370 B | 65,249 B | 65,809 B | -| SolveMedium | 553,368 B | 658,051 B | 661,915 B | 457,712 B | 451,415 B | 452,175 B | -| SolveMediumHard | 152,243,208 B | 162,301,856 B | 164,544,992 B | 1,362,652 B | 1,400,980 B | 1,404,196 B | -| SolveHard | 1,341,716,112 B | 1,431,834,672 B | 1,446,779,520 B | 9,530,109 B | 9,098,280 B | 9,014,520 B | -| EvalEasy | none | none | none | none | none | none | -| EvalTrig | 1,341,378 B | 1,341,378 B | 1,341,377 B | 69,888 B | 69,368 B | 69,368 B | -| EvalTrigPrecise | 12,743,208 B | 12,742,256 B | 12,742,216 B | 336,498 B | 336,081 B | 336,082 B | -| EvalPolynomialFresh | -- | -- | -- | 12,392 B | 11,768 B | 11,768 B | -| EvalTranscendentalFresh | -- | -- | -- | 34,640 B | 34,120 B | 34,120 B | -| EvalPolynomialFresh15Digits | -- | -- | -- | 11,920 B | 11,344 B | 11,344 B | -| CompileEasy | 16,200 B | 16,139 B | 10,952 B | 14,898 B | 11,346 B | 11,346 B | -| CompileHard | 37,944 B | 37,793 B | 20,377 B | 28,760 B | 19,742 B | 19,740 B | -| RunEasy | none | none | none | none | none | none | -| RunMedium | none | none | none | none | none | none | -| RunHard | none | none | none | none | none | none | +| Method | [1671st](https://github.com/asc-community/AngouriMath/commit/253b5a8d598a9a1d721b777340bd53ae3be12f99) | [1769th](https://github.com/asc-community/AngouriMath/commit/3ac24bc241e898509533bc980ec5dc91c5d79a07) | [1844th](https://github.com/asc-community/AngouriMath/commit/55cd1a58) | [2943rd](https://github.com/asc-community/AngouriMath/commit/842e8e9517ac0db3f3c31b906f197b3480fd07ee) | [2997th](https://github.com/asc-community/AngouriMath/commit/27aba15f09ad40791c337cc6d0c177abccc6b20e) | [3051st](https://github.com/asc-community/AngouriMath/commit/8987b77d88809c35aa270278641fb2a186d4206f) | [3067th](https://github.com/asc-community/AngouriMath/commit/bcd00676f668368b17242d8da3b23d3def361195) | +|---|--:|--:| --: |--:|--:|--:|--:| +| ParseEasy | 18,052 B | 18,040 B | 18,109 B | 18,424 B | 18,200 B | 18,200 B | 18,200 B | +| ParseHard | 3,486,004 B | 3,522,411 B | 3,522,458 B | 59,927 B | 58,944 B | 58,944 B | 58,944 B | +| SimplifyEasy | 127,578 B | 128,096 B | 128,096 B | 79,785 B | 28,120 B | 28,121 B | 28,120 B | +| SimplifyHard | 3,710,538,008 B | 3,620,663,136 B | 3,632,010,176 B | 161,716,160 B | 135,436,272 B | 134,185,440 B | 134,185,664 B | +| Derivate | 52,821 B | 52,822 B | 52,822 B | 57,227 B | 53,889 B | 53,899 B | 53,914 B | +| SolveEasy | 20,213,448 B | 8,852,065 B | 8,853,472 B | 448,295 B | 411,077 B | 408,673 B | 408,673 B | +| SolveEasyMedium | 79,613 B | 95,788 B | 97,192 B | 66,370 B | 65,249 B | 65,809 B | 65,713 B | +| SolveMedium | 553,368 B | 658,051 B | 661,915 B | 457,712 B | 451,415 B | 452,175 B | 452,175 B | +| SolveMediumHard | 152,243,208 B | 162,301,856 B | 164,544,992 B | 1,362,652 B | 1,400,980 B | 1,404,196 B | 1,404,196 B | +| SolveHard | 1,341,716,112 B | 1,431,834,672 B | 1,446,779,520 B | 9,530,109 B | 9,098,280 B | 9,014,520 B | 9,009,912 B | +| EvalEasy | none | none | none | none | none | none | none | +| EvalTrig | 1,341,378 B | 1,341,378 B | 1,341,377 B | 69,888 B | 69,368 B | 69,368 B | 69,368 B | +| EvalTrigPrecise | 12,743,208 B | 12,742,256 B | 12,742,216 B | 336,498 B | 336,081 B | 336,082 B | 336,082 B | +| EvalPolynomialFresh | -- | -- | -- | 12,392 B | 11,768 B | 11,768 B | 11,768 B | +| EvalTranscendentalFresh | -- | -- | -- | 34,640 B | 34,120 B | 34,120 B | 34,120 B | +| EvalPolynomialFresh15Digits | -- | -- | -- | 11,920 B | 11,344 B | 11,344 B | 11,344 B | +| CompileEasy | 16,200 B | 16,139 B | 10,952 B | 14,898 B | 11,346 B | 11,346 B | 11,625 B | +| CompileHard | 37,944 B | 37,793 B | 20,377 B | 28,760 B | 19,742 B | 19,740 B | 20,021 B | +| RunEasy | none | none | none | none | none | none | none | +| RunMedium | none | none | none | none | none | none | none | +| RunHard | none | none | none | none | none | none | none | **`EvalEasy` allocating nothing is the proof of the caching note above**, rather than a further argument for it. Evaluating `1 + 2 + log(2, 3) + sqrt(4) - 4 ^ 7 + e * pi` cannot allocate zero @@ -186,6 +186,68 @@ honest reason -- a compiled delegate over `Complex` has nothing to put on the he --- +## The 3053rd and the 3067th, measured together on one runner — the pair for 2.10.0 + +The pair the release checklist owes: +[`81dfb49d`](https://github.com/asc-community/AngouriMath/commit/81dfb49d53028f2207b5b92508ddd518de82e1c1), the 3053rd +and `v2.9.0` itself, re-measured beside +[`bcd00676`](https://github.com/asc-community/AngouriMath/commit/bcd00676f668368b17242d8da3b23d3def361195), the 3067th, +which is 2.10.0's last change to the kernel, the fix in +[#2574](https://github.com/asc-community/AngouriMath/pull/2574). The period is 14 commits. + +Both columns come from one run of the Kernel Benchmark Across Key Commits workflow, +[run 45925911365](https://github.com/asc-community/AngouriMath/actions/runs/45925911365), on 2026-11-27, on one +`ubuntu-latest` runner, with each commit named twice and interleaved. The 3067th column added to the two tables at the +top of this file is the Kernel Benchmark's run on the 3067th, +[run 45924828059](https://github.com/asc-community/AngouriMath/actions/runs/45924828059). + +- **The repeats agree.** Of the seventeen rows that allocate, each commit's two measurements are the same to the byte on + thirteen for the 3053rd and eleven for the 3067th. The rest are within 0.12% of each other, except `CompileHard` on + both: 19,742 and 20,046 on the 3053rd, 20,021 and 20,325 on the 3067th, 1.5% apart each time. +- **The 3067th across workflows.** The Kernel Benchmark's run on it agrees with one of this run's two measurements to + the byte on twelve of the rows that allocate, and within 0.006% on the other five. + +### Allocation + +| benchmark | 3053rd | 3067th | change | +|---|--:|--:|--:| +| `CompileEasy` | 11,345 | 11,626 | +2.47% | +| `CompileHard` | 19,894 | 20,173 | +1.40% | +| `Derivate` | 53,899 | 53,913 | +0.03% | +| `SimplifyHard` | 134,185,440 | 134,185,568 | +0.00% | +| `SolveEasyMedium` | 65,753 | 65,718 | −0.05% | +| `SolveHard` | 9,012,760 | 9,011,774 | −0.01% | +| `SolveMediumHard` | 1,404,194 | 1,404,184 | −0.00% | + +Bytes allocated per call, each the mean of the commit's two measurements. Every other row has the same mean in both +columns: the four `Eval` rows that allocate, `ParseEasy`, `ParseHard`, `SimplifyEasy`, `SolveEasy` and `SolveMedium`. +`EvalEasy`, `RunEasy`, `RunMedium` and `RunHard` allocate nothing in both. + +**The two `Compile` rows are one step, the 3059th, +[#2558](https://github.com/asc-community/AngouriMath/pull/2558).** The Kernel Benchmark's runs on each commit of the +period put `CompileEasy` at 11,329 bytes on the 3058th and 11,610 on the 3059th, and `CompileHard` at 19,722 and 20,022. +That change makes both compilers look for a matrix operation of a name compiled as a number before compiling, which is +a walk of the expression's nodes on every compilation. It is about 300 bytes against a compilation of some 260 µs, and +neither row's time moved. + +### Timings + +| benchmark | 3053rd | 3067th | change | spread, 3053rd | spread, 3067th | +|---|--:|--:|--:|--:|--:| +| `SolveMediumHard` | 12,896,360 | 12,160,897 | −5.70% | 4.29% | 4.37% | +| `SolveHard` | 95,393,068 | 99,412,194 | +4.21% | 2.88% | 2.64% | +| `SolveMedium` | 419,204 | 406,499 | −3.03% | 0.42% | 6.59% | + +Nanoseconds per call, each the mean of the commit's two measurements; a spread is how far apart those two were. These are +the rows that moved 2.5% or more. `SolveMedium` is within its larger spread. `SolveMediumHard` and `SolveHard` are not, +and their allocation is the same to 0.01%, so both commits were timed again on one idle desktop, three runs each, +alternating, with a stopwatch around the benchmark's own call: the medians are 13.57 ms and 12.92 ms for +`SolveMediumHard`, −4.8%, and 73.4 ms and 68.1 ms for `SolveHard`, −7.3%. `SolveMediumHard`'s fall is seen on both +machines. `SolveHard`'s rise on the runner is not seen on the desktop, where it fell, and is read as the runner. The other +rows moved under 2.5%, among them `SimplifyHard` −2.25% with spreads of 5.2% and 7.2%. + +--- + ## The 3003rd and the 3051st, measured together on one runner — the pair for 2.9.0 The pair the release checklist owes: