How does one use JMH from a Scala Maven project in a JUnit test?

Brandon Barker brandon.barker at cornell.edu
Sat Mar 31 02:58:01 UTC 2018


Hi All,

I've been having a devil of a time trying to do this. Rather than repost
the entire question details here, I'll summarize with:

1. SO question at:
https://stackoverflow.com/questions/49583717/how-does-one-use-jmh-from-a-scala-maven-project-in-a-junit-test
2. Demo problem project in question:
https://github.com/bbarker/scala-maven-jmh-bench-demo/tree/89481477d6d051c038eabbb16ce6c14212844b8d

At this point,I assume it might either require a heroic trick, can not be
done without changes to JMH, or maybe I'm just missing something really
simple with maven (but I don't think so).

Thanks for having a look.

-- 
Brandon E. Barker
http://www.cac.cornell.edu/barker/


More information about the jmh-dev mailing list