HttpArena Benchmark Queue: when your pull request's run starts
Every run asked for on a pull request goes through one queue, because there is one bench host and each run needs all of it. The queue's page shows what is running, everything behind it in order, and when each run is estimated to start. It updates live.
Asking for a run
Comment on your pull request:
| Command | Runs |
|---|---|
/benchmark -f <entry> [-t <test>,...] | the entry's tests, or the ones named |
/benchmark-multiple -f <entry>,<entry> | several entries in one run |
/benchmark-test -t <test> | every entry subscribed to a test |
/spec -f <entry> | the compliance suites the entry lists in spec |
/resilience -f <entry> | the resilience suite, for entries that opt in |
The run joins the queue straight away, and the pull request gets a comment with its place and its estimated start. Every run saves its results, no --save needed: they are committed to the pull request and reach the board when it merges. A run measures the branch merged with main, but only its results are pushed; a branch that cannot merge main automatically has to be rebased first, and a fork has to allow edits from maintainers. The pull request's head at that moment is the commit measured: to measure a newer commit, ask again. A new request for the same run replaces the older one that has not started.
The order
The queue is ordered by when each run was asked for, adjusted two ways:
- Priority: a run whose entries are all
flagshiporemerging(meta.jsontype, as on main) is placed as if it were asked for 4 hours earlier. - Fair share, for benchmarks: each hour of the bench host your benchmark runs used lately places your next one 1 hour later. A run's hours count fully when it ends and halve every two days; nothing older than a week counts. Your benchmarks already waiting in the queue count too, so the more you ask for, the longer the next one waits, and other people's runs go in between.
Compliance (/spec) and resilience (/resilience) requests have no fair-share limit, and neither do the maintainers on the queue's whitelist. Maintainers can also move a run up or down, run it next, take away its fair-share wait, or cancel it. The page's Why here? under each run shows its numbers.
Estimates
A run's length is the sum of what each of its tests took for that entry on its recent runs, learned from the runs' logs (or across all entries, for a test the entry never ran), plus the CPU cool-downs between tests and runs. A run that goes over its estimate pushes everything behind it. While maintainers use the bench host by hand, the queue holds and the page says so; requests still queue.