News for hackers. Stuff that matters.
Re:Memory access on the Apple M1 processor by titzer on Wednesday January 06, 2021 @06:34PM (#25664313)
Sure. He often benchmark some small C++ code on his "laptop" CPU (which one exactly? microarchs matter!) and then committing classic microbenchmarking pitfalls such as:

- benchmarking something small enough to inspect machine code, but not inspecting machine code

- not plotting distribution, average, variance etc

- no attention paid to CPU frequency governor settings

- measuring too short a run

- measuring too small a dataset that it fits entirely in L1

There are no comments on this comment yet.