Skip to content

chore: notify docs site after benchmark data is published#804

Merged
vbreuss merged 1 commit into
mainfrom
ci/notify-docs-site-on-benchmark-publish
Jun 21, 2026
Merged

chore: notify docs site after benchmark data is published#804
vbreuss merged 1 commit into
mainfrom
ci/notify-docs-site-on-benchmark-publish

Conversation

@vbreuss

@vbreuss vbreuss commented Jun 21, 2026

Copy link
Copy Markdown
Member

The previous push trigger was path-filtered on Docs/pages/**, so it never fired for benchmark data: that data is published to the 'benchmarks' branch via the GitHub API using GITHUB_TOKEN, which cannot trigger push-based workflows.

Switch to a workflow_run trigger on the Build workflow completing on main (mirroring aweXpect). This notifies the site after every successful main Build, covering docs edits and benchmark updates alike, without depending on which files or branches changed.

@vbreuss vbreuss self-assigned this Jun 21, 2026
@vbreuss vbreuss enabled auto-merge (squash) June 21, 2026 07:58
Comment thread .github/workflows/build.yml Fixed
The previous push trigger was path-filtered on Docs/pages/**, so it
never fired for benchmark data: that data is published to the
'benchmarks' branch via the GitHub API using GITHUB_TOKEN, which
cannot trigger push-based workflows.

Switch to a workflow_run trigger on the Build workflow completing on
main (mirroring aweXpect). This notifies the site after every
successful main Build, covering docs edits and benchmark updates
alike, without depending on which files or branches changed.
@vbreuss vbreuss force-pushed the ci/notify-docs-site-on-benchmark-publish branch from a603476 to 41265cb Compare June 21, 2026 08:03
@github-actions

github-actions Bot commented Jun 21, 2026

Copy link
Copy Markdown

🚀 Benchmark Results

Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 9V74 3.69GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.301
[Host] : .NET 10.0.9 (10.0.9, 10.0.926.27113), X64 RyuJIT x86-64-v4

Job=InProcess Toolchain=InProcessEmitToolchain IterationCount=15
LaunchCount=1 WarmupCount=10

Callback Mean Error StdDev Ratio Allocated Alloc Ratio
baseline* 304.3 ns 3.29 ns 3.08 ns 1.28 1.57 KB 1.00
Mockolate 237.6 ns 0.87 ns 0.68 ns 1.00 1.57 KB 1.00
Imposter 312.7 ns 2.05 ns 1.71 ns 1.32 2.38 KB 1.52
TUnitMocks 409.2 ns 2.60 ns 2.31 ns 1.72 1.99 KB 1.27
Moq 56,990.8 ns 139.90 ns 130.86 ns 239.88 8.88 KB 5.66
NSubstitute 3,218.6 ns 23.24 ns 21.74 ns 13.55 7.74 KB 4.93
FakeItEasy 3,769.3 ns 42.67 ns 39.91 ns 15.86 6.81 KB 4.33
Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.301
[Host] : .NET 10.0.9 (10.0.9, 10.0.926.27113), X64 RyuJIT x86-64-v4

Job=InProcess Toolchain=InProcessEmitToolchain IterationCount=15
LaunchCount=1 WarmupCount=10

Indexer N Mean Error StdDev Ratio Allocated Alloc Ratio
baseline* 1 965.3 ns 41.49 ns 38.81 ns 1.86 3.77 KB 1.00
Mockolate 1 518.9 ns 14.78 ns 13.10 ns 1.00 3.77 KB 1.00
Imposter 1 477.7 ns 16.10 ns 15.06 ns 0.92 5.16 KB 1.37
Moq 1 62,415.1 ns 1,163.11 ns 971.25 ns 120.36 20.26 KB 5.38
NSubstitute 1 4,525.8 ns 111.72 ns 99.04 ns 8.73 12.84 KB 3.41
FakeItEasy 1 5,162.0 ns 89.99 ns 84.18 ns 9.95 13.63 KB 3.62
baseline* 10 2,530.9 ns 20.62 ns 19.28 ns 1.61 4.82 KB 1.00
Mockolate 10 1,572.3 ns 19.38 ns 16.18 ns 1.00 4.82 KB 1.00
Imposter 10 1,164.2 ns 32.88 ns 30.76 ns 0.74 7.97 KB 1.65
Moq 10 67,511.2 ns 1,691.31 ns 1,499.31 ns 42.94 28.64 KB 5.94
NSubstitute 10 11,691.3 ns 297.25 ns 263.51 ns 7.44 25.63 KB 5.32
FakeItEasy 10 11,347.4 ns 275.91 ns 230.40 ns 7.22 32.97 KB 6.84
Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.301
[Host] : .NET 10.0.9 (10.0.9, 10.0.926.27113), X64 RyuJIT x86-64-v3

Job=InProcess Toolchain=InProcessEmitToolchain IterationCount=15
LaunchCount=1 WarmupCount=10

Property N Mean Error StdDev Ratio Allocated Alloc Ratio
baseline* 1 523.2 ns 8.13 ns 7.60 ns 0.81 2.41 KB 1.00
Mockolate 1 647.5 ns 17.02 ns 15.92 ns 1.00 2.41 KB 1.00
Imposter 1 444.2 ns 11.17 ns 10.45 ns 0.69 3.13 KB 1.29
TUnitMocks 1 472.6 ns 6.68 ns 6.25 ns 0.73 1.64 KB 0.68
Moq 1 10,748.9 ns 31.40 ns 27.83 ns 16.61 10.39 KB 4.30
NSubstitute 1 7,196.9 ns 31.43 ns 29.40 ns 11.12 11.45 KB 4.74
FakeItEasy 1 7,582.6 ns 51.56 ns 48.23 ns 11.72 11.24 KB 4.66
baseline* 10 1,142.1 ns 4.09 ns 3.63 ns 1.06 2.91 KB 1.00
Mockolate 10 1,079.8 ns 10.10 ns 9.45 ns 1.00 2.91 KB 1.00
Imposter 10 1,111.1 ns 7.37 ns 6.53 ns 1.03 4.67 KB 1.61
TUnitMocks 10 1,668.5 ns 11.03 ns 10.32 ns 1.55 3.94 KB 1.35
Moq 10 17,269.0 ns 150.42 ns 140.70 ns 15.99 18.28 KB 6.29
NSubstitute 10 16,273.9 ns 121.68 ns 113.82 ns 15.07 21.08 KB 7.25
FakeItEasy 10 17,776.7 ns 158.03 ns 147.82 ns 16.46 30.81 KB 10.60
Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 7763 3.21GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.301
[Host] : .NET 10.0.9 (10.0.9, 10.0.926.27113), X64 RyuJIT x86-64-v3

Job=InProcess Toolchain=InProcessEmitToolchain IterationCount=15
LaunchCount=1 WarmupCount=10

Event Mean Error StdDev Ratio Allocated Alloc Ratio
baseline* 290.1 ns 10.72 ns 10.03 ns 1.01 1.7 KB 1.00
Mockolate 288.4 ns 10.96 ns 10.25 ns 1.00 1.7 KB 1.00
Imposter 1,300.5 ns 6.66 ns 5.90 ns 4.51 8.8 KB 5.17
TUnitMocks 178.9 ns 0.75 ns 0.70 ns 0.62 1.34 KB 0.79
Moq 16,325.3 ns 58.58 ns 51.93 ns 56.67 12.51 KB 7.34
NSubstitute 5,744.8 ns 22.77 ns 17.78 ns 19.94 9.05 KB 5.31
FakeItEasy 213,856.0 ns 1,169.81 ns 976.84 ns 742.31 15.38 KB 9.03
Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.301
[Host] : .NET 10.0.9 (10.0.9, 10.0.926.27113), X64 RyuJIT x86-64-v3

Job=InProcess Toolchain=InProcessEmitToolchain IterationCount=15
LaunchCount=1 WarmupCount=10

Method N Mean Error StdDev Ratio Allocated Alloc Ratio
baseline* 1 360.9 ns 14.20 ns 13.28 ns 1.08 1.93 KB 1.00
Mockolate 1 335.0 ns 4.14 ns 3.67 ns 1.00 1.93 KB 1.00
Imposter 1 549.4 ns 3.57 ns 3.17 ns 1.64 4.04 KB 2.09
TUnitMocks 1 451.1 ns 1.67 ns 1.48 ns 1.35 2.02 KB 1.04
Moq 1 179,885.3 ns 525.06 ns 465.46 ns 536.96 14.58 KB 7.55
NSubstitute 1 5,672.2 ns 19.69 ns 17.46 ns 16.93 9.12 KB 4.72
FakeItEasy 1 6,022.4 ns 31.88 ns 28.26 ns 17.98 8.05 KB 4.17
baseline* 10 670.3 ns 1.98 ns 1.85 ns 1.05 2.14 KB 1.00
Mockolate 10 639.7 ns 4.14 ns 3.87 ns 1.00 2.14 KB 1.00
Imposter 10 1,084.6 ns 5.49 ns 4.87 ns 1.70 5.52 KB 2.58
TUnitMocks 10 1,357.6 ns 5.21 ns 4.62 ns 2.12 3.73 KB 1.74
Moq 10 184,521.1 ns 1,040.22 ns 973.03 ns 288.48 18.48 KB 8.63
NSubstitute 10 8,379.9 ns 29.40 ns 27.50 ns 13.10 12.07 KB 5.64
FakeItEasy 10 9,301.9 ns 16.14 ns 13.48 ns 14.54 15.42 KB 7.20
Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 9V74 2.87GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.301
[Host] : .NET 10.0.9 (10.0.9, 10.0.926.27113), X64 RyuJIT x86-64-v3

Job=InProcess Toolchain=InProcessEmitToolchain IterationCount=15
LaunchCount=1 WarmupCount=10

CreateMock Mean Error StdDev Ratio Allocated Alloc Ratio
baseline* 18.92 ns 0.584 ns 0.546 ns 0.95 160 B 1.00
Mockolate 19.95 ns 0.605 ns 0.566 ns 1.00 160 B 1.00
Imposter 312.21 ns 7.358 ns 6.883 ns 15.66 2248 B 14.05
TUnitMocks 39.71 ns 0.722 ns 0.676 ns 1.99 200 B 1.25
Moq 1,382.37 ns 9.524 ns 8.443 ns 69.36 2096 B 13.10
NSubstitute 2,029.09 ns 21.508 ns 20.118 ns 101.81 5048 B 31.55
FakeItEasy 1,961.61 ns 36.193 ns 33.855 ns 98.42 2763 B 17.27

baseline* rows show the corresponding Mockolate benchmark from the most recent successful main branch build with results, for regression comparison.

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

Test Results

    24 files  ±0      24 suites  ±0   9m 26s ⏱️ -1s
 4 171 tests ±0   4 169 ✅ ±0  2 💤 ±0  0 ❌ ±0 
26 845 runs  ±0  26 841 ✅ ±0  4 💤 ±0  0 ❌ ±0 

Results for commit 41265cb. ± Comparison against base commit 7f1ccd5.

@vbreuss vbreuss merged commit 15105c6 into main Jun 21, 2026
17 checks passed
@vbreuss vbreuss deleted the ci/notify-docs-site-on-benchmark-publish branch June 21, 2026 08:11
github-actions Bot added a commit that referenced this pull request Jun 21, 2026
github-actions Bot added a commit that referenced this pull request Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants