Revision 50bd8e75
Von Sven Schöling vor etwa 15 Jahren hinzugefügt
am.pl | ||
---|---|---|
32 | 32 |
|
33 | 33 |
use strict; |
34 | 34 |
|
35 |
use Time::HiRes qw(gettimeofday tv_interval); |
|
36 |
|
|
37 |
my $time; |
|
38 |
|
|
39 | 35 |
BEGIN { |
40 | 36 |
unshift @INC, "modules/override"; # Use our own versions of various modules (e.g. YAML). |
41 | 37 |
push @INC, "modules/fallback"; # Only use our own versions of modules if there's no system version. |
42 |
|
|
43 |
$time = [gettimeofday]; |
|
44 | 38 |
} |
45 | 39 |
|
46 | 40 |
# setup defaults, DO NOT CHANGE |
... | ... | |
178 | 172 |
exit; |
179 | 173 |
} |
180 | 174 |
|
181 |
END { |
|
182 |
print "<!-- time elapsed: ", tv_interval($time), "s -->"; |
|
183 |
} |
|
184 | 175 |
# end |
185 | 176 |
|
Auch abrufbar als: Unified diff
Revert "Time::HiRes um Zeit Stats im Footer anzuzeigen."
This reverts commit cf1549160f886c37b4ee53b875c19304d1cdce90.
Zeitinfo wurde auch bei Ajax Aufrufen angezeigt, was nicht sein darf.