Skip to content
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

No optimizations? #2

Open
atlaste opened this issue Jul 14, 2024 · 1 comment
Open

No optimizations? #2

atlaste opened this issue Jul 14, 2024 · 1 comment

Comments

@atlaste
Copy link

atlaste commented Jul 14, 2024

I was just surprised at these numbers until I saw a loop that the compiler should optimizations away and inspected the Makefile. You guys disabled the optimizer by not adding -O3.

Please fix it, because otherwise these benchmarks are useless, which is a shame considering the work that went into this.

@sctjkc01
Copy link

I would bet the compiler optimizations were explicitly turned off, to fully control all of the variables between the tests.

Yes, in a proper setting they would ideally be turned on, but it'd be hard to tell if the change made is to be ascribed to the change the programmer implemented or some strange adjustment made by the compiler optimizations. Disabling the auto optimizations would likely help control the variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants