← Index
NYTProf Performance Profile   « line view »
For split.pl
  Run on Thu Apr 20 02:05:47 2023
Reported on Thu Apr 20 18:31:09 2023

Filename/usr/share/perl/5.36/PerlIO.pm
StatementsExecuted 10 statements in 100µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
931245211.23s1.23sPerlIO::::get_layersPerlIO::get_layers (xsub)
111166µs309µsPerlIO::::importPerlIO::import
1112µs2µsPerlIO::::CORE:substPerlIO::CORE:subst (opcode)
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package PerlIO;
2
31200nsour $VERSION = '1.12';
4
5# Map layer name to package that defines it
6our %alias;
7
8sub import
9
# spent 309µs (166+142) within PerlIO::import which was called: # once (166µs+142µs) by Text::CSV_XS::BEGIN@1240 at line 1240 of Text/CSV_XS.pm
{
101300ns my $class = shift;
1112µs while (@_)
12 {
131200ns my $layer = shift;
141500ns if (exists $alias{$layer})
15 {
16 $layer = $alias{$layer}
17 }
18 else
19 {
201700ns $layer = "${class}::$layer";
21 }
22293µs12µs eval { require $layer =~ s{::}{/}gr . '.pm' };
# spent 2µs making 1 call to PerlIO::CORE:subst
231600ns warn $@ if $@;
24 }
25}
26
27sub F_UTF8 () { 0x8000 }
28
2912µs1;
30__END__
 
# spent 2µs within PerlIO::CORE:subst which was called: # once (2µs+0s) by PerlIO::import at line 22
sub PerlIO::CORE:subst; # opcode
# spent 1.23s within PerlIO::get_layers which was called 931245 times, avg 1µs/call: # 532140 times (762ms+0s) by Capture::Tiny::_relayer at line 90 of Capture/Tiny.pm, avg 1µs/call # 399105 times (471ms+0s) by Capture::Tiny::_capture_tee at line 320 of Capture/Tiny.pm, avg 1µs/call
sub PerlIO::get_layers; # xsub