-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-9079: [C++] Write benchmark for arithmetic kernels #7417
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
|
Thanks for working on this. I'll check the benchmarks on MSVC also |
|
There don't seem to be issues on MSVC https://gist.github.com/wesm/45be57393b2d9186f87faae228f12380/revisions |
…rrays. Add items processed output
|
+1. I fixed a few lingering issues that jumped out at me, will merge this once build passes |
| bench->Unit(benchmark::kMicrosecond); | ||
|
|
||
| for (const auto size : kMemorySizes) { | ||
| for (const auto size : {kL1Size, kL2Size}) { |
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 have a processor with 22MB L3 cache so generating that much random data is quite expensive. If we want to benchmark arrays that big we should generate a smaller sample of random data and repeat/tile it to make the bigger array.
|
Thanks! |
Quickly wanted to add a benchmark for the
Addfunction to verify that no significant regressions were introduced by #7341Before:
After:
cc @wesm