Skip to content

Commit

Permalink
Mention profiling info
Browse files Browse the repository at this point in the history
  • Loading branch information
ggreer committed Aug 22, 2012
1 parent 4e73903 commit a87aa8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ignore.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,9 @@ int filename_filter(struct dirent *dir) {
return 1;
}

/* Profiling shows that 70% of execution time is spent in this function.
Most of that time is in fnmatch()
*/
int filepath_filter(char *filepath) {
int match_pos;
char *pattern = NULL;
Expand Down

0 comments on commit a87aa8f

Please sign in to comment.