Package net.openhft.bench

Examples of net.openhft.bench.DimensionedJmh


    }

    /* endwith */

    public static void main(String[] args) throws RunnerException, CommandLineOptionException {
        new DimensionedJmh(ParallelVsSeparate.class)
                .addArgDim("size", "small", "large")
                .withGetOperationsPerInvocation(options ->
                        getSize(options.get("size"), options.get("key")))
                .run(args);
    }
View Full Code Here


    }

    /* endwith */

    public static void main(String[] args) throws RunnerException, CommandLineOptionException {
        new DimensionedJmh(AddRemoveWithTombstonesBenchmarks.class)
                .addArgDim("size", SMALL_SIZE, LARGE_SIZE)
                .addArgDim("lookupsPerInsertion", 4)
                .addArgDim("loadFactor")
                .addArgDim("rehashLoad")
                .dynamicOperationsPerIteration()
View Full Code Here

    /* endif */
    /* endwith */

    public static void main(String[] args) throws RunnerException, CommandLineOptionException {
        new DimensionedJmh(AddRemoveLookupBenchmarks.class)
                .addArgDim("capacity", SMALL_CAPACITY, LARGE_CAPACITY)
                .addArgDim("lookupsPerInsertion", 4)
                .addArgDim("loadFactor", "0.3", "0.6", "0.9")
                .dynamicOperationsPerIteration()
                .run(args);
View Full Code Here


    /* endwith */

    public static void main(String[] args) throws RunnerException, CommandLineOptionException {
        new DimensionedJmh(LookupBenchmarks.class)
                .addArgDim("loadFactor", "0.3", "0.6", "0.9")
                .addArgDim("capacity", SMALL_CAPACITY, LARGE_CAPACITY)
                .withGetOperationsPerInvocation(options ->
                        (long) n(parseInt(options.get("capacity")),
                                parseDouble(options.get("loadFactor"))))
View Full Code Here

    public static void main(String[] args) throws RunnerException, CommandLineOptionException {
        if (Arrays.asList(args).contains("footprint")) {
            footPrintMain();
            return;
        }
        new DimensionedJmh(TimeVsMemory.class)
                .addArgDim("size", sizes.mapToObj(Integer::valueOf).toArray())
                .addArgDim("loadLevel", loadLevels.mapToObj(Integer::valueOf).toArray())
                .withGetOperationsPerInvocation(options -> parseInt(options.get("size")))
                .run(args);
    }
View Full Code Here

        }
    }


    public static void main(String[] args) throws RunnerException, CommandLineOptionException {
        new DimensionedJmh(HashPosMapBenchmarks.class)
                .addArgDim("loadFactor", "0.25", "0.5", "0.75")
                .addArgDim("capacity", SMALL_CAPACITY, LARGE_CAPACITY)
                .withGetOperationsPerInvocation(options -> {
                    int capacity = parseInt(options.get("capacity"));
                    double loadFactor = parseDouble(options.get("loadFactor"));
View Full Code Here

    /* endwith */

    /* endwith */

    public static void main(String[] args) throws RunnerException, CommandLineOptionException {
        new DimensionedJmh(ForEachBenchmarks.class)
                .addArgDim("loadFactor", "0.3", "0.6", "0.9")
                .addArgDim("capacity", SMALL_CAPACITY, LARGE_CAPACITY)
                .withGetOperationsPerInvocation(options ->
                        (long) n(parseInt(options.get("capacity")),
                                parseDouble(options.get("loadFactor"))))
View Full Code Here

TOP

Related Classes of net.openhft.bench.DimensionedJmh

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.