You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> jmh:run
[info] Compiling 1 Scala source to /private/tmp/jmh/target/scala-2.10/classes...
Processing 1 classes from /private/tmp/jmh/target/scala-2.10/classes with "reflection" generator
Writing out Java source to /private/tmp/jmh/target/scala-2.10/src_managed/jmh and resources to /private/tmp/jmh/target/scala-2.10/resource_managed/jmh
[info] Compiling 5 Java sources to /private/tmp/jmh/target/scala-2.10/classes...
[info] Running org.openjdk.jmh.Main
[info] # JMH version: 1.19
[info] # VM version: JDK 1.8.0_131, VM 25.131-b11
[info] # VM invoker: /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/bin/java
[info] # VM options: <none>
[info] # Warmup: 20 iterations, 1 s each
[info] # Measurement: 20 iterations, 1 s each
[info] # Timeout: 10 min per iteration
[info] # Threads: 1 thread, will synchronize iterations
[info] # Benchmark mode: Throughput, ops/time
[info] # Benchmark: mypackage.MyBenchmark.testLog
[info]
[info] # Run progress: 0.00% complete, ETA 00:06:40
[info] # Fork: 1 of 10
[error] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[error] SLF4J: Defaulting to no-operation (NOP) logger implementation
[error] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[info] # Warmup Iteration 1: 522337535.681 ops/s
[info] # Warmup Iteration 2: 499173949.962 ops/s
[info] # Warmup Iteration 3: 534586788.976 ops/s
[info] # Warmup Iteration 4: 526901701.968 ops/s
[info] # Warmup Iteration 5: 537736249.150 ops/s
Note the warning:
[error] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[error] SLF4J: Defaulting to no-operation (NOP) logger implementation
[error] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
It means the setting libraryDependencies += "org.slf4j" % "slf4j-jdk14" % "1.7.25" % Runtime does not apply to jmh:run.
The text was updated successfully, but these errors were encountered:
You did not mention which sbt version you're using, but if 1.0 there was a bug which may relate to this which 1.0.1 fixes;
- Fixes `run in Compile` task not including `Runtime` configuration, by reimplementing
`run` in terms of `bgRun`. [#3477][3477] by [@eed3si9n][@eed3si9n]
Note the warning:
It means the setting
libraryDependencies += "org.slf4j" % "slf4j-jdk14" % "1.7.25" % Runtime
does not apply tojmh:run
.The text was updated successfully, but these errors were encountered: