Profile of IO.pm

← Index
NYTProf Performance Profile «block view•line view•sub view»
For bin/dpath
Run on Tue Jun 5 15:31:33 2012
Reported on Tue Jun 5 15:31:52 2012

Filename | /home/ss5/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/x86_64-linux-thread-multi/IO.pm
Statements | Executed 11 statements in 1.85ms

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 34µs | 34µs | IO::::BEGIN@5IO::BEGIN@5
1 | 1 | 1 | 30µs | 45µs | IO::::BEGIN@7IO::BEGIN@7
1 | 1 | 1 | 29µs | 57µs | IO::::BEGIN@8IO::BEGIN@8
1 | 1 | 1 | 29µs | 184µs | IO::::BEGIN@6IO::BEGIN@6
0 | 0 | 0 | 0s | 0s | IO::::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 |  |  |  |  |
3 |  |  |  |  | package IO;
4 |  |  |  |  |
5 | 2 | 92µs | 1 | 34µs | # spent 34µs within IO::BEGIN@5 which was called: # once (34µs+0s) by IO::Handle::BEGIN@266 at line 5 use XSLoader (); # spent 34µs making 1 call to IO::BEGIN@5
6 | 2 | 92µs | 2 | 340µs | # spent 184µs (29+156) within IO::BEGIN@6 which was called: # once (29µs+156µs) by IO::Handle::BEGIN@266 at line 6 use Carp; # spent 184µs making 1 call to IO::BEGIN@6 # spent 156µs making 1 call to Exporter::import
7 | 2 | 90µs | 2 | 60µs | # spent 45µs (30+15) within IO::BEGIN@7 which was called: # once (30µs+15µs) by IO::Handle::BEGIN@266 at line 7 use strict; # spent 45µs making 1 call to IO::BEGIN@7 # spent 15µs making 1 call to strict::import
8 | 2 | 574µs | 2 | 85µs | # spent 57µs (29+28) within IO::BEGIN@8 which was called: # once (29µs+28µs) by IO::Handle::BEGIN@266 at line 8 use warnings; # spent 57µs making 1 call to IO::BEGIN@8 # spent 28µs making 1 call to warnings::import
9 |  |  |  |  |
10 | 1 | 2µs |  |  | our $VERSION = "1.25_04";
11 | 1 | 980µs | 1 | 942µs | XSLoader::load 'IO', $VERSION; # spent 942µs making 1 call to XSLoader::load
12 |  |  |  |  |
13 |  |  |  |  | sub 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 |  |  |  |  |
25 | 1 | 21µs |  |  | 1;
26 |  |  |  |  |
27 |  |  |  |  | __END__