← Index
NYTProf Performance Profile   « line view »
For ./view
  Run on Fri Jul 31 19:05:14 2015
Reported on Fri Jul 31 19:08:11 2015

Filename/var/www/foswiki11/lib/Foswiki/Macros/WIKINAME.pm
StatementsExecuted 22 statements in 285µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
51169µs482µsFoswiki::::WIKINAMEFoswiki::WIKINAME
11136µs61µsFoswiki::::BEGIN@4.70Foswiki::BEGIN@4.70
11118µs28µsFoswiki::::BEGIN@5.71Foswiki::BEGIN@5.71
11118µs18µsFoswiki::::BEGIN@6.72Foswiki::BEGIN@6.72
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
4254µs286µs
# spent 61µs (36+25) within Foswiki::BEGIN@4.70 which was called: # once (36µs+25µs) by Foswiki::_expandMacroOnTopicRendering at line 4
use strict;
# spent 61µs making 1 call to Foswiki::BEGIN@4.70 # spent 25µs making 1 call to strict::import
5244µs238µs
# spent 28µs (18+10) within Foswiki::BEGIN@5.71 which was called: # once (18µs+10µs) by Foswiki::_expandMacroOnTopicRendering at line 5
use warnings;
# spent 28µs making 1 call to Foswiki::BEGIN@5.71 # spent 10µs making 1 call to warnings::import
62141µs118µs
# spent 18µs within Foswiki::BEGIN@6.72 which was called: # once (18µs+0s) by Foswiki::_expandMacroOnTopicRendering at line 6
use Foswiki::Macros::USERINFO;
# spent 18µs making 1 call to Foswiki::BEGIN@6.72
7
8# DEPRECATED, now implemented using %USERINFO%
9
# spent 482µs (69+413) within Foswiki::WIKINAME which was called 5 times, avg 96µs/call: # 5 times (69µs+413µs) by Foswiki::_expandMacroOnTopicRendering at line 3160 of /var/www/foswiki11/lib/Foswiki.pm, avg 96µs/call
sub WIKINAME {
1054µs my ( $this, $params ) = @_;
11
12516µs5128µs $params->{format} = $this->{prefs}->getPreference('WIKINAME')
# spent 128µs making 5 calls to Foswiki::Prefs::getPreference, avg 26µs/call
13 || '$wikiname';
14
15523µs5286µs return $this->USERINFO($params);
# spent 286µs making 5 calls to Foswiki::USERINFO, avg 57µs/call
16}
17
1812µs1;
19__END__