Skip to content

A system for comparing available features and performance of WebAssembly runtimes.

License

Notifications You must be signed in to change notification settings

singlestore-labs/wasm-eval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WASM Runtime Evaluator

Curious how to use the various runtimes and what the performance characteristics for each runtime? Try this comparison tool.

Evaluation

Test

Suite of tests for primitive types and interacting with memory.

const PRIMITIVES: &[&str] = &[
    "f64", "f32", "u64", "i64", "u32", "i32", "u16", "i16", "u8", "i8",
];

Benches

https://00f.net/2021/02/22/webassembly-runtimes-benchmarks/

WAVM is based on LLVM. Intuitively, we may expect the LLVM backend of wasmer to perform pretty much the same, but WAVM was still about 15% faster than wasmer.

https://github.com/wasm3/wasm-coremark

Other resources

WASM is language independent. This is designed for benchmarks from multiple languages.

Not validating outputs

Improper scoring (e.g. overweighting microbenchmarks)

Improper workloads (e.g. time-dependent)

⇒ Measure the wrong thing ⇒ Optimize the wrong thing

Categories of benchmarks:

  • Microbenchmarks: synthetic numeric, memory accesses, table operations, mem copy, fill, compile time, instatiate time
  • Kernels
  • Applications

http://kripken.github.io/Massive/

PolyBenchC (written in C)

http://web.cse.ohio-state.edu/~pouchet.2/software/polybench/

Ostrich Benchmark

Applications: AI/ML focus

About

A system for comparing available features and performance of WebAssembly runtimes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published