Results
Three runs each way, as published in the README.
The code under test never changes, so every failure comes from the busy computer.
The setup
- On a Mac, 4 agents start the same test suite at the same moment.
- Each suite runs 5 threads (100 timed tests) and holds 2 GB of memory.
- The Mac has half as many cores as the 4 suites have busy threads, so started together they ask for twice the CPU there is.
- Through the queue at most 2 suites run together: its default of 2 slots.
- A test fails when it takes more than 1.6 times as long as when one suite runs by itself.
- After a failure an agent waits 5 to 30 s (the same random waits both ways) and runs the suite again, up to 8 runs in all.
How to read it
The setup shows what doubling the load does. A looser timeout or a lighter load would narrow the gap. Started directly, every agent's first run failed, and the retries piled more load on the same machine; through the queue each agent ran its suite once.
Run it yourself
From a clone of the repository. It keeps every core busy for about half an hour, and uses a temporary state folder and repository:
git clone https://github.com/Moezat220/deployontime.gitcd deployontimenode bench/run.mjsRun it on GitHub Actions
- Open Benchmark (manual) (opens in a new tab) in the repository's Actions tab.
- Press Run workflow. The inputs default to 3 rounds each way, 4 agents and 8 suite runs per agent.
- When it ends, download the artifact named
benchmark-results.
It runs on GitHub's macOS runner, starts only by hand and is not one of the required checks. The runner is smaller than the Mac above, so the settings are scaled by the same rule: about twice as many busy threads as cores, and less memory per thread only if 400 MB would not fit in half the RAM. The runner's cores and memory are recorded in the results, and every run uploads all of them (the raw JSON, the full output and the queue journals) whatever they show.
Limits
Code: bench/ (opens in a new tab) in the repository (run.mjs, suite.mjs, report.mjs).