mirror of https://github.com/nodejs/node.git
23 lines
436 B
JavaScript
23 lines
436 B
JavaScript
'use strict';
|
|
|
|
require('../common');
|
|
const runBenchmark = require('../common/benchmark');
|
|
|
|
const tmpdir = require('../common/tmpdir');
|
|
tmpdir.refresh();
|
|
|
|
runBenchmark('fs', [
|
|
'n=1',
|
|
'size=1',
|
|
'dur=0.1',
|
|
'len=1024',
|
|
'concurrent=1',
|
|
'pathType=relative',
|
|
'statType=fstat',
|
|
'statSyncType=fstatSync',
|
|
'encodingType=buf',
|
|
'filesize=1024',
|
|
'dir=.github',
|
|
'withFileTypes=false'
|
|
], { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });
|