From acc115945c7788dea022a0899580e4326cf760a4 Mon Sep 17 00:00:00 2001 From: edef Date: Sun, 1 May 2022 18:53:01 +0000 Subject: ripple/fossil: benchmark Chunker using Criterion Performance hovers around 300MiB/s on my machine. Change-Id: I387ccbf065c0b667824ede0675e6a295722f6d4b --- ripple/fossil/Cargo.toml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ripple/fossil/Cargo.toml') diff --git a/ripple/fossil/Cargo.toml b/ripple/fossil/Cargo.toml index 04d0824..4008691 100644 --- a/ripple/fossil/Cargo.toml +++ b/ripple/fossil/Cargo.toml @@ -22,3 +22,10 @@ anyhow = "1.0.53" [build-dependencies] prost-build = "0.8.0" + +[dev-dependencies] +criterion = "0.3.5" + +[[bench]] +name = "chunker" +harness = false -- cgit 1.4.1