Filename | /Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/Path/IsDev/Heuristic/Tool/MakeMaker.pm |
Statements | Executed 50 statements in 302µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
9 | 1 | 1 | 59µs | 907µs | matches | Path::IsDev::Heuristic::Tool::MakeMaker::
1 | 1 | 1 | 15µs | 15µs | BEGIN@1.57 | Module::Runtime::
9 | 1 | 1 | 9µs | 9µs | files | Path::IsDev::Heuristic::Tool::MakeMaker::
1 | 1 | 1 | 8µs | 30µs | BEGIN@27 | Path::IsDev::Heuristic::Tool::MakeMaker::
1 | 1 | 1 | 7µs | 8µs | BEGIN@4.60 | Module::Runtime::
1 | 1 | 1 | 7µs | 10µs | BEGIN@3.59 | Module::Runtime::
1 | 1 | 1 | 6µs | 18µs | BEGIN@2.58 | Module::Runtime::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 46µs | 1 | 15µs | # spent 15µs within Module::Runtime::BEGIN@1.57 which was called:
# once (15µs+0s) by Module::Runtime::require_module at line 1 # spent 15µs making 1 call to Module::Runtime::BEGIN@1.57 |
2 | 2 | 19µs | 2 | 29µs | # spent 18µs (6+11) within Module::Runtime::BEGIN@2.58 which was called:
# once (6µs+11µs) by Module::Runtime::require_module at line 2 # spent 18µs making 1 call to Module::Runtime::BEGIN@2.58
# spent 11µs making 1 call to strict::import |
3 | 2 | 18µs | 2 | 14µs | # spent 10µs (7+4) within Module::Runtime::BEGIN@3.59 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.59
# spent 4µs making 1 call to warnings::import |
4 | 2 | 58µs | 2 | 10µs | # spent 8µs (7+1) within Module::Runtime::BEGIN@4.60 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.60
# spent 1µs making 1 call to utf8::import |
5 | |||||
6 | package Path::IsDev::Heuristic::Tool::MakeMaker; | ||||
7 | 1 | 500ns | $Path::IsDev::Heuristic::Tool::MakeMaker::VERSION = '1.001000'; | ||
8 | |||||
- - | |||||
23 | # ABSTRACT: Determine if a path is an ExtUtils::MakeMaker Tooled source directory | ||||
24 | |||||
25 | 1 | 200ns | our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY | ||
26 | |||||
27 | 2 | 96µs | 2 | 53µs | # spent 30µs (8+23) within Path::IsDev::Heuristic::Tool::MakeMaker::BEGIN@27 which was called:
# once (8µs+23µs) by Module::Runtime::require_module at line 27 # spent 30µs making 1 call to Path::IsDev::Heuristic::Tool::MakeMaker::BEGIN@27
# spent 23µs making 1 call to Exporter::import |
28 | 1 | 2µs | 1 | 250µs | with 'Path::IsDev::Role::Heuristic', 'Path::IsDev::Role::Matcher::Child::Exists::Any::File'; # spent 250µs making 1 call to Role::Tiny::With::with |
29 | |||||
- - | |||||
38 | 9 | 20µs | # spent 9µs within Path::IsDev::Heuristic::Tool::MakeMaker::files which was called 9 times, avg 1µs/call:
# 9 times (9µs+0s) by Path::IsDev::Heuristic::Tool::MakeMaker::matches at line 48, avg 1µs/call | ||
39 | |||||
- - | |||||
46 | # spent 907µs (59+847) within Path::IsDev::Heuristic::Tool::MakeMaker::matches which was called 9 times, avg 101µs/call:
# 9 times (59µs+847µs) by Path::IsDev::Role::HeuristicSet::matches at line 74 of Path/IsDev/Role/HeuristicSet.pm, avg 101µs/call | ||||
47 | 9 | 3µs | my ( $self, $result_object ) = @_; | ||
48 | 9 | 21µs | 18 | 847µs | if ( $self->child_exists_any_file( $result_object, $self->files ) ) { # spent 838µs making 9 calls to Path::IsDev::Role::Matcher::Child::Exists::Any::File::child_exists_any_file, avg 93µs/call
# spent 9µs making 9 calls to Path::IsDev::Heuristic::Tool::MakeMaker::files, avg 1µs/call |
49 | $result_object->result(1); | ||||
50 | return 1; | ||||
51 | } | ||||
52 | 9 | 16µs | return; | ||
53 | } | ||||
54 | |||||
55 | 1 | 3µs | 1; | ||
56 | |||||
57 | __END__ |