Please add: * Disable "Turbo-modes". Turbo-mode make the clock frequency explicitly depend on the environment. This means that benchmark runs on 100% identical code, may depend on time of day, coffee vs soda or even how many other people are in the office.
Is this about documentation/content/en/books/developers-handbook/testing/_index.adoc in the Developer's Handbook?
Created attachment 248531 [details] patch for developer handbook If I read this right, this is what was meant? Not sure, if it wouldn't help to improve the reasoning or link to supporting documentation that outlines why turbo mode does that? When I'm thinking of turbo mode, I'm thinking 286, 386 computers with turbo buttons on the outside?
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/doc/commit/?id=fd25efa62a92d2abdeec0493fba2d30a68ce43db commit fd25efa62a92d2abdeec0493fba2d30a68ce43db Author: Benedict Reuschling <bcr@FreeBSD.org> AuthorDate: 2024-05-29 19:21:31 +0000 Commit: Benedict Reuschling <bcr@FreeBSD.org> CommitDate: 2024-05-29 19:21:31 +0000 Add bullet-point about disabling "Turbo-modes" Elaborate on this point a bit how and why they interfere with microbenchmarking. PR: 262646 .../content/en/books/developers-handbook/testing/_index.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Patch (plus your additional comments) committed. Thanks for the addition to the developers-handbook.