8000 Benchmark FlatChainStore checksums by JoseSK999 · Pull Request #553 · vinteumorg/Floresta · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Benchmark FlatChainStore checksums #553

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JoseSK999
Copy link
Contributor

What is the purpose of this pull request?

  • Bug fix
  • Documentation update
  • New feature
  • Test
  • Other:

Which crates are being modified?

  • floresta-chain
  • floresta-cli
  • floresta-common
  • floresta-compact-filters
  • floresta-electrum
  • floresta-watch-only
  • floresta-wire
  • floresta
  • florestad
  • Other:

Description

We have found that this method is slow because we read all the virtual data. It may be useful to benchmark it, which helps evaluating future changes.

DbCheckSum and the method will now be public, although it seems harmless as the inner fields are private (i.e., the only way to produce a DbCheckSum is via the method).

@Davidson-Souza Davidson-Souza added code quality Generally improves code readability and maintainability performance This is a performance-related issue labels Jul 4, 2025
@JoseSK999 JoseSK999 force-pushed the benchmark-checksum branch from 4a099fc to 0c84665 Compare July 4, 2025 18:50
We have found that this method is slow because we read all the virtual data. It may be useful to benchmark it, which helps evaluating future changes.

`DbCheckSum` and the method will now be public, although it seems harmless as the inner fields are private (i.e., the only way to produce a `DbCheckSum` is via the method).
@JoseSK999 JoseSK999 force-pushed the benchmark-checksum branch from 0c84665 to 5150469 Compare July 4, 2025 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code quality Generally improves code readability and maintainability < 49B0 a id="label-de6b37" href="/vinteumorg/Floresta/labels/performance" data-name="performance" style="--label-r:233;--label-g:150;--label-b:149;--label-h:0;--label-s:65;--label-l:74;" data-view-component="true" class="IssueLabel hx_IssueLabel width-fit mb-1 mr-1"> performance This is a performance-related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0