Package org.openjdk.jmh.runner.options

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


        counter.inc(nextValue);
        return counter;
    }

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


        slidingTime.update(nextValue);
        return slidingTime;
    }

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

        meter.mark(nextValue);
        return meter;
    }

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

    }

    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

        BenchmarkUtil.generateCsvCustomers(customersFile, customersCount);
        easyBatchEngine = BenchmarkUtil.buildCsvEasyBatchEngine(customersFile);
    }

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

        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

        }
    }

    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

        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

    }

    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

    }

    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

TOP

Related Classes of org.openjdk.jmh.runner.options.OptionsBuilder

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.