← Index
NYTProf Performance Profile   « block view • line view • sub view »
For /usr/local/src/github.com/foswiki/core/bin/view
  Run on Sun Dec 4 17:17:59 2011
Reported on Sun Dec 4 17:27:22 2011

Filename/usr/local/src/github.com/foswiki/core/lib/Foswiki/Macros/WIKINAME.pm
StatementsExecuted 16 statements in 281µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
31166µs751µsFoswiki::::WIKINAMEFoswiki::WIKINAME
11127µs35µsFoswiki::::BEGIN@4.37Foswiki::BEGIN@4.37
11123µs23µsFoswiki::::BEGIN@6.39Foswiki::BEGIN@6.39
11122µs41µsFoswiki::::BEGIN@5.38Foswiki::BEGIN@5.38
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
4250µs242µs
# spent 35µs (27+7) within Foswiki::BEGIN@4.37 which was called: # once (27µs+7µs) by Foswiki::_expandMacroOnTopicRendering at line 4
use strict;
# spent 35µs making 1 call to Foswiki::BEGIN@4.37 # spent 8µs making 1 call to strict::import
5248µs260µs
# spent 41µs (22+19) within Foswiki::BEGIN@5.38 which was called: # once (22µs+19µs) by Foswiki::_expandMacroOnTopicRendering at line 5
use warnings;
# spent 41µs making 1 call to Foswiki::BEGIN@5.38 # spent 19µs making 1 call to warnings::import
62125µs123µs
# spent 23µs within Foswiki::BEGIN@6.39 which was called: # once (23µs+0s) by Foswiki::_expandMacroOnTopicRendering at line 6
use Foswiki::Macros::USERINFO;
# spent 23µs making 1 call to Foswiki::BEGIN@6.39
7
8# DEPRECATED, now implemented using %USERINFO%
9
# spent 751µs (66+685) within Foswiki::WIKINAME which was called 3 times, avg 250µs/call: # 3 times (66µs+685µs) by Foswiki::_expandMacroOnTopicRendering at line 3066 of /usr/local/src/github.com/foswiki/core/lib/Foswiki.pm, avg 250µs/call
sub WIKINAME {
1037µs my ( $this, $params ) = @_;
11
12320µs3174µs $params->{format} = $this->{prefs}->getPreference('WIKINAME')
# spent 174µs making 3 calls to Foswiki::Prefs::getPreference, avg 58µs/call
13 || '$wikiname';
14
15328µs3510µs return $this->USERINFO($params);
# spent 510µs making 3 calls to Foswiki::USERINFO, avg 170µs/call
16}
17
1814µs1;
19__END__