From 615e7d6e6fd331ebb5a46efcfc7eec5cde8f4cdc Mon Sep 17 00:00:00 2001 From: Graham Whaley Date: Wed, 14 Aug 2019 16:50:57 +0100 Subject: [PATCH] metrics: report: parallel: change title to 'deployment time' The time we measure is the time to launch and delete the whole deployment, not the 'pod'. Change the graph titles to be more accurate. Signed-off-by: Graham Whaley --- metrics/report/report_dockerfile/parallel.R | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/metrics/report/report_dockerfile/parallel.R b/metrics/report/report_dockerfile/parallel.R index f61a992..7a778d9 100755 --- a/metrics/report/report_dockerfile/parallel.R +++ b/metrics/report/report_dockerfile/parallel.R @@ -80,7 +80,7 @@ boot_line_plot <- ggplot( data=data, aes(npod, boot_time, colour=testname, group geom_line( alpha=0.2) + xlab("parallel pods") + ylab("Boot time (s)") + - ggtitle("Pod boot time (detail)") + + ggtitle("Deployment boot time (detail)") + #ylim(0, NA) + # For big machines, better to not 0-index theme(axis.text.x=element_text(angle=90)) @@ -92,14 +92,14 @@ boot_line_plot <- ggplot( data=data, aes(npod, boot_time, colour=testname, group # And get a zero Y index plot. boot_line_plot_zero = boot_line_plot + ylim(0, NA) + - ggtitle("Pod boot time (0 index)") + ggtitle("Deployment boot time (0 index)") # Show how boot time changed delete_line_plot <- ggplot( data=data, aes(npod, delete_time, colour=testname, group=dataset)) + geom_line(alpha=0.2) + xlab("parallel pods") + ylab("Delete time (s)") + - ggtitle("Pod deletion time (detail)") + + ggtitle("Deployment deletion time (detail)") + #ylim(0, NA) + # For big machines, better to not 0-index theme(axis.text.x=element_text(angle=90)) @@ -111,7 +111,7 @@ delete_line_plot <- ggplot( data=data, aes(npod, delete_time, colour=testname, g # And get a 0 indexed Y axis plot delete_line_plot_zero = delete_line_plot + ylim(0, NA) + - ggtitle("Pod deletion time (0 index)") + ggtitle("Deployment deletion time (0 index)") # See https://www.r-bloggers.com/ggplot2-easy-way-to-mix-multiple-graphs-on-the-same-page/ for # excellent examples