Comments (4)
globby
is just a convenience wrapper around fast-glob
which is in the benchmarks
from fdir.
Yes, globby is based on fast-glob so it doesn't make much sense to benchmark against it. If you have any other globbing library in mind, I would love to include it.
from fdir.
tiny-glob could be an interesting benchmarking target.
from fdir.
Ah, I see it was added to the benchmark code, but the readme wasn't updated. I ran them locally on my intel mbp, and got:
$ node benchmarks/glob-benchmark.js
Running "Asynchronous (1487 files, 230 folders)" suite...
Progress: 100%
fdir 5.2.0 async:
231 ops/s, ±0.18% | fastest
glob async:
15 ops/s, ±1.13% | slowest, 93.51% slower
fast-glob async:
154 ops/s, ±0.95% | 33.33% slower
tiny-glob async:
35 ops/s, ±0.41% | 84.85% slower
Finished 4 cases!
Fastest: fdir 5.2.0 async
Slowest: glob async
Running "Synchronous (1487 files, 230 folders)" suite...
Progress: 100%
fdir 5.2.0 sync:
90 ops/s, ±0.33% | fastest
glob sync:
16 ops/s, ±0.62% | slowest, 82.22% slower
fast-glob sync:
71 ops/s, ±0.67% | 21.11% slower
tiny-glob sync:
45 ops/s, ±0.20% | 50% slower
Finished 4 cases!
Fastest: fdir 5.2.0 sync
Slowest: glob sync
from fdir.
Related Issues (20)
- Infinite RAM usage can exhaust system HOT 4
- stop including benchmarks in published bundle
- [Feature] add back crawling by symlink path, not real path
- [Feature] add `markDirectories` option
- [Feature] middleware / custom transforms support
- Crawl with options group interface no longer correct in v5.2.0 (v5.1.0 was the same) HOT 1
- Ideas for mocking HOT 1
- [Feature] glob/crawl by symlink path, not real path HOT 8
- Sorting based on date, name, size etc
- Issue with SharePoint project accessible over the network HOT 2
- Invalid reference of TypeScript types HOT 2
- Feature request: pass picomatch to the builder HOT 3
- Avoiding double backslash HOT 1
- Corner case when globbing current directory returns zero results HOT 1
- Problem with double Backslash on Windows
- Bug: Module '"picomatch"' has no exported member 'PicomatchOptions'. HOT 1
- Add `fs.readdir` with `{ recursive: true }` to benchmarks HOT 5
- Support picomatch v4
- Support Browser out of the box HOT 1
- Why benchmarks don't include readdirp? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fdir.