ScalaMeter 0.5-M2 for Scala 2.10 and Scala 2.11 has just been released!

New features and fixes:

  • you can now use the Context constructor to factor out any configurations that you use repeatedly:

      val opts = Context(
        exec.benchRuns -> 40
      measure method "map" config(opts) in {
        // ...

You can reuse the same opts in different configuration groups or using blocks.

  • typed keys for the config block - now you can’t specify an incorrect configuration value for a specific key – thanks, Alexey Romanov!
  • verbose mode is now on by default
  • new predefined test configurations
  • the Scala binding for the JFreeChart is now used – thanks, Christian Krause!
  • a lot of bug fixes and better error messages

Thanks to all the committers and people who contributed in any way.

You can add it as an SBT dependency at Sonatype OSS for Scala 2.10 projects:


Or, for Scala 2.11 projects:


Or, in SBT, just:

resolvers += "Sonatype OSS Snapshots" at

libraryDependencies += "com.github.axel22" %% "scalameter" % "0.5-M2"