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
Bump level db to 8.0.0 #4514
Bump level db to 8.0.0 #4514
Conversation
Performance Report✔️ no performance regression detected Full benchmark results
|
await db.compactRange(minKey, maxKey); | ||
const sizeAfterCompact = getDbSize(); | ||
|
||
expect(sizeAfterCompact).lt(sizeBeforeCompact, "Expected sizeAfterCompact < sizeBeforeCompact"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how much disk space was saved with this test? I think we should expect some threshold here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not that familiar with level internals so I think it's dangeours to do assumptions here. LevelDB behaviour is not trivial
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
Motivation
Description
Functionality should be equivalent, only less wanky code to mantain