Java Code Examples for org.openjdk.jmh.Main#main()
The following examples show how to use
org.openjdk.jmh.Main#main() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BenchGson.java From java with MIT License | 5 votes |
public static void main(String[] args) throws Exception { Main.main(new String[]{ "BenchGson", "-i", "5", "-wi", "5", "-f", "1", }); }
Example 2
Source File: OptimisationExample.java From java-8-lambdas-exercises with MIT License | 5 votes |
public static void main(String[] ignore) throws IOException, RunnerException { final String[] args = { ".*OptimisationExample.*", "-wi", "10", "-i", "10", "-f", "1" }; Main.main(args); }
Example 3
Source File: OptimisationExampleFixed.java From java-8-lambdas-exercises with MIT License | 5 votes |
public static void main(String[] ignore) throws RunnerException, IOException { final String[] args = { ".*OptimisationExampleFixed.*", "-wi", "10", "-i", "10", "-f", "1" }; Main.main(args); }
Example 4
Source File: OptimisationExample.java From java-8-lambdas-exercises with MIT License | 5 votes |
public static void main(String[] ignore) throws IOException, RunnerException { final String[] args = { ".*OptimisationExample.*", "-wi", "10", "-i", "10", "-f", "1" }; Main.main(args); }
Example 5
Source File: IntegerSum.java From java-8-lambdas-exercises with MIT License | 5 votes |
public static void main(String[] ignore) throws IOException, RunnerException { final String[] args = { ".*IntegerSum.*", "-wi", "10", "-i", "20", "-f", "1" }; Main.main(args); }
Example 6
Source File: DiceRolls.java From java-8-lambdas-exercises with MIT License | 5 votes |
public static void main(String[] ignore) throws IOException, RunnerException { final String[] args = { ".*DiceRolls.*", "-wi", "5", "-i", "5" }; Main.main(args); }
Example 7
Source File: ArraySum.java From java-8-lambdas-exercises with MIT License | 5 votes |
public static void main(String[] ignore) throws IOException, RunnerException { final String[] args = { ".*ArraySum.*", "-wi", "5", "-i", "5" }; Main.main(args); }
Example 8
Source File: AutolinkBenchmark.java From autolink-java with MIT License | 5 votes |
public static void main(String[] args) throws Exception { System.out.println("input length: " + GENERATED_INPUT.length()); Iterable<LinkSpan> links = LinkExtractor.builder().build().extractLinks(GENERATED_INPUT); int count = 0; for (LinkSpan ignore : links) { count++; } System.out.println("number of links: " + count); System.out.println(); Main.main(args); }
Example 9
Source File: OptimisationExample.java From https-github.com-RichardWarburton-java-8-Lambdas-exercises with MIT License | 5 votes |
public static void main(String[] ignore) throws IOException, RunnerException { final String[] args = { ".*OptimisationExample.*", "-wi", "10", "-i", "10", "-f", "1" }; Main.main(args); }
Example 10
Source File: OptimisationExampleFixed.java From https-github.com-RichardWarburton-java-8-Lambdas-exercises with MIT License | 5 votes |
public static void main(String[] ignore) throws RunnerException, IOException { final String[] args = { ".*OptimisationExampleFixed.*", "-wi", "10", "-i", "10", "-f", "1" }; Main.main(args); }
Example 11
Source File: OptimisationExample.java From https-github.com-RichardWarburton-java-8-Lambdas-exercises with MIT License | 5 votes |
public static void main(String[] ignore) throws IOException, RunnerException { final String[] args = { ".*OptimisationExample.*", "-wi", "10", "-i", "10", "-f", "1" }; Main.main(args); }
Example 12
Source File: IntegerSum.java From https-github.com-RichardWarburton-java-8-Lambdas-exercises with MIT License | 5 votes |
public static void main(String[] ignore) throws IOException, RunnerException { final String[] args = { ".*IntegerSum.*", "-wi", "10", "-i", "20", "-f", "1" }; Main.main(args); }
Example 13
Source File: DiceRolls.java From https-github.com-RichardWarburton-java-8-Lambdas-exercises with MIT License | 5 votes |
public static void main(String[] ignore) throws IOException, RunnerException { final String[] args = { ".*DiceRolls.*", "-wi", "5", "-i", "5" }; Main.main(args); }
Example 14
Source File: ArraySum.java From https-github.com-RichardWarburton-java-8-Lambdas-exercises with MIT License | 5 votes |
public static void main(String[] ignore) throws IOException, RunnerException { final String[] args = { ".*ArraySum.*", "-wi", "5", "-i", "5" }; Main.main(args); }
Example 15
Source File: DefaultProjectFilesystemGetDirectoryContentsBenchmark.java From buck with Apache License 2.0 | 4 votes |
public static void main(String[] args) throws IOException, RunnerException { Main.main(args); }
Example 16
Source File: FasterPatternBenchmark.java From buck with Apache License 2.0 | 4 votes |
public static void main(String[] args) throws IOException, RunnerException { Main.main(new String[] {FasterPatternBenchmark.class.getName()}); }
Example 17
Source File: JavaBeanUtilBenchmark.java From javabeanutil-benchmark with MIT License | 4 votes |
public static void main(String... args) throws IOException, RunnerException { Main.main(args); }
Example 18
Source File: JmhDemo.java From tutorials with MIT License | 4 votes |
public static void main(String[] args) throws RunnerException, IOException { Main.main(args); }
Example 19
Source File: BenchmarkDriver.java From incubator-retired-pirk with Apache License 2.0 | 4 votes |
public static void main(String[] args) throws RunnerException, IOException { Main.main(args); }
Example 20
Source File: ImageConversion.java From Jaffree with Apache License 2.0 | 4 votes |
public static void main(String[] args) throws Exception { Main.main(args); }