summaryrefslogtreecommitdiffstats
path: root/openpgp/benches
AgeCommit message (Collapse)Author
2021-11-29openpgp: Remove unnecessary factors.Nora Widdecke
- Clippy lint: clippy::identity_op.
2021-11-29openpgp: Lint clippy::into_iter_on_ref.Nora Widdecke
2021-11-29openpgp: Statics have a 'static lifetime.Nora Widdecke
- Found with clippy::redundant_static_lifetimes.
2021-11-29openpgp: Use next() instead of nth(0).Nora Widdecke
- Found with clippy::iter_nth_zero.
2021-11-29Remove unnecessary conversions.Nora Widdecke
- Found with clippy::useless_conversion.
2021-11-29Remove unnecessary borrows.Nora Widdecke
- Fixed with the help of clippy::needless_borrow.
2021-08-27openpgp: De-duplicate cert components before checking signatures.Justus Winter
- Before we do anything, we'll order and deduplicate the components. If two components are the same, they will be merged, and their signatures will also be deduplicated. This improves the performance considerably when we update a certificate, because the certificates will be most likely almost identical, and we avoid about half of the signature verifications. - And indeed, benchmarking shows a 45% performance improvement on a typical cert. - Fixes #644.
2021-05-26openpgp: Fix typo.Justus Winter
2021-04-20bench: Fix benchmark id for decrypt_message.Nora Widdecke
2021-04-20bench: Improve usage description.Nora Widdecke
2021-04-13bench: Add readme.Nora Widdecke
2021-04-13bench: Restructure.Nora Widdecke
- 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`.
2021-04-13bench: Add verify benchmark.Nora Widdecke
2021-04-13bench: Add sign benchmark.Nora Widdecke
2021-04-13bench: Add encrypt+sign and decrypt+verify.Nora Widdecke
2021-04-13bench: Add decrypt benchmark.Nora Widdecke
- Prevent the compiler from optimizing for the inputs by using bench_with_input.
2021-04-13bench: Add encrypt benchmark.Nora Widdecke
- Prevent the compiler from optimizing for the inputs by using bench_with_input.
2021-04-13bench: Add benchmark generate_certs.Nora Widdecke
2021-04-13bench: Add benchmarks for parsing keys.Nora Widdecke
- Generate a flooded cert before the benchmark is run.