Runs the test specified in https://research.swtch.com/glob
against node-glob which uses minimatch
Setup:
npm i glob
mkdir aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
chmod +x ./test.sh
./test.sh
Example (partial) result:
[regtest] ./test.sh
n,elapsed
1,0.07
2,0.07
3,0.07
4,0.07
5,0.16
6,1.43
7,19.90
8,240.76