Filename | /usr/share/perl/5.14/warnings.pm |
Statements | Executed 1518 statements in 6.31ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
193 | 193 | 191 | 3.92ms | 3.99ms | import | warnings::
3 | 1 | 1 | 667µs | 734µs | register_categories | warnings::
11 | 11 | 8 | 407µs | 407µs | unimport | warnings::
6 | 2 | 1 | 68µs | 68µs | _mkMask | warnings::
2 | 1 | 1 | 61µs | 61µs | _bits | warnings::
1 | 1 | 1 | 19µs | 19µs | CORE:regcomp (opcode) | warnings::
1 | 1 | 1 | 5µs | 5µs | CORE:match (opcode) | warnings::
0 | 0 | 0 | 0s | 0s | Croaker | warnings::
0 | 0 | 0 | 0s | 0s | __chk | warnings::
0 | 0 | 0 | 0s | 0s | _error_loc | warnings::
0 | 0 | 0 | 0s | 0s | bits | warnings::
0 | 0 | 0 | 0s | 0s | enabled | warnings::
0 | 0 | 0 | 0s | 0s | fatal_enabled | warnings::
0 | 0 | 0 | 0s | 0s | warn | warnings::
0 | 0 | 0 | 0s | 0s | warnif | warnings::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | # -*- buffer-read-only: t -*- | ||||
2 | # !!!!!!! DO NOT EDIT THIS FILE !!!!!!! | ||||
3 | # This file is built by regen/warnings.pl. | ||||
4 | # Any changes made here will be lost! | ||||
5 | |||||
6 | package warnings; | ||||
7 | |||||
8 | 1 | 2µs | our $VERSION = '1.12'; | ||
9 | |||||
10 | # Verify that we're called correctly so that warnings will work. | ||||
11 | # see also strict.pm. | ||||
12 | 2 | 44µs | 2 | 24µs | unless ( __FILE__ =~ /(^|[\/\\])\Q${\__PACKAGE__}\E\.pmc?$/ ) { # spent 19µs making 1 call to warnings::CORE:regcomp
# spent 5µs making 1 call to warnings::CORE:match |
13 | my (undef, $f, $l) = caller; | ||||
14 | die("Incorrect use of pragma '${\__PACKAGE__}' at $f line $l.\n"); | ||||
15 | } | ||||
16 | |||||
17 | 1 | 24µs | our %Offsets = ( | ||
18 | |||||
19 | # Warnings Categories added in Perl 5.008 | ||||
20 | |||||
21 | 'all' => 0, | ||||
22 | 'closure' => 2, | ||||
23 | 'deprecated' => 4, | ||||
24 | 'exiting' => 6, | ||||
25 | 'glob' => 8, | ||||
26 | 'io' => 10, | ||||
27 | 'closed' => 12, | ||||
28 | 'exec' => 14, | ||||
29 | 'layer' => 16, | ||||
30 | 'newline' => 18, | ||||
31 | 'pipe' => 20, | ||||
32 | 'unopened' => 22, | ||||
33 | 'misc' => 24, | ||||
34 | 'numeric' => 26, | ||||
35 | 'once' => 28, | ||||
36 | 'overflow' => 30, | ||||
37 | 'pack' => 32, | ||||
38 | 'portable' => 34, | ||||
39 | 'recursion' => 36, | ||||
40 | 'redefine' => 38, | ||||
41 | 'regexp' => 40, | ||||
42 | 'severe' => 42, | ||||
43 | 'debugging' => 44, | ||||
44 | 'inplace' => 46, | ||||
45 | 'internal' => 48, | ||||
46 | 'malloc' => 50, | ||||
47 | 'signal' => 52, | ||||
48 | 'substr' => 54, | ||||
49 | 'syntax' => 56, | ||||
50 | 'ambiguous' => 58, | ||||
51 | 'bareword' => 60, | ||||
52 | 'digit' => 62, | ||||
53 | 'parenthesis' => 64, | ||||
54 | 'precedence' => 66, | ||||
55 | 'printf' => 68, | ||||
56 | 'prototype' => 70, | ||||
57 | 'qw' => 72, | ||||
58 | 'reserved' => 74, | ||||
59 | 'semicolon' => 76, | ||||
60 | 'taint' => 78, | ||||
61 | 'threads' => 80, | ||||
62 | 'uninitialized' => 82, | ||||
63 | 'unpack' => 84, | ||||
64 | 'untie' => 86, | ||||
65 | 'utf8' => 88, | ||||
66 | 'void' => 90, | ||||
67 | |||||
68 | # Warnings Categories added in Perl 5.011 | ||||
69 | |||||
70 | 'imprecision' => 92, | ||||
71 | 'illegalproto' => 94, | ||||
72 | |||||
73 | # Warnings Categories added in Perl 5.013 | ||||
74 | |||||
75 | 'non_unicode' => 96, | ||||
76 | 'nonchar' => 98, | ||||
77 | 'surrogate' => 100, | ||||
78 | ); | ||||
79 | |||||
80 | 1 | 27µs | our %Bits = ( | ||
81 | 'all' => "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15", # [0..50] | ||||
82 | 'ambiguous' => "\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00", # [29] | ||||
83 | 'bareword' => "\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00", # [30] | ||||
84 | 'closed' => "\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [6] | ||||
85 | 'closure' => "\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [1] | ||||
86 | 'debugging' => "\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00", # [22] | ||||
87 | 'deprecated' => "\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [2] | ||||
88 | 'digit' => "\x00\x00\x00\x00\x00\x00\x00\x40\x00\x00\x00\x00\x00", # [31] | ||||
89 | 'exec' => "\x00\x40\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [7] | ||||
90 | 'exiting' => "\x40\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [3] | ||||
91 | 'glob' => "\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [4] | ||||
92 | 'illegalproto' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x40\x00", # [47] | ||||
93 | 'imprecision' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00", # [46] | ||||
94 | 'inplace' => "\x00\x00\x00\x00\x00\x40\x00\x00\x00\x00\x00\x00\x00", # [23] | ||||
95 | 'internal' => "\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00", # [24] | ||||
96 | 'io' => "\x00\x54\x55\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [5..11] | ||||
97 | 'layer' => "\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [8] | ||||
98 | 'malloc' => "\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00", # [25] | ||||
99 | 'misc' => "\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [12] | ||||
100 | 'newline' => "\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [9] | ||||
101 | 'non_unicode' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01", # [48] | ||||
102 | 'nonchar' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04", # [49] | ||||
103 | 'numeric' => "\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [13] | ||||
104 | 'once' => "\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [14] | ||||
105 | 'overflow' => "\x00\x00\x00\x40\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [15] | ||||
106 | 'pack' => "\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00", # [16] | ||||
107 | 'parenthesis' => "\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00", # [32] | ||||
108 | 'pipe' => "\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [10] | ||||
109 | 'portable' => "\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00", # [17] | ||||
110 | 'precedence' => "\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00", # [33] | ||||
111 | 'printf' => "\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00", # [34] | ||||
112 | 'prototype' => "\x00\x00\x00\x00\x00\x00\x00\x00\x40\x00\x00\x00\x00", # [35] | ||||
113 | 'qw' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00", # [36] | ||||
114 | 'recursion' => "\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00", # [18] | ||||
115 | 'redefine' => "\x00\x00\x00\x00\x40\x00\x00\x00\x00\x00\x00\x00\x00", # [19] | ||||
116 | 'regexp' => "\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00", # [20] | ||||
117 | 'reserved' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00", # [37] | ||||
118 | 'semicolon' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00", # [38] | ||||
119 | 'severe' => "\x00\x00\x00\x00\x00\x54\x05\x00\x00\x00\x00\x00\x00", # [21..25] | ||||
120 | 'signal' => "\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00", # [26] | ||||
121 | 'substr' => "\x00\x00\x00\x00\x00\x00\x40\x00\x00\x00\x00\x00\x00", # [27] | ||||
122 | 'surrogate' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10", # [50] | ||||
123 | 'syntax' => "\x00\x00\x00\x00\x00\x00\x00\x55\x55\x15\x00\x40\x00", # [28..38,47] | ||||
124 | 'taint' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x40\x00\x00\x00", # [39] | ||||
125 | 'threads' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00", # [40] | ||||
126 | 'uninitialized' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00", # [41] | ||||
127 | 'unopened' => "\x00\x00\x40\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [11] | ||||
128 | 'unpack' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00", # [42] | ||||
129 | 'untie' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x40\x00\x00", # [43] | ||||
130 | 'utf8' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x15", # [44,48..50] | ||||
131 | 'void' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00", # [45] | ||||
132 | ); | ||||
133 | |||||
134 | 1 | 23µs | our %DeadBits = ( | ||
135 | 'all' => "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\x2a", # [0..50] | ||||
136 | 'ambiguous' => "\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00\x00\x00", # [29] | ||||
137 | 'bareword' => "\x00\x00\x00\x00\x00\x00\x00\x20\x00\x00\x00\x00\x00", # [30] | ||||
138 | 'closed' => "\x00\x20\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [6] | ||||
139 | 'closure' => "\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [1] | ||||
140 | 'debugging' => "\x00\x00\x00\x00\x00\x20\x00\x00\x00\x00\x00\x00\x00", # [22] | ||||
141 | 'deprecated' => "\x20\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [2] | ||||
142 | 'digit' => "\x00\x00\x00\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00", # [31] | ||||
143 | 'exec' => "\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [7] | ||||
144 | 'exiting' => "\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [3] | ||||
145 | 'glob' => "\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [4] | ||||
146 | 'illegalproto' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00", # [47] | ||||
147 | 'imprecision' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x20\x00", # [46] | ||||
148 | 'inplace' => "\x00\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00", # [23] | ||||
149 | 'internal' => "\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00", # [24] | ||||
150 | 'io' => "\x00\xa8\xaa\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [5..11] | ||||
151 | 'layer' => "\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [8] | ||||
152 | 'malloc' => "\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00", # [25] | ||||
153 | 'misc' => "\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [12] | ||||
154 | 'newline' => "\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [9] | ||||
155 | 'non_unicode' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02", # [48] | ||||
156 | 'nonchar' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08", # [49] | ||||
157 | 'numeric' => "\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [13] | ||||
158 | 'once' => "\x00\x00\x00\x20\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [14] | ||||
159 | 'overflow' => "\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [15] | ||||
160 | 'pack' => "\x00\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00", # [16] | ||||
161 | 'parenthesis' => "\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\x00", # [32] | ||||
162 | 'pipe' => "\x00\x00\x20\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [10] | ||||
163 | 'portable' => "\x00\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00\x00", # [17] | ||||
164 | 'precedence' => "\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00\x00", # [33] | ||||
165 | 'printf' => "\x00\x00\x00\x00\x00\x00\x00\x00\x20\x00\x00\x00\x00", # [34] | ||||
166 | 'prototype' => "\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x00\x00\x00", # [35] | ||||
167 | 'qw' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00", # [36] | ||||
168 | 'recursion' => "\x00\x00\x00\x00\x20\x00\x00\x00\x00\x00\x00\x00\x00", # [18] | ||||
169 | 'redefine' => "\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00", # [19] | ||||
170 | 'regexp' => "\x00\x00\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00", # [20] | ||||
171 | 'reserved' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00", # [37] | ||||
172 | 'semicolon' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x20\x00\x00\x00", # [38] | ||||
173 | 'severe' => "\x00\x00\x00\x00\x00\xa8\x0a\x00\x00\x00\x00\x00\x00", # [21..25] | ||||
174 | 'signal' => "\x00\x00\x00\x00\x00\x00\x20\x00\x00\x00\x00\x00\x00", # [26] | ||||
175 | 'substr' => "\x00\x00\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00", # [27] | ||||
176 | 'surrogate' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x20", # [50] | ||||
177 | 'syntax' => "\x00\x00\x00\x00\x00\x00\x00\xaa\xaa\x2a\x00\x80\x00", # [28..38,47] | ||||
178 | 'taint' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x00\x00", # [39] | ||||
179 | 'threads' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00", # [40] | ||||
180 | 'uninitialized' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00", # [41] | ||||
181 | 'unopened' => "\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", # [11] | ||||
182 | 'unpack' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x20\x00\x00", # [42] | ||||
183 | 'untie' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x00", # [43] | ||||
184 | 'utf8' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x2a", # [44,48..50] | ||||
185 | 'void' => "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00", # [45] | ||||
186 | ); | ||||
187 | |||||
188 | 1 | 1µs | $NONE = "\0\0\0\0\0\0\0\0\0\0\0\0\0"; | ||
189 | 1 | 1µs | $LAST_BIT = 102 ; | ||
190 | 1 | 1µs | $BYTES = 13 ; | ||
191 | |||||
192 | 2 | 14µs | $All = "" ; vec($All, $Offsets{'all'}, 2) = 3 ; | ||
193 | |||||
194 | sub Croaker | ||||
195 | { | ||||
196 | require Carp; # this initializes %CarpInternal | ||||
197 | local $Carp::CarpInternal{'warnings'}; | ||||
198 | delete $Carp::CarpInternal{'warnings'}; | ||||
199 | Carp::croak(@_); | ||||
200 | } | ||||
201 | |||||
202 | # spent 61µs within warnings::_bits which was called 2 times, avg 31µs/call:
# 2 times (61µs+0s) by warnings::import at line 248, avg 31µs/call | ||||
203 | 12 | 37µs | my $mask = shift ; | ||
204 | my $catmask ; | ||||
205 | my $fatal = 0 ; | ||||
206 | my $no_fatal = 0 ; | ||||
207 | |||||
208 | foreach my $word ( @_ ) { | ||||
209 | 8 | 23µs | if ($word eq 'FATAL') { | ||
210 | $fatal = 1; | ||||
211 | $no_fatal = 0; | ||||
212 | } | ||||
213 | elsif ($word eq 'NONFATAL') { | ||||
214 | $fatal = 0; | ||||
215 | $no_fatal = 1; | ||||
216 | } | ||||
217 | elsif ($catmask = $Bits{$word}) { | ||||
218 | $mask |= $catmask ; | ||||
219 | $mask |= $DeadBits{$word} if $fatal ; | ||||
220 | $mask &= ~($DeadBits{$word}|$All) if $no_fatal ; | ||||
221 | } | ||||
222 | else | ||||
223 | { Croaker("Unknown warnings category '$word'")} | ||||
224 | } | ||||
225 | |||||
226 | return $mask ; | ||||
227 | } | ||||
228 | |||||
229 | sub bits | ||||
230 | { | ||||
231 | # called from B::Deparse.pm | ||||
232 | push @_, 'all' unless @_ ; | ||||
233 | return _bits(undef, @_) ; | ||||
234 | } | ||||
235 | |||||
236 | sub import | ||||
237 | # spent 3.99ms (3.92+61µs) within warnings::import which was called 193 times, avg 21µs/call:
# once (18µs+34µs) by Foswiki::Query::Node::BEGIN@109 at line 109 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/Node.pm
# once (22µs+27µs) by Assert::BEGIN@61 at line 61 of /usr/local/src/github.com/foswiki/core/lib/Assert.pm
# once (45µs+0s) by Foswiki::Serialise::Embedded::BEGIN@16 at line 16 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Serialise/Embedded.pm
# once (41µs+0s) by Foswiki::UI::View::BEGIN@14 at line 14 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/UI/View.pm
# once (38µs+0s) by Foswiki::Attrs::BEGIN@50 at line 50 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Attrs.pm
# once (36µs+0s) by Foswiki::BEGIN@5 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Macros/FORMFIELD.pm
# once (36µs+0s) by Foswiki::Logger::PlainFile::BEGIN@5 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Logger/PlainFile.pm
# once (35µs+0s) by Foswiki::Plurals::BEGIN@14 at line 14 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plurals.pm
# once (35µs+0s) by Foswiki::BEGIN@5.34 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Macros/WIKIUSERNAME.pm
# once (35µs+0s) by Foswiki::Form::Checkbox::BEGIN@5 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Form/Checkbox.pm
# once (34µs+0s) by Foswiki::BEGIN@5.62 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Macros/ENCODE.pm
# once (34µs+0s) by Foswiki::BEGIN@5.47 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Macros/REVARG.pm
# once (34µs+0s) by Foswiki::Store::QueryAlgorithms::BruteForce::BEGIN@27 at line 27 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Store/QueryAlgorithms/BruteForce.pm
# once (34µs+0s) by Foswiki::BEGIN@5.43 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Macros/META.pm
# once (29µs+0s) by Foswiki::Configure::Load::BEGIN@15 at line 15 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Configure/Load.pm
# once (27µs+0s) by Foswiki::BEGIN@5.30 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Macros/URLPARAM.pm
# once (26µs+0s) by Foswiki::LoginManager::TemplateLogin::BEGIN@20 at line 20 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/LoginManager/TemplateLogin.pm
# once (25µs+0s) by Foswiki::BEGIN@3 at line 3 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Prefs.pm
# once (25µs+0s) by Foswiki::Form::BEGIN@33 at line 33 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Form.pm
# once (25µs+0s) by Foswiki::If::OP_allows::BEGIN@13 at line 13 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/If/OP_allows.pm
# once (24µs+0s) by Foswiki::Users::HtPasswdUser::BEGIN@16 at line 16 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Users/HtPasswdUser.pm
# once (24µs+0s) by main::BEGIN@4 at line 4 of view
# once (24µs+0s) by Foswiki::Plugins::CommentPlugin::BEGIN@6 at line 6 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/CommentPlugin/Comment.pm
# once (24µs+0s) by Foswiki::Sandbox::BEGIN@34 at line 34 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Sandbox.pm
# once (24µs+0s) by Foswiki::UI::Rest::BEGIN@14 at line 14 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/UI/Rest.pm
# once (24µs+0s) by Foswiki::Plugins::SpreadSheetPlugin::BEGIN@8 at line 8 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/SpreadSheetPlugin.pm
# once (24µs+0s) by Foswiki::Form::Label::BEGIN@5 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Form/Label.pm
# once (24µs+0s) by Foswiki::Time::BEGIN@36 at line 36 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Time.pm
# once (24µs+0s) by Foswiki::UI::BEGIN@14 at line 14 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/UI.pm
# once (24µs+0s) by Foswiki::Query::OP_d2n::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_d2n.pm
# once (23µs+0s) by Foswiki::Engine::CGI::BEGIN@16 at line 16 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Engine/CGI.pm
# once (23µs+0s) by Foswiki::I18N::Fallback::BEGIN@8 at line 8 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/I18N/Fallback.pm
# once (23µs+0s) by Foswiki::Search::ResultSet::BEGIN@18 at line 18 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Search/ResultSet.pm
# once (23µs+0s) by utf8::BEGIN@3 at line 3 of utf8_heavy.pl
# once (23µs+0s) by Foswiki::BEGIN@5.24 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Macros/MAKETEXT.pm
# once (23µs+0s) by Foswiki::Prefs::BaseBackend::BEGIN@15 at line 15 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Prefs/BaseBackend.pm
# once (22µs+0s) by Foswiki::Form::Radio::BEGIN@5 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Form/Radio.pm
# once (22µs+0s) by Foswiki::Contrib::MailerContrib::BEGIN@16 at line 16 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Contrib/MailerContrib.pm
# once (22µs+0s) by Foswiki::LoginManager::Session::BEGIN@20 at line 20 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/LoginManager/Session.pm
# once (22µs+0s) by Foswiki::Attach::BEGIN@14 at line 14 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Attach.pm
# once (22µs+0s) by Foswiki::Plugins::TablePlugin::BEGIN@4 at line 4 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/TablePlugin/Core.pm
# once (22µs+0s) by Foswiki::Plugins::JQueryPlugin::FOSWIKI::BEGIN@4 at line 4 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/JQueryPlugin/FOSWIKI.pm
# once (22µs+0s) by Foswiki::Contrib::MailerContrib::Subscriber::BEGIN@18 at line 18 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Contrib/MailerContrib/Subscriber.pm
# once (22µs+0s) by Foswiki::Form::Select::BEGIN@4 at line 4 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Form/Select.pm
# once (22µs+0s) by CGI::Cookie::BEGIN@4 at line 4 of CGI/Cookie.pm
# once (22µs+0s) by Foswiki::BEGIN@5.32 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Macros/INCLUDE.pm
# once (22µs+0s) by Foswiki::Address::BEGIN@64 at line 64 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Address.pm
# once (21µs+0s) by Foswiki::BEGIN@5.49 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Macros/ADDTOHEAD.pm
# once (21µs+0s) by Foswiki::Plugins::HistoryPlugin::BEGIN@6 at line 6 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/HistoryPlugin.pm
# once (21µs+0s) by Foswiki::Users::BaseUserMapping::BEGIN@31 at line 31 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Users/BaseUserMapping.pm
# once (21µs+0s) by Foswiki::Form::Textboxlist::BEGIN@9 at line 9 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Form/Textboxlist.pm
# once (21µs+0s) by Carp::BEGIN@4 at line 4 of Carp.pm
# once (21µs+0s) by Foswiki::Serialise::Simplified::BEGIN@14 at line 14 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Serialise/Simplified.pm
# once (21µs+0s) by Foswiki::Request::Upload::BEGIN@14 at line 14 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Request/Upload.pm
# once (21µs+0s) by Foswiki::Plugins::CompareRevisionsAddonPlugin::BEGIN@16 at line 16 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/CompareRevisionsAddonPlugin.pm
# once (21µs+0s) by Foswiki::Search::BEGIN@13 at line 13 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Search.pm
# once (20µs+0s) by Foswiki::Prefs::Stack::BEGIN@27 at line 27 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Prefs/Stack.pm
# once (20µs+0s) by Foswiki::WebFilter::BEGIN@5 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/WebFilter.pm
# once (20µs+0s) by Monitor::BEGIN@41 at line 41 of /usr/local/src/github.com/foswiki/core/lib/Monitor.pm
# once (20µs+0s) by Foswiki::Plugins::UpdatesPlugin::BEGIN@19 at line 19 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/UpdatesPlugin.pm
# once (20µs+0s) by Foswiki::Store::VC::RcsWrapHandler::BEGIN@20 at line 20 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Store/VC/RcsWrapHandler.pm
# once (20µs+0s) by Foswiki::LineIterator::BEGIN@15 at line 15 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/LineIterator.pm
# once (20µs+0s) by Config::BEGIN@10 at line 10 of Config.pm
# once (20µs+0s) by Foswiki::Prefs::TopicRAM::BEGIN@17 at line 17 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Prefs/TopicRAM.pm
# once (20µs+0s) by Foswiki::Prefs::HASH::BEGIN@18 at line 18 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Prefs/HASH.pm
# once (20µs+0s) by Foswiki::Templates::BEGIN@34 at line 34 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Templates.pm
# once (20µs+0s) by Foswiki::Store::BEGIN@53 at line 53 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Store.pm
# once (20µs+0s) by Foswiki::I18N::BEGIN@14 at line 14 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/I18N.pm
# once (20µs+0s) by Foswiki::Contrib::MailerContrib::WebNotify::BEGIN@16 at line 16 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Contrib/MailerContrib/WebNotify.pm
# once (19µs+0s) by Foswiki::Users::TopicUserMapping::BEGIN@32 at line 32 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Users/TopicUserMapping.pm
# once (19µs+0s) by Foswiki::BEGIN@5.26 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Macros/ADDTOZONE.pm
# once (19µs+0s) by Foswiki::Plugins::InterwikiPlugin::BEGIN@24 at line 24 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/InterwikiPlugin.pm
# once (19µs+0s) by Foswiki::BEGIN@5.51 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Macros/FORMAT.pm
# once (19µs+0s) by Foswiki::BEGIN@5.64 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Macros/USERNAME.pm
# once (19µs+0s) by re::BEGIN@5 at line 5 of re.pm
# once (19µs+0s) by Foswiki::BEGIN@5.28 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Macros/IF.pm
# once (19µs+0s) by Foswiki::Query::OP_or::BEGIN@14 at line 14 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_or.pm
# once (19µs+0s) by Foswiki::Plugins::MailerContribPlugin::BEGIN@5 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/MailerContribPlugin.pm
# once (19µs+0s) by Foswiki::Iterator::ProcessIterator::BEGIN@15 at line 15 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Iterator/ProcessIterator.pm
# once (19µs+0s) by Foswiki::Contrib::MailerContrib::Change::BEGIN@13 at line 13 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Contrib/MailerContrib/Change.pm
# once (19µs+0s) by Foswiki::If::OP_istopic::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/If/OP_istopic.pm
# once (19µs+0s) by File::Basename::BEGIN@52 at line 52 of File/Basename.pm
# once (19µs+0s) by Foswiki::Plugins::BEGIN@18 at line 18 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins.pm
# once (19µs+0s) by Foswiki::Plugins::JQueryPlugin::BEGIN@4 at line 4 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/JQueryPlugin.pm
# once (19µs+0s) by Foswiki::Request::BEGIN@30 at line 30 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Request.pm
# once (19µs+0s) by Foswiki::BEGIN@5.38 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Macros/WIKINAME.pm
# once (19µs+0s) by Foswiki::Logger::BEGIN@5 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Logger.pm
# once (19µs+0s) by Foswiki::Plugins::AutoViewTemplatePlugin::BEGIN@15 at line 15 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/AutoViewTemplatePlugin.pm
# once (19µs+0s) by Foswiki::Plugins::SlideShowPlugin::BEGIN@6 at line 6 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/SlideShowPlugin.pm
# once (19µs+0s) by Foswiki::Serialise::BEGIN@5 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Serialise.pm
# once (19µs+0s) by Foswiki::Iterator::NumberRangeIterator::BEGIN@16 at line 16 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Iterator/NumberRangeIterator.pm
# once (19µs+0s) by Foswiki::Plugins::TablePlugin::BEGIN@9 at line 9 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/TablePlugin.pm
# once (18µs+0s) by Foswiki::ValidationException::BEGIN@13 at line 13 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/ValidationException.pm
# once (18µs+0s) by Foswiki::Plugins::RenderListPlugin::BEGIN@25 at line 25 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/RenderListPlugin.pm
# once (18µs+0s) by Foswiki::BEGIN@5.45 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Macros/REVINFO.pm
# once (18µs+0s) by Foswiki::LoginManager::BEGIN@52 at line 52 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/LoginManager.pm
# once (18µs+0s) by Foswiki::Plugins::JQueryPlugin::LIVEQUERY::BEGIN@4 at line 4 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/JQueryPlugin/LIVEQUERY.pm
# once (18µs+0s) by Foswiki::Plugins::TwistyPlugin::BEGIN@15 at line 15 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/TwistyPlugin.pm
# once (18µs+0s) by Foswiki::Users::BEGIN@60 at line 60 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Users.pm
# once (18µs+0s) by Foswiki::Prefs::Web::BEGIN@19 at line 19 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Prefs/Web.pm
# once (18µs+0s) by Foswiki::Store::RcsWrap::BEGIN@21 at line 21 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Store/RcsWrap.pm
# once (18µs+0s) by Foswiki::If::Node::BEGIN@14 at line 14 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/If/Node.pm
# once (18µs+0s) by Foswiki::If::OP_context::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/If/OP_context.pm
# once (18µs+0s) by Foswiki::Form::Text::BEGIN@5 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Form/Text.pm
# once (18µs+0s) by Foswiki::Render::BEGIN@13 at line 13 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Render.pm
# once (18µs+0s) by Foswiki::Query::Node::BEGIN@30 at line 30 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/Node.pm
# once (18µs+0s) by Foswiki::Query::OP_int::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_int.pm
# once (18µs+0s) by Foswiki::Query::OP_lte::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_lte.pm
# once (18µs+0s) by Foswiki::Plugins::PreferencesPlugin::BEGIN@28 at line 28 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/PreferencesPlugin.pm
# once (18µs+0s) by Foswiki::Query::OP_dot::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_dot.pm
# once (18µs+0s) by Foswiki::Form::ListFieldDefinition::BEGIN@15 at line 15 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Form/ListFieldDefinition.pm
# once (18µs+0s) by Foswiki::Query::OP_ne::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_ne.pm
# once (18µs+0s) by Foswiki::Query::OP_like::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_like.pm
# once (18µs+0s) by Foswiki::Infix::Error::BEGIN@14 at line 14 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Infix/Error.pm
# once (18µs+0s) by Foswiki::BEGIN@5.66 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Macros/QUERY.pm
# once (18µs+0s) by Foswiki::UserMapping::BEGIN@36 at line 36 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/UserMapping.pm
# once (18µs+0s) by Foswiki::Query::OP_gte::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_gte.pm
# once (18µs+0s) by Foswiki::ListIterator::BEGIN@17 at line 17 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/ListIterator.pm
# once (18µs+0s) by Foswiki::Plugins::EditTablePlugin::BEGIN@8 at line 8 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/EditTablePlugin.pm
# once (18µs+0s) by IO::BEGIN@8 at line 8 of IO.pm
# once (18µs+0s) by Foswiki::AccessControlException::BEGIN@48 at line 48 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/AccessControlException.pm
# once (18µs+0s) by Foswiki::Query::OP_gt::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_gt.pm
# once (18µs+0s) by Foswiki::Iterator::PagerIterator::BEGIN@14 at line 14 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Iterator/PagerIterator.pm
# once (18µs+0s) by Foswiki::Plugins::TinyMCEPlugin::BEGIN@6 at line 6 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/TinyMCEPlugin.pm
# once (18µs+0s) by Foswiki::Query::OP_lt::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_lt.pm
# once (18µs+0s) by Foswiki::Plugin::BEGIN@9 at line 9 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugin.pm
# once (18µs+0s) by Foswiki::Query::OP_in::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_in.pm
# once (18µs+0s) by Foswiki::Func::BEGIN@56 at line 56 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Func.pm
# once (18µs+0s) by Foswiki::Query::HoistREs::BEGIN@53 at line 53 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/HoistREs.pm
# once (18µs+0s) by Foswiki::Contrib::MailerContrib::Subscription::BEGIN@16 at line 16 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Contrib/MailerContrib/Subscription.pm
# once (18µs+0s) by Foswiki::Iterator::FilterIterator::BEGIN@14 at line 14 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Iterator/FilterIterator.pm
# once (18µs+0s) by Foswiki::Query::OP_and::BEGIN@14 at line 14 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_and.pm
# once (18µs+0s) by Foswiki::Query::OP_lc::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_lc.pm
# once (18µs+0s) by Foswiki::Query::OP_empty::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_empty.pm
# once (18µs+0s) by Foswiki::Query::OP_comma::BEGIN@13 at line 13 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_comma.pm
# once (18µs+0s) by Foswiki::Query::OP_ob::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_ob.pm
# once (18µs+0s) by Foswiki::Plugins::JQueryPlugin::TEXTBOXLIST::BEGIN@4 at line 4 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/JQueryPlugin/TEXTBOXLIST.pm
# once (18µs+0s) by Foswiki::Form::FieldDefinition::BEGIN@19 at line 19 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Form/FieldDefinition.pm
# once (18µs+0s) by Foswiki::Plugins::SmiliesPlugin::BEGIN@8 at line 8 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/SmiliesPlugin.pm
# once (18µs+0s) by Foswiki::BEGIN@45 at line 45 of /usr/local/src/github.com/foswiki/core/lib/Foswiki.pm
# once (18µs+0s) by Foswiki::MetaCache::BEGIN@4 at line 4 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/MetaCache.pm
# once (18µs+0s) by Foswiki::Contrib::MailerContrib::UpData::BEGIN@14 at line 14 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Contrib/MailerContrib/UpData.pm
# once (18µs+0s) by Foswiki::OopsException::BEGIN@94 at line 94 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/OopsException.pm
# once (18µs+0s) by Foswiki::Query::OP_ref::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_ref.pm
# once (18µs+0s) by Foswiki::If::Parser::BEGIN@14 at line 14 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/If/Parser.pm
# once (18µs+0s) by Foswiki::Query::OP_where::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_where.pm
# once (18µs+0s) by Foswiki::Query::OP_plus::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_plus.pm
# once (18µs+0s) by Foswiki::Query::OP_neg::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_neg.pm
# once (18µs+0s) by Foswiki::Query::OP_eq::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_eq.pm
# once (18µs+0s) by Foswiki::Render::Anchors::BEGIN@17 at line 17 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Render/Anchors.pm
# once (18µs+0s) by Foswiki::BEGIN@5.36 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Macros/USERINFO.pm
# once (18µs+0s) by Foswiki::Plugins::JQueryPlugin::Plugin::BEGIN@8 at line 8 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/JQueryPlugin/Plugin.pm
# once (18µs+0s) by Foswiki::If::OP_isempty::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/If/OP_isempty.pm
# once (18µs+0s) by Foswiki::If::OP_defined::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/If/OP_defined.pm
# once (18µs+0s) by Foswiki::BEGIN@5.41 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Macros/SPACEOUT.pm
# once (18µs+0s) by Foswiki::Search::InfoCache::BEGIN@4 at line 4 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Search/InfoCache.pm
# once (18µs+0s) by Foswiki::Plugins::WysiwygPlugin::BEGIN@26 at line 26 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/WysiwygPlugin.pm
# once (18µs+0s) by Foswiki::EngineException::BEGIN@17 at line 17 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/EngineException.pm
# once (18µs+0s) by Foswiki::Plugins::CommentPlugin::BEGIN@8 at line 8 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/CommentPlugin.pm
# once (18µs+0s) by Foswiki::Meta::BEGIN@116 at line 116 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Meta.pm
# once (18µs+0s) by Foswiki::Query::OP_not::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_not.pm
# once (18µs+0s) by Foswiki::Validation::BEGIN@5 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Validation.pm
# once (18µs+0s) by Foswiki::Query::OP_length::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_length.pm
# once (18µs+0s) by Foswiki::If::OP_isweb::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/If/OP_isweb.pm
# once (18µs+0s) by Foswiki::AggregateIterator::BEGIN@14 at line 14 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/AggregateIterator.pm
# once (18µs+0s) by Foswiki::Plugins::JQueryPlugin::UI::BEGIN@4 at line 4 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/JQueryPlugin/UI.pm
# once (18µs+0s) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@5 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Store/Interfaces/QueryAlgorithm.pm
# once (18µs+0s) by Foswiki::Iterator::BEGIN@22 at line 22 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Iterator.pm
# once (18µs+0s) by Foswiki::Query::OP_uc::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_uc.pm
# once (18µs+0s) by Foswiki::Query::OP_div::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_div.pm
# once (18µs+0s) by Foswiki::If::OP_dollar::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/If/OP_dollar.pm
# once (18µs+0s) by Foswiki::Search::Node::BEGIN@13 at line 13 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Search/Node.pm
# once (17µs+0s) by Foswiki::Plugins::JQueryPlugin::Plugins::BEGIN@5 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/JQueryPlugin/Plugins.pm
# once (17µs+0s) by Foswiki::Query::OP_match::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_match.pm
# once (17µs+0s) by Foswiki::Response::BEGIN@20 at line 20 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Response.pm
# once (17µs+0s) by Foswiki::Prefs::Parser::BEGIN@19 at line 19 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Prefs/Parser.pm
# once (17µs+0s) by Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@5 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Store/Interfaces/SearchAlgorithm.pm
# once (17µs+0s) by Foswiki::Plugins::JQueryPlugin::METADATA::BEGIN@4 at line 4 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/JQueryPlugin/METADATA.pm
# once (17µs+0s) by Foswiki::Users::Password::BEGIN@18 at line 18 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Users/Password.pm
# once (17µs+0s) by Foswiki::Query::UnaryOP::BEGIN@5 at line 5 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/UnaryOP.pm
# once (17µs+0s) by File::Copy::BEGIN@12 at line 12 of File/Copy.pm
# once (17µs+0s) by Foswiki::Infix::Node::BEGIN@15 at line 15 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Infix/Node.pm
# once (17µs+0s) by Foswiki::Query::OP_times::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_times.pm
# once (17µs+0s) by Foswiki::Engine::BEGIN@18 at line 18 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Engine.pm
# once (17µs+0s) by Foswiki::Store::VC::Store::BEGIN@34 at line 34 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Store/VC/Store.pm
# once (17µs+0s) by Foswiki::Store::VC::Handler::BEGIN@27 at line 27 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Store/VC/Handler.pm
# once (17µs+0s) by Foswiki::Query::Parser::BEGIN@18 at line 18 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/Parser.pm
# once (17µs+0s) by Foswiki::Query::ConditionalOP::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/ConditionalOP.pm
# once (17µs+0s) by Foswiki::Query::OP_minus::BEGIN@12 at line 12 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_minus.pm
# once (17µs+0s) by Foswiki::Query::OP::BEGIN@17 at line 17 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP.pm
# once (17µs+0s) by Foswiki::Infix::Parser::BEGIN@22 at line 22 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Infix/Parser.pm
# once (17µs+0s) by Foswiki::If::OP_ingroup::BEGIN@13 at line 13 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/If/OP_ingroup.pm
# once (12µs+0s) by Monitor::BEGIN@103 at line 103 of /usr/local/src/github.com/foswiki/core/lib/Monitor.pm | ||||
238 | 772 | 4.01ms | shift; | ||
239 | |||||
240 | my $mask = ${^WARNING_BITS} ; | ||||
241 | |||||
242 | 380 | 831µs | if (vec($mask, $Offsets{'all'}, 1)) { | ||
243 | $mask |= $Bits{'all'} ; | ||||
244 | $mask |= $DeadBits{'all'} if vec($mask, $Offsets{'all'}+1, 1); | ||||
245 | } | ||||
246 | |||||
247 | # Empty @_ is equivalent to @_ = 'all' ; | ||||
248 | 2 | 61µs | ${^WARNING_BITS} = @_ ? _bits($mask, @_) : $mask | $Bits{all} ; # spent 61µs making 2 calls to warnings::_bits, avg 31µs/call | ||
249 | } | ||||
250 | |||||
251 | sub unimport | ||||
252 | # spent 407µs within warnings::unimport which was called 11 times, avg 37µs/call:
# once (46µs+0s) by utf8::BEGIN@460 at line 460 of utf8_heavy.pl
# once (43µs+0s) by Foswiki::Query::Node::BEGIN@93 at line 93 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/Node.pm
# once (41µs+0s) by Assert::BEGIN@46 at line 46 of /usr/local/src/github.com/foswiki/core/lib/Assert.pm
# once (38µs+0s) by Exporter::Heavy::BEGIN@183 at line 183 of Exporter/Heavy.pm
# once (37µs+0s) by utf8::BEGIN@117 at line 117 of utf8_heavy.pl
# once (37µs+0s) by CGI::Cookie::BEGIN@149 at line 149 of CGI/Cookie.pm
# once (36µs+0s) by Carp::BEGIN@342 at line 342 of Carp.pm
# once (33µs+0s) by utf8::BEGIN@251 at line 251 of CGI/Util.pm
# once (33µs+0s) by Monitor::BEGIN@97 at line 97 of /usr/local/src/github.com/foswiki/core/lib/Monitor.pm
# once (32µs+0s) by Monitor::BEGIN@231 at line 231 of /usr/local/src/github.com/foswiki/core/lib/Monitor.pm
# once (31µs+0s) by Monitor::BEGIN@280 at line 280 of /usr/local/src/github.com/foswiki/core/lib/Monitor.pm | ||||
253 | 77 | 299µs | shift; | ||
254 | |||||
255 | my $catmask ; | ||||
256 | my $mask = ${^WARNING_BITS} ; | ||||
257 | |||||
258 | 22 | 46µs | if (vec($mask, $Offsets{'all'}, 1)) { | ||
259 | $mask |= $Bits{'all'} ; | ||||
260 | $mask |= $DeadBits{'all'} if vec($mask, $Offsets{'all'}+1, 1); | ||||
261 | } | ||||
262 | |||||
263 | push @_, 'all' unless @_; | ||||
264 | |||||
265 | foreach my $word ( @_ ) { | ||||
266 | 22 | 105µs | if ($word eq 'FATAL') { | ||
267 | next; | ||||
268 | } | ||||
269 | elsif ($catmask = $Bits{$word}) { | ||||
270 | $mask &= ~($catmask | $DeadBits{$word} | $All); | ||||
271 | } | ||||
272 | else | ||||
273 | { Croaker("Unknown warnings category '$word'")} | ||||
274 | } | ||||
275 | |||||
276 | ${^WARNING_BITS} = $mask ; | ||||
277 | } | ||||
278 | |||||
279 | 2 | 6µs | my %builtin_type; @builtin_type{qw(SCALAR ARRAY HASH CODE REF GLOB LVALUE Regexp)} = (); | ||
280 | |||||
281 | sub MESSAGE () { 4 }; | ||||
282 | sub FATAL () { 2 }; | ||||
283 | sub NORMAL () { 1 }; | ||||
284 | |||||
285 | sub __chk | ||||
286 | { | ||||
287 | my $category ; | ||||
288 | my $offset ; | ||||
289 | my $isobj = 0 ; | ||||
290 | my $wanted = shift; | ||||
291 | my $has_message = $wanted & MESSAGE; | ||||
292 | |||||
293 | unless (@_ == 1 || @_ == ($has_message ? 2 : 0)) { | ||||
294 | my $sub = (caller 1)[3]; | ||||
295 | my $syntax = $has_message ? "[category,] 'message'" : '[category]'; | ||||
296 | Croaker("Usage: $sub($syntax)"); | ||||
297 | } | ||||
298 | |||||
299 | my $message = pop if $has_message; | ||||
300 | |||||
301 | if (@_) { | ||||
302 | # check the category supplied. | ||||
303 | $category = shift ; | ||||
304 | if (my $type = ref $category) { | ||||
305 | Croaker("not an object") | ||||
306 | if exists $builtin_type{$type}; | ||||
307 | $category = $type; | ||||
308 | $isobj = 1 ; | ||||
309 | } | ||||
310 | $offset = $Offsets{$category}; | ||||
311 | Croaker("Unknown warnings category '$category'") | ||||
312 | unless defined $offset; | ||||
313 | } | ||||
314 | else { | ||||
315 | $category = (caller(1))[0] ; | ||||
316 | $offset = $Offsets{$category}; | ||||
317 | Croaker("package '$category' not registered for warnings") | ||||
318 | unless defined $offset ; | ||||
319 | } | ||||
320 | |||||
321 | my $i; | ||||
322 | |||||
323 | if ($isobj) { | ||||
324 | my $pkg; | ||||
325 | $i = 2; | ||||
326 | while (do { { package DB; $pkg = (caller($i++))[0] } } ) { | ||||
327 | last unless @DB::args && $DB::args[0] =~ /^$category=/ ; | ||||
328 | } | ||||
329 | $i -= 2 ; | ||||
330 | } | ||||
331 | else { | ||||
332 | $i = _error_loc(); # see where Carp will allocate the error | ||||
333 | } | ||||
334 | |||||
335 | # Defaulting this to 0 reduces complexity in code paths below. | ||||
336 | my $callers_bitmask = (caller($i))[9] || 0 ; | ||||
337 | |||||
338 | my @results; | ||||
339 | foreach my $type (FATAL, NORMAL) { | ||||
340 | next unless $wanted & $type; | ||||
341 | |||||
342 | push @results, (vec($callers_bitmask, $offset + $type - 1, 1) || | ||||
343 | vec($callers_bitmask, $Offsets{'all'} + $type - 1, 1)); | ||||
344 | } | ||||
345 | |||||
346 | # &enabled and &fatal_enabled | ||||
347 | return $results[0] unless $has_message; | ||||
348 | |||||
349 | # &warnif, and the category is neither enabled as warning nor as fatal | ||||
350 | return if $wanted == (NORMAL | FATAL | MESSAGE) | ||||
351 | && !($results[0] || $results[1]); | ||||
352 | |||||
353 | require Carp; | ||||
354 | Carp::croak($message) if $results[0]; | ||||
355 | # will always get here for &warn. will only get here for &warnif if the | ||||
356 | # category is enabled | ||||
357 | Carp::carp($message); | ||||
358 | } | ||||
359 | |||||
360 | sub _mkMask | ||||
361 | { | ||||
362 | 24 | 84µs | my ($bit) = @_; | ||
363 | my $mask = ""; | ||||
364 | |||||
365 | vec($mask, $bit, 1) = 1; | ||||
366 | return $mask; | ||||
367 | } | ||||
368 | |||||
369 | sub register_categories | ||||
370 | # spent 734µs (667+68) within warnings::register_categories which was called 3 times, avg 245µs/call:
# 3 times (667µs+68µs) by warnings::register::import at line 24 of warnings/register.pm, avg 245µs/call | ||||
371 | 6 | 30µs | my @names = @_; | ||
372 | |||||
373 | for my $name (@names) { | ||||
374 | 21 | 120µs | if (! defined $Bits{$name}) { | ||
375 | 3 | 38µs | $Bits{$name} = _mkMask($LAST_BIT); # spent 38µs making 3 calls to warnings::_mkMask, avg 13µs/call | ||
376 | vec($Bits{'all'}, $LAST_BIT, 1) = 1; | ||||
377 | $Offsets{$name} = $LAST_BIT ++; | ||||
378 | foreach my $k (keys %Bits) { | ||||
379 | 159 | 505µs | vec($Bits{$k}, $LAST_BIT, 1) = 0; | ||
380 | } | ||||
381 | 3 | 30µs | $DeadBits{$name} = _mkMask($LAST_BIT); # spent 30µs making 3 calls to warnings::_mkMask, avg 10µs/call | ||
382 | vec($DeadBits{'all'}, $LAST_BIT++, 1) = 1; | ||||
383 | } | ||||
384 | } | ||||
385 | } | ||||
386 | |||||
387 | sub _error_loc { | ||||
388 | require Carp; | ||||
389 | goto &Carp::short_error_loc; # don't introduce another stack frame | ||||
390 | } | ||||
391 | |||||
392 | sub enabled | ||||
393 | { | ||||
394 | return __chk(NORMAL, @_); | ||||
395 | } | ||||
396 | |||||
397 | sub fatal_enabled | ||||
398 | { | ||||
399 | return __chk(FATAL, @_); | ||||
400 | } | ||||
401 | |||||
402 | sub warn | ||||
403 | { | ||||
404 | return __chk(FATAL | MESSAGE, @_); | ||||
405 | } | ||||
406 | |||||
407 | sub warnif | ||||
408 | { | ||||
409 | return __chk(NORMAL | FATAL | MESSAGE, @_); | ||||
410 | } | ||||
411 | |||||
412 | # These are not part of any public interface, so we can delete them to save | ||||
413 | # space. | ||||
414 | 1 | 18µs | delete $warnings::{$_} foreach qw(NORMAL FATAL MESSAGE); | ||
415 | |||||
416 | 1 | 56µs | 1; | ||
417 | |||||
418 | # ex: set ro: | ||||
# spent 5µs within warnings::CORE:match which was called:
# once (5µs+0s) by main::BEGIN@4 at line 12 | |||||
# spent 19µs within warnings::CORE:regcomp which was called:
# once (19µs+0s) by main::BEGIN@4 at line 12 |