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(benchmarks): update gas bounds after wasm cost reduction #315

Merged
merged 1 commit into from
Oct 21, 2021

Conversation

birchmd
Copy link
Member

@birchmd birchmd commented Oct 20, 2021

Closes #310

After lowering the wasm gas cost (see near/nearcore#4979), we see about a 35%-40% decrease (i.e. new_gas = old_gas * (1 - 0.35)) in our NEAR gas usage (based on the various regression tests we have. This should correspond to around a 1.5x increase in the EVM gas limit we can support. E.g. if we could handle around 600k EVM gas previously, now we should be able to handle around 900k.

Note: this PR is only updating our tests. The gas cost reduction on the live NEAR mainnet is expected to occur on November 15.

@birchmd birchmd added C-enhancement Category: New feature or request A-benchmark Area: performance benchmarks A-testing Area: If something has added tests, or changed them. labels Oct 20, 2021
@birchmd birchmd linked an issue Oct 20, 2021 that may be closed by this pull request
3 tasks
@birchmd birchmd merged commit 74bdf4f into develop Oct 21, 2021
@birchmd birchmd deleted the 310-update-benchmarks branch October 21, 2021 18:41
birchmd added a commit that referenced this pull request Oct 26, 2021
@birchmd birchmd mentioned this pull request Oct 26, 2021
artob pushed a commit that referenced this pull request Nov 1, 2021
* Feat(engine): Public method for computing block hash at given height (#303)
* Fix(precompiles): Always charge for gas in ecrecover (#305)
* Fix(precompiles): Pad modexp input if it is too short (#306)
* Feat(engine): Include address field in returned EVM logs (#299)
* Fix(engine): Remove unnecessary eth-connector logic (#312)
* Feat(benchmarks): update gas bounds after wasm cost reduction (#315)
* Fix(engine): update to latest SputnikVM (#316)
* Add logging of public of the signer (#319)

Co-authored-by: Dmitry Strokov <dmitry.strokov@aurora.dev>
Co-authored-by: Joshua J. Bouw <joshua@aurora.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-benchmark Area: performance benchmarks A-testing Area: If something has added tests, or changed them. C-enhancement Category: New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update benchmark gas values based on new NEAR wasm cost
2 participants