Package com.googlecode.concurrentlinkedhashmap.benchmark.Benchmarks

Examples of com.googlecode.concurrentlinkedhashmap.benchmark.Benchmarks.EfficiencyRun


        .build();

    Generator generator = new ScrambledZipfianGenerator(10 * capacity());
    List<String> workingSet = createWorkingSet(generator, 10 * capacity());

    EfficiencyRun runExpected = determineEfficiency(expected, workingSet);
    EfficiencyRun runActual = determineEfficiency(actual, workingSet);

    String reason = String.format("Expected [%s] but was [%s]", runExpected, runActual);
    assertThat(reason, runActual.hitCount, is(runExpected.hitCount));
  }
View Full Code Here

TOP

Related Classes of com.googlecode.concurrentlinkedhashmap.benchmark.Benchmarks.EfficiencyRun

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.