Skip to content

Commit 3a1120a

Browse files
committed
test: update apitest
1 parent 3d06361 commit 3a1120a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

tools/api-tester/apitest.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,10 @@ const main = async () => {
100100
for ( const result of benchmark_results ) {
101101
if ( seen.has(result.name) ) continue;
102102
seen.add(result.name);
103-
console.log(result.name + ': ' + result.description);
103+
104+
if ( result.description ) {
105+
console.log(result.name + ': ' + result.description);
106+
}
104107
}
105108
}
106109

tools/api-tester/benches/stat_intensive_1.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ const expect = chai.expect;
44

55
module.exports = {
66
name: 'stat intensive 1',
7-
description: 'create 10 directories and 1000 subdirectories in each, then stat them over and over',
7+
description: 'create 10 directories and 100 subdirectories in each, then stat them over and over',
88
do: async t => {
99
console.log('stat intensive 1');
1010

1111
const dir_count = 10;
12-
const subdir_count = 1000;
12+
const subdir_count = 100;
1313

1414
// key: uuid
1515
// value: path

0 commit comments

Comments
 (0)