-
Notifications
You must be signed in to change notification settings - Fork 112
[storage/adb/current] add benchmark for adb::current startup #1390
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
Conversation
0d13cfb to
42ee883
Compare
42ee883 to
65713f7
Compare
| CARGO_TERM_COLOR: always | ||
| UDEPS_VERSION: 0.1.50 | ||
| UDEPS_VERSION: 0.1.57 | ||
| NIGHTLY_VERSION: nightly-2025-08-10 |
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.
Pinned nightly to fix the udeps issue
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #1390 +/- ##
==========================================
+ Coverage 91.34% 91.52% +0.18%
==========================================
Files 265 265
Lines 66726 67194 +468
==========================================
+ Hits 60950 61502 +552
+ Misses 5776 5692 -84
... and 34 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
This code closely follows the current implementation of the
any_initbenchmark, which was originally raised in #1121, but is modified to be foradb::current. Addresses one component of issue #1309.This benchmarks the setup for current adb in both singlethreaded and multithreaded scenarios, and currently does so with a bitmap chunk size of 32 bytes (a 1x multiple of the SHA256 digest size).
It also fixes a missing functionality of deleting the persistent bitmap partition when closing a
adb::currentdatabase, by adding adestroy()function tobitmap.rsand calling it inadb::current::destroy()The full thread for this PR can be found here: #1346