-
Notifications
You must be signed in to change notification settings - Fork 915
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
Add BGZIP multibyte_split benchmark #11723
Add BGZIP multibyte_split benchmark #11723
Conversation
@PointKernel yes, should we wait with the review until #11652 is merged? Many of the suggestions also apply to the refactored code. |
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.
CMake changes LGTM
Yes please, this will avoid unnecessary back-and-forth effort. |
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.
This seems to be larger than just a benchmark.
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.
Looks pretty good. Some minor comments/questions.
rerun tests |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## branch-22.12 #11723 +/- ##
===============================================
Coverage ? 87.48%
===============================================
Files ? 133
Lines ? 21866
Branches ? 0
===============================================
Hits ? 19130
Misses ? 2736
Partials ? 0 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@upsj How did you print out (display) the source type without using |
@PointKernel I didn't 😉 I edited the output manually for clarity, but thanks for reminding me of the macro, I'll use it instead |
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.
Some nitpick. Looks great!
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.
🔥
* move header to include * more constexpr * rename ostreams to output_stream * fewer magic numbers
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.
A couple small comments that you can handle as you wish, otherwise LGTM.
@gpucibot merge |
Description
This refactors #11652 to extract the BGZIP IO and adds another
source_type
to themultibyte_split
benchmark, creating a compressed file usingzlib
.A quick benchmark shows performance results around 2.5x slower than reading from a device buffer at around 1:5 compression ratio
[0] Tesla T4
Checklist