-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: parallelise inverse polynomial construction for lookup relatio…
…ns (#10413) Benchmark were showing that oink is the second most expensive round in PG after combiner. On top of that one component where we see discrepancies when increasing the ambient trace size is logderivative inverses construction. A step towards improving this is parallelising the construction of inverse polynomials (which is linear). Also the inverses can be committed to with `commit_sparse` which shows a slight improvement as well. BEFORE ``` CLIENT_IVC_BENCH_STRUCTURE(2^19) ClientIVCBench/Full/6 29146 ms 27299 ms ProtogalaxyProver::prove(t) 16265 58.29% ProtogalaxyProver_::run_oink_prover_on_each_incomplete_key(t) 5624 34.58% EXAMPLE_20(2^20) ClientIVCBench/Full/6 37145 ms 34235 ms ProtogalaxyProver::prove(t) 21283 60.75% ProtogalaxyProver_::run_oink_prover_on_each_incomplete_key(t) 8818 41.43% COMMIT::lookup_inverses(t) 406 9.82% ``` AFTER ``` CLIENT_IVC_BENCH_STRUCTURE(2^19) ClientIVCBench/Full/6 27351 ms 25477 ms ProtogalaxyProver::prove(t) 14627 55.72% ProtogalaxyProver_::run_oink_prover_on_each_incomplete_key(t) 4030 27.55% EXAMPLE_20(2^20) ClientIVCBench/Full/6 33852 ms 30893 ms ProtogalaxyProver::prove(t) 18250 56.97% ProtogalaxyProver_::run_oink_prover_on_each_incomplete_key(t) 5526 30.28% COMMIT::lookup_inverses(t) 301 7.43% ```
- Loading branch information
1 parent
5b0b721
commit 427cf59
Showing
4 changed files
with
60 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
427cf59
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark 'C++ Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
1.05
.wasmClientIVCBench/Full/6
91484.2179
ms/iter86911.401326
ms/iter1.05
wasmconstruct_proof_ultrahonk_power_of_2/20
16490.637163
ms/iter15144.797168000001
ms/iter1.09
This comment was automatically generated by workflow using github-action-benchmark.
CC: @ludamad @codygunton