Package org.openjdk.jmh.runner

Examples of org.openjdk.jmh.runner.Runner


        Options options = new OptionsBuilder()
                .verbosity(VerboseMode.NORMAL)
                .include(".*" + BenchmarkMurmur3.class.getSimpleName() + ".*")
                .build();

        new Runner(options).run();
    }
View Full Code Here


        Options options = new OptionsBuilder()
                .verbosity(VerboseMode.NORMAL)
                .include(".*" + MemoryCopyBenchmark.class.getSimpleName() + ".*")
                .build();

        new Runner(options).run();
    }
View Full Code Here

        Options options = new OptionsBuilder()
                .verbosity(VerboseMode.NORMAL)
                .include(".*" + BenchmarkXxHash64.class.getSimpleName() + ".*")
                .build();

        new Runner(options).run();
    }
View Full Code Here

        Options options = new OptionsBuilder()
                .verbosity(VerboseMode.NORMAL)
                .include(".*" + BenchmarkPageProcessor.class.getSimpleName() + ".*")
                .build();

        new Runner(options).run();
    }
View Full Code Here

    @Param({"16", "100"})
    public int STACK;

    public static void main(String[] args) throws Exception {
        // Main.main(new String[]{"-usage"});
        new Runner(new OptionsBuilder()
                .include(FiberOverheadJMHBenchmark.class.getName() + ".*")
                .forks(1)
                .warmupTime(TimeValue.seconds(5))
                .warmupIterations(3)
                .measurementTime(TimeValue.seconds(5))
View Full Code Here

                        .verbosity(VerboseMode.SILENT)
                        .include(benchmark.getUsername())
                        .jvmArgs("-Dtestdata=testdata/" + dataset.getFileName())
                        .build();

                RunResult result = new Runner(opt).runSingle();
                Result uncompressedBytes = result.getSecondaryResults().get("getUncompressedBytes");

                Statistics stats = uncompressedBytes.getStatistics();
                System.out.printf("  %-14s %10s ± %10s (%5.2f%%) (N = %d, \u03B1 = 99.9%%)\n",
                        getBenchmarkName(benchmark),
View Full Code Here

        Options options = new OptionsBuilder()
                .verbosity(VerboseMode.NORMAL)
                .include(".*" + BenchmarkSortedRangeSet.class.getSimpleName() + ".*")
                .build();

        new Runner(options).run();
    }
View Full Code Here

        Options options = new OptionsBuilder()
                .verbosity(VerboseMode.NORMAL)
                .include(".*" + BenchmarkDenseHll.class.getSimpleName() + ".*")
                .build();

        new Runner(options).run();
    }
View Full Code Here

        Options options = new OptionsBuilder()
                .verbosity(VerboseMode.NORMAL)
                .include(".*" + BenchmarkSparseHll.class.getSimpleName() + ".*")
                .build();

        new Runner(options).run();
    }
View Full Code Here

                .measurementIterations(5)
                .shouldDoGC(true)
                .forks(1)
                .build();

        new Runner(opt).run();
    }
View Full Code Here

TOP

Related Classes of org.openjdk.jmh.runner.Runner

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.