Inversed-Tech / eyelid

Private iris matching
Apache License 2.0
0 stars 0 forks source link

Add plaintext iris matching benchmark #4

Closed teor2345 closed 5 months ago

teor2345 commented 5 months ago

This PR adds a Criterion benchmark for the plaintext iris matching code.

The output should look something like:

$ cargo bench --features benchmark
     Running benches/match-ops.rs (target/release/deps/match_ops-e128f812b1804e6e)
Benchmarking Full iris match: plaintext/random iris codes and masks: Warming up
Benchmarking Full iris match: plaintext/random iris codes and masks: Collecting
Full iris match: plaintext/random iris codes and masks
                        time:   [635.74 µs 636.47 µs 637.37 µs]