Page MenuHomePhabricator

Consider Compiling WASM Binaries at Multiple Optimization Levels
Open, MediumPublic

Description

Description

For Beta cluster, I've only got --optimization 0 to work; however, --optimization 2 works in production/staging, and even higher optimization levels might be possible. We could consider compiling multiple times for different target environments.

Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)

  • multiple wasmedge compile steps for different environments
  • read the appropriate WASM binary using WASMEDGE_BINARY environment variable

Completion checklist