Is running "milli"-benchmarks a good idea?

Posted by Konstantin Weitz on Programmers See other posts from Programmers or by Konstantin Weitz
Published on 2012-06-25T22:09:12Z Indexed on 2012/06/26 3:23 UTC
Read the original article Hit count: 477

Filed under:
|

I just came across the Caliper project and it looks very nice. Reading the introduction to microbenchmarks, one gets the feeling that the developers would not suggest to use the framework if the benchmark takes longer than a second or so. I looked at the code and it looks like a RuntimeOutOfRangeException is actually thrown if a scenario takes longer than 10s to execute.

Could you explain to me what the problems are with running larger benchmarks?

My motivation for using Caliper was to compare two join-algorithm implementations. Those will definitely run for quite some time and will do some disk IO, yet running the entire database would make it hard to do the comparison, because the configuration of the algorithms and the visualization of the results would be a pain.

© Programmers or respective owner

Related posts about benchmarking

Related posts about caliper