mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 07:27:22 +01:00
0376b5b7ba
Many benchmarks use test/common/tmpdir. This changes 3 benchmarks that use NODE_TMPDIR to also use test/common/tmpdir. This is necessary in preparation for the next commit that changes tmpdir to delete tmpdir.path when the Node.js process exits. Thus, if multiple benchmarks are run sequentially, the ones that use tmpdir will remove the directory and the ones changed here would fail because it does not exist. This happens when running test/benchmark. Note: to explicitly select a directory for tmpdir, use NODE_TEST_DIR. PR-URL: https://github.com/nodejs/node/pull/28858 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> |
||
---|---|---|
.. | ||
bench-mkdirp.js | ||
bench-readdir.js | ||
bench-readdirSync.js | ||
bench-realpath.js | ||
bench-realpathSync.js | ||
bench-stat-promise.js | ||
bench-stat.js | ||
bench-statSync.js | ||
read-stream-throughput.js | ||
readfile-partitioned.js | ||
readfile.js | ||
readFileSync.js | ||
write-stream-throughput.js |