← 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/Role/NegativeHeuristic.pm
StatementsExecuted 740 statements in 1.56ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
10422740µs1.08msPath::IsDev::Role::NegativeHeuristic::::namePath::IsDev::Role::NegativeHeuristic::name
10411158µs158µsPath::IsDev::Role::NegativeHeuristic::::_blessedPath::IsDev::Role::NegativeHeuristic::_blessed
10411137µs137µsPath::IsDev::Role::NegativeHeuristic::::CORE:substPath::IsDev::Role::NegativeHeuristic::CORE:subst (opcode)
10211106µs106µsPath::IsDev::Role::NegativeHeuristic::::heuristic_typePath::IsDev::Role::NegativeHeuristic::heuristic_type
11115µs15µsRole::Tiny::::BEGIN@1.25 Role::Tiny::BEGIN@1.25
1117µs84µsPath::IsDev::Role::NegativeHeuristic::::BEGIN@14Path::IsDev::Role::NegativeHeuristic::BEGIN@14
1117µs11µsRole::Tiny::::BEGIN@3.27 Role::Tiny::BEGIN@3.27
1117µs8µsRole::Tiny::::BEGIN@4.28 Role::Tiny::BEGIN@4.28
1116µs17µsRole::Tiny::::BEGIN@2.26 Role::Tiny::BEGIN@2.26
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1239µs115µs
# spent 15µs within Role::Tiny::BEGIN@1.25 which was called: # once (15µs+0s) by Role::Tiny::_load_module at line 1
use 5.008; # utf8
# spent 15µs making 1 call to Role::Tiny::BEGIN@1.25
2224µs228µs
# spent 17µs (6+11) within Role::Tiny::BEGIN@2.26 which was called: # once (6µs+11µs) by Role::Tiny::_load_module at line 2
use strict;
# spent 17µs making 1 call to Role::Tiny::BEGIN@2.26 # spent 11µs making 1 call to strict::import
3217µs214µs
# spent 11µs (7+4) within Role::Tiny::BEGIN@3.27 which was called: # once (7µs+4µs) by Role::Tiny::_load_module at line 3
use warnings;
# spent 11µs making 1 call to Role::Tiny::BEGIN@3.27 # spent 4µs making 1 call to warnings::import
4263µs210µs
# spent 8µs (7+1) within Role::Tiny::BEGIN@4.28 which was called: # once (7µs+1µs) by Role::Tiny::_load_module at line 4
use utf8;
# spent 8µs making 1 call to Role::Tiny::BEGIN@4.28 # spent 1µs making 1 call to utf8::import
5
6package Path::IsDev::Role::NegativeHeuristic;
71500ns$Path::IsDev::Role::NegativeHeuristic::VERSION = '1.001000';
8# ABSTRACT: Base role for Negative Heuristic things.
9
101200nsour $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY
11
12208498µs10448µs
# spent 158µs within Path::IsDev::Role::NegativeHeuristic::_blessed which was called 104 times, avg 2µs/call: # 104 times (158µs+0s) by Path::IsDev::Role::NegativeHeuristic::name at line 41, avg 2µs/call
sub _blessed { require Scalar::Util; goto &Scalar::Util::blessed }
# spent 48µs making 104 calls to Scalar::Util::blessed, avg 460ns/call
13
142111µs2161µs
# spent 84µs (7+77) within Path::IsDev::Role::NegativeHeuristic::BEGIN@14 which was called: # once (7µs+77µs) by Role::Tiny::_load_module at line 14
use Role::Tiny qw( requires );
# spent 84µs making 1 call to Path::IsDev::Role::NegativeHeuristic::BEGIN@14 # spent 77µs making 1 call to Role::Tiny::import
15
- -
39
# spent 1.08ms (740µs+342µs) within Path::IsDev::Role::NegativeHeuristic::name which was called 104 times, avg 10µs/call: # 102 times (727µs+336µs) by Path::IsDev::Result::add_reason at line 114 of Path/IsDev/Result.pm, avg 10µs/call # 2 times (13µs+6µs) by Path::IsDev::Role::HeuristicSet::matches at line 69 of Path/IsDev/Role/HeuristicSet.pm, avg 9µs/call
sub name {
4010422µs my $name = shift;
4110481µs104158µs $name = _blessed($name) if _blessed($name);
# spent 158µs making 104 calls to Path::IsDev::Role::NegativeHeuristic::_blessed, avg 2µs/call
42104301µs104137µs $name =~ s/\APath::IsDev::NegativeHeuristic:/- :/msx;
# spent 137µs making 104 calls to Path::IsDev::Role::NegativeHeuristic::CORE:subst, avg 1µs/call
43104214µs return $name;
44}
45
- -
54
# spent 106µs within Path::IsDev::Role::NegativeHeuristic::heuristic_type which was called 102 times, avg 1µs/call: # 102 times (106µs+0s) by Path::IsDev::Result::add_reason at line 122 of Path/IsDev/Result.pm, avg 1µs/call
sub heuristic_type {
55102188µs return 'negative heuristic';
56}
57
- -
7912µs14µsrequires 'excludes';
# spent 4µs making 1 call to Role::Tiny::__ANON__[Role/Tiny.pm:63]
80
8113µs1;
82
83__END__
 
# spent 137µs within Path::IsDev::Role::NegativeHeuristic::CORE:subst which was called 104 times, avg 1µs/call: # 104 times (137µs+0s) by Path::IsDev::Role::NegativeHeuristic::name at line 42, avg 1µs/call
sub Path::IsDev::Role::NegativeHeuristic::CORE:subst; # opcode