| Filename | /2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3/x86_64-linux/File/Spec/Functions.pm |
| Statements | Executed 55 statements in 340µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 10µs | 10µs | File::Spec::Functions::BEGIN@3 |
| 1 | 1 | 1 | 7µs | 71µs | File::Spec::Functions::BEGIN@6 |
| 1 | 1 | 1 | 7µs | 9µs | File::Spec::Functions::BEGIN@4 |
| 1 | 1 | 1 | 5µs | 14µs | File::Spec::Functions::BEGIN@42 |
| 0 | 0 | 0 | 0s | 0s | File::Spec::Functions::__ANON__[:43] |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package File::Spec::Functions; | ||||
| 2 | |||||
| 3 | 3 | 18µs | 1 | 10µs | # spent 10µs within File::Spec::Functions::BEGIN@3 which was called:
# once (10µs+0s) by SQL::Translator::BEGIN@35 at line 3 # spent 10µs making 1 call to File::Spec::Functions::BEGIN@3 |
| 4 | 3 | 20µs | 2 | 12µs | # spent 9µs (7+2) within File::Spec::Functions::BEGIN@4 which was called:
# once (7µs+2µs) by SQL::Translator::BEGIN@35 at line 4 # spent 9µs making 1 call to File::Spec::Functions::BEGIN@4
# spent 2µs making 1 call to strict::import |
| 5 | |||||
| 6 | 3 | 97µs | 2 | 135µs | # spent 71µs (7+64) within File::Spec::Functions::BEGIN@6 which was called:
# once (7µs+64µs) by SQL::Translator::BEGIN@35 at line 6 # spent 71µs making 1 call to File::Spec::Functions::BEGIN@6
# spent 64µs making 1 call to vars::import |
| 7 | |||||
| 8 | 1 | 500ns | $VERSION = '3.33'; | ||
| 9 | 1 | 13µs | $VERSION = eval $VERSION; # spent 2µs executing statements in string eval | ||
| 10 | |||||
| 11 | 1 | 700ns | require Exporter; | ||
| 12 | |||||
| 13 | 1 | 7µs | @ISA = qw(Exporter); | ||
| 14 | |||||
| 15 | 1 | 2µ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 | 1µ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 | 4µs | %EXPORT_TAGS = ( ALL => [ @EXPORT_OK, @EXPORT ] ); | ||
| 39 | |||||
| 40 | 1 | 700ns | foreach my $meth (@EXPORT, @EXPORT_OK) { | ||
| 41 | 17 | 71µs | 17 | 34µs | my $sub = File::Spec->can($meth); # spent 34µs making 17 calls to UNIVERSAL::can, avg 2µs/call |
| 42 | 3 | 43µs | 2 | 23µs | # spent 14µs (5+9) within File::Spec::Functions::BEGIN@42 which was called:
# once (5µs+9µs) by SQL::Translator::BEGIN@35 at line 42 # spent 14µs making 1 call to File::Spec::Functions::BEGIN@42
# spent 9µs making 1 call to strict::unimport |
| 43 | 17 | 55µs | *{$meth} = sub {&$sub('File::Spec', @_)}; | ||
| 44 | } | ||||
| 45 | |||||
| 46 | |||||
| 47 | 1 | 8µs | 1; | ||
| 48 | __END__ |