Examples of opsPerSecAtMark()


Examples of org.jredis.bench.Util.Timer.opsPerSecAtMark()

        /* report */
          // overall - this is throughput
        System.out.format("===== %s =====\n",cmd.code);
        System.out.format("%d concurrent clients (%d %ss each) [host: %s]\n", threadCnt, reqCnt, cmd.code, host);
        System.out.format("  ==> %d total requests @ %f seconds\n", threadCnt*reqCnt, (float)timer.deltaAtMark(TimeUnit.SECONDS));
        System.out.format("  ==> %f/second\n", (float)timer.opsPerSecAtMark((long)threadCnt*reqCnt));
        System.out.println();
       
          // report for each - this is response time
        long max = Long.MIN_VALUE;
        long min = Long.MAX_VALUE;
View Full Code Here

Examples of org.jredis.bench.Util.Timer.opsPerSecAtMark()

        /* report */
          // overall - this is throughput
        System.out.format("===== %s =====\n",cmd.code);
        System.out.format("%d concurrent clients (%d %ss each) [host: %s]\n", threadCnt, reqCnt, cmd.code, host);
        System.out.format("  ==> %d total requests @ %f seconds\n", threadCnt*reqCnt, (float)timer.deltaAtMark(TimeUnit.SECONDS));
        System.out.format("  ==> %f/second\n", (float)timer.opsPerSecAtMark(threadCnt*reqCnt));
        System.out.println();
       
          // report for each - this is response time
        long max = Long.MIN_VALUE;
        long min = Long.MAX_VALUE;
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.