summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2017-03-19 12:32:39 +0200
committerJames M Snell <jasnell@gmail.com>2017-03-21 22:10:06 -0700
commitae8a8691e65c90053c3e996c14fd221b61f3effc (patch)
tree556cf5fe2fb484c1d0a2c4ce8094837ed8e4372c /benchmark
parent4b841cb0b6d765813a02f9b348f9ff04854ee969 (diff)
downloadandroid-node-v8-ae8a8691e65c90053c3e996c14fd221b61f3effc.tar.gz
android-node-v8-ae8a8691e65c90053c3e996c14fd221b61f3effc.tar.bz2
android-node-v8-ae8a8691e65c90053c3e996c14fd221b61f3effc.zip
benchmark: add final clean-up to module-loader.js
PR-URL: https://github.com/nodejs/node/pull/11924 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/module/module-loader.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/benchmark/module/module-loader.js b/benchmark/module/module-loader.js
index 090f7b7854..d7e03cfee4 100644
--- a/benchmark/module/module-loader.js
+++ b/benchmark/module/module-loader.js
@@ -35,6 +35,8 @@ function main(conf) {
measureFull(n, conf.useCache === 'true');
else
measureDir(n, conf.useCache === 'true');
+
+ rmrf(tmpDirectory);
}
function measureFull(n, useCache) {