Examples of OptionsBuilder


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

    }

    public static void main(String[] args)
            throws RunnerException
    {
        Options options = new OptionsBuilder()
                .verbosity(VerboseMode.NORMAL)
                .include(".*" + BenchmarkSortedRangeSet.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(".*" + BenchmarkDenseHll.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(".*" + BenchmarkSparseHll.class.getSimpleName() + ".*")
                .build();

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

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

        submitTasks(blackhole, executor);
        awaitTermination(executor);
    }

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

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

            logger.trace("Get primary key {} from instance {} of class {}", propertyName, entity, canonicalName);
        }
    }

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

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

    @Test
    public void run() throws Exception {
        String className = getClass().getSimpleName();

        ChainedOptionsBuilder runnerOptions = new OptionsBuilder()
            .include(".*" + className + ".*")
            .jvmArgs(JVM_ARGS);

        if (getWarmupIterations() > 0) {
            runnerOptions.warmupIterations(getWarmupIterations());
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.