Skip to content

ci: cancel closed PR runs with native concurrency - #2800

Open
cpunion wants to merge 1 commit into
xgo-dev:mainfrom
cpunion:codex/dependabot-ci-cleanup
Open

cpunion wants to merge 1 commit into
xgo-dev:mainfrom
cpunion:codex/dependabot-ci-cleanup

Conversation

@cpunion

@cpunion cpunion commented Oct 12, 2026 •

Copy link
Copy Markdown
Collaborator

Cancel existing PR CI runs when a PR closes, including merges; main CI continues independently on push.

  • Use native workflow concurrency through a small reusable workflow, with no API calls, write token, or PR checkout.
  • Cover all 14 current pull_request workflows: 53 job definitions and 115 matrix-expanded job slots, including conditionally skipped jobs. Workflow-level cancellation includes the shared ci-prepare.yml jobs and the latest SDK 27, Linux distribution, and ARM64 jobs.
  • Keep CI gates cancelable with always() && !cancelled().
  • Guard workflow coverage, matching concurrency groups (including PR-only workflows), and job cancellation conditions across matrix jobs and local reusable workflows. Discover both .yml and .yaml workflows.

Scope: cancels existing pull_request workflow runs; later reruns and close/reopen races are not handled. The separate benchmark publication workflow uses workflow_run and only starts its artifact processing after a successful source run. Takes effect after merge to main.

Validation: 58 workflow/policy/script tests passed; actionlint -shellcheck='' and git diff --check passed. Mutation checks confirmed that unconditional always() in a matrix or reusable job and a mismatched PR-only concurrency group are rejected. Previous fork Actions validation confirmed cancellation and isolation from other PR/main groups. Rebased onto upstream/main at 0a2ebb8. This includes 0c417c8, which addresses the previously failing Wasm workers job by giving collection-heavy language tests a separate 480s test / 600s outer budget and isolating the goroutine-count assertion. The upstream fix passed the Wasm workers job in #2843. Hosted CI for this updated PR revision is pending.

@fennoai fennoai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review summary

Thorough, well-engineered PR. It adds a Dependabot CI cleanup system: a no-permission pull_request_target signal workflow (dependabot-pr-closed.yml), a trusted workflow_run consumer (dependabot-ci-cleanup.yml) that checks out only base-branch script code, and dependabot_ci.py which cancels obsolete Dependabot runs via the REST API.

Strengths: the pull_request_target/workflow_run privilege-escalation surface is handled correctly — the privileged actions: write job runs only trusted base-branch code (ref: ${{ github.sha }}, persist-credentials: false, sparse-checkout), the signal workflow is inert (permissions: {}, no checkout), and bot_pull() re-validates Dependabot identity against live PR state before every cancellation. The TOCTOU races (merge/reopen/head-change while listing) are each handled and individually tested. All 28 unit tests pass locally. No exploitable security issue was found.

The findings below are low-severity robustness / maintainability / informational notes — none are blocking.

Comment thread .github/scripts/dependabot_ci.py Outdated
Comment thread .github/scripts/dependabot_ci.py Outdated
Comment thread .github/scripts/dependabot_ci.py Outdated
Comment thread .github/scripts/pr_ci.py Outdated
Comment thread .github/workflows/dependabot-ci-cleanup.yml Outdated
Comment thread .github/scripts/pr_ci.py Outdated
@codecov

codecov Bot commented Oct 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@cpunion cpunion changed the title ci: cancel obsolete Dependabot PR runs ci: cancel runs for closed, unmerged pull requests Oct 12, 2026
@cpunion
cpunion force-pushed the codex/dependabot-ci-cleanup branch 3 times, most recently from 058c2bc to 4786a76 Compare October 12, 2026 13:55
@cpunion cpunion changed the title ci: cancel runs for closed, unmerged pull requests ci: cancel closed PR runs with native concurrency Oct 12, 2026
@github-actions

github-actions Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

LLGo WebAssembly build benchmarks

75991183efdc | workflow run | long-term charts

WebAssembly output sizes
Example, profile and compiler Wasm module vs base Generated JS glue vs base
cprintf/j32-emscripten/LLGo 147058 B 0 B / +0.0% 88541 B 0 B / +0.0%
cprintf/j32-goos-js/LLGo 145666 B 0 B / +0.0% 72985 B 0 B / +0.0%
cprintf/j64-emscripten-memory64/LLGo 134527 B 0 B / +0.0% 91712 B 0 B / +0.0%
cprintf/w32-goos-wasip1/LLGo 156385 B 0 B / +0.0% 0 B 0 B / 0.0%
cprintf/w32-wasi/LLGo 157083 B 0 B / +0.0% 0 B 0 B / 0.0%
fmtprintf/j32-emscripten/LLGo 2983979 B 0 B / +0.0% 120989 B 0 B / +0.0%
fmtprintf/j32-goos-js/Go 2526852 B 0 B / +0.0% 0 B 0 B / 0.0%
fmtprintf/j32-goos-js/LLGo 3074748 B 0 B / +0.0% 92052 B 0 B / +0.0%
fmtprintf/j64-emscripten-memory64/LLGo 2748837 B 0 B / +0.0% 125530 B 0 B / +0.0%
fmtprintf/w32-goos-wasip1/Go 2500019 B 0 B / +0.0% 0 B 0 B / 0.0%
fmtprintf/w32-goos-wasip1/LLGo 2343602 B 0 B / +0.0% 0 B 0 B / 0.0%
fmtprintf/w32-wasi/LLGo 2340298 B 0 B / +0.0% 0 B 0 B / 0.0%
j32-emscripten/LLGo 146575 B 0 B / +0.0% 88541 B 0 B / +0.0%
j32-goos-js/Go 1895533 B 0 B / +0.0% 0 B 0 B / 0.0%
j32-goos-js/LLGo 145416 B 0 B / +0.0% 72985 B 0 B / +0.0%
j64-emscripten-memory64/LLGo 134082 B 0 B / +0.0% 91712 B 0 B / +0.0%
reflectcall/j32-emscripten/LLGo 1510134 B 0 B / +0.0% 95329 B 0 B / +0.0%
reflectcall/j32-goos-js/Go 2191221 B 0 B / +0.0% 0 B 0 B / 0.0%
reflectcall/j32-goos-js/LLGo 1562301 B 0 B / +0.0% 79769 B 0 B / +0.0%
reflectcall/j64-emscripten-memory64/LLGo 1391259 B 0 B / +0.0% 99026 B 0 B / +0.0%
reflectcall/w32-goos-wasip1/Go 2205707 B 0 B / +0.0% 0 B 0 B / 0.0%
reflectcall/w32-goos-wasip1/LLGo 1273789 B 0 B / +0.0% 0 B 0 B / 0.0%
reflectcall/w32-wasi/LLGo 1271430 B 0 B / +0.0% 0 B 0 B / 0.0%
w32-goos-wasip1/Go 1909947 B 0 B / +0.0% 0 B 0 B / 0.0%
w32-goos-wasip1/LLGo 156059 B 0 B / +0.0% 0 B 0 B / 0.0%
w32-wasi/LLGo 156757 B 0 B / +0.0% 0 B 0 B / 0.0%
LLGo WebAssembly build measurements
Example and profile Build vs base
j32-emscripten 7.415 s +147.4 ms / +2.0% (worse)
j32-goos-js 7.172 s -40.36 ms / -0.6% (better)
j64-emscripten-memory64 6.319 s +111.6 ms / +1.8% (worse)
reflectcall/w32-wasi 23.440 s -313.1 ms / -1.3% (better)
w32-goos-wasip1 4.447 s +24.76 ms / +0.6% (worse)
w32-wasi 4.170 s +25.23 ms / +0.6% (worse)

Compared with c41bc55d918b measured in the same runner job.

@github-actions

github-actions Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

LLGo baseline benchmarks

75991183efdc | workflow run | long-term charts

Program measurements

Platform Workload File size vs base Text size vs base Build vs base Run vs base
Linux cprintf 8568 B 0 B / +0.0% 387 B 0 B / +0.0% 756.687 ms +7.53 ms / +1.0% (worse) 1.231 ms -41.63 us / -3.3% (better)
Linux cprintf-lto 8408 B 0 B / +0.0% 368 B 0 B / +0.0% 742.429 ms -9.237 ms / -1.2% (better) 1.313 ms +73.25 us / +5.9% (worse)
Linux fmtprintf 4916968 B 0 B / +0.0% 506897 B 0 B / +0.0% 4.723 s +49.03 ms / +1.0% (worse) 3.797 ms -69.75 us / -1.8% (better)
Linux fmtprintf-lto 3622784 B 0 B / +0.0% 444811 B 0 B / +0.0% 13.629 s -338 ms / -2.4% (better) 3.878 ms +47.78 us / +1.2% (worse)
Linux println 705048 B 0 B / +0.0% 17095 B 0 B / +0.0% 757.937 ms -20.19 ms / -2.6% (better) 1.619 ms +4.345 us / +0.3% (worse)
Linux println-lto 192928 B 0 B / +0.0% 14484 B 0 B / +0.0% 1.082 s -11.5 ms / -1.1% (better) 1.588 ms -23.34 us / -1.4% (better)
macOS cprintf 50736 B 0 B / +0.0% 4409 B 0 B / +0.0% 849.320 ms -68.88 ms / -7.5% (better) 2.787 ms -98.42 us / -3.4% (better)
macOS cprintf-lto 50496 B 0 B / +0.0% 161 B 0 B / +0.0% 810.364 ms -113.6 ms / -12.3% (better) 2.555 ms -1.199 ms / -31.9% (better)
macOS fmtprintf 1793088 B 0 B / +0.0% 883744 B 0 B / +0.0% 3.424 s -464.7 ms / -11.9% (better) 39.145 ms +889.7 us / +2.3% (worse)
macOS fmtprintf-lto 1362064 B 0 B / +0.0% 766828 B 0 B / +0.0% 7.014 s -115.7 ms / -1.6% (better) 45.566 ms -747 us / -1.6% (better)
macOS println 100080 B 0 B / +0.0% 24519 B 0 B / +0.0% 772.142 ms -104.8 ms / -12.0% (better) 3.735 ms -249.3 us / -6.3% (better)
macOS println-lto 84016 B 0 B / +0.0% 21732 B 0 B / +0.0% 950.907 ms +2.008 ms / +0.2% (worse) 3.918 ms -243.5 us / -5.9% (better)
Windows MinGW cprintf 676352 B 0 B / +0.0% 4550 B 0 B / +0.0% 1.589 s +41.8 ms / +2.7% (worse) 4.069 ms +209.7 us / +5.4% (worse)
Windows MinGW cprintf-lto 44544 B 0 B / +0.0% 4502 B 0 B / +0.0% 1.605 s +44.2 ms / +2.8% (worse) 3.975 ms +30.1 us / +0.8% (worse)
Windows MinGW fmtprintf 5473792 B 0 B / +0.0% 606134 B 0 B / +0.0% 5.218 s +75.66 ms / +1.5% (worse) 12.458 ms +570.2 us / +4.8% (worse)
Windows MinGW fmtprintf-lto 4161024 B 0 B / +0.0% 553254 B 0 B / +0.0% 12.785 s -1.082 s / -7.8% (better) 12.586 ms -1.136 ms / -8.3% (better)
Windows MinGW println 733696 B 0 B / +0.0% 25446 B 0 B / +0.0% 1.580 s +54.4 ms / +3.6% (worse) 6.727 ms -593.5 us / -8.1% (better)
Windows MinGW println-lto 210944 B 0 B / +0.0% 22326 B 0 B / +0.0% 1.868 s +56.81 ms / +3.1% (worse) 6.846 ms +97.1 us / +1.4% (worse)
Windows MinGW 386 cprintf 627200 B 0 B / +0.0% 5352 B 0 B / +0.0% 1.608 s -9.025 ms / -0.6% (better) 5.200 ms +93.7 us / +1.8% (worse)
Windows MinGW 386 cprintf-lto 104448 B 0 B / +0.0% 5112 B 0 B / +0.0% 1.651 s -6.797 ms / -0.4% (better) 6.686 ms +1.434 ms / +27.3% (worse)
Windows MinGW 386 fmtprintf 4776960 B 0 B / +0.0% 473902 B 0 B / +0.0% 5.624 s +20.05 ms / +0.4% (worse) 13.057 ms +340.4 us / +2.7% (worse)
Windows MinGW 386 fmtprintf-lto 4163072 B 0 B / +0.0% 452294 B 0 B / +0.0% 12.644 s -72.56 ms / -0.6% (better) 14.649 ms +910.9 us / +6.6% (worse)
Windows MinGW 386 println 681472 B 0 B / +0.0% 21694 B 0 B / +0.0% 1.632 s +13.1 ms / +0.8% (worse) 9.365 ms +327.9 us / +3.6% (worse)
Windows MinGW 386 println-lto 260608 B 0 B / +0.0% 19514 B 0 B / +0.0% 1.929 s -146.5 ms / -7.1% (better) 8.937 ms -113.5 us / -1.3% (better)
Windows MinGW ARM64 cprintf 686592 B 0 B / +0.0% 4436 B 0 B / +0.0% 1.919 s +61.14 ms / +3.3% (worse) 6.755 ms +461.7 us / +7.3% (worse)
Windows MinGW ARM64 cprintf-lto 44032 B 0 B / +0.0% 4388 B 0 B / +0.0% 1.925 s +37.84 ms / +2.0% (worse) 6.489 ms +26.9 us / +0.4% (worse)
Windows MinGW ARM64 fmtprintf 5382656 B 0 B / +0.0% 514292 B 0 B / +0.0% 5.431 s +52.13 ms / +1.0% (worse) 14.723 ms -1.194 ms / -7.5% (better)
Windows MinGW ARM64 fmtprintf-lto 4327424 B 0 B / +0.0% 480352 B 0 B / +0.0% 11.967 s +70.3 ms / +0.6% (worse) 16.080 ms +607.5 us / +3.9% (worse)
Windows MinGW ARM64 println 740352 B 0 B / +0.0% 24160 B 0 B / +0.0% 1.876 s +2.962 ms / +0.2% (worse) 10.970 ms +208.7 us / +1.9% (worse)
Windows MinGW ARM64 println-lto 218624 B 0 B / +0.0% 21516 B 0 B / +0.0% 2.155 s -45.42 ms / -2.1% (better) 10.780 ms -1.077 ms / -9.1% (better)
Windows MSVC cprintf 921088 B 0 B / +0.0% 66003 B 0 B / +0.0% 1.465 s -7.556 ms / -0.5% (better) 3.297 ms -133.9 us / -3.9% (better)
Windows MSVC cprintf-lto 292352 B 0 B / +0.0% 65971 B 0 B / +0.0% 1.475 s -198.6 ms / -11.9% (better) 3.365 ms -233.4 us / -6.5% (better)
Windows MSVC fmtprintf 5774848 B 0 B / +0.0% 701894 B 0 B / +0.0% 5.071 s -39.24 ms / -0.8% (better) 11.755 ms +223.9 us / +1.9% (worse)
Windows MSVC fmtprintf-lto 4484096 B 0 B / +0.0% 652806 B 0 B / +0.0% 11.750 s +111 ms / +1.0% (worse) 12.262 ms +818.3 us / +7.2% (worse)
Windows MSVC println 1044992 B 0 B / +0.0% 121334 B 0 B / +0.0% 1.464 s -8.655 ms / -0.6% (better) 6.736 ms -609.4 us / -8.3% (better)
Windows MSVC println-lto 531456 B 0 B / +0.0% 118870 B 0 B / +0.0% 1.752 s +58.19 ms / +3.4% (worse) 8.160 ms +1.089 ms / +15.4% (worse)
Windows MSVC 386 cprintf 538624 B 0 B / +0.0% 3947 B 0 B / +0.0% 1.071 s -4.702 ms / -0.4% (better) 4.367 ms -141.3 us / -3.1% (better)
Windows MSVC 386 cprintf-lto 44544 B 0 B / +0.0% 3901 B 0 B / +0.0% 1.102 s +2.617 ms / +0.2% (worse) 4.339 ms -80.9 us / -1.8% (better)
Windows MSVC 386 fmtprintf 4508672 B 0 B / +0.0% 457314 B 0 B / +0.0% 4.029 s -19.38 ms / -0.5% (better) 10.869 ms -127.4 us / -1.2% (better)
Windows MSVC 386 fmtprintf-lto 3910656 B 0 B / +0.0% 427681 B 0 B / +0.0% 9.450 s +202.8 ms / +2.2% (worse) 12.331 ms +1.715 ms / +16.2% (worse)
Windows MSVC 386 println 593920 B 0 B / +0.0% 20566 B 0 B / +0.0% 1.110 s +19.12 ms / +1.8% (worse) 7.242 ms -394.7 us / -5.2% (better)
Windows MSVC 386 println-lto 200192 B 0 B / +0.0% 18711 B 0 B / +0.0% 1.312 s -3.834 ms / -0.3% (better) 7.281 ms -115.5 us / -1.6% (better)
Windows MSVC ARM64 cprintf 687616 B 0 B / +0.0% 4240 B 0 B / +0.0% 1.501 s -23.81 ms / -1.6% (better) 6.476 ms +2.5 us / +0.03862% (worse)
Windows MSVC ARM64 cprintf-lto 49152 B 0 B / +0.0% 4140 B 0 B / +0.0% 1.518 s -12.53 ms / -0.8% (better) 6.539 ms +177.6 us / +2.8% (worse)
Windows MSVC ARM64 fmtprintf 5379072 B 0 B / +0.0% 514164 B 0 B / +0.0% 4.772 s -71.41 ms / -1.5% (better) 14.616 ms -603.4 us / -4.0% (better)
Windows MSVC ARM64 fmtprintf-lto 4334080 B 0 B / +0.0% 480960 B 0 B / +0.0% 11.012 s +16.88 ms / +0.2% (worse) 15.405 ms -530 us / -3.3% (better)
Windows MSVC ARM64 println 741376 B 0 B / +0.0% 24200 B 0 B / +0.0% 1.506 s -29.48 ms / -1.9% (better) 11.030 ms +247.1 us / +2.3% (worse)
Windows MSVC ARM64 println-lto 223232 B 0 B / +0.0% 21688 B 0 B / +0.0% 1.720 s -4.932 ms / -0.3% (better) 11.306 ms +396.7 us / +3.6% (worse)
Core language and compiler benchmarks
Platform Benchmark ns/op vs base
Linux BenchmarkLookupPCRandom 14.580 ns/op +0.14 ns/op / +1.0% (worse)
Linux BenchmarkMergeCompilerFlags 211.200 ns/op +15.8 ns/op / +8.1% (worse)
Linux BenchmarkMergeLinkerFlags 133.200 ns/op -0.7 ns/op / -0.5% (better)
Linux BenchmarkChannelBuffered 57.810 ns/op +2.72 ns/op / +4.9% (worse)
Linux BenchmarkChannelHandoff 13714 ns/op -452 ns/op / -3.2% (better)
Linux BenchmarkDefer 53.120 ns/op +6.12 ns/op / +13.0% (worse)
Linux BenchmarkDirectCall 1.165 ns/op 0 ns/op / +0.0%
Linux BenchmarkGlobalRead 1.171 ns/op +0.007 ns/op / +0.6% (worse)
Linux BenchmarkGlobalWrite 7.896 ns/op +0.128 ns/op / +1.6% (worse)
Linux BenchmarkGoroutine 27877 ns/op +4359 ns/op / +18.5% (worse)
Linux BenchmarkInterfaceCall 6.227 ns/op +0.002 ns/op / +0.03213% (worse)
Linux BenchmarkRuntimeGetG 2.933 ns/op -0.037 ns/op / -1.2% (better)
macOS BenchmarkLookupPCRandom 12.840 ns/op -0.57 ns/op / -4.3% (better)
macOS BenchmarkMergeCompilerFlags 109.200 ns/op -6.1 ns/op / -5.3% (better)
macOS BenchmarkMergeLinkerFlags 67.530 ns/op -6.54 ns/op / -8.8% (better)
macOS BenchmarkChannelBuffered 24.210 ns/op -2.7 ns/op / -10.0% (better)
macOS BenchmarkChannelHandoff 7043 ns/op +1386 ns/op / +24.5% (worse)
macOS BenchmarkDefer 30.630 ns/op -9.65 ns/op / -24.0% (better)
macOS BenchmarkDirectCall 1.054 ns/op -0.25 ns/op / -19.2% (better)
macOS BenchmarkGlobalRead 1.047 ns/op -0.055 ns/op / -5.0% (better)
macOS BenchmarkGlobalWrite 1.136 ns/op -0.009 ns/op / -0.8% (better)
macOS BenchmarkGoroutine 31477 ns/op -4755 ns/op / -13.1% (better)
macOS BenchmarkInterfaceCall 3.716 ns/op -0.715 ns/op / -16.1% (better)
macOS BenchmarkRuntimeGetG 2.064 ns/op -0.084 ns/op / -3.9% (better)
Windows MinGW BenchmarkLookupPCRandom 11.310 ns/op -1.01 ns/op / -8.2% (better)
Windows MinGW BenchmarkMergeCompilerFlags 561.200 ns/op -46.8 ns/op / -7.7% (better)
Windows MinGW BenchmarkMergeLinkerFlags 489 ns/op -95.7 ns/op / -16.4% (better)
Windows MinGW BenchmarkChannelBuffered 43.630 ns/op +0.05 ns/op / +0.1% (worse)
Windows MinGW BenchmarkChannelHandoff 15651 ns/op -2734 ns/op / -14.9% (better)
Windows MinGW BenchmarkDefer 58.330 ns/op +2.95 ns/op / +5.3% (worse)
Windows MinGW BenchmarkDirectCall 1.021 ns/op +0.0377 ns/op / +3.8% (worse)
Windows MinGW BenchmarkGlobalRead 1.036 ns/op -0.004 ns/op / -0.4% (better)
Windows MinGW BenchmarkGlobalWrite 8.398 ns/op -0.007 ns/op / -0.1% (better)
Windows MinGW BenchmarkGoroutine 84331 ns/op +4651 ns/op / +5.8% (worse)
Windows MinGW BenchmarkInterfaceCall 5.695 ns/op +0.103 ns/op / +1.8% (worse)
Windows MinGW BenchmarkRuntimeGetG 1.872 ns/op -0.014 ns/op / -0.7% (better)
Windows MinGW 386 BenchmarkLookupPCRandom 26.650 ns/op +0.12 ns/op / +0.5% (worse)
Windows MinGW 386 BenchmarkMergeCompilerFlags 748.600 ns/op -9.6 ns/op / -1.3% (better)
Windows MinGW 386 BenchmarkMergeLinkerFlags 703.800 ns/op +8.3 ns/op / +1.2% (worse)
Windows MinGW 386 BenchmarkChannelBuffered 40.180 ns/op -0.09 ns/op / -0.2% (better)
Windows MinGW 386 BenchmarkChannelHandoff 736.200 ns/op -145.7 ns/op / -16.5% (better)
Windows MinGW 386 BenchmarkDefer 44.090 ns/op +0.4 ns/op / +0.9% (worse)
Windows MinGW 386 BenchmarkDirectCall 1.549 ns/op -0.002 ns/op / -0.1% (better)
Windows MinGW 386 BenchmarkGlobalRead 1.550 ns/op 0 ns/op / +0.0%
Windows MinGW 386 BenchmarkGlobalWrite 7.808 ns/op +0.012 ns/op / +0.2% (worse)
Windows MinGW 386 BenchmarkGoroutine 104478 ns/op -1708 ns/op / -1.6% (better)
Windows MinGW 386 BenchmarkInterfaceCall 8.395 ns/op -0.011 ns/op / -0.1% (better)
Windows MinGW 386 BenchmarkRuntimeGetG 2.480 ns/op -0.008 ns/op / -0.3% (better)
Windows MinGW ARM64 BenchmarkLookupPCRandom 12.090 ns/op +0.08 ns/op / +0.7% (worse)
Windows MinGW ARM64 BenchmarkMergeCompilerFlags 568.400 ns/op -13 ns/op / -2.2% (better)
Windows MinGW ARM64 BenchmarkMergeLinkerFlags 539.700 ns/op +6 ns/op / +1.1% (worse)
Windows MinGW ARM64 BenchmarkChannelBuffered 38.030 ns/op +0.93 ns/op / +2.5% (worse)
Windows MinGW ARM64 BenchmarkChannelHandoff 5665 ns/op +1470 ns/op / +35.0% (worse)
Windows MinGW ARM64 BenchmarkDefer 54.730 ns/op -0.43 ns/op / -0.8% (better)
Windows MinGW ARM64 BenchmarkDirectCall 0.590 ns/op -0.0005 ns/op / -0.1% (better)
Windows MinGW ARM64 BenchmarkGlobalRead 0.593 ns/op -0.0001 ns/op / -0.01686% (better)
Windows MinGW ARM64 BenchmarkGlobalWrite 0.664 ns/op 0 ns/op / +0.0%
Windows MinGW ARM64 BenchmarkGoroutine 62457 ns/op -242 ns/op / -0.4% (better)
Windows MinGW ARM64 BenchmarkInterfaceCall 4.145 ns/op +0.004 ns/op / +0.1% (worse)
Windows MinGW ARM64 BenchmarkRuntimeGetG 1.771 ns/op +0.002 ns/op / +0.1% (worse)
Windows MSVC BenchmarkLookupPCRandom 13.100 ns/op -0.09 ns/op / -0.7% (better)
Windows MSVC BenchmarkMergeCompilerFlags 624.200 ns/op +25.9 ns/op / +4.3% (worse)
Windows MSVC BenchmarkMergeLinkerFlags 535.200 ns/op 0 ns/op / +0.0%
Windows MSVC BenchmarkChannelBuffered 28.920 ns/op +0.06 ns/op / +0.2% (worse)
Windows MSVC BenchmarkChannelHandoff 1220 ns/op +31 ns/op / +2.6% (worse)
Windows MSVC BenchmarkDefer 67.050 ns/op +0.67 ns/op / +1.0% (worse)
Windows MSVC BenchmarkDirectCall 1.547 ns/op -0.001 ns/op / -0.1% (better)
Windows MSVC BenchmarkGlobalRead 1.547 ns/op -0.001 ns/op / -0.1% (better)
Windows MSVC BenchmarkGlobalWrite 2.453 ns/op -0.002 ns/op / -0.1% (better)
Windows MSVC BenchmarkGoroutine 88427 ns/op -1866 ns/op / -2.1% (better)
Windows MSVC BenchmarkInterfaceCall 8.688 ns/op +0.006 ns/op / +0.1% (worse)
Windows MSVC BenchmarkRuntimeGetG 2.173 ns/op +0.004 ns/op / +0.2% (worse)
Windows MSVC 386 BenchmarkLookupPCRandom 21.560 ns/op 0 ns/op / +0.0%
Windows MSVC 386 BenchmarkMergeCompilerFlags 554.600 ns/op -4.9 ns/op / -0.9% (better)
Windows MSVC 386 BenchmarkMergeLinkerFlags 516.500 ns/op -10.6 ns/op / -2.0% (better)
Windows MSVC 386 BenchmarkChannelBuffered 33.920 ns/op +0.02 ns/op / +0.1% (worse)
Windows MSVC 386 BenchmarkChannelHandoff 816.400 ns/op -0.8 ns/op / -0.1% (better)
Windows MSVC 386 BenchmarkDefer 37.520 ns/op -0.9 ns/op / -2.3% (better)
Windows MSVC 386 BenchmarkDirectCall 1.356 ns/op -0.001 ns/op / -0.1% (better)
Windows MSVC 386 BenchmarkGlobalRead 1.358 ns/op +0.001 ns/op / +0.1% (worse)
Windows MSVC 386 BenchmarkGlobalWrite 6.983 ns/op +0.002 ns/op / +0.02865% (worse)
Windows MSVC 386 BenchmarkGoroutine 74360 ns/op +847 ns/op / +1.2% (worse)
Windows MSVC 386 BenchmarkInterfaceCall 7.336 ns/op -0.001 ns/op / -0.01363% (better)
Windows MSVC 386 BenchmarkRuntimeGetG 1.637 ns/op -0.265 ns/op / -13.9% (better)
Windows MSVC ARM64 BenchmarkLookupPCRandom 12.090 ns/op 0 ns/op / +0.0%
Windows MSVC ARM64 BenchmarkMergeCompilerFlags 563.700 ns/op -7.1 ns/op / -1.2% (better)
Windows MSVC ARM64 BenchmarkMergeLinkerFlags 530.600 ns/op +2.7 ns/op / +0.5% (worse)
Windows MSVC ARM64 BenchmarkChannelBuffered 38.990 ns/op +0.74 ns/op / +1.9% (worse)
Windows MSVC ARM64 BenchmarkChannelHandoff 3132 ns/op +564 ns/op / +22.0% (worse)
Windows MSVC ARM64 BenchmarkDefer 58.810 ns/op -2.76 ns/op / -4.5% (better)
Windows MSVC ARM64 BenchmarkDirectCall 0.589 ns/op -0.0005 ns/op / -0.1% (better)
Windows MSVC ARM64 BenchmarkGlobalRead 0.590 ns/op -0.0036 ns/op / -0.6% (better)
Windows MSVC ARM64 BenchmarkGlobalWrite 3.751 ns/op -0.01 ns/op / -0.3% (better)
Windows MSVC ARM64 BenchmarkGoroutine 56396 ns/op +91 ns/op / +0.2% (worse)
Windows MSVC ARM64 BenchmarkInterfaceCall 4.137 ns/op -0.004 ns/op / -0.1% (better)
Windows MSVC ARM64 BenchmarkRuntimeGetG 1.809 ns/op +0.007 ns/op / +0.4% (worse)
Timer runtime benchmarks
Platform Operation and runtime ns/op vs base
Linux AfterFuncZeroDelivery/Go 915.700 ns/op +4.5 ns/op / +0.5% (worse)
Linux AfterFuncZeroDelivery/LLGo 37146 ns/op +350 ns/op / +1.0% (worse)
Linux CreateStop/Go 297.200 ns/op +4.2 ns/op / +1.4% (worse)
Linux CreateStop/LLGo 1774 ns/op -39 ns/op / -2.2% (better)
Linux RearmStopped/Go 115.900 ns/op +1.2 ns/op / +1.0% (worse)
Linux RearmStopped/LLGo 1067 ns/op -250 ns/op / -19.0% (better)
Linux ResetActive/Go 69.200 ns/op +1.79 ns/op / +2.7% (worse)
Linux ResetActive/LLGo 727 ns/op +31.3 ns/op / +4.5% (worse)
Linux ResetHeap1024/Go 67.300 ns/op +0.13 ns/op / +0.2% (worse)
Linux ResetHeap1024/LLGo 164.200 ns/op +5.2 ns/op / +3.3% (worse)
macOS AfterFuncZeroDelivery/Go 447.300 ns/op +10.7 ns/op / +2.5% (worse)
macOS AfterFuncZeroDelivery/LLGo 33277 ns/op -1740 ns/op / -5.0% (better)
macOS CreateStop/Go 141.300 ns/op -2.4 ns/op / -1.7% (better)
macOS CreateStop/LLGo 361.400 ns/op -37.7 ns/op / -9.4% (better)
macOS RearmStopped/Go 58.020 ns/op -7.3 ns/op / -11.2% (better)
macOS RearmStopped/LLGo 279.800 ns/op -23.4 ns/op / -7.7% (better)
macOS ResetActive/Go 43.080 ns/op -0.79 ns/op / -1.8% (better)
macOS ResetActive/LLGo 129.100 ns/op -27.1 ns/op / -17.3% (better)
macOS ResetHeap1024/Go 42.570 ns/op -1.19 ns/op / -2.7% (better)
macOS ResetHeap1024/LLGo 79.980 ns/op -3.57 ns/op / -4.3% (better)
Windows MinGW AfterFuncZeroDelivery/Go 686.500 ns/op -0.6 ns/op / -0.1% (better)
Windows MinGW AfterFuncZeroDelivery/LLGo 147965 ns/op +8708 ns/op / +6.3% (worse)
Windows MinGW CreateStop/Go 186.700 ns/op -0.7 ns/op / -0.4% (better)
Windows MinGW CreateStop/LLGo 1199 ns/op +304.6 ns/op / +34.1% (worse)
Windows MinGW RearmStopped/Go 69.300 ns/op -0.17 ns/op / -0.2% (better)
Windows MinGW RearmStopped/LLGo 312.100 ns/op +10.7 ns/op / +3.6% (worse)
Windows MinGW ResetActive/Go 30.780 ns/op -0.01 ns/op / -0.03248% (better)
Windows MinGW ResetActive/LLGo 179.700 ns/op -168.3 ns/op / -48.4% (better)
Windows MinGW ResetHeap1024/Go 31.090 ns/op -0.05 ns/op / -0.2% (better)
Windows MinGW ResetHeap1024/LLGo 114 ns/op -2.2 ns/op / -1.9% (better)
Windows MinGW 386 AfterFuncZeroDelivery/Go 959.600 ns/op +13 ns/op / +1.4% (worse)
Windows MinGW 386 AfterFuncZeroDelivery/LLGo 200284 ns/op -1105 ns/op / -0.5% (better)
Windows MinGW 386 CreateStop/Go 192.500 ns/op +1 ns/op / +0.5% (worse)
Windows MinGW 386 CreateStop/LLGo 499.400 ns/op -7.6 ns/op / -1.5% (better)
Windows MinGW 386 RearmStopped/Go 63.320 ns/op +0.08 ns/op / +0.1% (worse)
Windows MinGW 386 RearmStopped/LLGo 313.700 ns/op -17.2 ns/op / -5.2% (better)
Windows MinGW 386 ResetActive/Go 39.140 ns/op +0.13 ns/op / +0.3% (worse)
Windows MinGW 386 ResetActive/LLGo 971.800 ns/op +12.3 ns/op / +1.3% (worse)
Windows MinGW 386 ResetHeap1024/Go 39.510 ns/op -0.04 ns/op / -0.1% (better)
Windows MinGW 386 ResetHeap1024/LLGo 175.800 ns/op +1.9 ns/op / +1.1% (worse)
Windows MinGW ARM64 AfterFuncZeroDelivery/Go 657.300 ns/op -8.5 ns/op / -1.3% (better)
Windows MinGW ARM64 AfterFuncZeroDelivery/LLGo 153163 ns/op +8229 ns/op / +5.7% (worse)
Windows MinGW ARM64 CreateStop/Go 187.500 ns/op -14 ns/op / -6.9% (better)
Windows MinGW ARM64 CreateStop/LLGo 320.500 ns/op -26.9 ns/op / -7.7% (better)
Windows MinGW ARM64 RearmStopped/Go 70.820 ns/op +0.23 ns/op / +0.3% (worse)
Windows MinGW ARM64 RearmStopped/LLGo 210.800 ns/op +0.5 ns/op / +0.2% (worse)
Windows MinGW ARM64 ResetActive/Go 31.200 ns/op +0.18 ns/op / +0.6% (worse)
Windows MinGW ARM64 ResetActive/LLGo 102.800 ns/op -3.1 ns/op / -2.9% (better)
Windows MinGW ARM64 ResetHeap1024/Go 31.160 ns/op +0.05 ns/op / +0.2% (worse)
Windows MinGW ARM64 ResetHeap1024/LLGo 111.900 ns/op +0.3 ns/op / +0.3% (worse)
Windows MSVC AfterFuncZeroDelivery/Go 551.800 ns/op -12.2 ns/op / -2.2% (better)
Windows MSVC AfterFuncZeroDelivery/LLGo 176570 ns/op +2928 ns/op / +1.7% (worse)
Windows MSVC CreateStop/Go 117.400 ns/op -0.1 ns/op / -0.1% (better)
Windows MSVC CreateStop/LLGo 399.200 ns/op +7.9 ns/op / +2.0% (worse)
Windows MSVC RearmStopped/Go 31.440 ns/op -0.07 ns/op / -0.2% (better)
Windows MSVC RearmStopped/LLGo 241.100 ns/op +11.9 ns/op / +5.2% (worse)
Windows MSVC ResetActive/Go 20.080 ns/op -0.08 ns/op / -0.4% (better)
Windows MSVC ResetActive/LLGo 164.200 ns/op +10 ns/op / +6.5% (worse)
Windows MSVC ResetHeap1024/Go 20.430 ns/op -0.21 ns/op / -1.0% (better)
Windows MSVC ResetHeap1024/LLGo 117.400 ns/op +0.7 ns/op / +0.6% (worse)
Windows MSVC 386 AfterFuncZeroDelivery/Go 765.400 ns/op -20.9 ns/op / -2.7% (better)
Windows MSVC 386 AfterFuncZeroDelivery/LLGo 135925 ns/op +1558 ns/op / +1.2% (worse)
Windows MSVC 386 CreateStop/Go 170.400 ns/op +2.1 ns/op / +1.2% (worse)
Windows MSVC 386 CreateStop/LLGo 361.300 ns/op -2.2 ns/op / -0.6% (better)
Windows MSVC 386 RearmStopped/Go 56.650 ns/op -0.18 ns/op / -0.3% (better)
Windows MSVC 386 RearmStopped/LLGo 244.800 ns/op +5.5 ns/op / +2.3% (worse)
Windows MSVC 386 ResetActive/Go 32.690 ns/op +0.15 ns/op / +0.5% (worse)
Windows MSVC 386 ResetActive/LLGo 844 ns/op +10.9 ns/op / +1.3% (worse)
Windows MSVC 386 ResetHeap1024/Go 32.900 ns/op +0.07 ns/op / +0.2% (worse)
Windows MSVC 386 ResetHeap1024/LLGo 133.300 ns/op -0.6 ns/op / -0.4% (better)
Windows MSVC ARM64 AfterFuncZeroDelivery/Go 661 ns/op -33.2 ns/op / -4.8% (better)
Windows MSVC ARM64 AfterFuncZeroDelivery/LLGo 138843 ns/op +630 ns/op / +0.5% (worse)
Windows MSVC ARM64 CreateStop/Go 193.800 ns/op -3.6 ns/op / -1.8% (better)
Windows MSVC ARM64 CreateStop/LLGo 330.800 ns/op +8.6 ns/op / +2.7% (worse)
Windows MSVC ARM64 RearmStopped/Go 70.610 ns/op -0.02 ns/op / -0.02832% (better)
Windows MSVC ARM64 RearmStopped/LLGo 223.200 ns/op +2.1 ns/op / +0.9% (worse)
Windows MSVC ARM64 ResetActive/Go 31.050 ns/op -0.01 ns/op / -0.0322% (better)
Windows MSVC ARM64 ResetActive/LLGo 111 ns/op +1.4 ns/op / +1.3% (worse)
Windows MSVC ARM64 ResetHeap1024/Go 31.050 ns/op -0.03 ns/op / -0.1% (better)
Windows MSVC ARM64 ResetHeap1024/LLGo 117.500 ns/op -0.5 ns/op / -0.4% (better)

Compared with c41bc55d918b measured in the same runner job.

@cpunion
cpunion force-pushed the codex/dependabot-ci-cleanup branch from 4786a76 to 7599118 Compare October 17, 2026 06:22
@cpunion
cpunion force-pushed the codex/dependabot-ci-cleanup branch from 7599118 to 4f998cd Compare October 18, 2026 03:44
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.

1 participant