Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Commit

Permalink
Added types for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
mslinn committed Apr 4, 2012
1 parent 35aa24c commit 3866dec
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -190,6 +190,7 @@ object Benchmark {
var numRuns: Int = 10
var showWarmUpTimes: Boolean = false

def apply(load: () => Any = DefaultLoads.cpuIntensive, showResult: Boolean = false) =
def apply(load: () => Any = DefaultLoads.cpuIntensive, showResult: Boolean = false) = {
new Benchmark(load, showResult)
}
}

0 comments on commit 3866dec

Please sign in to comment.