← Index
NYTProf Performance Profile   « line view »
For t/optimization.t
  Run on Thu Jan 8 22:47:42 2015
Reported on Thu Jan 8 22:48:06 2015

Filename/home/ss5/perl5/perlbrew/perls/tapper-perl/lib/5.16.3/x86_64-linux/IO.pm
StatementsExecuted 11 statements in 473µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11110µs16µsIO::::BEGIN@8IO::BEGIN@8
1119µs46µsIO::::BEGIN@6IO::BEGIN@6
1118µs8µsIO::::BEGIN@5IO::BEGIN@5
1118µs22µ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
5224µs18µs
# spent 8µs within IO::BEGIN@5 which was called: # once (8µs+0s) by IO::Handle::BEGIN@266 at line 5
use XSLoader ();
# spent 8µs making 1 call to IO::BEGIN@5
6229µs282µs
# spent 46µs (9+36) within IO::BEGIN@6 which was called: # once (9µs+36µs) by IO::Handle::BEGIN@266 at line 6
use Carp;
# spent 46µs making 1 call to IO::BEGIN@6 # spent 36µs making 1 call to Exporter::import
7222µs236µs
# spent 22µs (8+14) within IO::BEGIN@7 which was called: # once (8µs+14µs) by IO::Handle::BEGIN@266 at line 7
use strict;
# spent 22µs making 1 call to IO::BEGIN@7 # spent 14µs making 1 call to strict::import
82134µs222µs
# spent 16µs (10+6) within IO::BEGIN@8 which was called: # once (10µs+6µs) by IO::Handle::BEGIN@266 at line 8
use warnings;
# spent 16µs making 1 call to IO::BEGIN@8 # spent 6µs making 1 call to warnings::import
9
101700nsour $VERSION = "1.25_06";
111259µs1249µsXSLoader::load 'IO', $VERSION;
# spent 249µ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
2514µs1;
26
27__END__