mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-06-15 17:11:03 +00:00
Add benchmarks and add tiny performance improvements (#6)
* Add some benchmarks * Replace extend -> extend_from_slice (1-2% performance improvement) * Add many_blocks benchmarks
This commit is contained in:
committed by
GitHub
parent
184b3f8b3a
commit
8291876394
@@ -11,11 +11,20 @@ categories = ["wasm", "no-std"]
|
||||
repository = "https://github.com/paritytech/wasm-instrument"
|
||||
include = ["src/**/*", "LICENSE-*", "README.md"]
|
||||
|
||||
[[bench]]
|
||||
name = "benches"
|
||||
harness = false
|
||||
|
||||
[profile.bench]
|
||||
lto = "fat"
|
||||
codegen-units = 1
|
||||
|
||||
[dependencies]
|
||||
parity-wasm = { version = "0.42", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
binaryen = "0.12"
|
||||
criterion = "0.3"
|
||||
diff = "0.1"
|
||||
rand = "0.8"
|
||||
wabt = "0.10"
|
||||
|
||||
Reference in New Issue
Block a user