Filename | /var/www/foswiki11/lib/Foswiki/Macros/WIKINAME.pm |
Statements | Executed 22 statements in 285µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
5 | 1 | 1 | 69µs | 482µs | WIKINAME | Foswiki::
1 | 1 | 1 | 36µs | 61µs | BEGIN@4.70 | Foswiki::
1 | 1 | 1 | 18µs | 28µs | BEGIN@5.71 | Foswiki::
1 | 1 | 1 | 18µs | 18µs | BEGIN@6.72 | Foswiki::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | # See bottom of file for license and copyright information | ||||
2 | package Foswiki; | ||||
3 | |||||
4 | 2 | 54µs | 2 | 86µ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 # spent 61µs making 1 call to Foswiki::BEGIN@4.70
# spent 25µs making 1 call to strict::import |
5 | 2 | 44µs | 2 | 38µ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 # spent 28µs making 1 call to Foswiki::BEGIN@5.71
# spent 10µs making 1 call to warnings::import |
6 | 2 | 141µs | 1 | 18µs | # spent 18µs within Foswiki::BEGIN@6.72 which was called:
# once (18µs+0s) by Foswiki::_expandMacroOnTopicRendering at line 6 # 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 | ||||
10 | 5 | 4µs | my ( $this, $params ) = @_; | ||
11 | |||||
12 | 5 | 16µs | 5 | 128µs | $params->{format} = $this->{prefs}->getPreference('WIKINAME') # spent 128µs making 5 calls to Foswiki::Prefs::getPreference, avg 26µs/call |
13 | || '$wikiname'; | ||||
14 | |||||
15 | 5 | 23µs | 5 | 286µs | return $this->USERINFO($params); # spent 286µs making 5 calls to Foswiki::USERINFO, avg 57µs/call |
16 | } | ||||
17 | |||||
18 | 1 | 2µs | 1; | ||
19 | __END__ |