Profile of IO.pm

← Index
NYTProf Performance Profile «block view•line view•sub view»
For xt/tapper-mcp-scheduler-with-db-longrun.t
Run on Tue May 22 17:18:39 2012
Reported on Tue May 22 17:22:36 2012

Filename | /2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3/x86_64-linux/IO.pm
Statements | Executed 15 statements in 456µs

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 10µs | 26µs | IO::::BEGIN@8IO::BEGIN@8
1 | 1 | 1 | 7µs | 7µs | IO::::BEGIN@5IO::BEGIN@5
1 | 1 | 1 | 6µs | 33µs | IO::::BEGIN@6IO::BEGIN@6
1 | 1 | 1 | 5µs | 7µs | IO::::BEGIN@7IO::BEGIN@7
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 | 3 | 23µs | 1 | 7µs | # spent 7µs within IO::BEGIN@5 which was called: # once (7µs+0s) by IO::Handle::BEGIN@266 at line 5 use XSLoader (); # spent 7µs making 1 call to IO::BEGIN@5
6 | 3 | 16µs | 2 | 61µs | # spent 33µs (6+27) within IO::BEGIN@6 which was called: # once (6µs+27µs) by IO::Handle::BEGIN@266 at line 6 use Carp; # spent 33µs making 1 call to IO::BEGIN@6 # spent 27µs making 1 call to Exporter::import
7 | 3 | 15µs | 2 | 9µs | # spent 7µs (5+2) within IO::BEGIN@7 which was called: # once (5µs+2µs) by IO::Handle::BEGIN@266 at line 7 use strict; # spent 7µs making 1 call to IO::BEGIN@7 # spent 2µs making 1 call to strict::import
8 | 3 | 109µs | 2 | 43µs | # spent 26µs (10+17) within IO::BEGIN@8 which was called: # once (10µs+17µs) by IO::Handle::BEGIN@266 at line 8 use warnings; # spent 26µs making 1 call to IO::BEGIN@8 # spent 17µs making 1 call to warnings::import
9 |  |  |  |  |
10 | 1 | 400ns |  |  | our $VERSION = "1.25_02";
11 | 1 | 289µs | 1 | 283µs | XSLoader::load 'IO', $VERSION; # spent 283µ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 | 4µs |  |  | 1;
26 |  |  |  |  |
27 |  |  |  |  | __END__