2 ms·
I barely even try to run micro benchmarks on my work laptop, and I’m the guy who introduced them. It’s just so random. Pretty much I’m looking for a slowdown t
by hinkley 3y ago
I barely even try to run micro benchmarks on my work laptop, and I’m the guy who introduced them. It’s just so random.
Pretty much I’m looking for a slowdown that’s more than 25% and anything less could just be noise. When you’re reaching for 5% improvements, that means you have to let the CI system tell you, and production response times are the final arbiter of truth.
- hmottestad 3y agoDo you have a system for running benchmarks in your CI?
- hinkley 3y agoI did a reply and then I somehow lost the whole thing. Nodejs has microbenchmarking tools. They are borrowed from other languages though. Mostly what I did was cook the results to send them to telemetry. Not unlike exporting your unit test results.