summaryrefslogtreecommitdiff
path: root/benchmark/fs/write-stream-throughput.js
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/fs/write-stream-throughput.js')
-rw-r--r--benchmark/fs/write-stream-throughput.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/fs/write-stream-throughput.js b/benchmark/fs/write-stream-throughput.js
index 5c6464fdbb..c61b590011 100644
--- a/benchmark/fs/write-stream-throughput.js
+++ b/benchmark/fs/write-stream-throughput.js
@@ -3,7 +3,7 @@
const path = require('path');
const common = require('../common.js');
-const filename = path.resolve(__dirname,
+const filename = path.resolve(process.env.NODE_TMPDIR || __dirname,
`.removeme-benchmark-garbage-${process.pid}`);
const fs = require('fs');