News for hackers. Stuff that matters.
Re:Show HN: Benchi – A benchmarking tool written in Go by mixologic on Thursday April 03, 2025 @03:53PM (#43574563)
How do you control for changes in the host os environment that would affect performance of the system being observed?
Re:Show HN: Benchi – A benchmarking tool written in Go by spockz on Thursday April 03, 2025 @06:00PM (#43575994)
We solve that partially by running the base state and the delta version through concurrently. This way most types of impact will impact both at the same time. This gives us the relative delta between versions.

Other than that, just like always, run benchmark on a stable dedicated set of hardware.

Re:Show HN: Benchi – A benchmarking tool written in Go by edoceo on Thursday April 03, 2025 @08:58PM (#43577261)
And run a bunch of iteration, and mash the results together maybe?
Re:Show HN: Benchi – A benchmarking tool written in Go by spockz on Friday April 04, 2025 @12:10AM (#43578253)
Yes. Or for a sufficiently long duration. Some things like allocation rate and significantly worse performance are obvious and can be seen in shorter runs.