Skip to content

Commit 1c2adc0

Browse files
Updated R script to generate more detailed latency graphs. Useful information was being lost in the curve smoothing.
1 parent 0174992 commit 1c2adc0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

priv/summary.r

+5
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ latency_plot <- ggplot(b$latencies, aes(x = elapsed)) +
6161

6262
# Plot 99 and 99.9th percentiles
6363
plot2 <- latency_plot +
64+
geom_point(aes(y = X99th, color = "X99th")) +
65+
geom_point(aes(y = X99_9th, color = "X99_9th")) +
6466
geom_smooth(aes(y = X99th, color = "X99th")) +
6567
geom_smooth(aes(y = X99_9th, color = "X99_9th")) +
6668
scale_color_hue("Percentile",
@@ -70,6 +72,9 @@ plot2 <- latency_plot +
7072

7173
# Plot median, mean and 95th percentiles
7274
plot3 <- latency_plot +
75+
geom_point(aes(y = median, color = "median")) +
76+
geom_point(aes(y = mean, color = "mean")) +
77+
geom_point(aes(y = X95th, color = "X95th")) +
7378
geom_smooth(aes(y = median, color = "median")) +
7479
geom_smooth(aes(y = mean, color = "mean")) +
7580
geom_smooth(aes(y = X95th, color = "X95th")) +

0 commit comments

Comments
 (0)