← Index
NYTProf Performance Profile   « line view »
For ./view
  Run on Fri Jul 31 18:42:36 2015
Reported on Fri Jul 31 18:48:15 2015

Filename/usr/share/perl5/PerlIO.pm
StatementsExecuted 10 statements in 29µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
111199µs411µsPerlIO::::importPerlIO::import
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package PerlIO;
2
31400nsour $VERSION = '1.07';
4
5# Map layer name to package that defines it
61300nsour %alias;
7
8sub import
9
# spent 411µs (199+212) within PerlIO::import which was called: # once (199µs+212µs) by Foswiki::Templates::BEGIN@589 at line 589 of /var/www/foswikidev/core/lib/Foswiki/Templates.pm
{
101500ns my $class = shift;
1114µs while (@_)
12 {
131200ns my $layer = shift;
141600ns if (exists $alias{$layer})
15 {
16 $layer = $alias{$layer}
17 }
18 else
19 {
201900ns $layer = "${class}::$layer";
21 }
22118µs eval "require $layer";
# spent 65µs executing statements in string eval
231800ns warn $@ if $@;
24 }
25}
26
27sub F_UTF8 () { 0x8000 }
28
2913µs1;
30__END__