Skip to content

Commit ac23220

Browse files
author
Dragos Manolescu
committed
Updated resolver for spray-json
1 parent a2f6df4 commit ac23220

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

build.sbt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ libraryDependencies ++= Seq (
5252
"com.yammer.metrics" % "metrics-core" % "2.1.3",
5353
"fr.janalyse" %% "janalyse-jmx" % "0.6.1" % "compile",
5454
"net.sf.jopt-simple" % "jopt-simple" % "4.4",
55-
"play" % "play-json_2.10" % "2.2-SNAPSHOT"
55+
"play" % "play-json_2.10" % "2.2-SNAPSHOT"
5656
)
5757

5858
/* you may need these repos */
@@ -61,7 +61,8 @@ resolvers ++= Seq(
6161
"spray" at "http://repo.spray.io/",
6262
"coda" at "http://repo.codahale.com/",
6363
"JAnalyse Repository" at "http://www.janalyse.fr/repository/",
64-
Resolver.file("Local Repository", file("/Users/dragos.manolescu/Repos/Play20/repository/local"))(Resolver.ivyStylePatterns) // really? https://github.com/playframework/Play20/wiki/BuildingFromSource
64+
"Mandubian repository snapshots" at "https://github.com/mandubian/mandubian-mvn/raw/master/snapshots/",
65+
"Mandubian repository releases" at "https://github.com/mandubian/mandubian-mvn/raw/master/releases/"
6566
)
6667

6768
/* sbt behavior */

src/main/scala/com/microWorkflow/jsonScalaPerftest/Main.scala

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ object Main {
2020
.withRequiredArg()
2121
.describedAs("iterations")
2222
.ofType(classOf[Int])
23-
.defaultsTo(100)
23+
.defaultsTo(200)
2424
val warmUpOpt = argParser
2525
.accepts("warmup", "Number of iterations for warm up.")
2626
.withRequiredArg()
2727
.describedAs("warmup")
2828
.ofType(classOf[Int])
29-
.defaultsTo(5)
29+
.defaultsTo(25)
3030
val mapOpt = argParser.accepts("map", "Cover parsing and object mapping.")
3131
val excludeOpt = argParser
3232
.accepts("exclude", "Comma-separated list of library names to exclude from run, e.g., twitter,scalalib.")
@@ -35,10 +35,6 @@ object Main {
3535
.describedAs("exclude")
3636
.ofType(classOf[String])
3737

38-
if (args.isEmpty) {
39-
argParser.printHelpOn(System.err)
40-
sys.exit(1)
41-
}
4238
val options = try {
4339
argParser.parse(args: _*)
4440
} catch { case e: OptionException => {

0 commit comments

Comments
 (0)