We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78bdbed commit 1f6dd6dCopy full SHA for 1f6dd6d
1 file changed
tests/test_connection.py
@@ -4707,12 +4707,12 @@ def variance(xs):
4707
4708
mean_nagle = mean(nagle_trips)
4709
mean_normal = mean(normal_trips)
4710
- stderr = math.sqrt(variance(nagle_trips) / len(nagle_trips)
4711
- + variance(normal_trips) / len(normal_trips))
+ se_diff = math.sqrt(variance(nagle_trips) / len(nagle_trips)
+ + variance(normal_trips) / len(normal_trips))
4712
4713
# Margin = K standard errors of the difference of the per-trip means.
4714
K = 3
4715
- margin = K * stderr
+ margin = K * se_diff
4716
4717
print(f"Nagle: mean trip {mean_nagle * 1000:.1f}ms with vs "
4718
f"{mean_normal * 1000:.1f}ms without; saving "
0 commit comments