projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add trivial README to bench to describe how to run them.
[rust-lightning]
/
bench
/
README.md
diff --git a/bench/README.md
b/bench/README.md
new file mode 100644
(file)
index 0000000..
7d4cacc
--- /dev/null
+++ b/
bench/README.md
@@ -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.