Filename | /var/www/foswikidev/core/lib/Foswiki/Macros/WIKINAME.pm |
Statements | Executed 29 statements in 198µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
7 | 1 | 1 | 46µs | 356µs | WIKINAME | Foswiki::
1 | 1 | 1 | 20µs | 33µs | BEGIN@4.106 | Foswiki::
1 | 1 | 1 | 11µs | 15µs | BEGIN@5.107 | Foswiki::
1 | 1 | 1 | 9µs | 9µs | BEGIN@6.108 | Foswiki::
1 | 1 | 1 | 4µs | 4µs | BEGIN@8.109 | 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 | 30µs | 2 | 45µ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 # spent 33µs making 1 call to Foswiki::BEGIN@4.106
# spent 13µs making 1 call to strict::import |
5 | 2 | 24µs | 2 | 19µ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 # spent 15µs making 1 call to Foswiki::BEGIN@5.107
# spent 4µs making 1 call to warnings::import |
6 | 2 | 47µs | 1 | 9µs | # spent 9µs within Foswiki::BEGIN@6.108 which was called:
# once (9µs+0s) by Foswiki::_expandMacroOnTopicRendering at line 6 # 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 | ||||
9 | 1 | 5µs | if ( $Foswiki::cfg{UseLocale} ) { | ||
10 | require locale; | ||||
11 | import locale(); | ||||
12 | } | ||||
13 | 1 | 56µs | 1 | 4µ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 | ||||
17 | 7 | 3µs | my ( $this, $params ) = @_; | ||
18 | |||||
19 | 7 | 13µs | 7 | 110µs | $params->{format} = $this->{prefs}->getPreference('WIKINAME') # spent 110µs making 7 calls to Foswiki::Prefs::getPreference, avg 16µs/call |
20 | || '$wikiname'; | ||||
21 | |||||
22 | 7 | 19µs | 7 | 200µs | return $this->USERINFO($params); # spent 200µs making 7 calls to Foswiki::USERINFO, avg 29µs/call |
23 | } | ||||
24 | |||||
25 | 1 | 2µs | 1; | ||
26 | __END__ |