From 6850e8bc669171c658696655f4f31996d6e934af Mon Sep 17 00:00:00 2001 From: Henry Gressmann Date: Wed, 31 Jan 2024 00:03:42 +0100 Subject: chore: overall code cleanup Signed-off-by: Henry Gressmann --- BENCHMARKS.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'BENCHMARKS.md') diff --git a/BENCHMARKS.md b/BENCHMARKS.md index 78f05d7..12edd59 100644 --- a/BENCHMARKS.md +++ b/BENCHMARKS.md @@ -2,7 +2,7 @@ All benchmarks are run on a Ryzen 7 5800X with 32GB of RAM, running Linux 6.6. WebAssembly files are optimized using [wasm-opt](https://github.com/WebAssembly/binaryen), -and the benchmark code is available in the `benches` folder. +and the benchmark code is available in the `crates/benchmarks` folder. These are mainly preliminary benchmarks, and I will be adding more in the future that are also looking into memory usage and other metrics. @@ -67,7 +67,7 @@ After profiling and fixing some low-hanging fruits, I found the biggest bottlene Benchmarks are run using [Criterion.rs](https://github.com/bheisler/criterion.rs). To run a benchmark, use the following command: ```sh -$ cargo bench --bench +$ cargo benchmark ``` # Profiling @@ -75,7 +75,7 @@ $ cargo bench --bench To profile a benchmark, use the following command: ```sh -$ cargo flamegraph --bench -- --bench +$ cargo flamegraph -p benchmarks --bench -- --bench ``` This will generate a flamegraph in `flamegraph.svg` and a `perf.data` file. -- cgit v1.3.1