← Index
NYTProf Performance Profile   « line view »
For /Users/timbo/perl5/perlbrew/perls/perl-5.18.2/bin/perlcritic
  Run on Sat Mar 19 22:12:22 2016
Reported on Sat Mar 19 22:14:12 2016

Filename/Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/5.18.2/darwin-2level/IO.pm
StatementsExecuted 11 statements in 416µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1118µs8µsIO::::BEGIN@5IO::BEGIN@5
1118µs39µsIO::::BEGIN@6IO::BEGIN@6
1117µs10µsIO::::BEGIN@8IO::BEGIN@8
1116µs16µ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
5219µs18µs
# spent 8µs within IO::BEGIN@5 which was called: # once (8µs+0s) by IO::Handle::BEGIN@269 at line 5
use XSLoader ();
# spent 8µs making 1 call to IO::BEGIN@5
6218µs271µs
# spent 39µs (8+32) within IO::BEGIN@6 which was called: # once (8µs+32µs) by IO::Handle::BEGIN@269 at line 6
use Carp;
# spent 39µs making 1 call to IO::BEGIN@6 # spent 32µs making 1 call to Exporter::import
7217µs227µs
# spent 16µs (6+10) within IO::BEGIN@7 which was called: # once (6µs+10µs) by IO::Handle::BEGIN@269 at line 7
use strict;
# spent 16µs making 1 call to IO::BEGIN@7 # spent 10µs making 1 call to strict::import
82106µs214µs
# spent 10µs (7+4) within IO::BEGIN@8 which was called: # once (7µs+4µs) by IO::Handle::BEGIN@269 at line 8
use warnings;
# spent 10µs making 1 call to IO::BEGIN@8 # spent 4µs making 1 call to warnings::import
9
101500nsour $VERSION = "1.28";
111252µs1244µsXSLoader::load 'IO', $VERSION;
# spent 244µ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 eval join("", map { "require IO::" . (/(\w+)/)[0] . ";\n" } @l)
22 or croak $@;
23}
24
2513µs1;
26
27__END__