IntersectMBO / IntersectMBO/ouroboros-consensus

Add micro benchmark for ledger state snapshots

Open
#1,335 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Haskell
Stars
67
Forks
43
Avg merge
5d 13h
Merged PRs (30d)
43

Description

Snapshots of the current Cardano mainnet ledger are big (2-3 GB). Taking a snapshot is an expensive operation that has been identified as a performance bottleneck before (see https://github.com/IntersectMBO/ouroboros-consensus/issues/868).

To discover performance regressions introduced by the changes to the snapshot logic (e.g. https://github.com/IntersectMBO/ouroboros-consensus/pull/1319), we need a micro benchmark analogous to [`mempool-bench`](https://github.com/IntersectMBO/ouroboros-consensus/tree/68b9799eebdc7037a99668762ddc69c7e78c106c/ouroboros-consensus/bench/mempool-bench).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.