Closed
Description
Currently wasmi_v1
is performing pretty well compared to the old wasmi
on the following profile:
[profile.release]
lto = "fat"
codegen-units = 1
However, for the default profile which is
[profile.release]
lto = false
codegen-units = 16
We can see a slow down of factor x4.21 which is pretty terrible.
For more information and stats see this GitHub Gist.
We need to investigate the reasons for this particularly bad slowdown under default profile configuration.
Usually you can see performance differences in the range of 10-15% but not in the range of 400-500%.
The Rust source files implementing the wasmi_v1
engine can be found here:
- The entry points and orchestration of the
wasmi_v1
engine: - The instruction execution of the
wasmi_v1
engine: