Code Monkey home page Code Monkey logo

Comments (8)

ktoso avatar ktoso commented on June 3, 2024

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.

 avatar commented on June 3, 2024

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.

ktoso avatar ktoso commented on June 3, 2024

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.

 avatar commented on June 3, 2024

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.

ktoso avatar ktoso commented on June 3, 2024

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.

japgolly avatar japgolly commented on June 3, 2024

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.

  1. Check out: https://github.com/japgolly/nyaya.git It uses sbt-jmh 0.2.2.
  2. sbt benchmark/run. 🌟 Everything works.
  3. Change the version in project/plugins.sbt to 0.2.4.
  4. sbt benchmark/run πŸ’₯
  5. sbt benchmark/jmh:run πŸ’₯
  6. sbt benchmark/jmh:compile πŸ’₯

from sbt-jmh.

ktoso avatar ktoso commented on June 3, 2024

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.

ktoso avatar ktoso commented on June 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.