Filename | /Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/Path/IsDev/NegativeHeuristic/IsDev/IgnoreFile.pm |
Statements | Executed 58 statements in 314µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
11 | 1 | 1 | 71µs | 1.31ms | excludes | Path::IsDev::NegativeHeuristic::IsDev::IgnoreFile::
1 | 1 | 1 | 16µs | 16µs | BEGIN@1.21 | Module::Runtime::
11 | 1 | 1 | 11µs | 11µs | excludes_files | Path::IsDev::NegativeHeuristic::IsDev::IgnoreFile::
1 | 1 | 1 | 8µs | 30µs | BEGIN@49 | Path::IsDev::NegativeHeuristic::IsDev::IgnoreFile::
1 | 1 | 1 | 7µs | 8µs | BEGIN@4.24 | Module::Runtime::
1 | 1 | 1 | 7µs | 10µs | BEGIN@3.23 | Module::Runtime::
1 | 1 | 1 | 6µs | 17µs | BEGIN@2.22 | Module::Runtime::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 38µs | 1 | 16µs | # spent 16µs within Module::Runtime::BEGIN@1.21 which was called:
# once (16µs+0s) by Module::Runtime::require_module at line 1 # spent 16µs making 1 call to Module::Runtime::BEGIN@1.21 |
2 | 2 | 19µs | 2 | 28µs | # spent 17µs (6+11) within Module::Runtime::BEGIN@2.22 which was called:
# once (6µs+11µs) by Module::Runtime::require_module at line 2 # spent 17µs making 1 call to Module::Runtime::BEGIN@2.22
# spent 11µs making 1 call to strict::import |
3 | 2 | 22µs | 2 | 14µs | # spent 10µs (7+4) within Module::Runtime::BEGIN@3.23 which was called:
# once (7µs+4µs) by Module::Runtime::require_module at line 3 # spent 10µs making 1 call to Module::Runtime::BEGIN@3.23
# spent 4µs making 1 call to warnings::import |
4 | 2 | 64µs | 2 | 10µs | # spent 8µs (7+1) within Module::Runtime::BEGIN@4.24 which was called:
# once (7µs+1µs) by Module::Runtime::require_module at line 4 # spent 8µs making 1 call to Module::Runtime::BEGIN@4.24
# spent 1µs making 1 call to utf8::import |
5 | |||||
6 | package Path::IsDev::NegativeHeuristic::IsDev::IgnoreFile; | ||||
7 | 1 | 500ns | $Path::IsDev::NegativeHeuristic::IsDev::IgnoreFile::VERSION = '1.001000'; | ||
8 | # ABSTRACT: An explicit exclusion file heuristic | ||||
9 | |||||
10 | 1 | 200ns | our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY | ||
11 | |||||
- - | |||||
49 | 2 | 89µs | 2 | 53µs | # spent 30µs (8+23) within Path::IsDev::NegativeHeuristic::IsDev::IgnoreFile::BEGIN@49 which was called:
# once (8µs+23µs) by Module::Runtime::require_module at line 49 # spent 30µs making 1 call to Path::IsDev::NegativeHeuristic::IsDev::IgnoreFile::BEGIN@49
# spent 23µs making 1 call to Exporter::import |
50 | 1 | 2µs | 1 | 2.01ms | with 'Path::IsDev::Role::NegativeHeuristic', 'Path::IsDev::Role::Matcher::Child::Exists::Any::File'; # spent 2.01ms making 1 call to Role::Tiny::With::with |
51 | |||||
- - | |||||
60 | # spent 11µs within Path::IsDev::NegativeHeuristic::IsDev::IgnoreFile::excludes_files which was called 11 times, avg 991ns/call:
# 11 times (11µs+0s) by Path::IsDev::NegativeHeuristic::IsDev::IgnoreFile::excludes at line 72, avg 991ns/call | ||||
61 | 11 | 24µs | return ('.path_isdev_ignore'); | ||
62 | } | ||||
63 | |||||
- - | |||||
70 | # spent 1.31ms (71µs+1.24) within Path::IsDev::NegativeHeuristic::IsDev::IgnoreFile::excludes which was called 11 times, avg 120µs/call:
# 11 times (71µs+1.24ms) by Path::IsDev::Role::HeuristicSet::matches at line 68 of Path/IsDev/Role/HeuristicSet.pm, avg 120µs/call | ||||
71 | 11 | 4µs | my ( $self, $result_object ) = @_; | ||
72 | 11 | 26µs | 22 | 1.24ms | if ( $self->child_exists_any_file( $result_object, $self->excludes_files ) ) { # spent 1.23ms making 11 calls to Path::IsDev::Role::Matcher::Child::Exists::Any::File::child_exists_any_file, avg 112µs/call
# spent 11µs making 11 calls to Path::IsDev::NegativeHeuristic::IsDev::IgnoreFile::excludes_files, avg 991ns/call |
73 | return 1; | ||||
74 | } | ||||
75 | 11 | 21µs | return; | ||
76 | } | ||||
77 | 1 | 3µs | 1; | ||
78 | |||||
79 | __END__ |