Microbenchmarks vs Macrobenchmarks (i.e. What's a Microbenchmark?)
22-Feb-2019 2445
I’ve mentioned a few times recently that something is a “microbenchmark.” What does that mean? Is it good or bad?Let’s talk about that. Along the way, we’ll talk about benchmarks that are not microbenchmarks and how to pick a scale/size for a specific benchmark.I talk about this because I write benchmarks for Ruby. But you may prefer to read it because you use benchmarks for Ruby - if you read the results or run them. Knowing what can go wrong in benchmarks is like learning to spot bad statistics: it’s not easy, but some practice and a few useful principles can help you out a lot.
Microbenchmarks vs Macrobenchmarks (i.e. What's a Microbenchmark?) #ruby #rubydeveloper #rubyonrails #Microbenchmarks #Macrobenchmarks #(i.e. #What's #Microbenchmark?) https://www.rubyonrails.ba/link/microbenchmarks-vs-macrobenchmarks-i-e-what-s-a-microbenchmark