Implement simple benchmarks for instantiation.
This adds benchmarks around module instantiation using criterion. Both the default (i.e. on-demand) and pooling allocators are tested sequentially and in parallel using a thread pool. Instantiation is tested with an empty module, a module with a single page linear memory, a larger linear memory with a data initializer, and a "hello world" Rust WASI program.
This commit is contained in:
4
benches/instantiation/small_memory.wat
Normal file
4
benches/instantiation/small_memory.wat
Normal file
@@ -0,0 +1,4 @@
|
||||
(module
|
||||
(memory 1)
|
||||
(func (export "_start"))
|
||||
)
|
||||
Reference in New Issue
Block a user