Skip to content

Commit ab89bc8

Browse files
geo2aamesgen
authored andcommitted
Mention ChainSync Client benchmark
1 parent 57b62ba commit ab89bc8

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed
Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
11
# Consensus benchmarks
22

33
We are in the process of adding component level microbenchmarks for Consensus.
4+
5+
We check for regressions in performance on CI.
6+
7+
## Mempool Benchmark
8+
49
We started with microbenchmarks for adding transactions to the mempool. The
510
mempool benchmarks can be run using the following command.
611

712
```sh
813
cabal new-run ouroboros-consensus:mempool-bench
914
```
1015

11-
We check for regressions in performance on CI. We might publish benchmark results in this site shortly.
16+
## ChainSync Client Benchmark
17+
18+
To aid the refactoring of the ChainSync client, we added a benchmark for it in [PR#823](https://github.com/IntersectMBO/ouroboros-consensus/pull/823). The benchmark could be invoked as follows:
19+
20+
```sh
21+
cabal new-run ouroboros-consensus:ChainSync-client-bench -- 10 10
22+
```

0 commit comments

Comments
 (0)