diff options
author | Nora Widdecke <nora@sequoia-pgp.org> | 2021-02-10 14:49:33 +0100 |
---|---|---|
committer | Nora Widdecke <nora@sequoia-pgp.org> | 2021-04-13 12:38:16 +0200 |
commit | 0055f6ba67161692d2a5d32b8c00c6b32bf0c0f1 (patch) | |
tree | 3cfe5110dd32cc6350c07d2ecb6303cdf8c2e922 /openpgp/benches/mod.rs | |
parent | a931158a9810d1ab37a48640c38da779eca6113f (diff) |
bench: Restructure.
- Move all benchmarks into a single binary. This prevents dead_code
warnings for common functions not used in a specific benchmark, and
makes adding new benchmarks a little less surprising.
- Cargo would autimatically try to compile all .rs files in /benches
as benchmarks. Prevent this with `autobenches = false`.
Diffstat (limited to 'openpgp/benches/mod.rs')
-rw-r--r-- | openpgp/benches/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp/benches/mod.rs b/openpgp/benches/mod.rs new file mode 100644 index 00000000..a5961aa6 --- /dev/null +++ b/openpgp/benches/mod.rs @@ -0,0 +1 @@ +mod common; |