Skip to content

ci: report the slowest Go packages and tests in every job summary - #802

Merged
omartelo merged 2 commits into
mainfrom
ci/test-timings
Oct 17, 2026
Merged

omartelo merged 2 commits into
mainfrom
ci/test-timings

Conversation

@omartelo

@omartelo omartelo commented Oct 17, 2026 •

Copy link
Copy Markdown
Collaborator

The Windows backend suite swings between 125s and 371s across recent runs while macOS holds at 60-78s (#800 hit 6m11s), and nothing in the job said where the time goes: go-test-summary.sh writes go test -json to a temp file that dies with the runner.

go-test-summary.sh now adds a collapsed Timings section to every job summary it writes (ci and release, every OS): suite wall time, the 15 slowest packages and the 15 slowest top-level tests. Elapsed is run time only, so wall minus the slowest package is compile and link time.

First reading, Windows against Linux: store 150s vs 8s, project 89s vs 9s, drop 51s vs 9s. store alone is the critical path; the fix for it lands separately.

A step turning off Defender real-time scanning was tried here and dropped: the Windows suite took 186s with it, the same as the median without.

@omartelo omartelo changed the title ci: report the slowest Go packages and tests, and turn off Defender scanning on the Windows suite ci: report the slowest Go packages and tests in every job summary Oct 17, 2026
@omartelo
omartelo merged commit 7d45f07 into main Oct 17, 2026
7 checks passed
@omartelo
omartelo deleted the ci/test-timings branch October 17, 2026 17:56
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