summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorDenys Otrishko <shishugi@gmail.com>2018-08-01 22:20:51 +0300
committerAnna Henningsen <anna@addaleax.net>2018-09-02 13:15:41 +0200
commit7aac70607df723a1218577d5f0d7a4b6bd94d993 (patch)
tree565e4fe23ca1acbd1a16d27ddfa1d188c6aa0ffe /benchmark
parent78f5685acc8fa574c32ed60d07de6273c60639b9 (diff)
downloadandroid-node-v8-7aac70607df723a1218577d5f0d7a4b6bd94d993.tar.gz
android-node-v8-7aac70607df723a1218577d5f0d7a4b6bd94d993.tar.bz2
android-node-v8-7aac70607df723a1218577d5f0d7a4b6bd94d993.zip
benchmark: add lines to scatter plots
Adds lines between the points of the same category in scatter.R plots. PR-URL: https://github.com/nodejs/node/pull/22074 Reviewed-By: Andreas Madsen <amwebdk@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/scatter.R1
1 files changed, 1 insertions, 0 deletions
diff --git a/benchmark/scatter.R b/benchmark/scatter.R
index 10e099e430..1574987aeb 100644
--- a/benchmark/scatter.R
+++ b/benchmark/scatter.R
@@ -79,6 +79,7 @@ if (!is.null(plot.filename)) {
width=.1, na.rm=TRUE
);
p = p + geom_point();
+ p = p + geom_line();
p = p + ylab("rate of operations (higher is better)");
p = p + ggtitle(dat[1, 1]);
ggsave(plot.filename, p);