Benchmarking in a loop (Ruby)

loop { puts Benchmark.measure{ Rails.cache.data.keys('*') } }

 

Igor Springer

I build web apps. From time to time I put my thoughts on paper. I hope that some of them will be valuable for you. To teach is to learn twice.

 

Leave a Reply

Your email address will not be published. Required fields are marked *