Skip to content

Update for fe 26.2, add gas comparison scripts#6

Open
sbillig wants to merge 2 commits into
mainfrom
fe262
Open

Update for fe 26.2, add gas comparison scripts#6
sbillig wants to merge 2 commits into
mainfrom
fe262

Conversation

@sbillig

@sbillig sbillig commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

bench/compare_sol_fe_gas.rb compares Solidity vs one Fe binary:

bench/compare_sol_fe_gas.rb
bench/compare_sol_fe_gas.rb /path/to/fe
FE_BIN=fe bench/compare_sol_fe_gas.rb

bench/compare_fe_gas.rb compares two Fe binaries:

bench/compare_fe_gas.rb /path/to/base/fe /path/to/candidate/fe
bench/compare_fe_gas.rb --label-base master --label-candidate branch \
  ~/code/fe/master/target/release/fe \
  ~/code/fe/branch/target/release/fe

Pass Foundry args after --:

bench/compare_sol_fe_gas.rb --top 10 -- --match-test testGas
bench/compare_fe_gas.rb fe ~/code/fe/branch/target/release/fe -- --match-contract ERC20

Logs go to out/gas-compare/ by default. Use --out-dir DIR, --top N, and --keep-ansi as needed. Bare fe is resolved through PATH; paths like ~/code/.../fe are checked as executable files.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 381fae0e85

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread bench/compare_sol_fe_gas.rb Outdated
@sbillig sbillig changed the title Update for fe 26.2 Update for fe 26.2, add gas comparison scripts Jun 26, 2026
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