@Test public void shouldReturnTheTestPerformances() { final TestPerformances tp = loopPerformances .getPerformancesFor("second"); assertEquals(1000L, tp.getElapsedNanoseconds()); assertEquals(1000L / ITERATIONS, tp.getElapsedNanosecondsPerCycle(), 1E-3); assertEquals("second", tp.getName()); assertEquals(66.666, tp.getPercentage(), 1E-3); }
public TestPerformances getPerformancesFor(final String msg) { return map.get(msg); }
LoopPerformances implements Serializable { public TestPerformances getPerformancesFor(final String msg) { return map.get(msg); } }
LoopPerformances implements Serializable { public TestPerformances getPerformancesFor(final String msg) { return map.get(msg); } @SuppressWarnings("unchecked") private  LoopPerformances();  LoopPerformances(final long iterations,
            final Map<String, Long> timeMap); }
LoopPerformances implements Serializable { public TestPerformances getPerformancesFor(final String msg) { return map.get(msg); } @SuppressWarnings("unchecked") private  LoopPerformances();  LoopPerformances(final long iterations,
            final Map<String, Long> timeMap); int numberOfTests(); TestPerformances getPerformancesFor(final String msg); List<TestPerformances> getTests(); long getIterations(); Statistics getStatistics(); List<Long> getElapsedNanosecondsList(); List<String> getNameList(); List<Double> getNanosecondsPerCycleList(); List<Float> getPercentageList(); float getPercentageFor(final String name); String toString(final String message); @Override String toString(); }
LoopPerformances implements Serializable { public TestPerformances getPerformancesFor(final String msg) { return map.get(msg); } @SuppressWarnings("unchecked") private  LoopPerformances();  LoopPerformances(final long iterations,
            final Map<String, Long> timeMap); int numberOfTests(); TestPerformances getPerformancesFor(final String msg); List<TestPerformances> getTests(); long getIterations(); Statistics getStatistics(); List<Long> getElapsedNanosecondsList(); List<String> getNameList(); List<Double> getNanosecondsPerCycleList(); List<Float> getPercentageList(); float getPercentageFor(final String name); String toString(final String message); @Override String toString(); @SuppressWarnings("unchecked")
    static final LoopPerformances EMPTY; }