Skip to content

Commit

Permalink
Make fortio latency numbers useful (#2648)
Browse files Browse the repository at this point in the history
The histogram buckets we configure are 1ms

So our buckets look like:
0-1ms: [9999 requests]
1-2ms: [1 request]

Which is not useful for measuring latency.
  • Loading branch information
howardjohn committed Sep 5, 2023
1 parent af90422 commit b9fce78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions perf/benchmark/runner/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ def __init__(
self.frequency = frequency
self.protocol_mode = protocol_mode
self.ns = NAMESPACE
# bucket resolution in seconds
self.r = "0.001"
# bucket resolution in seconds. This gives us buckets of .001ms each.
self.r = "0.000001"
self.telemetry_mode = telemetry_mode
self.perf_record = perf_record
self.server = pod_info("-lapp=" + server, namespace=self.ns)
Expand Down

0 comments on commit b9fce78

Please sign in to comment.