Skip to content

Tighten BENCHMARK_GRID_CONFIG for faster asv runs#3

Merged
hmgaudecker merged 1 commit into
mainfrom
perf/benchmark-shrink-grids
Apr 19, 2026
Merged

Tighten BENCHMARK_GRID_CONFIG for faster asv runs#3
hmgaudecker merged 1 commit into
mainfrom
perf/benchmark-shrink-grids

Conversation

@hmgaudecker

Copy link
Copy Markdown
Member

Summary

  • BENCHMARK_GRID_CONFIG: consumption 10 → 5, assets 5 → 3.

Why

asv aca-baseline benchmark hit the 1800s timeout on the GPU runner (compile alone was 18.6 min). Shrinking the two largest remaining continuous grids cuts inner-loop work without touching any regime.

Test plan

  • pytest aca-model/tests/test_benchmark.py -m long_running -x -q passes (end-to-end simulate still runs).
  • Downstream: pylcm bench_aca_baseline still completes within its timeout.

🤖 Generated with Claude Code

Aim: cut asv run time for bench_aca_baseline. Consumption drives the
inner maximization loop; assets is the next largest lever. Combined
~2–3× speedup on compile + inner solve work without changing any
regime structure.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hmgaudecker hmgaudecker merged commit 3a72e27 into main Apr 19, 2026
1 check passed
@hmgaudecker hmgaudecker deleted the perf/benchmark-shrink-grids branch April 19, 2026 18:03
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