Skip to content

feat: initial gas bench gh#13986

Merged
LHerskind merged 3 commits into
masterfrom
lh/gh-l1-benchmarks
May 7, 2025
Merged

feat: initial gas bench gh#13986
LHerskind merged 3 commits into
masterfrom
lh/gh-l1-benchmarks

Conversation

@LHerskind

@LHerskind LHerskind commented May 1, 2025

Copy link
Copy Markdown
Contributor

Adding benchmark reporting for some l1 gas numbers (see https://aztecprotocol.github.io/aztec-packages/dev/l1-gas-bench/).

Currently have removed the if, to see it being run on this pr and get it going.

LHerskind commented May 1, 2025

Copy link
Copy Markdown
Contributor Author

@LHerskind LHerskind marked this pull request as ready for review May 1, 2025 08:52
@LHerskind LHerskind requested a review from charlielye as a code owner May 1, 2025 08:52
Comment thread l1-contracts/bootstrap.sh
if (cols[2] == "Max") {
# Get the function name
func_name = cols[1];

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why awk?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It did the job, was available and mr robot was doing well with it

Comment thread l1-contracts/bootstrap.sh Outdated
}

function bench {
local hash=$(git rev-list -n 1 ${AZTEC_CACHE_COMMIT:-HEAD})

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's already a content hash defined, we don't need to follow the inferior pattern of git commit

@LHerskind LHerskind force-pushed the lh/gas-benchmarks branch from 4dc8c2a to d4ebfcd Compare May 1, 2025 14:30
@LHerskind LHerskind force-pushed the lh/gh-l1-benchmarks branch 2 times, most recently from 128076d to 39ae159 Compare May 1, 2025 15:28
@LHerskind LHerskind force-pushed the lh/gas-benchmarks branch from d4ebfcd to 0aedec3 Compare May 1, 2025 15:28
@LHerskind LHerskind linked an issue May 1, 2025 that may be closed by this pull request
@LHerskind LHerskind requested a review from Maddiaa0 May 1, 2025 15:32
Base automatically changed from lh/gas-benchmarks to master May 7, 2025 08:09
@LHerskind LHerskind force-pushed the lh/gh-l1-benchmarks branch from 39ae159 to 4821c85 Compare May 7, 2025 08:23
@LHerskind LHerskind added this pull request to the merge queue May 7, 2025
Merged via the queue into master with commit 47926c9 May 7, 2025
8 checks passed
@LHerskind LHerskind deleted the lh/gh-l1-benchmarks branch May 7, 2025 09:15
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.

feat: Get fancy gas benchmarks into graph on master pushes

3 participants