Filename | /usr/lib/x86_64-linux-gnu/perl/5.20/IO.pm |
Statements | Executed 11 statements in 545µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 14µs | 14µs | BEGIN@5 | IO::
1 | 1 | 1 | 10µs | 59µs | BEGIN@6 | IO::
1 | 1 | 1 | 9µs | 15µs | BEGIN@8 | IO::
1 | 1 | 1 | 8µs | 23µs | BEGIN@7 | IO::
0 | 0 | 0 | 0s | 0s | import | IO::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | # | ||||
2 | |||||
3 | package IO; | ||||
4 | |||||
5 | 2 | 34µs | 1 | 14µs | # spent 14µs within IO::BEGIN@5 which was called:
# once (14µs+0s) by IO::Handle::BEGIN@9 at line 5 # spent 14µs making 1 call to IO::BEGIN@5 |
6 | 2 | 35µs | 2 | 107µs | # spent 59µs (10+49) within IO::BEGIN@6 which was called:
# once (10µs+49µs) by IO::Handle::BEGIN@9 at line 6 # spent 59µs making 1 call to IO::BEGIN@6
# spent 49µs making 1 call to Exporter::import |
7 | 2 | 27µs | 2 | 37µs | # spent 23µs (8+15) within IO::BEGIN@7 which was called:
# once (8µs+15µs) by IO::Handle::BEGIN@9 at line 7 # spent 23µs making 1 call to IO::BEGIN@7
# spent 15µs making 1 call to strict::import |
8 | 2 | 187µs | 2 | 21µs | # spent 15µs (9+6) within IO::BEGIN@8 which was called:
# once (9µs+6µs) by IO::Handle::BEGIN@9 at line 8 # spent 15µs making 1 call to IO::BEGIN@8
# spent 6µs making 1 call to warnings::import |
9 | |||||
10 | 1 | 600ns | our $VERSION = "1.31"; | ||
11 | 1 | 255µs | 1 | 246µs | XSLoader::load 'IO', $VERSION; # spent 246µ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 | 5µs | 1; | ||
26 | |||||
27 | __END__ |