blob: 55a6238eb887fec560e1f6061f6cd5d662ccba4d (
plain) (
blame)
1
2
3
4
5
6
7
|
package com.rockymadden.stringmetric
import com.google.caliper.SimpleBenchmark
trait CaliperBenchmark extends SimpleBenchmark {
def run(reps: Int)(code: => Unit) = (0 until reps).foreach(i => code)
}
|