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

Paprika analysis of storage layout #390

Merged
merged 1 commit into from
Sep 13, 2024
Merged

Paprika analysis of storage layout #390

merged 1 commit into from
Sep 13, 2024

Conversation

Scooletz
Copy link
Contributor

This PR makes the visualization of the tree much better in the tests. It also adds one Merkle case to visualize and see how bad/good the layout is. The usage, previously reasoned from capacity, is calculated by iterating the map to consider only the data that are there.

A few things to notice:

  1. the distribution depends heavily on the input data. This might sound obvious but clearly balancing could be done in a better way
  2. it's easy to follow the distribution now and run different synthetic tests (probably, with big trees)

image

Copy link

Code Coverage

Package Line Rate Branch Rate Health
Paprika 85% 80%
Summary 85% (4496 / 5301) 80% (1397 / 1757)

Minimum allowed line rate is 75%

@Scooletz Scooletz marked this pull request as ready for review September 13, 2024 11:20
@Scooletz Scooletz merged commit 2d77a92 into main Sep 13, 2024
4 checks passed
@Scooletz Scooletz deleted the printer-for-analysis branch September 13, 2024 11:21
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