Examples of OptionsBuilder


Examples of org.openjdk.jmh.runner.options.OptionsBuilder

        BenchmarkUtil.generateXmlCustomers(customersFile, customersCount);
        easyBatchEngine = BenchmarkUtil.buildXmlEasyBatchEngine(customersFile);
    }

    public static void main(String[] args) throws RunnerException {
        Options opt = new OptionsBuilder()
                .include(".*" + XmlBenchmark.class.getSimpleName() + ".*")
                .forks(1)
                .warmupIterations(5)
                .measurementIterations(3)
                .build();
View Full Code Here

Examples of org.openjdk.jmh.runner.options.OptionsBuilder

        }
    }

    private static Runner newEncodingRunner(int datalen, int srcsymbs, int forks, VerboseMode mode) {

        Options opt = new OptionsBuilder()
            .include(".*" + SourceBlockEncodingTest.class.getSimpleName() + ".*")
            .param("datalen", datalen + "")
            .param("srcsymbs", srcsymbs + "")
            .forks(forks)
            .build();
View Full Code Here

Examples of org.openjdk.jmh.runner.options.OptionsBuilder

        return new Runner(opt, getOutputFormat(mode));
    }

    private static Runner newDecodingRunner(int datalen, int srcsymbs, int symbover, int forks, VerboseMode mode) {

        Options opt = new OptionsBuilder()
            .include(".*" + SourceBlockDecodingTest.class.getSimpleName() + ".*")
            .param("datalen", datalen + "")
            .param("srcsymbs", srcsymbs + "")
            .param("symbover", symbover + "")
            .forks(forks)
View Full Code Here

Examples of org.openjdk.jmh.runner.options.OptionsBuilder

    }

    public static void main(String[] args)
            throws RunnerException
    {
        Options options = new OptionsBuilder()
                .verbosity(VerboseMode.NORMAL)
                .include(".*" + BenchmarkHashCode.class.getSimpleName() + ".*")
                .build();

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

Examples of org.openjdk.jmh.runner.options.OptionsBuilder

    }

    public static void main(String[] args)
            throws RunnerException
    {
        Options options = new OptionsBuilder()
                .verbosity(VerboseMode.NORMAL)
                .include(".*" + BenchmarkMurmur3.class.getSimpleName() + ".*")
                .build();

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

Examples of org.openjdk.jmh.runner.options.OptionsBuilder

    }

    public static void main(String[] args)
            throws RunnerException
    {
        Options options = new OptionsBuilder()
                .verbosity(VerboseMode.NORMAL)
                .include(".*" + MemoryCopyBenchmark.class.getSimpleName() + ".*")
                .build();

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

Examples of org.openjdk.jmh.runner.options.OptionsBuilder

    }

    public static void main(String[] args)
            throws RunnerException
    {
        Options options = new OptionsBuilder()
                .verbosity(VerboseMode.NORMAL)
                .include(".*" + BenchmarkXxHash64.class.getSimpleName() + ".*")
                .build();

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

Examples of org.openjdk.jmh.runner.options.OptionsBuilder

    }

    public static void main(String[] args)
            throws RunnerException
    {
        Options options = new OptionsBuilder()
                .verbosity(VerboseMode.NORMAL)
                .include(".*" + BenchmarkPageProcessor.class.getSimpleName() + ".*")
                .build();

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

Examples of org.openjdk.jmh.runner.options.OptionsBuilder

    @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

Examples of org.openjdk.jmh.runner.options.OptionsBuilder

                .find(OutputFormatFactory.createFormatInstance(System.out, VerboseMode.SILENT), DecompressBenchmark.class.getName() + ".*", ImmutableList.<String>of());

        for (SnappyBench.TestData dataset : SnappyBench.TestData.values()) {
            System.out.printf("%-8s (size = %d)\n", dataset.name(), dataset.getContents().length);
            for (BenchmarkRecord benchmark : benchmarks) {
                Options opt = new OptionsBuilder()
                        .verbosity(VerboseMode.SILENT)
                        .include(benchmark.getUsername())
                        .jvmArgs("-Dtestdata=testdata/" + dataset.getFileName())
                        .build();

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.