Comments (8)
Hm, the project is tested using latest and we've also upgraded to it in Akka...
Is there any more details you could share? I'll look into it a bit later.
from sbt-jmh.
Thanks ! Few weeks back we upgraded to 0.2.2, that time there were no issues at all. We were using run and compile.
Until we upgraded yesterday (after seeing it in the Akka bench project). immediately noticed run needs to change to jmh:run and compile for jmh:compile. I tried clean ensured the .ivy2 caches with only proper version
We are on sbt 0.13.9, scala 2.11.7, jvm-1.8
from sbt-jmh.
Thanks for the hints, I don't see yet what might have gone wrong but will have a look. I'll keep you posted in this ticket.
from sbt-jmh.
One way to get around the issue was to add enablePlugins(JmhPlugin)
to the root project in the build.sbt
. Out benchmarks are not in the root project. This is not the case for 0.2.1 though it works fine.
from sbt-jmh.
Thanks a lot for the info! I'm a bit overwhelmed with tasks at the moment,
will try to investigate deeper as soon as I can. Thanks again for the
additional info, this helps a lot
On Aug 20, 2015 22:45, "Debajyoti RoΞ»" [email protected] wrote:
One way to get around the issue was to add enablePlugins(JmhPlugin) to
the root project in the build.sbt. Out benchmarks are not in the root
project. This is not the case for 0.2.1 though it works fine.β
Reply to this email directly or view it on GitHub
#57 (comment).
from sbt-jmh.
I'm having the same issue.
I've got a public repo in which you can reproduce this, if you haven't been able to.
- Check out: https://github.com/japgolly/nyaya.git It uses sbt-jmh 0.2.2.
sbt benchmark/run
. π Everything works.- Change the version in
project/plugins.sbt
to 0.2.4. sbt benchmark/run
π₯sbt benchmark/jmh:run
π₯sbt benchmark/jmh:compile
π₯
from sbt-jmh.
I suggest you upgrade first - there's really no reason to stay on a old version like that, we're currently at 2.11.
from sbt-jmh.
Note that we don't guarantee any more compatibility than JMH does, please refer to JMH documentation and release notes for migrating up
from sbt-jmh.
Related Issues (20)
- Add recommended jvm options in async profiler HOT 2
- missing tag for 0.3.4 on GitHub HOT 1
- Cannot run JMH benchmarks with async-profiler for versions 0.3.5 and 0.3.6 HOT 1
- Version 0.3.5 JFR profile java.lang.UnsupportedClassVersionError on Java 8 HOT 3
- Tab completion for jmh parameters
- CI broken: unable to install oraclejdk8 HOT 4
- Request for feature: Cross-Versions benchmarking HOT 2
- Canceling execution does not work on Windows
- Error when trying to use Flight Recorder HOT 5
- Scala 2.13 support is missing ? HOT 1
- Benchmark compilation fails if java.sql.ResultSet is used HOT 4
- Is it possible to set `bspEnable := false` by default? HOT 1
- publish to maven central instead of bintray HOT 5
- jmh:run caused Unable to find the resource: /META-INF/BenchmarkList in multiple projects
- Specifying javaHome per configuration
- Log4j Dependencies not being passed to the Benchmark
- `Test / skip := true` leads to `java.lang.IllegalArgumentException: Benchmark does not match a class`
- Upgrade project/build.properties to use SBT 1.9.0 HOT 2
- How to use async-profiler with multiple options HOT 6
- Forking JMH may fail on Windows with "CreateProcess error=206, The filename or extension is too long" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sbt-jmh.