Filename | /usr/lib64/perl5/vendor_perl/5.16.0/x86_64-linux/File/Spec/Functions.pm |
Statements | Executed 32652 statements in 1.41s |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
32601 | 2 | 1 | 1.16s | 58.2s | __ANON__[:43] | File::Spec::Functions::
1 | 1 | 1 | 65µs | 141µs | BEGIN@42 | File::Spec::Functions::
1 | 1 | 1 | 62µs | 62µs | BEGIN@3 | File::Spec::Functions::
1 | 1 | 1 | 61µs | 518µs | BEGIN@6 | File::Spec::Functions::
1 | 1 | 1 | 51µs | 144µs | BEGIN@4 | File::Spec::Functions::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package File::Spec::Functions; | ||||
2 | |||||
3 | 2 | 150µs | 1 | 62µs | # spent 62µs within File::Spec::Functions::BEGIN@3 which was called:
# once (62µs+0s) by RTP::Webmerge::Path::BEGIN@43 at line 3 # spent 62µs making 1 call to File::Spec::Functions::BEGIN@3 |
4 | 2 | 211µs | 2 | 236µs | # spent 144µs (51+93) within File::Spec::Functions::BEGIN@4 which was called:
# once (51µs+93µs) by RTP::Webmerge::Path::BEGIN@43 at line 4 # spent 144µs making 1 call to File::Spec::Functions::BEGIN@4
# spent 93µs making 1 call to strict::import |
5 | |||||
6 | 2 | 643µs | 2 | 976µs | # spent 518µs (61+458) within File::Spec::Functions::BEGIN@6 which was called:
# once (61µs+458µs) by RTP::Webmerge::Path::BEGIN@43 at line 6 # spent 518µs making 1 call to File::Spec::Functions::BEGIN@6
# spent 458µs making 1 call to vars::import |
7 | |||||
8 | 1 | 3µs | $VERSION = '3.40'; | ||
9 | 1 | 4µs | $VERSION =~ tr/_//; | ||
10 | |||||
11 | 1 | 3µs | require Exporter; | ||
12 | |||||
13 | 1 | 35µs | @ISA = qw(Exporter); | ||
14 | |||||
15 | 1 | 12µs | @EXPORT = qw( | ||
16 | canonpath | ||||
17 | catdir | ||||
18 | catfile | ||||
19 | curdir | ||||
20 | rootdir | ||||
21 | updir | ||||
22 | no_upwards | ||||
23 | file_name_is_absolute | ||||
24 | path | ||||
25 | ); | ||||
26 | |||||
27 | 1 | 10µs | @EXPORT_OK = qw( | ||
28 | devnull | ||||
29 | tmpdir | ||||
30 | splitpath | ||||
31 | splitdir | ||||
32 | catpath | ||||
33 | abs2rel | ||||
34 | rel2abs | ||||
35 | case_tolerant | ||||
36 | ); | ||||
37 | |||||
38 | 1 | 22µs | %EXPORT_TAGS = ( ALL => [ @EXPORT_OK, @EXPORT ] ); | ||
39 | |||||
40 | 1 | 7µs | foreach my $meth (@EXPORT, @EXPORT_OK) { | ||
41 | 17 | 664µs | 17 | 284µs | my $sub = File::Spec->can($meth); # spent 284µs making 17 calls to UNIVERSAL::can, avg 17µs/call |
42 | 2 | 319µs | 2 | 216µs | # spent 141µs (65+76) within File::Spec::Functions::BEGIN@42 which was called:
# once (65µs+76µs) by RTP::Webmerge::Path::BEGIN@43 at line 42 # spent 141µs making 1 call to File::Spec::Functions::BEGIN@42
# spent 76µs making 1 call to strict::unimport |
43 | 32618 | 1.40s | 32601 | 57.0s | # spent 58.2s (1.16+57.0) within File::Spec::Functions::__ANON__[/usr/lib64/perl5/vendor_perl/5.16.0/x86_64-linux/File/Spec/Functions.pm:43] which was called 32601 times, avg 1.78ms/call:
# 19016 times (671ms+47.1s) by RTP::Webmerge::Path::exportURI at line 109 of webmerge/scripts/modules/RTP/Webmerge/Path.pm, avg 2.51ms/call
# 13585 times (488ms+9.89s) by RTP::Webmerge::Path::importURI at line 80 of webmerge/scripts/modules/RTP/Webmerge/Path.pm, avg 764µs/call # spent 47.1s making 19016 calls to File::Spec::Unix::abs2rel, avg 2.48ms/call
# spent 9.89s making 13585 calls to File::Spec::Unix::rel2abs, avg 728µs/call |
44 | } | ||||
45 | |||||
46 | |||||
47 | 1 | 45µs | 1; | ||
48 | __END__ |