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

Long-duration intervals are susceptible to thermal throttling #3

Open
potswa opened this issue Feb 10, 2016 · 2 comments
Open

Long-duration intervals are susceptible to thermal throttling #3

potswa opened this issue Feb 10, 2016 · 2 comments

Comments

@potswa
Copy link
Contributor

potswa commented Feb 10, 2016

On my laptop, relative measurements between libraries on a benchmark may vary by several percent, and times generally increase as the CPU heats up. CPU speed varies from second to second at high load. Results might be more accurate on smaller machines if shorter timeslices are used for the benchmarks.

Presumably the posted results come from a well-cooled workstation, so this only affects DIY users.

@ilyapopov
Copy link

On the other hand, with smaller intervals CPU may not have enough time to switch from low-clock mode to full speed.

@rianquinn
Copy link

You would probably benefit from using https://github.com/martinus/nanobench instead of custom benchmarking logic.

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

3 participants