Closed swasilyev closed 2 years ago
cargo test --release --features "print-trace" --test basic 10
Profiles the basic scheme over the domain of size 2^10
cargo test --release --features "parallel print-trace" --test counting 20
Profiles the counting scheme over the domain of size 2^20 run with multithreading enabled. Result looks like:
Start: setup ··Start: Computing 3145726 scalars powers ··End: Computing 3145726 scalars powers ........................................237.973ms ··Start: 3145726-scalar mul in G1 ··End: 3145726-scalar mul in G1 ................................................81.788s ··Start: 2-scalar mul in G1 ··End: 2-scalar mul in G1 ......................................................24.851ms End: setup .....................................................................82.079s Start: signer set commitment End: signer set commitment .....................................................425.592ms Start: prover precomputation End: prover precomputation .....................................................587.262ms Start: BW6 prove End: BW6 prove .................................................................502.615ms Start: BW6 verify ··Start: KZG check ····Start: linearization polynomial commitment ····End: linearization polynomial commitment ...................................7.661ms ····Start: aggregate evaluation claims in zeta ····End: aggregate evaluation claims in zeta ...................................3.296ms ····Start: batched KZG openning ····End: batched KZG openning ..................................................34.334ms ····Start: lazy subgroup check ····End: lazy subgroup check ...................................................1.757ms ··End: KZG check ...............................................................48.844ms End: BW6 verify ................................................................49.544ms
I manually highlighted the most relevant values.
fixes https://github.com/w3f/apk-proofs/issues/36
Profiles the basic scheme over the domain of size 2^10
Profiles the counting scheme over the domain of size 2^20 run with multithreading enabled. Result looks like:
I manually highlighted the most relevant values.