Skip to content
Prev Previous commit
fix too many cases for benchmarking
  • Loading branch information
sonsurim committed Sep 24, 2024
commit defe49213673606aa85c2129bf85b2e9dce5637b
2 changes: 1 addition & 1 deletion benchmark/fs/bench-glob.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const benchmarkDirectory = path.resolve(__dirname, '..', '..');

const configs = {
n: [1e3],
dir: ['lib', 'test/parallel', 'benchmark'],
dir: ['lib'],
pattern: ['**/*', '*.js', '**/**.js'],
mode: ['async', 'sync'],
Comment thread
aduh95 marked this conversation as resolved.
recursive: ['true', 'false'],
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
recursive: ['true', 'false'],
recursive: [true, false],

Copy link
Copy Markdown
Contributor Author

@sonsurim sonsurim Sep 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't seem to use boolean in benchmark (error on CI), so I fixed that in this commit!

Many Thanks!

Expand Down