question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Incubation of JMH engine

See original GitHub issue

We created a JUnit 4 runner/JUnit 5 TestEngine while working on JMH benchmarks and found it quite useful during development-time of JMH benchmarks. What is basically does, is configuring JMH’s runner scoped to a benchmark class/method and report back the progress.

We found this is not only useful for ourselves but there’s also interest from the community. However, it’s not a typical Spring project so we’re trying to find a better home for it.

The code is EPL licensed and we’re interested in driving development. What do you think about hosting the code at the JUnit Pioneer org in a separate repository?

I think the code is only useful as long there is no proper IDE support available and JUnit is a well-established technology to bridge execution requests from the IDE to JMH’s runner.

You can find the code at: https://github.com/mp911de/microbenchmark-runner

/cc @christophstrobl @dsyer @odrotbohm

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
mp911decommented, Jan 8, 2019

I get the feeling that dropping JUnit 4 support (Runner) seems a reasonable move. I also think this should be a separate project.

I had a chat with @sbrannen and his suggestion was a custom TestEngine. This way, we prevent lingering instances that are disconnected from the actual JMH execution.

0reactions
nipafxcommented, Jan 7, 2020

All work is done here, right? If not, let me know and I’ll reopen.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JEP 426: Vector API (Fourth Incubator) - OpenJDK
Introduce an API to express vector computations that reliably compile at runtime to optimal vector instructions on supported CPU architectures, ...
Read more >
Re: PIRK-7 -- JMH license issues - The Mail Archive
Its not a good idea to be having submodules for every streaming engine that's out there. In the long run, its gonna be...
Read more >
Profiling and optimizing executable model generation - BPI
The only way to do this correctly is measuring and using the right tools. First of all we created a JMH benchmark that...
Read more >
OpenJDK Panama Vector API jdk.incubator.vector not giving ...
I am testing OpenJDK Panama Vector API jdk.incubator.vector and I performed tests on amazon c5.4xlarge instance.
Read more >
2017 JMC JMH In-Depth Tour - YouTube
Let's take a look at the JMC JMH and get to know the FB body or the Passenger Van Variant of the Light...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found