Skip to content

cspotcode/grunt-file-matching-performance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository demonstrates how grunt's file matching and expanding capabilities can become dramatically faster with a few simple changes.

All IO operations for exclusion patterns can be avoided. Also, the glob library makes it easy to cache the results of fs calls across multiple glob operations.

To run the benchmark:

# Run vanilla grunt
$ npm install
$ npm install grunt@1
$ grunt
# Now run a version of grunt with the proposed improvements
$ npm install
$ grunt

The set of matched files are output to matched-files.txt so you can confirm that grunt's behavior is identical in both cases.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published