From 4c9385df1bcc0098c7e1db7a2f7c7e3dbeb00c8b Mon Sep 17 00:00:00 2001 From: Henry Gressmann Date: Mon, 29 Jan 2024 17:53:39 +0100 Subject: chore: improve docs Signed-off-by: Henry Gressmann --- benches/README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'benches') diff --git a/benches/README.md b/benches/README.md index 6ed8cc5..39ba321 100644 --- a/benches/README.md +++ b/benches/README.md @@ -1,8 +1,26 @@ # Benchmark results +All benchmarks are run on a Ryzen 7 5800X, with 32GB of RAM, running Linux 6.6 with `intel_pstate=passive split_lock_detect=off mitigations=off`. + +## Results + Coming soon. -# Benchmarking +## WebAssembly Settings + +All WebAssembly files are compiled with the following settings: + +- `opt-level` is set to 3, `lto` is set to `thin`, `codegen-units` is set to 1. +- `reference-types`, `bulk-memory`, `mutable-globals` proposals are enabled. + +## Runtime Settings + +All runtimes are compiled with the following settings: + +- `unsafe` features are enabled +- `opt-level` is set to 3, `lto` is set to `thin`, `codegen-units` is set to 1. + +## Benchmarking Benchmarks are run using [Criterion.rs](https://github.com/bheisler/criterion.rs) and can be found in the `benches` directory. -- cgit v1.3.1