Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
> fast-glob@3.2.0 bench /home/mrmlnc/fast-glob
> npm run bench-async && npm run bench-stream && npm run bench-sync
> fast-glob@3.2.0 bench-async /home/mrmlnc/fast-glob
> npm run bench-async-flatten && npm run bench-async-deep && npm run bench-async-partial-flatten && npm run bench-async-partial-deep
> fast-glob@3.2.0 bench-async-flatten /home/mrmlnc/fast-glob
> node ./out/benchmark --mode async --pattern "*"
===> Benchmark pattern "*" with 100 launches (product, async)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob.js
(TIME) 29.629ms ±0.736% | (MEMORY) 4.073MB ±0.017% | Entries: 4 | Errors: 0 | Retries: 1
node-glob.js
(TIME) 14.756ms ±0.693% | (MEMORY) 3.225MB ±0.084% | Entries: 4 | Errors: 0 | Retries: 1
tiny-glob.js
(TIME) 997.366ms ±7.805% | (MEMORY) 12.113MB ±0.795% | Entries: 13 | Errors: 0 | Retries: 2
> fast-glob@3.2.0 bench-async-deep /home/mrmlnc/fast-glob
> node ./out/benchmark --mode async --pattern "**"
===> Benchmark pattern "**" with 100 launches (product, async)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob.js
(TIME) 409.150ms ±3.163% | (MEMORY) 6.166MB ±0.066% | Entries: 10555 | Errors: 0 | Retries: 1
node-glob.js
(TIME) 2978.750ms ±43.068% | (MEMORY) 40.423MB ±0.139% | Entries: 10555 | Errors: 0 | Retries: 2
tiny-glob.js
(TIME) 1135.351ms ±8.187% | (MEMORY) 17.823MB ±0.124% | Entries: 11720 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-async-partial-flatten /home/mrmlnc/fast-glob
> node ./out/benchmark --mode async --pattern "{fixtures,out}/{first,second}/*"
===> Benchmark pattern "{fixtures,out}/{first,second}/*" with 100 launches (product, async)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob.js
(TIME) 44.731ms ±0.839% | (MEMORY) 4.260MB ±0.019% | Entries: 2 | Errors: 0 | Retries: 1
node-glob.js
(TIME) 17.792ms ±0.766% | (MEMORY) 3.274MB ±0.109% | Entries: 2 | Errors: 0 | Retries: 1
tiny-glob.js
(TIME) 41.880ms ±1.641% | (MEMORY) 3.241MB ±0.012% | Entries: 4 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-async-partial-deep /home/mrmlnc/fast-glob
> node ./out/benchmark --mode async --pattern "{fixtures,out}/**"
===> Benchmark pattern "{fixtures,out}/**" with 100 launches (product, async)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob.js
(TIME) 55.151ms ±0.748% | (MEMORY) 4.591MB ±0.018% | Entries: 177 | Errors: 0 | Retries: 1
node-glob.js
(TIME) 94.228ms ±0.922% | (MEMORY) 4.041MB ±0.111% | Entries: 177 | Errors: 0 | Retries: 1
tiny-glob.js
(TIME) 20.501ms ±1.671% | (MEMORY) 2.751MB ±0.011% | Entries: 18 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-stream /home/mrmlnc/fast-glob
> npm run bench-stream-flatten && npm run bench-stream-deep && npm run bench-stream-partial-flatten && npm run bench-stream-partial-deep
> fast-glob@3.2.0 bench-stream-flatten /home/mrmlnc/fast-glob
> node ./out/benchmark --mode stream --pattern "*"
===> Benchmark pattern "*" with 100 launches (product, stream)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob.js
(TIME) 37.507ms ±0.726% | (MEMORY) 4.145MB ±0.019% | Entries: 4 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-stream-deep /home/mrmlnc/fast-glob
> node ./out/benchmark --mode stream --pattern "**"
===> Benchmark pattern "**" with 100 launches (product, stream)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob.js
(TIME) 566.428ms ±3.913% | (MEMORY) 7.271MB ±0.177% | Entries: 10555 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-stream-partial-flatten /home/mrmlnc/fast-glob
> node ./out/benchmark --mode stream --pattern "{fixtures,out}/{first,second}/*"
===> Benchmark pattern "{fixtures,out}/{first,second}/*" with 100 launches (product, stream)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob.js
(TIME) 52.351ms ±0.868% | (MEMORY) 4.328MB ±0.018% | Entries: 2 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-stream-partial-deep /home/mrmlnc/fast-glob
> node ./out/benchmark --mode stream --pattern "{fixtures,out}/**"
===> Benchmark pattern "{fixtures,out}/**" with 100 launches (product, stream)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob.js
(TIME) 68.661ms ±1.083% | (MEMORY) 4.769MB ±0.017% | Entries: 177 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-sync /home/mrmlnc/fast-glob
> npm run bench-sync-flatten && npm run bench-sync-deep && npm run bench-sync-partial-flatten && npm run bench-sync-partial-deep
> fast-glob@3.2.0 bench-sync-flatten /home/mrmlnc/fast-glob
> node ./out/benchmark --mode sync --pattern "*"
===> Benchmark pattern "*" with 100 launches (product, sync)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob.js
(TIME) 17.086ms ±0.312% | (MEMORY) 3.981MB ±0.021% | Entries: 4 | Errors: 0 | Retries: 1
node-glob.js
(TIME) 10.067ms ±0.069% | (MEMORY) 3.185MB ±0.084% | Entries: 4 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-sync-deep /home/mrmlnc/fast-glob
> node ./out/benchmark --mode sync --pattern "**"
===> Benchmark pattern "**" with 100 launches (product, sync)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob.js
(TIME) 279.711ms ±1.918% | (MEMORY) 8.668MB ±0.047% | Entries: 10555 | Errors: 0 | Retries: 1
node-glob.js
(TIME) 1900.630ms ±6.029% | (MEMORY) 24.016MB ±0.162% | Entries: 10555 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-sync-partial-flatten /home/mrmlnc/fast-glob
> node ./out/benchmark --mode sync --pattern "{fixtures,out}/{first,second}/*"
===> Benchmark pattern "{fixtures,out}/{first,second}/*" with 100 launches (product, sync)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob.js
(TIME) 30.932ms ±0.287% | (MEMORY) 4.152MB ±0.019% | Entries: 2 | Errors: 0 | Retries: 1
node-glob.js
(TIME) 14.923ms ±0.205% | (MEMORY) 3.288MB ±0.100% | Entries: 2 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-sync-partial-deep /home/mrmlnc/fast-glob
> node ./out/benchmark --mode sync --pattern "{fixtures,out}/**"
===> Benchmark pattern "{fixtures,out}/**" with 100 launches (product, sync)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob.js
(TIME) 36.338ms ±0.423% | (MEMORY) 4.329MB ±0.019% | Entries: 177 | Errors: 0 | Retries: 1
node-glob.js
(TIME) 62.799ms ±0.252% | (MEMORY) 4.469MB ±0.095% | Entries: 177 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench /home/mrmlnc/fast-glob
> npm run bench-async && npm run bench-stream && npm run bench-sync
> fast-glob@3.2.0 bench-async /home/mrmlnc/fast-glob
> npm run bench-async-flatten && npm run bench-async-deep && npm run bench-async-partial-flatten && npm run bench-async-partial-deep
> fast-glob@3.2.0 bench-async-flatten /home/mrmlnc/fast-glob
> node ./out/benchmark --mode async --pattern "*"
===> Benchmark pattern "*" with 100 launches (regression, async)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob-current.js
(TIME) 29.629ms ±0.729% | (MEMORY) 4.076MB ±0.018% | Entries: 4 | Errors: 0 | Retries: 1
fast-glob-previous.js
(TIME) 27.435ms ±0.851% | (MEMORY) 4.068MB ±0.019% | Entries: 4 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-async-deep /home/mrmlnc/fast-glob
> node ./out/benchmark --mode async --pattern "**"
===> Benchmark pattern "**" with 100 launches (regression, async)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob-current.js
(TIME) 409.922ms ±4.381% | (MEMORY) 6.155MB ±0.043% | Entries: 10555 | Errors: 0 | Retries: 1
fast-glob-previous.js
(TIME) 396.854ms ±3.153% | (MEMORY) 5.669MB ±0.086% | Entries: 10555 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-async-partial-flatten /home/mrmlnc/fast-glob
> node ./out/benchmark --mode async --pattern "{fixtures,out}/{first,second}/*"
===> Benchmark pattern "{fixtures,out}/{first,second}/*" with 100 launches (regression, async)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob-current.js
(TIME) 44.447ms ±0.774% | (MEMORY) 4.262MB ±0.019% | Entries: 2 | Errors: 0 | Retries: 1
fast-glob-previous.js
(TIME) 121.473ms ±1.083% | (MEMORY) 4.522MB ±0.030% | Entries: 2 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-async-partial-deep /home/mrmlnc/fast-glob
> node ./out/benchmark --mode async --pattern "{fixtures,out}/**"
===> Benchmark pattern "{fixtures,out}/**" with 100 launches (regression, async)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob-current.js
(TIME) 55.225ms ±1.551% | (MEMORY) 4.595MB ±0.018% | Entries: 177 | Errors: 0 | Retries: 1
fast-glob-previous.js
(TIME) 302.654ms ±2.378% | (MEMORY) 5.484MB ±0.695% | Entries: 177 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-stream /home/mrmlnc/fast-glob
> npm run bench-stream-flatten && npm run bench-stream-deep && npm run bench-stream-partial-flatten && npm run bench-stream-partial-deep
> fast-glob@3.2.0 bench-stream-flatten /home/mrmlnc/fast-glob
> node ./out/benchmark --mode stream --pattern "*"
===> Benchmark pattern "*" with 100 launches (regression, stream)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob-current.js
(TIME) 37.369ms ±0.808% | (MEMORY) 4.142MB ±0.019% | Entries: 4 | Errors: 0 | Retries: 1
fast-glob-previous.js
(TIME) 34.984ms ±0.749% | (MEMORY) 4.138MB ±0.018% | Entries: 4 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-stream-deep /home/mrmlnc/fast-glob
> node ./out/benchmark --mode stream --pattern "**"
===> Benchmark pattern "**" with 100 launches (regression, stream)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob-current.js
(TIME) 539.307ms ±3.447% | (MEMORY) 6.051MB ±0.118% | Entries: 10555 | Errors: 0 | Retries: 1
fast-glob-previous.js
(TIME) 524.020ms ±3.758% | (MEMORY) 6.831MB ±0.049% | Entries: 10555 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-stream-partial-flatten /home/mrmlnc/fast-glob
> node ./out/benchmark --mode stream --pattern "{fixtures,out}/{first,second}/*"
===> Benchmark pattern "{fixtures,out}/{first,second}/*" with 100 launches (regression, stream)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob-current.js
(TIME) 52.316ms ±0.699% | (MEMORY) 4.330MB ±0.019% | Entries: 2 | Errors: 0 | Retries: 1
fast-glob-previous.js
(TIME) 128.723ms ±1.026% | (MEMORY) 4.600MB ±0.026% | Entries: 2 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-stream-partial-deep /home/mrmlnc/fast-glob
> node ./out/benchmark --mode stream --pattern "{fixtures,out}/**"
===> Benchmark pattern "{fixtures,out}/**" with 100 launches (regression, stream)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob-current.js
(TIME) 67.986ms ±1.644% | (MEMORY) 4.751MB ±0.019% | Entries: 177 | Errors: 0 | Retries: 1
fast-glob-previous.js
(TIME) 316.160ms ±2.357% | (MEMORY) 5.465MB ±0.445% | Entries: 177 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-sync /home/mrmlnc/fast-glob
> npm run bench-sync-flatten && npm run bench-sync-deep && npm run bench-sync-partial-flatten && npm run bench-sync-partial-deep
> fast-glob@3.2.0 bench-sync-flatten /home/mrmlnc/fast-glob
> node ./out/benchmark --mode sync --pattern "*"
===> Benchmark pattern "*" with 100 launches (regression, sync)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob-current.js
(TIME) 17.042ms ±0.220% | (MEMORY) 3.983MB ±0.019% | Entries: 4 | Errors: 0 | Retries: 1
fast-glob-previous.js
(TIME) 14.659ms ±0.176% | (MEMORY) 3.975MB ±0.018% | Entries: 4 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-sync-deep /home/mrmlnc/fast-glob
> node ./out/benchmark --mode sync --pattern "**"
===> Benchmark pattern "**" with 100 launches (regression, sync)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob-current.js
(TIME) 279.740ms ±2.144% | (MEMORY) 8.660MB ±0.044% | Entries: 10555 | Errors: 0 | Retries: 1
fast-glob-previous.js
(TIME) 268.383ms ±1.429% | (MEMORY) 8.268MB ±0.054% | Entries: 10555 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-sync-partial-flatten /home/mrmlnc/fast-glob
> node ./out/benchmark --mode sync --pattern "{fixtures,out}/{first,second}/*"
===> Benchmark pattern "{fixtures,out}/{first,second}/*" with 100 launches (regression, sync)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob-current.js
(TIME) 30.944ms ±0.237% | (MEMORY) 4.152MB ±0.018% | Entries: 2 | Errors: 0 | Retries: 1
fast-glob-previous.js
(TIME) 86.146ms ±0.408% | (MEMORY) 4.704MB ±0.030% | Entries: 2 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-sync-partial-deep /home/mrmlnc/fast-glob
> node ./out/benchmark --mode sync --pattern "{fixtures,out}/**"
===> Benchmark pattern "{fixtures,out}/**" with 100 launches (regression, sync)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob-current.js
(TIME) 36.230ms ±0.169% | (MEMORY) 4.331MB ±0.016% | Entries: 177 | Errors: 0 | Retries: 1
fast-glob-previous.js
(TIME) 228.520ms ±1.252% | (MEMORY) 4.836MB ±0.039% | Entries: 177 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench /root/fast-glob
> npm run bench-async && npm run bench-stream && npm run bench-sync
> fast-glob@3.2.0 bench-async /root/fast-glob
> npm run bench-async-flatten && npm run bench-async-deep && npm run bench-async-partial-flatten && npm run bench-async-partial-deep
> fast-glob@3.2.0 bench-async-flatten /root/fast-glob
> node ./out/benchmark --mode async --pattern "*"
===> Benchmark pattern "*" with 100 launches (product, async)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob.js
(TIME) 5.351ms ±0.061% | (MEMORY) 3.974MB ±0.010% | Entries: 4 | Errors: 0 | Retries: 1
node-glob.js
(TIME) 2.889ms ±0.220% | (MEMORY) 3.230MB ±0.105% | Entries: 4 | Errors: 0 | Retries: 1
tiny-glob.js
(TIME) 132.231ms ±5.236% | (MEMORY) 12.834MB ±2.012% | Entries: 13 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-async-deep /root/fast-glob
> node ./out/benchmark --mode async --pattern "**"
===> Benchmark pattern "**" with 100 launches (product, async)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob.js
(TIME) 69.669ms ±1.623% | (MEMORY) 5.674MB ±0.095% | Entries: 10555 | Errors: 0 | Retries: 1
node-glob.js
(TIME) 389.667ms ±7.492% | (MEMORY) 36.200MB ±0.192% | Entries: 10555 | Errors: 0 | Retries: 1
tiny-glob.js
(TIME) 156.930ms ±5.983% | (MEMORY) 15.362MB ±1.199% | Entries: 11624 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-async-partial-flatten /root/fast-glob
> node ./out/benchmark --mode async --pattern "{fixtures,out}/{first,second}/*"
===> Benchmark pattern "{fixtures,out}/{first,second}/*" with 100 launches (product, async)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob.js
(TIME) 8.153ms ±0.077% | (MEMORY) 4.162MB ±0.012% | Entries: 2 | Errors: 0 | Retries: 1
node-glob.js
(TIME) 3.493ms ±0.069% | (MEMORY) 3.236MB ±0.090% | Entries: 2 | Errors: 0 | Retries: 1
tiny-glob.js
(TIME) 7.925ms ±0.482% | (MEMORY) 3.223MB ±0.014% | Entries: 4 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-async-partial-deep /root/fast-glob
> node ./out/benchmark --mode async --pattern "{fixtures,out}/**"
===> Benchmark pattern "{fixtures,out}/**" with 100 launches (product, async)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob.js
(TIME) 10.349ms ±0.123% | (MEMORY) 4.492MB ±0.011% | Entries: 177 | Errors: 0 | Retries: 1
node-glob.js
(TIME) 13.933ms ±0.255% | (MEMORY) 3.945MB ±0.110% | Entries: 177 | Errors: 0 | Retries: 1
tiny-glob.js
(TIME) 3.886ms ±0.299% | (MEMORY) 2.745MB ±0.015% | Entries: 18 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-stream /root/fast-glob
> npm run bench-stream-flatten && npm run bench-stream-deep && npm run bench-stream-partial-flatten && npm run bench-stream-partial-deep
> fast-glob@3.2.0 bench-stream-flatten /root/fast-glob
> node ./out/benchmark --mode stream --pattern "*"
===> Benchmark pattern "*" with 100 launches (product, stream)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob.js
(TIME) 6.855ms ±0.076% | (MEMORY) 4.045MB ±0.015% | Entries: 4 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-stream-deep /root/fast-glob
> node ./out/benchmark --mode stream --pattern "**"
===> Benchmark pattern "**" with 100 launches (product, stream)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob.js
(TIME) 96.538ms ±3.118% | (MEMORY) 6.958MB ±0.518% | Entries: 10555 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-stream-partial-flatten /root/fast-glob
> node ./out/benchmark --mode stream --pattern "{fixtures,out}/{first,second}/*"
===> Benchmark pattern "{fixtures,out}/{first,second}/*" with 100 launches (product, stream)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob.js
(TIME) 9.638ms ±0.094% | (MEMORY) 4.232MB ±0.015% | Entries: 2 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-stream-partial-deep /root/fast-glob
> node ./out/benchmark --mode stream --pattern "{fixtures,out}/**"
===> Benchmark pattern "{fixtures,out}/**" with 100 launches (product, stream)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob.js
(TIME) 12.848ms ±0.130% | (MEMORY) 4.674MB ±0.013% | Entries: 177 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-sync /root/fast-glob
> npm run bench-sync-flatten && npm run bench-sync-deep && npm run bench-sync-partial-flatten && npm run bench-sync-partial-deep
> fast-glob@3.2.0 bench-sync-flatten /root/fast-glob
> node ./out/benchmark --mode sync --pattern "*"
===> Benchmark pattern "*" with 100 launches (product, sync)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob.js
(TIME) 3.088ms ±0.037% | (MEMORY) 3.882MB ±0.013% | Entries: 4 | Errors: 0 | Retries: 1
node-glob.js
(TIME) 1.969ms ±0.021% | (MEMORY) 3.180MB ±0.097% | Entries: 4 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-sync-deep /root/fast-glob
> node ./out/benchmark --mode sync --pattern "**"
===> Benchmark pattern "**" with 100 launches (product, sync)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob.js
(TIME) 44.406ms ±1.449% | (MEMORY) 8.476MB ±0.048% | Entries: 10555 | Errors: 0 | Retries: 1
node-glob.js
(TIME) 246.114ms ±3.848% | (MEMORY) 23.033MB ±0.137% | Entries: 10555 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-sync-partial-flatten /root/fast-glob
> node ./out/benchmark --mode sync --pattern "{fixtures,out}/{first,second}/*"
===> Benchmark pattern "{fixtures,out}/{first,second}/*" with 100 launches (product, sync)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob.js
(TIME) 5.679ms ±0.061% | (MEMORY) 4.055MB ±0.012% | Entries: 2 | Errors: 0 | Retries: 1
node-glob.js
(TIME) 2.895ms ±0.025% | (MEMORY) 3.268MB ±0.097% | Entries: 2 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-sync-partial-deep /root/fast-glob
> node ./out/benchmark --mode sync --pattern "{fixtures,out}/**"
===> Benchmark pattern "{fixtures,out}/**" with 100 launches (product, sync)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob.js
(TIME) 6.470ms ±0.234% | (MEMORY) 4.229MB ±0.012% | Entries: 177 | Errors: 0 | Retries: 1
node-glob.js
(TIME) 9.300ms ±0.093% | (MEMORY) 4.338MB ±0.100% | Entries: 177 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench /root/fast-glob
> npm run bench-async && npm run bench-stream && npm run bench-sync
> fast-glob@3.2.0 bench-async /root/fast-glob
> npm run bench-async-flatten && npm run bench-async-deep && npm run bench-async-partial-flatten && npm run bench-async-partial-deep
> fast-glob@3.2.0 bench-async-flatten /root/fast-glob
> node ./out/benchmark --mode async --pattern "*"
===> Benchmark pattern "*" with 100 launches (regression, async)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob-current.js
(TIME) 5.350ms ±0.067% | (MEMORY) 3.977MB ±0.013% | Entries: 4 | Errors: 0 | Retries: 1
fast-glob-previous.js
(TIME) 4.930ms ±0.097% | (MEMORY) 3.979MB ±0.017% | Entries: 4 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-async-deep /root/fast-glob
> node ./out/benchmark --mode async --pattern "**"
===> Benchmark pattern "**" with 100 launches (regression, async)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob-current.js
(TIME) 69.895ms ±1.701% | (MEMORY) 5.660MB ±0.092% | Entries: 10555 | Errors: 0 | Retries: 1
fast-glob-previous.js
(TIME) 68.168ms ±1.557% | (MEMORY) 5.617MB ±0.966% | Entries: 10555 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-async-partial-flatten /root/fast-glob
> node ./out/benchmark --mode async --pattern "{fixtures,out}/{first,second}/*"
===> Benchmark pattern "{fixtures,out}/{first,second}/*" with 100 launches (regression, async)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob-current.js
(TIME) 8.137ms ±0.070% | (MEMORY) 4.160MB ±0.012% | Entries: 2 | Errors: 0 | Retries: 1
fast-glob-previous.js
(TIME) 20.855ms ±0.397% | (MEMORY) 4.354MB ±0.027% | Entries: 2 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-async-partial-deep /root/fast-glob
> node ./out/benchmark --mode async --pattern "{fixtures,out}/**"
===> Benchmark pattern "{fixtures,out}/**" with 100 launches (regression, async)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob-current.js
(TIME) 10.349ms ±0.194% | (MEMORY) 4.496MB ±0.014% | Entries: 177 | Errors: 0 | Retries: 1
fast-glob-previous.js
(TIME) 49.898ms ±1.339% | (MEMORY) 6.356MB ±0.062% | Entries: 177 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-stream /root/fast-glob
> npm run bench-stream-flatten && npm run bench-stream-deep && npm run bench-stream-partial-flatten && npm run bench-stream-partial-deep
> fast-glob@3.2.0 bench-stream-flatten /root/fast-glob
> node ./out/benchmark --mode stream --pattern "*"
===> Benchmark pattern "*" with 100 launches (regression, stream)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob-current.js
(TIME) 6.868ms ±0.088% | (MEMORY) 4.044MB ±0.014% | Entries: 4 | Errors: 0 | Retries: 1
fast-glob-previous.js
(TIME) 6.458ms ±0.129% | (MEMORY) 4.049MB ±0.017% | Entries: 4 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-stream-deep /root/fast-glob
> node ./out/benchmark --mode stream --pattern "**"
===> Benchmark pattern "**" with 100 launches (regression, stream)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob-current.js
(TIME) 93.281ms ±2.842% | (MEMORY) 7.532MB ±1.475% | Entries: 10555 | Errors: 0 | Retries: 1
fast-glob-previous.js
(TIME) 90.958ms ±3.137% | (MEMORY) 8.003MB ±0.315% | Entries: 10555 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-stream-partial-flatten /root/fast-glob
> node ./out/benchmark --mode stream --pattern "{fixtures,out}/{first,second}/*"
===> Benchmark pattern "{fixtures,out}/{first,second}/*" with 100 launches (regression, stream)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob-current.js
(TIME) 9.645ms ±0.094% | (MEMORY) 4.230MB ±0.015% | Entries: 2 | Errors: 0 | Retries: 1
fast-glob-previous.js
(TIME) 22.380ms ±0.358% | (MEMORY) 4.428MB ±0.029% | Entries: 2 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-stream-partial-deep /root/fast-glob
> node ./out/benchmark --mode stream --pattern "{fixtures,out}/**"
===> Benchmark pattern "{fixtures,out}/**" with 100 launches (regression, stream)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob-current.js
(TIME) 12.769ms ±0.118% | (MEMORY) 4.657MB ±0.012% | Entries: 177 | Errors: 0 | Retries: 1
fast-glob-previous.js
(TIME) 52.854ms ±1.465% | (MEMORY) 6.346MB ±0.478% | Entries: 177 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-sync /root/fast-glob
> npm run bench-sync-flatten && npm run bench-sync-deep && npm run bench-sync-partial-flatten && npm run bench-sync-partial-deep
> fast-glob@3.2.0 bench-sync-flatten /root/fast-glob
> node ./out/benchmark --mode sync --pattern "*"
===> Benchmark pattern "*" with 100 launches (regression, sync)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob-current.js
(TIME) 3.082ms ±0.030% | (MEMORY) 3.887MB ±0.015% | Entries: 4 | Errors: 0 | Retries: 1
fast-glob-previous.js
(TIME) 2.672ms ±0.039% | (MEMORY) 3.886MB ±0.019% | Entries: 4 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-sync-deep /root/fast-glob
> node ./out/benchmark --mode sync --pattern "**"
===> Benchmark pattern "**" with 100 launches (regression, sync)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob-current.js
(TIME) 44.621ms ±1.556% | (MEMORY) 8.476MB ±0.051% | Entries: 10555 | Errors: 0 | Retries: 1
fast-glob-previous.js
(TIME) 42.862ms ±1.083% | (MEMORY) 7.994MB ±0.040% | Entries: 10555 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-sync-partial-flatten /root/fast-glob
> node ./out/benchmark --mode sync --pattern "{fixtures,out}/{first,second}/*"
===> Benchmark pattern "{fixtures,out}/{first,second}/*" with 100 launches (regression, sync)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob-current.js
(TIME) 5.667ms ±0.049% | (MEMORY) 4.056MB ±0.012% | Entries: 2 | Errors: 0 | Retries: 1
fast-glob-previous.js
(TIME) 13.001ms ±0.128% | (MEMORY) 4.543MB ±0.032% | Entries: 2 | Errors: 0 | Retries: 1
> fast-glob@3.2.0 bench-sync-partial-deep /root/fast-glob
> node ./out/benchmark --mode sync --pattern "{fixtures,out}/**"
===> Benchmark pattern "{fixtures,out}/**" with 100 launches (regression, sync)
===> Max stdev: 10 | Retries: 2 | Options: {}
fast-glob-current.js
(TIME) 6.438ms ±0.042% | (MEMORY) 4.229MB ±0.014% | Entries: 177 | Errors: 0 | Retries: 1
fast-glob-previous.js
(TIME) 37.222ms ±2.124% | (MEMORY) 4.297MB ±0.032% | Entries: 177 | Errors: 0 | Retries: 1
@KSoto

This comment has been minimized.

Copy link

@KSoto KSoto commented Mar 20, 2019

Is there a comparison to node-glob aka glob? I see comparisons to bash-glob, glob-stream, globby, and tiny-glob.js but not glob.

@tcarrio

This comment has been minimized.

Copy link

@tcarrio tcarrio commented May 28, 2019

@KSoto Seems you could include it within the benchmark suites here: https://github.com/mrmlnc/fast-glob/tree/master/src/benchmark/suites/async. Might not take too long. Also curious, though I don't have the time to make the change myself

@KSoto

This comment has been minimized.

Copy link

@KSoto KSoto commented Jun 20, 2019

Ok, thank you @tcarrio for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.