Stream: git-wasmtime

Topic: wasmtime / issue #4662 Cranelift: Use bump allocation in ...


view this post on Zulip Wasmtime GitHub notifications bot (Aug 15 2022 at 18:50):

fitzgen commented on issue #4662:

Okay, I switched this PR over to using bumpalo instead of indices into a vector and got a 2-6% speed up for compilation of bz2:

compilation :: cycles :: benchmarks/bz2/benchmark.wasm

  Δ = 7290648.36 ± 4245152.07 (confidence = 99%)

  bump.so is 1.02x to 1.06x faster than main.so!

  [166388177 183238542.98 214732518] bump.so
  [172836648 190529191.34 217514271] main.so

compilation :: cycles :: benchmarks/pulldown-cmark/benchmark.wasm

  No difference in performance.

  [182220055 225793551.12 277857575] bump.so
  [193212613 227784078.61 277175335] main.so

compilation :: cycles :: benchmarks/spidermonkey/benchmark.wasm

  No difference in performance.

  [3848442474 4295214144.37 4665127241] bump.so
  [3969505457 4262415290.10 4563869974] main.so

view this post on Zulip Wasmtime GitHub notifications bot (Aug 15 2022 at 18:51):

fitzgen commented on issue #4662:

Err, I guess github got confused by my renaming the branch of a closed PR. Going to open a new one.


Last updated: Nov 22 2024 at 16:03 UTC