-
Notifications
You must be signed in to change notification settings - Fork 82
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: added wasm optimization #835
base: develop
Are you sure you want to change the base?
Conversation
Related to #818 |
Also, we need to modify building artifacts script. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool! Nice to see low-hanging fruit like this giving a performance improvement.
We will probably also need to update the README or something to say that wasm-opt is now a required tool for building the project.
Looks good, but I would postpone merging it right now. |
@mrLSD, why don't we use |
Because it's not part of the test-flow:
|
# Conflicts: # .github/workflows/tests.yml # engine-tests/src/tests/uniswap.rs
Description
wasm-opt
.Gas cost
Gas costs decreased by 3-5%.
Binary size
Binary size decreased to 9%.
Tests
Refactored test gas cost.