Add trivial README to bench to describe how to run them.
authorMatt Corallo <git@bluematt.me>
Tue, 2 May 2023 17:04:11 +0000 (17:04 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 11 May 2023 06:11:51 +0000 (06:11 +0000)
bench/README.md [new file with mode: 0644]

diff --git a/bench/README.md b/bench/README.md
new file mode 100644 (file)
index 0000000..7d4cacc
--- /dev/null
@@ -0,0 +1,6 @@
+This crate uses criterion to benchmark various LDK functions.
+
+It can be run as `RUSTFLAGS=--cfg=ldk_bench cargo bench`.
+
+For routing or other HashMap-bottlenecked functions, the `hashbrown` feature
+should also be benchmarked.