moving jmh into libraries module (#1996)

* moving jmh into libraries module

* refactoring jmh

* Update pom.xml
This commit is contained in:
Abhinab Kanrar
2017-06-07 19:10:23 +05:30
committed by Zeger Hendrikse
parent 61135ac4da
commit 0529906f47
4 changed files with 36 additions and 0 deletions
@@ -0,0 +1,12 @@
package com.baeldung.jmh;
import org.openjdk.jmh.annotations.Benchmark;
public class BenchMark {
@Benchmark
public void init() {
}
}
@@ -0,0 +1,14 @@
package com.baeldung.jmh;
import java.io.IOException;
import org.openjdk.jmh.Main;
import org.openjdk.jmh.runner.RunnerException;
public class JmhDemo {
public static void main(String[] args) throws RunnerException, IOException {
Main.main(args);
}
}