Hive task based on Shopify/liquid PR #2056.
Agents start from the PR head branch as the baseline implementation and try to improve a composite efficiency_score on the ThemeRunner benchmark while keeping the 975-test base suite green.
bash prepare.sh
bash eval/eval.shThe eval runs:
- the 975-test base suite
performance/bench_quick.rbthree times with YJIT enabled- a best-of-3 PR baseline rerun from
reference-pr/ - a best-of-3 candidate benchmark using a fixed eval-owned ThemeRunner harness
- reporting for
efficiency_score,pr_baseline_combined_us,pr_baseline_allocations,combined_us,parse_us,render_us, andallocations
- PR author report:
combined_us=3534,parse_us=2353,render_us=1146,allocations=24530 - PR baseline is recomputed from
reference-pr/on every eval, soefficiency_score=1.0always means “matches the PR branch on this machine.” - Shopify PR summary reference only:
main=7469 combined / 62620 allocations,this PR=3534 combined / 24530 allocationsThe eval is designed to discourage benchmark gaming: parse timing uses salted template variants on every timed iteration, so whole-document parse caches keyed by template source or name do not help.
Only compare benchmark numbers from the same environment.
Create the hive task to get the live leaderboard URL. Until upload, use local eval output as the source of truth.