Examples of displayLatencyStats()


Examples of com.facebook.LinkBench.stats.LatencyStats.displayLatencyStats()

               reqStore, props, latencyStats, System.out, tracker, rng, 0, 1);
      tracker.startTimer();

      requester.run();

      latencyStats.displayLatencyStats();
      latencyStats.printCSVStats(System.out, true);

      assertEquals(requests, reqStore.adds + reqStore.updates + reqStore.deletes +
          reqStore.countLinks + reqStore.multigetLinks + reqStore.getLinkLists +
          reqStore.addNodes + reqStore.updateNodes + reqStore.deleteNodes +
View Full Code Here

Examples of com.facebook.LinkBench.stats.LatencyStats.displayLatencyStats()

        assert(l instanceof NodeLoader);
        actualNodes += ((NodeLoader)l).getNodesLoaded();
      }
    }

    latencyStats.displayLatencyStats();

    if (csvStatsFile != null) {
      latencyStats.printCSVStats(csvStatsFile, true);
    }
View Full Code Here

Examples of com.facebook.LinkBench.stats.LatencyStats.displayLatencyStats()

      if (requester.didAbort()) {
        abortedRequesters++;
      }
    }

    latencyStats.displayLatencyStats();

    if (csvStatsFile != null) {
      latencyStats.printCSVStats(csvStatsFile, true);
    }
View Full Code Here

Examples of com.facebook.LinkBench.stats.LatencyStats.displayLatencyStats()

      LinkBenchRequest requester = new LinkBenchRequest(reqStore,
                      null, props, latencyStats, System.out, tracker, rng,
                      0, 1);
      tracker.startTimer();
      requester.run();
      latencyStats.displayLatencyStats();
      latencyStats.printCSVStats(System.out, true);

      assertEquals(requests, reqStore.adds + reqStore.updates + reqStore.deletes +
          reqStore.countLinks + reqStore.multigetLinks + reqStore.getLinkLists);
      // Check that the proportion of operations is roughly right - within 1%
View Full Code Here

Examples of com.facebook.LinkBench.stats.LatencyStats.displayLatencyStats()

      LinkBenchRequest requester = new LinkBenchRequest(reqStore, null,
                      props, latencyStats, System.out, tracker, rng, 0, 1);

      tracker.startTimer();
      requester.run();
      latencyStats.displayLatencyStats();

      assertEquals(requests, reqStore.getLinkLists);

      double actualPHistory = reqStore.getLinkListsHistory /
                              (double) reqStore.getLinkLists;
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.