projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1701b02
)
Add trivial README to bench to describe how to run them.
author
Matt Corallo
<git@bluematt.me>
Tue, 2 May 2023 17:04:11 +0000
(17:04 +0000)
committer
Matt Corallo
<git@bluematt.me>
Thu, 11 May 2023 06:11:51 +0000
(06:11 +0000)
bench/README.md
[new file with mode: 0644]
patch
|
blob
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.