← Index
NYTProf Performance Profile   « line view »
For t/bug-md-11.t
  Run on Fri Mar 8 13:27:24 2024
Reported on Fri Mar 8 13:30:23 2024

Filename/home/micha/.plenv/versions/5.38.2/lib/perl5/5.38.2/warnings/register.pm
StatementsExecuted 27 statements in 25µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
55517µs78µswarnings::register::::importwarnings::register::import
0000s0swarnings::register::::mkMaskwarnings::register::mkMask
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package warnings::register 1.05;
2
31400nsrequire warnings;
4
5# left here as cruft in case other users were using this undocumented routine
6# -- rjbs, 2010-09-08
7sub mkMask
8{
9 my ($bit) = @_;
10 my $mask = "";
11
12 vec($mask, $bit, 1) = 1;
13 return $mask;
14}
15
16sub import
17
# spent 78µs (17+61) within warnings::register::import which was called 5 times, avg 16µs/call: # once (4µs+16µs) by Tie::Hash::BEGIN@191 at line 191 of Tie/Hash.pm # once (4µs+12µs) by constant::BEGIN@4 at line 4 of constant.pm # once (3µs+12µs) by vars::BEGIN@7 at line 7 of vars.pm # once (3µs+11µs) by overload::BEGIN@143 at line 143 of overload.pm # once (3µs+10µs) by File::Find::BEGIN@5 at line 5 of File/Find.pm
{
185700ns shift;
1951µs my @categories = @_;
20
2153µs my $package = caller;
2254µs561µs warnings::register_categories($package);
# spent 61µs making 5 calls to warnings::register_categories, avg 12µs/call
23
24513µs warnings::register_categories($package . "::$_") for @categories;
25}
2612µs1;
27__END__