← Index
NYTProf Performance Profile   « line view »
For ../prof.pl
  Run on Wed Dec 14 16:10:05 2022
Reported on Wed Dec 14 16:12:57 2022

Filename/Users/ether/perl5/perlbrew/perls/36.0/lib/5.36.0/darwin-2level/IO.pm
StatementsExecuted 11 statements in 785µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11117µs17µsIO::::BEGIN@5IO::BEGIN@5
1118µs47µsIO::::BEGIN@8IO::BEGIN@8
1116µs36µsIO::::BEGIN@6IO::BEGIN@6
1115µs6µsIO::::BEGIN@7IO::BEGIN@7
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
5221µs117µs
# spent 17µs within IO::BEGIN@5 which was called: # once (17µs+0s) by IO::Handle::BEGIN@268 at line 5
use XSLoader ();
# spent 17µs making 1 call to IO::BEGIN@5
6216µs266µs
# spent 36µs (6+30) within IO::BEGIN@6 which was called: # once (6µs+30µs) by IO::Handle::BEGIN@268 at line 6
use Carp;
# spent 36µs making 1 call to IO::BEGIN@6 # spent 30µs making 1 call to Exporter::import
7222µs27µs
# spent 6µs (5+1000ns) within IO::BEGIN@7 which was called: # once (5µs+1000ns) by IO::Handle::BEGIN@268 at line 7
use strict;
# spent 6µs making 1 call to IO::BEGIN@7 # spent 1µs making 1 call to strict::import
82231µs286µs
# spent 47µs (8+39) within IO::BEGIN@8 which was called: # once (8µs+39µs) by IO::Handle::BEGIN@268 at line 8
use warnings;
# spent 47µs making 1 call to IO::BEGIN@8 # spent 39µs making 1 call to warnings::import
9
1010sour $VERSION = "1.50";
111490µs1482µsXSLoader::load 'IO', $VERSION;
# spent 482µ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 local @INC = @INC;
22 pop @INC if $INC[-1] eq '.';
23 eval join("", map { "require IO::" . (/(\w+)/)[0] . ";\n" } @l)
24 or croak $@;
25}
26
2715µs1;
28
29__END__