[DO NOT MERGE] CI timing experiment: parallel vs serial test legs#5802
[DO NOT MERGE] CI timing experiment: parallel vs serial test legs#5802pietern wants to merge 2 commits into
Conversation
Empty commit to capture a baseline CI timing for the parallel test-unit/test-acc configuration before comparing against a sequential+defer variant. Co-authored-by: Isaac
Run test-unit/test-acc (and the three test-unit sub-legs) sequentially via cmds instead of parallel deps, with the concatenating cat in a defer so test-output.json is produced even when a leg fails. Measurement commit for CI timing comparison vs the parallel baseline. Co-authored-by: Isaac
Integration test reportCommit: e7bef66
226 interesting tests: 203 FAIL, 13 SKIP, 8 RECOVERED, 2 KNOWN
Top 4 slowest tests (at least 2 minutes):
|
CI timing result: serial + defer vs parallel depsMeasured the
Conclusion: no timing regression from serializing the legs. On 5 of 6 cells serial was equal or faster. Both legs already saturate the runners, so running them in parallel mostly created core contention rather than saving wall-clock — matching a local 16-core benchmark (294s parallel vs 329s serial there; CI runners are smaller/more contended, so the parallel benefit shrinks further). Notes:
Both runs uploaded all 6 artifacts and the serial run's upload step succeeded, confirming Separate (non-timing) tradeoff that stands: with sequential Closing this experiment PR; implementing the change separately. This comment was written by Isaac. |
Measurement-only PR. Not for merge.
Compares CI wall-clock of the
testjob under two configurations of thetest-unit/test-acclegs:deps:configuration, empty commit.cmds:+defer: catso the concatenatedtest-output.jsonis produced even when a leg fails.Local benchmarking (16-core) showed parallel at 294s vs serial at 329s (~11%), because both legs already saturate cores. This PR measures the real CI delta before deciding whether to fix the failed-upload issue in the Taskfile (serial) or in the workflow (artifact glob).
This pull request and its description were written by Isaac.