Skip to content

Instantly share code, notes, and snippets.

@jfsimon
Created August 1, 2012 19:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jfsimon/3229865 to your computer and use it in GitHub Desktop.
Save jfsimon/3229865 to your computer and use it in GitHub Desktop.
finder benchmark 2012-08-01
1010 files
110 directories
10 iterations
9 cases
2 adapters
case php gnu_find
0 1,407,415 958,688
1 1,653,591 858,276
2 4,286,048 1,183,027
3 1,925,437 1,269,696
4 1,630,606 1,154,426
5 810,313 1,024,784
6 1,598,642 1,119,060
7 1,142,413 140,850
8 1,611,487 161,518
0 Find files by name containing a*
1 Find files by name containing a* + Find files by name containing a* not containing *b
2 Sort files by name
3 Sort files by modified time
4 Find files by name containing a* + Sort files by name
5 Files with depth between 1 and 3
6 Find files by name containing a* + Sort files by name + Files with depth between 1 and 3
7 Files with size between 1 and 3
8 Find files by name containing a* + Sort files by name + Files with depth between 1 and 3 + Files with size between 1 and 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment