Skip to content

Commit

Permalink
update scio-bench
Browse files Browse the repository at this point in the history
  • Loading branch information
nevillelyh committed May 31, 2018
1 parent 7d1bdf0 commit ec8935b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions scio-bench/README.md
Expand Up @@ -6,13 +6,13 @@ scio-bench
To run all benchmarks:

```bash
sbt -Dscio.version=<SCIO_VERSION> run
sbt -Dscio.version=<SCIO_VERSION> -Dbeam.version=<BEAM_VERSION> run
```

To run benchmarks whose names match a regular expression:

```bash
sbt -Dscio.version=<SCIO_VERSION> run --name=<REGEX>
sbt -Dscio.version=<SCIO_VERSION> -Dbeam.version=<BEAM_VERSION> run --name=<REGEX>
```

To run benchmarks on current Scio repositority:
Expand Down
7 changes: 5 additions & 2 deletions scio-bench/build.sbt
Expand Up @@ -2,13 +2,14 @@ import sbt._
import Keys._

val scioVersion = sys.props("scio.version")
val scalaMacrosVersion = "2.1.0"
val beamVersion = sys.props("beam.version")
val scalaMacrosVersion = "2.1.1"

lazy val commonSettings = Defaults.coreDefaultSettings ++ Seq(
organization := "com.spotify",
// Semantic versioning http://semver.org/
version := "0.1.0-SNAPSHOT",
scalaVersion := "2.12.3",
scalaVersion := "2.12.6",
scalacOptions ++= Seq("-target:jvm-1.8",
"-deprecation",
"-feature",
Expand Down Expand Up @@ -38,6 +39,8 @@ lazy val root: Project = Project(
description := "scio-bench",
libraryDependencies ++= Seq(
"com.spotify" %% "scio-core" % scioVersion,
"org.apache.beam" % "beam-runners-direct-java" % beamVersion,
"org.apache.beam" % "beam-runners-google-cloud-dataflow-java" % beamVersion,
"org.slf4j" % "slf4j-simple" % "1.7.25"
)
)
2 changes: 1 addition & 1 deletion scio-bench/project/build.properties
@@ -1 +1 @@
sbt.version=1.0.3
sbt.version=1.1.6

0 comments on commit ec8935b

Please sign in to comment.