← Index
NYTProf Performance Profile   « line view »
For /Users/timbo/perl5/perlbrew/perls/perl-5.18.2/bin/perlcritic
  Run on Sat Mar 19 22:12:22 2016
Reported on Sat Mar 19 22:14:12 2016

Filename/Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/Path/IsDev/NegativeHeuristic/IsDev/IgnoreFile.pm
StatementsExecuted 58 statements in 314µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
111171µs1.31msPath::IsDev::NegativeHeuristic::IsDev::IgnoreFile::::excludesPath::IsDev::NegativeHeuristic::IsDev::IgnoreFile::excludes
11116µs16µsModule::Runtime::::BEGIN@1.21 Module::Runtime::BEGIN@1.21
111111µs11µsPath::IsDev::NegativeHeuristic::IsDev::IgnoreFile::::excludes_filesPath::IsDev::NegativeHeuristic::IsDev::IgnoreFile::excludes_files
1118µs30µsPath::IsDev::NegativeHeuristic::IsDev::IgnoreFile::::BEGIN@49Path::IsDev::NegativeHeuristic::IsDev::IgnoreFile::BEGIN@49
1117µs8µsModule::Runtime::::BEGIN@4.24 Module::Runtime::BEGIN@4.24
1117µs10µsModule::Runtime::::BEGIN@3.23 Module::Runtime::BEGIN@3.23
1116µs17µsModule::Runtime::::BEGIN@2.22 Module::Runtime::BEGIN@2.22
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1238µs116µ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
use 5.008; # utf8
# spent 16µs making 1 call to Module::Runtime::BEGIN@1.21
2219µs228µ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
use strict;
# spent 17µs making 1 call to Module::Runtime::BEGIN@2.22 # spent 11µs making 1 call to strict::import
3222µs214µ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
use warnings;
# spent 10µs making 1 call to Module::Runtime::BEGIN@3.23 # spent 4µs making 1 call to warnings::import
4264µs210µ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
use utf8;
# spent 8µs making 1 call to Module::Runtime::BEGIN@4.24 # spent 1µs making 1 call to utf8::import
5
6package Path::IsDev::NegativeHeuristic::IsDev::IgnoreFile;
71500ns$Path::IsDev::NegativeHeuristic::IsDev::IgnoreFile::VERSION = '1.001000';
8# ABSTRACT: An explicit exclusion file heuristic
9
101200nsour $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY
11
- -
49289µs253µ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
use Role::Tiny::With qw( with );
# spent 30µs making 1 call to Path::IsDev::NegativeHeuristic::IsDev::IgnoreFile::BEGIN@49 # spent 23µs making 1 call to Exporter::import
5012µs12.01mswith '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
sub excludes_files {
611124µ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
sub excludes {
71114µs my ( $self, $result_object ) = @_;
721126µs221.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 }
751121µs return;
76}
7713µs1;
78
79__END__