Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Using JMH in a Maven project.
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns=""
<!-- Benchmark code goes into src/test/java -->

This comment has been minimized.

Copy link

tavianator commented Jul 3, 2015

<executable>${java.home}/bin/java</executable> will make sure the benchmarks run with the same Java as the build does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.