Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: store jumpdests #1130

Merged
merged 18 commits into from
May 14, 2024
Merged

feat: store jumpdests #1130

merged 18 commits into from
May 14, 2024

Conversation

enitrat
Copy link
Collaborator

@enitrat enitrat commented Apr 29, 2024

Time spent on this PR:

Benchmark: using test_should_add_liquidity (a test that switches back-and-fourth between multiple contracts multiple times and thus should benefit from the caching mechanism)

Before

TRACE executor: Transaction resource usage. usage="Steps: 8093994 | Bitwise: 1420 | Keccak: 115 | L1 Gas: 364303 | Pedersen: 621 | Range Checks: 391939"

After

Transaction resource usage. usage="Steps: 6344085 | Bitwise: 1420 | Keccak: 115 | L1 Gas: 653027 | Pedersen: 1503 | Range Checks: 308089"

=> 1.7M steps saved

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Resolves #

What is the new behavior?


This change is Reviewable

@enitrat enitrat force-pushed the feat/store-jumpdests branch 2 times, most recently from 36b432b to 69d8511 Compare April 30, 2024 14:19
@enitrat enitrat marked this pull request as ready for review April 30, 2024 14:25
ClementWalter
ClementWalter previously approved these changes May 14, 2024
@enitrat enitrat merged commit e34b0de into main May 14, 2024
7 checks passed
@enitrat enitrat deleted the feat/store-jumpdests branch May 14, 2024 12:23
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.

2 participants