Commit 85c8788
fix: align benchmark runtimes with project target frameworks (#157)
* fix: align benchmark runtimes with project target frameworks
Replace obsolete benchmark job configuration (Net481, Core 2.1–7.0)
with the actual target frameworks: net8.0, net9.0, and net10.0.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: drop manual runtime jobs to avoid BenchmarkDotNet net10.0 crash
BenchmarkDotNet 0.15.8 does not recognise the net10.0 moniker via
CreateForNewVersion, throwing NotImplementedException. Remove the
manual job/column config and use DefaultConfig instead. Specific
runtimes can be targeted via CLI args (--runtimes net8.0 net9.0).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: restore benchmark columns and multi-runtime config
Restore the original percentile/statistics columns and multi-runtime
job configuration. Keep net8.0 and net9.0 runtimes (net10.0 is not
yet supported by BenchmarkDotNet 0.15.8). Update build.cmd to pass
--runtimes net8.0 net9.0 so both configured runtimes are exercised.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: use CoreRuntime.Core10_0 for net10.0 benchmark job
BenchmarkDotNet 0.15.8 supports net10.0 via CoreRuntime.Core10_0,
not CreateForNewVersion. Revert build.cmd to original form without
--runtimes flag as the jobs are configured in code.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 7573f30 commit 85c8788
1 file changed
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 18 | | |
| 19 | + | |
| 20 | + | |
27 | 21 | | |
28 | 22 | | |
29 | 23 | | |
| |||
0 commit comments