Direct download
The latest ScalaMeter release is ScalaMeter 0.8.2 for Scala 2.10 and Scala 2.11.
Maven repository
ScalaMeter is available for download from Maven Central!
<dependency>
<groupId>com.storm-enroute</groupId>
<artifactId>scalameter_2.11</artifactId>
<version>0.8.2</version>
<exclusions>
<exclusion>
<groupId>org.mongodb</groupId>
<artifactId>casbah_2.11</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>casbah_2.11</artifactId>
<version>3.1.1</version>
<type>pom</type>
</dependency>
If you’re using SBT,
just add the following lines to build.sbt
:
resolvers += "Sonatype OSS Snapshots" at
"https://oss.sonatype.org/content/repositories/releases"
libraryDependencies += "com.storm-enroute" %% "scalameter" % "0.8.2"
testFrameworks += new TestFramework("org.scalameter.ScalaMeterFramework")
parallelExecution in Test := false
To use scalameter-core
module for
lightweight inline benchmarking, add the following:
resolvers += "Sonatype OSS Snapshots" at
"https://oss.sonatype.org/content/repositories/releases"
libraryDependencies +=
"com.storm-enroute" %% "scalameter-core" % "0.8.2"
Source code
ScalaMeter source code is available at GitHub.
Snapshot version
To access the cutting-edge ScalaMeter snapshots and use the latest ScalaMeter
features from the latest pull request,
enter the following to your build.sbt
:
resolvers += "Sonatype OSS Snapshots" at
"https://oss.sonatype.org/content/repositories/snapshots"
libraryDependencies +=
"com.storm-enroute" %% "scalameter" % "0.9-SNAPSHOT" % "test"
testFrameworks += new TestFramework("org.scalameter.ScalaMeterFramework")
parallelExecution in Test := false
You can see the current build status here.