Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added types for readability

  • Loading branch information...
commit 3866decd349f79dbf132c74b5ddb59c9e2910fae 1 parent 35aa24c
@mslinn authored
View
3  src/main/scala/com/micronautics/akka/benchmark/Benchmark.scala
@@ -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)
+ }
}
Please sign in to comment.
Something went wrong with that request. Please try again.