dalek-cryptography / curve25519-dalek

A pure-Rust implementation of group operations on Ristretto and Curve25519
Other
867 stars 439 forks source link

Fix dalek_benchmarks argument handling #567

Open divergentdave opened 1 year ago

divergentdave commented 1 year ago

This fixes how the dalek_benchmarks benchmark target handles its arguments. Replacing Criterion::default() with invocations of criterion_group!() macro allows command line arguments to reconfigure Criteron's harness. (for example, filtering benchmarks, saving and loading baselines, or changing execution time) The other two benchmark targets need no change, as they already use this macro.