Skip to content

Instantly share code, notes, and snippets.

@jfsimon
Created August 1, 2012 19:54
Show Gist options
  • Save jfsimon/3230139 to your computer and use it in GitHub Desktop.
Save jfsimon/3230139 to your computer and use it in GitHub Desktop.
1010 files
110 directories
10 iterations
18 cases
2 adapters
case php gnu_find
0 873,349 125,462
1 950,045 152,989
2 1,035,071 128,547
3 944,347 156,745
4 923,250 51,297
5 919,497 68,736
6 886,935 1,091,513
7 154,483 202,703
8 1,149,173 164,755
9 1,247,193 75,788
10 2,167,948 1,461,493
11 2,167,285 1,438,970
12 2,145,720 1,556,925
13 4,261,751 1,396,755
14 6,867,597 1,458,398
15 1,671,527 208,938
16 1,963,631 186,818
17 1,838,123 111,682
0 Find files by name containing a*
1 Find files by name containing ~^a~
2 Find files by name containing a* not containing *a
3 Find files by name containing ~^a.*~ not containing ~.*a$~
4 Find files by name containing ab* not containing *ba
5 Find files by name containing ~^ab.*~ not containing ~.*ba$~
6 Files with depth between 1 and 3
7 Files with depth of 2
8 Files with size between 1 and 3
9 Files with size of 2
10 Sort files by accessed time
11 Sort files by changed time
12 Sort files by modified time
13 Sort files by name
14 Sort files by type
15 Find files by content containing ~^a~
16 Find files by content containing ~^a.*~ not containing ~.*a$~
17 Find files by content containing ~^ab.*~ not containing ~.*ba$~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment