Skip to content

Latest commit

 

History

History
87 lines (63 loc) · 3.31 KB

README.md

File metadata and controls

87 lines (63 loc) · 3.31 KB

VRFs Benches

Comparison between:

VRF Prove

prove/schnorrkel                           time:   [101.11 µs 101.15 µs 101.21 µs]
prove/ark-ec-vrf-ed25519                   time:   [175.70 µs 175.82 µs 175.96 µs]
prove/ark-ec-vrf-bandersnatch-sha512-ed    time:   [187.79 µs 187.89 µs 187.98 µs]
prove/ark-ec-vrf-bandersnatch-blake2-ed    time:   [225.30 µs 225.39 µs 225.49 µs]
prove/ark-ec-vrf-bandersnatch-sha512-ws    time:   [230.34 µs 230.46 µs 230.58 µs]
prove/bandersnatch-vrfs                    time:   [380.76 µs 380.96 µs 381.20 µs]

VRF Verify

verify/schnorrkel                          time:   [89.168 µs 89.204 µs 89.245 µs]
verify/ark-ec-vrf-ed25519                  time:   [268.86 µs 269.21 µs 269.65 µs]
verify/ark-ec-vrf-bandersnatch-sha512-ed   time:   [389.57 µs 389.72 µs 389.90 µs]
verify/ark-ec-vrf-bandersnatch-blake2-ed   time:   [483.51 µs 483.68 µs 483.85 µs]
verify/ark-ec-vrf_bandersnatch-sha512-ws   time:   [492.60 µs 493.32 µs 494.16 µs]
verify/bandersnatch-vrfs                   time:   [503.94 µs 504.12 µs 504.32 µs]

Ring-VRFs Benches (domain size: 2048)

Both using ring-proof backend for zk-SNARK.

Prover Key Construction

make-prover-key/bandersnatch-vrfs            time:   [26.152 ms 26.433 ms 26.713 ms]
make-prover-key/ark-ec-vrfs-bandersnatch-ws  time:   [26.372 ms 26.597 ms 26.832 ms]
make-prover-key/ark-ec-vrfs-bandersnatch-ed  time:   [26.418 ms 26.656 ms 26.897 ms]

Prover Construction

make-prover/ark-ec-vrfs-bandersnatch-ws      time:   [24.569 ms 24.739 ms 24.915 ms]
make-prover/ark-ec-vrfs-bandersnatch-ed      time:   [24.702 ms 24.852 ms 25.006 ms]
make-prover/bandersnatch-vrfs                time:   [26.878 ms 27.128 ms 27.385 ms]

Prove

prove/ark-ec-vrfs-bandersnatch-ed            time:   [113.88 ms 114.92 ms 116.03 ms]
prove/ark-ec-vrfs-bandersnatch-ws            time:   [115.02 ms 115.90 ms 116.76 ms]
prove/bandersnatch-vrfs                      time:   [116.87 ms 117.93 ms 119.02 ms]

Verifier Key Construction

make-verifier-key/ark-ec-vrfs-bandersnatch-ed  time:   [26.169 ms 26.371 ms 26.580 ms]
make-verifier-key/ark-ec-vrfs-bandersnatch-ws  time:   [26.425 ms 26.605 ms 26.784 ms]
make-verifier-key/bandersnatch-vrfs            time:   [26.413 ms 26.639 ms 26.868 ms]

Verifier Construction

make-verifier/ark-ec-vrfs-bandersnatch-ws      time:   [278.11 µs 278.22 µs 278.33 µs]
make-verifier/ark-ec-vrfs-bandersnatch-ed      time:   [278.13 µs 278.46 µs 278.94 µs]
make-verifier/bandersnatch-vrfs                time:   [282.96 µs 284.43 µs 286.85 µs]

Verify

verify/ark-ec-vrfs-bandersnatch-ed             time:   [4.0692 ms 4.0727 ms 4.0771 ms]
verify/ark-ec-vrfs-bandersnatch-ws             time:   [4.2059 ms 4.2074 ms 4.2090 ms] 
verify/bandersnatch-vrfs                       time:   [4.3726 ms 4.3762 ms 4.3802 ms]