← Index
NYTProf Performance Profile   « line view »
For ../dm5dm6_ex3
  Run on Mon Feb 23 08:36:56 2015
Reported on Mon Feb 23 08:37:02 2015

Filename/usr/lib/perl5/5.20.1/x86_64-linux-thread-multi/IO.pm
StatementsExecuted 11 statements in 232µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11111µs16µsIO::::BEGIN@7IO::BEGIN@7
1114µs4µsIO::::BEGIN@5IO::BEGIN@5
1114µs21µsIO::::BEGIN@6IO::BEGIN@6
1113µs6µsIO::::BEGIN@8IO::BEGIN@8
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
5210µs14µs
# spent 4µs within IO::BEGIN@5 which was called: # once (4µs+0s) by IO::Handle::BEGIN@269 at line 5
use XSLoader ();
# spent 4µs making 1 call to IO::BEGIN@5
6210µs238µs
# spent 21µs (4+17) within IO::BEGIN@6 which was called: # once (4µs+17µs) by IO::Handle::BEGIN@269 at line 6
use Carp;
# spent 21µs making 1 call to IO::BEGIN@6 # spent 17µs making 1 call to Exporter::import
7213µs222µs
# spent 16µs (11+6) within IO::BEGIN@7 which was called: # once (11µs+6µs) by IO::Handle::BEGIN@269 at line 7
use strict;
# spent 16µs making 1 call to IO::BEGIN@7 # spent 6µs making 1 call to strict::import
8281µs29µs
# spent 6µs (3+3) within IO::BEGIN@8 which was called: # once (3µs+3µs) by IO::Handle::BEGIN@269 at line 8
use warnings;
# spent 6µs making 1 call to IO::BEGIN@8 # spent 3µs making 1 call to warnings::import
9
101200nsour $VERSION = "1.31";
111114µs1108µsXSLoader::load 'IO', $VERSION;
# spent 108µ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
2513µs1;
26
27__END__