← Index
NYTProf Performance Profile   « block view • line view • sub view »
For -e
  Run on Wed Nov 17 21:45:08 2010
Reported on Wed Nov 17 22:10:03 2010

Filename/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/5.10.1/x86_64-linux/IO.pm
StatementsExecuted 15 statements in 1.59ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11177µs144µsIO::::BEGIN@8IO::BEGIN@8
11144µs44µsIO::::BEGIN@5IO::BEGIN@5
11137µs240µsIO::::BEGIN@6IO::BEGIN@6
11137µs53µsIO::::BEGIN@7IO::BEGIN@7
0000s0sIO::::importIO::import
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1#
2
3package IO;
4
5393µs144µs
# spent 44µs within IO::BEGIN@5 which was called: # once (44µs+0s) by IO::Handle::BEGIN@266 at line 5
use XSLoader ();
# spent 44µs making 1 call to IO::BEGIN@5
6399µs2443µs
# spent 240µs (37+203) within IO::BEGIN@6 which was called: # once (37µs+203µs) by IO::Handle::BEGIN@266 at line 6
use Carp;
# spent 240µs making 1 call to IO::BEGIN@6 # spent 203µs making 1 call to Exporter::import
7387µs269µs
# spent 53µs (37+16) within IO::BEGIN@7 which was called: # once (37µs+16µs) by IO::Handle::BEGIN@266 at line 7
use strict;
# spent 53µs making 1 call to IO::BEGIN@7 # spent 16µs making 1 call to strict::import
83451µs2210µs
# spent 144µs (77+66) within IO::BEGIN@8 which was called: # once (77µs+66µs) by IO::Handle::BEGIN@266 at line 8
use warnings;
# spent 144µs making 1 call to IO::BEGIN@8 # spent 66µs making 1 call to warnings::import
9
1014µsour $VERSION = "1.25";
111838µs1809µsXSLoader::load 'IO', $VERSION;
# spent 809µs making 1 call to XSLoader::load
12
13sub import {
14 shift;
15
16 warnings::warnif('deprecated', qq{Parameterless "use IO" deprecated})
17 if @_ == 0 ;
18
19 my @l = @_ ? @_ : qw(Handle Seekable File Pipe Socket Dir);
20
21 eval join("", map { "require IO::" . (/(\w+)/)[0] . ";\n" } @l)
22 or croak $@;
23}
24
25118µs1;
26
27__END__