Filename | /usr/lib/perl/5.18/IO.pm |
Statements | Executed 11 statements in 333µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 6µs | 12µs | BEGIN@8 | IO::
1 | 1 | 1 | 5µs | 5µs | BEGIN@5 | IO::
1 | 1 | 1 | 5µs | 28µs | BEGIN@6 | IO::
1 | 1 | 1 | 5µs | 13µ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 | 16µs | 1 | 5µs | # spent 5µs within IO::BEGIN@5 which was called:
# once (5µs+0s) by IO::Handle::BEGIN@9 at line 5 # spent 5µs making 1 call to IO::BEGIN@5 |
6 | 2 | 17µs | 2 | 52µs | # spent 28µs (5+23) within IO::BEGIN@6 which was called:
# once (5µs+23µs) by IO::Handle::BEGIN@9 at line 6 # spent 28µs making 1 call to IO::BEGIN@6
# spent 23µs making 1 call to Exporter::import |
7 | 2 | 15µs | 2 | 21µs | # spent 13µs (5+8) within IO::BEGIN@7 which was called:
# once (5µs+8µs) by IO::Handle::BEGIN@9 at line 7 # spent 13µs making 1 call to IO::BEGIN@7
# spent 8µs making 1 call to strict::import |
8 | 2 | 104µs | 2 | 19µs | # spent 12µs (6+7) within IO::BEGIN@8 which was called:
# once (6µs+7µs) by IO::Handle::BEGIN@9 at line 8 # spent 12µs making 1 call to IO::BEGIN@8
# spent 7µs making 1 call to warnings::import |
9 | |||||
10 | 1 | 400ns | our $VERSION = "1.28"; | ||
11 | 1 | 178µs | 1 | 171µs | XSLoader::load 'IO', $VERSION; # spent 171µ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 | 3µs | 1; | ||
26 | |||||
27 | __END__ |