Age | Commit message (Collapse) | Author |
|
- Clippy lint: clippy::identity_op.
|
|
|
|
- Found with clippy::redundant_static_lifetimes.
|
|
- Found with clippy::iter_nth_zero.
|
|
- Found with clippy::useless_conversion.
|
|
- Fixed with the help of clippy::needless_borrow.
|
|
- 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.
|
|
|
|
|
|
|
|
|
|
- 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`.
|
|
|
|
|
|
|
|
- Prevent the compiler from optimizing for the inputs by using
bench_with_input.
|
|
- Prevent the compiler from optimizing for the inputs by using
bench_with_input.
|
|
|
|
- Generate a flooded cert before the benchmark is run.
|