Skip to content
This repository was archived by the owner on Jul 10, 2026. It is now read-only.

claude: fix comparison workflow ocwwh - #109

Merged
0xShaito merged 3 commits into
test/benchmarkfrom
claude/fix-comparison-workflow-Ocwwh
Jan 30, 2026
Merged

claude: fix comparison workflow ocwwh#109
0xShaito merged 3 commits into
test/benchmarkfrom
claude/fix-comparison-workflow-Ocwwh

Conversation

@0xShaito

Copy link
Copy Markdown
Member

No description provided.

The benchmark action was downloading baseline files and running the
comparison, but never actually executing the benchmarks to generate
the _new files needed for comparison. This caused comparisons to show
no differences even when contract costs changed significantly.

https://claude.ai/code/session_01TPZL9Jc2cibnFb11EV3b9N
…arison

The comparison workflow was not working because:
1. The benchmark action never ran the benchmarks to generate comparison files
2. The suffix naming was inconsistent

Changes:
- Add benchmark execution step in PR workflow with _latest suffix
- Change baseline files to use _baseline suffix for clarity
- Update comparison to compare _baseline (base) vs _latest (current)
- Simplify file handling by using consistent suffix naming

Flow:
- update-baseline.yml: generates *_baseline.benchmark.json for main/dev
- pr-checks.yml: generates *_latest.benchmark.json for PR code
- Comparison: _baseline vs _latest shows actual differences

https://claude.ai/code/session_01TPZL9Jc2cibnFb11EV3b9N
The aztec-benchmark action defaults to running benchmarks itself
when only_report is false. Since we already run benchmarks with
yarn aztec-benchmark, we need to set only_report: true to make
the action only generate the comparison report.

Also explicitly pass reports_dir for clarity.

https://claude.ai/code/session_01TPZL9Jc2cibnFb11EV3b9N
@0xShaito
0xShaito merged commit 9745371 into test/benchmark Jan 30, 2026
4 checks passed
@0xShaito
0xShaito deleted the claude/fix-comparison-workflow-Ocwwh branch January 30, 2026 21:11
@github-actions

Copy link
Copy Markdown

Benchmark Comparison

CPU Cores RAM Arch
N/A N/A N/A N/A

Contract: counter

Function Gates DA Gas L2 Gas Proving Time (ms)
Status Base PR Diff Base PR Diff Base PR Diff Base PR Diff
🆕 increment 0 472,292 +Inf% 0 2,253 +Inf% 0 28,872 +Inf% N/A N/A

@0xShaito
0xShaito restored the claude/fix-comparison-workflow-Ocwwh branch February 1, 2026 02:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants