use a map to improve to handle perf issues of contains
use locals in loops
speed up common case of exact matches in glob
add cpu profiling support
remove unused verbose flag
allow using a directory of ignore files