-
Notifications
You must be signed in to change notification settings - Fork 130
Update benchmarks in bench-vortex #5227
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
Update benchmarks in bench-vortex #5227
Conversation
Benchmarks: Random AccessSummary
|
Codecov Report✅ All modified and coverable lines are covered by tests. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Benchmarks: TPC-H SF=1 on NVMESummary
Detailed Results Table
|
Benchmarks: FineWeb NVMeSummary
Detailed Results Table
|
Benchmarks: FineWeb S3Summary
Detailed Results Table
|
Benchmarks: TPC-H SF=1 on S3Summary
Detailed Results Table
|
Benchmarks: TPC-H SF=10 on NVMESummary
Detailed Results Table
|
Benchmarks: CompressionSummary
Detailed Results Table
|
Benchmarks: TPC-DS SF=1 on NVMESummary
Detailed Results Table
|
Benchmarks: GitHub Archive (NVMe)Summary
Detailed Results Table
|
Benchmarks: GitHub Archive (S3)Summary
Detailed Results Table
|
Benchmarks: TPC-H SF=10 on S3Summary
Detailed Results Table
|
Benchmarks: Clickbench on NVMESummary
Detailed Results Table
|
Benchmarks: Statistical and Population GeneticsSummary
Detailed Results Table
|
| let state = black_box(setup()); | ||
| let elapsed = runtime.block_on(async { | ||
| let start = Instant::now(); | ||
| let output = routine(state).await; | ||
| let elapsed = start.elapsed(); | ||
| drop(black_box(output)); |
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.
can you explain the use of black_box 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.
no idea... I'm going to test this locally first and I'll probably rewrite stuff
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.
ok its just because the function above uses it
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.
We want bb in cause the compiler kills the call to routine() which does seem very unlikely
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
d319b7e to
80844ab
Compare
|
Any idea why we got a big tpc-h win? |
| impl TimingMeasurement { | ||
| pub fn mean_time(&self) -> Duration { | ||
| let len = self.runs.len(); | ||
| if len == 0 { | ||
| vortex_panic!("cannot have no runs"); | ||
| } | ||
|
|
||
| let total_nanos: u128 = self.runs.iter().map(|d| d.as_nanos()).sum(); | ||
| let mean_nanos = total_nanos / len as u128; | ||
| Duration::new( | ||
| u64::try_from(mean_nanos / 1_000_000_000).vortex_unwrap(), | ||
| u32::try_from(mean_nanos % 1_000_000_000).vortex_unwrap(), | ||
| ) | ||
| } |
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.
can we do median here
joseph-isaacs
left a comment
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.
median please
|
Closing in favor of #5234 |
Closes: #5066
I had the claude code web do this so I have no idea if this works yetShould work...