← Index
NYTProf Performance Profile   « line view »
For ./view
  Run on Fri Jul 31 18:42:36 2015
Reported on Fri Jul 31 18:48:16 2015

Filename/var/www/foswikidev/core/lib/Foswiki/Macros/WIKINAME.pm
StatementsExecuted 29 statements in 198µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
71146µs356µsFoswiki::::WIKINAMEFoswiki::WIKINAME
11120µs33µsFoswiki::::BEGIN@4.106Foswiki::BEGIN@4.106
11111µs15µsFoswiki::::BEGIN@5.107Foswiki::BEGIN@5.107
1119µs9µsFoswiki::::BEGIN@6.108Foswiki::BEGIN@6.108
1114µs4µsFoswiki::::BEGIN@8.109Foswiki::BEGIN@8.109
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1# See bottom of file for license and copyright information
2package Foswiki;
3
4230µs245µs
# spent 33µs (20+13) within Foswiki::BEGIN@4.106 which was called: # once (20µs+13µs) by Foswiki::_expandMacroOnTopicRendering at line 4
use strict;
# spent 33µs making 1 call to Foswiki::BEGIN@4.106 # spent 13µs making 1 call to strict::import
5224µs219µs
# spent 15µs (11+4) within Foswiki::BEGIN@5.107 which was called: # once (11µs+4µs) by Foswiki::_expandMacroOnTopicRendering at line 5
use warnings;
# spent 15µs making 1 call to Foswiki::BEGIN@5.107 # spent 4µs making 1 call to warnings::import
6247µs19µs
# spent 9µs within Foswiki::BEGIN@6.108 which was called: # once (9µs+0s) by Foswiki::_expandMacroOnTopicRendering at line 6
use Foswiki::Macros::USERINFO;
# spent 9µs making 1 call to Foswiki::BEGIN@6.108
7
8
# spent 4µs within Foswiki::BEGIN@8.109 which was called: # once (4µs+0s) by Foswiki::_expandMacroOnTopicRendering at line 13
BEGIN {
915µs if ( $Foswiki::cfg{UseLocale} ) {
10 require locale;
11 import locale();
12 }
13156µs14µs}
# spent 4µs making 1 call to Foswiki::BEGIN@8.109
14
15# DEPRECATED, now implemented using %USERINFO%
16
# spent 356µs (46+310) within Foswiki::WIKINAME which was called 7 times, avg 51µs/call: # 7 times (46µs+310µs) by Foswiki::_expandMacroOnTopicRendering at line 3435 of /var/www/foswikidev/core/lib/Foswiki.pm, avg 51µs/call
sub WIKINAME {
1773µs my ( $this, $params ) = @_;
18
19713µs7110µs $params->{format} = $this->{prefs}->getPreference('WIKINAME')
# spent 110µs making 7 calls to Foswiki::Prefs::getPreference, avg 16µs/call
20 || '$wikiname';
21
22719µs7200µs return $this->USERINFO($params);
# spent 200µs making 7 calls to Foswiki::USERINFO, avg 29µs/call
23}
24
2512µs1;
26__END__