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

feat: improve unbundled fragments query performance #185

Merged
merged 4 commits into from
Jan 13, 2025

Conversation

MujkicA
Copy link
Contributor

@MujkicA MujkicA commented Jan 11, 2025

closes: #156

Copy link
Contributor

@segfault-magnet segfault-magnet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How much faster this ended up being?

packages/adapters/storage/src/lib.rs Outdated Show resolved Hide resolved
@MujkicA
Copy link
Contributor Author

MujkicA commented Jan 13, 2025

How much faster this ended up being?

When testing against the mainnet db with ~7 million blocks and a lookback window of 2 days, the old query took ~5.5s
Now, it takes ~0.4s, or ~1.5s with the lookback window set to 7 days.

@MujkicA MujkicA merged commit 3f7b2dd into master Jan 13, 2025
13 checks passed
@MujkicA MujkicA deleted the feat/improve_unbundled_retrieval branch January 13, 2025 16:09
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.

Slow unbundled blocks query
3 participants