benchmark: --no-warnings to avoid DEP/ExpWarn log

PR-URL: https://github.com/nodejs/node/pull/54928
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
This commit is contained in:
Rafael Gonzaga 2024-09-15 13:57:10 -03:00 committed by GitHub
parent c77bcf0187
commit e4692eee75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,7 @@ const bench = common.createBenchmark(main, {
files: [5e2], files: [5e2],
n: [1, 1e3], n: [1, 1e3],
cache: ['true', 'false'], cache: ['true', 'false'],
}); }, { flags: '--no-warnings' });
function main({ n, name, cache, files, dir }) { function main({ n, name, cache, files, dir }) {
tmpdir.refresh(); tmpdir.refresh();