Skip to content

Commit

Permalink
Add benchmark instructions to the README
Browse files Browse the repository at this point in the history
  • Loading branch information
mmagician committed Oct 27, 2023
1 parent d839b5c commit c3bbbf6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ This library comes with some unit and integration tests. Run these tests with:
cargo test
```

A benchmarking module is also provided for the `commit`, `open` and `verify` methods, as well as for computing the commitment and proof size. You can add a new benchmark for your scheme following the examples in the `pcs/benches` directory, or run the existing benchmarks with:
```bash
cargo bench
```

Lastly, this library is instrumented with profiling infrastructure that prints detailed traces of execution time. To enable this, compile with `cargo build --features print-trace`.

## Usage
Expand Down

0 comments on commit c3bbbf6

Please sign in to comment.