forked from visoftsolutions/noir_rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: op count timers (AztecProtocol#4471)
This expands on the previous AztecProtocol#4437 PR with the ability to automatically microbenchmark pieces. - If you want to measure timing , uses the preset `op-count-time` - If you want to measure call counts, uses the preset `op-count-track` Example of google benchmark running with preset op-count-time ``` ------------------------------------------------------------------------------------ Benchmark Time CPU Iterations UserCounters... ------------------------------------------------------------------------------------ GoblinBench/GoblinFull/1 10609 ms 9065 ms 1 batch_mul_with_endomorphism=48 batch_mul_with_endomorphism(t)=646.575M ^C ----------------------------------------------------------------------------------- Benchmark Time CPU Iterations UserCounters... ----------------------------------------------------------------------------------- GoblinBench/GoblinFull/2 15225 ms 13342 ms 1 batch_mul_with_endomorphism=52 batch_mul_with_endomorphism(t)=1.02146G ``` Note with nanosecond units, one M(illion) is one millisecond, one G(iga) is one second --------- Co-authored-by: ludamad <adam@aztecprotocol.com>
- Loading branch information
Showing
6 changed files
with
157 additions
and
22 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
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