← 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/darwin-2level/Mac/SystemDirectory.pm
StatementsExecuted 78 statements in 3.56ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
55112.72ms2.72msMac::SystemDirectory::::FindDirectoryMac::SystemDirectory::FindDirectory (xsub)
111152µs3.37msMac::SystemDirectory::::BEGIN@7Mac::SystemDirectory::BEGIN@7
642132µs32µsMac::SystemDirectory::::CORE:matchMac::SystemDirectory::CORE:match (opcode)
11118µs18µsMac::SystemDirectory::::BEGIN@3Mac::SystemDirectory::BEGIN@3
1118µs11µsMac::SystemDirectory::::BEGIN@5Mac::SystemDirectory::BEGIN@5
1117µs20µsMac::SystemDirectory::::BEGIN@4Mac::SystemDirectory::BEGIN@4
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Mac::SystemDirectory;
2
3239µs118µs
# spent 18µs within Mac::SystemDirectory::BEGIN@3 which was called: # once (18µs+0s) by Path::IsDev::NegativeHeuristic::HomeDir::paths at line 3
use 5.006000;
# spent 18µs making 1 call to Mac::SystemDirectory::BEGIN@3
4220µs232µs
# spent 20µs (7+12) within Mac::SystemDirectory::BEGIN@4 which was called: # once (7µs+12µs) by Path::IsDev::NegativeHeuristic::HomeDir::paths at line 4
use strict;
# spent 20µs making 1 call to Mac::SystemDirectory::BEGIN@4 # spent 12µs making 1 call to strict::import
52111µs215µs
# spent 11µs (8+4) within Mac::SystemDirectory::BEGIN@5 which was called: # once (8µs+4µs) by Path::IsDev::NegativeHeuristic::HomeDir::paths at line 5
use warnings;
# spent 11µs making 1 call to Mac::SystemDirectory::BEGIN@5 # spent 4µs making 1 call to warnings::import
6
7
# spent 3.37ms (152µs+3.21) within Mac::SystemDirectory::BEGIN@7 which was called: # once (152µs+3.21ms) by Path::IsDev::NegativeHeuristic::HomeDir::paths at line 22
BEGIN {
81400ns our $VERSION = '0.06';
911µs our @EXPORT_OK = ('FindDirectory', 'HomeDirectory', 'TemporaryDirectory');
10
111600ns require XSLoader;
1213.19ms13.18ms XSLoader::load('Mac::SystemDirectory', $VERSION);
# spent 3.18ms making 1 call to XSLoader::load
13
143265µs3212µs our %EXPORT_TAGS = (
# spent 12µs making 32 calls to Mac::SystemDirectory::CORE:match, avg 391ns/call
15 'all' => [ @EXPORT_OK ],
163267µs3219µs 'DomainMask' => [ grep { /^NS.*DomainMask/ } @EXPORT_OK ],
# spent 19µs making 32 calls to Mac::SystemDirectory::CORE:match, avg 606ns/call
17125µs 'Directory' => [ grep { /^NS.*Directory/ } @EXPORT_OK ],
18 );
19
201500ns require Exporter;
2115µs *import = \&Exporter::import;
22133µs13.37ms}
# spent 3.37ms making 1 call to Mac::SystemDirectory::BEGIN@7
23
2412µs1;
25__END__
 
# spent 32µs within Mac::SystemDirectory::CORE:match which was called 64 times, avg 498ns/call: # 32 times (19µs+0s) by Mac::SystemDirectory::BEGIN@7 at line 16, avg 606ns/call # 32 times (12µs+0s) by Mac::SystemDirectory::BEGIN@7 at line 14, avg 391ns/call
sub Mac::SystemDirectory::CORE:match; # opcode
# spent 2.72ms within Mac::SystemDirectory::FindDirectory which was called 55 times, avg 50µs/call: # 55 times (2.72ms+0s) by File::HomeDir::Darwin::Cocoa::_find_folder at line 118 of File/HomeDir/Darwin/Cocoa.pm, avg 50µs/call
sub Mac::SystemDirectory::FindDirectory; # xsub