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

Code Deployment: Run wasm-opt on-chain #1069

Open
Stebalien opened this issue Nov 10, 2022 · 1 comment
Open

Code Deployment: Run wasm-opt on-chain #1069

Stebalien opened this issue Nov 10, 2022 · 1 comment
Milestone

Comments

@Stebalien
Copy link
Member

@Jacarte has found that running wasm-opt can reduce some pathologically bad compilation cases. We should consider running this tool on chain before (and maybe after?) gas instrumentation.

This isn't a perfect defense, but every little bit helps.

@Stebalien Stebalien added this to the M2.2 milestone Nov 10, 2022
@Stebalien
Copy link
Member Author

Specifically, it reduced some pathological compilation/instrumentation cases from many seconds to 100ms.

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

No branches or pull requests

1 participant