Skip to content

Commit

Permalink
remark on thread numbers
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Muraca <mmuraca247@gmail.com>
  • Loading branch information
muraca committed Mar 11, 2024
1 parent 3ab8a55 commit 78c193e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ of the [Halo2](https://github.com/zcash/halo2) proving system.
To run the tests, run the command `cargo test --release`.
The command `cargo test` works too, but in that case you may want
to give your computer a couple of minutes to compute the test results.
The flag `-- --nocapture` can be used to print the execution times for proof generation and verification.

The option `-- --nocapture --test-threads=1` can be used to print the execution times for proof generation and verification. The threads number must be set as 1, as the default parallel execution may interfere with the timing.

The single circuits can be tested by matching the test name with `sudoku`, `permutation` or `factorial`.
The tests that match the `mock` pattern are written using the `MockProver` struct, while the others use the custom real-world provers.
Expand Down

0 comments on commit 78c193e

Please sign in to comment.