Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for QPS (0.01 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

            for (double qps : qpsToTest) {
              // If warmupPermits = maxPermits - thresholdPermits then
              // warmupPeriod = (1 + coldFactor) * warmupPermits * stableInterval / 2
              long warmupMillis = (long) ((1 + coldFactor) * warmupPermits / (2.0 * qps) * 1000.0);
              RateLimiter rateLimiter =
                  RateLimiter.create(qps, warmupMillis, MILLISECONDS, coldFactor, stopwatch);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

            for (double qps : qpsToTest) {
              // If warmupPermits = maxPermits - thresholdPermits then
              // warmupPeriod = (1 + coldFactor) * warmupPermits * stableInterval / 2
              long warmupMillis = (long) ((1 + coldFactor) * warmupPermits / (2.0 * qps) * 1000.0);
              RateLimiter rateLimiter =
                  RateLimiter.create(qps, warmupMillis, MILLISECONDS, coldFactor, stopwatch);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
Back to top