Filename | /var/www/foswiki11/lib/Foswiki/Macros/ICONURL.pm |
Statements | Executed 10 statements in 458µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 2.06ms | 2.17ms | BEGIN@7.60 | Foswiki::
1 | 1 | 1 | 48µs | 100µs | BEGIN@4.58 | Foswiki::
1 | 1 | 1 | 19µs | 859µs | ICONURL | Foswiki::
1 | 1 | 1 | 15µs | 30µs | BEGIN@5.59 | 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 | 101µs | 2 | 152µs | # spent 100µs (48+52) within Foswiki::BEGIN@4.58 which was called:
# once (48µs+52µs) by Foswiki::_expandMacroOnTopicRendering at line 4 # spent 100µs making 1 call to Foswiki::BEGIN@4.58
# spent 52µs making 1 call to strict::import |
5 | 2 | 62µs | 2 | 44µs | # spent 30µs (15+15) within Foswiki::BEGIN@5.59 which was called:
# once (15µs+15µs) by Foswiki::_expandMacroOnTopicRendering at line 5 # spent 30µs making 1 call to Foswiki::BEGIN@5.59
# spent 15µs making 1 call to warnings::import |
6 | |||||
7 | 2 | 280µs | 1 | 2.17ms | # spent 2.17ms (2.06+115µs) within Foswiki::BEGIN@7.60 which was called:
# once (2.06ms+115µs) by Foswiki::_expandMacroOnTopicRendering at line 7 # spent 2.17ms making 1 call to Foswiki::BEGIN@7.60 |
8 | |||||
9 | =begin TML | ||||
10 | |||||
11 | ---++ ObjectMethod ICONURL($params) -> $html | ||||
12 | |||||
13 | ICONURLPATH macro implementation | ||||
14 | |||||
15 | =cut | ||||
16 | |||||
17 | # spent 859µs (19+840) within Foswiki::ICONURL which was called:
# once (19µs+840µs) by Foswiki::_expandMacroOnTopicRendering at line 3160 of /var/www/foswiki11/lib/Foswiki.pm | ||||
18 | 1 | 800ns | my ( $this, $params ) = @_; | ||
19 | 1 | 3µs | 1 | 721µs | my ($path) = $this->_findIcon($params); # spent 721µs making 1 call to Foswiki::_findIcon |
20 | |||||
21 | 1 | 8µs | 1 | 119µs | return $this->_getIconUrl( 1, $path ); # spent 119µs making 1 call to Foswiki::_getIconUrl |
22 | } | ||||
23 | |||||
24 | 1 | 4µs | 1; | ||
25 | __END__ |