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
Different performance results #2172
Comments
Based on the results, for the original "Each test below will take on the order of 408 microseconds" but for the out of tree build "Each test below will take on the order of 6108 microseconds". |
Theoretically there shouldn't be any difference. I can't think of any reason except that there is some mix-up in the used libraries. It could be something else, however. Could you try to reproduce this on a different machine, please? |
for the original one, I have: and for the out of tree, I have: they linked to the same library. |
double check that you didn't build your test with debug flags. Since most of hpx is headers only, linking to the same library doesn't guarantee much ... |
@biddisco You were right. Thanks! Problem solved with setting CMAKE_CXX_FLAGS with -O3 -DNDEBUG |
@zkhatami88 You should build with |
@hkaiser yes, Thank you so much for your suggestion. I applied it and it works. |
I ran stream benchmark, which is within https://github.com/STEllAR-GROUP/hpx/blob/4324defe863c07f5d9dd8b1b27f11f0747717bee/tests/performance/local/stream.cpp for this changeset: 4324def. Also I build the same benchmark out of tree. However, these results are not the same.
CMake file for the out of tree build:
This is the original:
And this is for out of tree build:
The text was updated successfully, but these errors were encountered: