Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ledger benchmarking #2823

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
Draft

Ledger benchmarking #2823

wants to merge 9 commits into from

Conversation

mrBliss
Copy link
Contributor

@mrBliss mrBliss commented Dec 15, 2020

This is my in-progress branch for ledger benchmarking before I got distracted by other things.

Benchmarking is just another pass of the db-analyser. The separate analyse-results tool should be folded into the benchmarking pass.

Only the three WIP commits are relevant, the others have been merged in master.

This opens the door for analyses that do block and/or header validation.
Now, for example, `showBlockHeaderSize` no longer needs to decode the blocks, it
just receives the slot number and the header size from the indices.
Classic boolean blindness: in one place the `Bool` meant "testnet" and in
another "mainnet". Fix it by using `RequiresNetworkMagic` instead of `Bool`.
`Ouroboros.Consensus.Block` already exports everything we need.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant