Filename | /var/www/foswikidev/core/lib/Foswiki/Macros/ICONURL.pm |
Statements | Executed 11 statements in 220µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 842µs | 892µs | BEGIN@7.92 | Foswiki::
1 | 1 | 1 | 20µs | 36µs | BEGIN@4.90 | Foswiki::
1 | 1 | 1 | 11µs | 17µs | BEGIN@5.91 | Foswiki::
1 | 1 | 1 | 6µs | 472µs | ICONURL | Foswiki::
1 | 1 | 1 | 5µs | 5µs | BEGIN@9.96 | 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 | 31µs | 2 | 52µs | # spent 36µs (20+16) within Foswiki::BEGIN@4.90 which was called:
# once (20µs+16µs) by Foswiki::_expandMacroOnTopicRendering at line 4 # spent 36µs making 1 call to Foswiki::BEGIN@4.90
# spent 16µs making 1 call to strict::import |
5 | 2 | 26µs | 2 | 22µs | # spent 17µs (11+6) within Foswiki::BEGIN@5.91 which was called:
# once (11µs+6µs) by Foswiki::_expandMacroOnTopicRendering at line 5 # spent 17µs making 1 call to Foswiki::BEGIN@5.91
# spent 6µs making 1 call to warnings::import |
6 | |||||
7 | 2 | 100µs | 1 | 892µs | # spent 892µs (842+50) within Foswiki::BEGIN@7.92 which was called:
# once (842µs+50µs) by Foswiki::_expandMacroOnTopicRendering at line 7 # spent 892µs making 1 call to Foswiki::BEGIN@7.92 |
8 | |||||
9 | # spent 5µs within Foswiki::BEGIN@9.96 which was called:
# once (5µs+0s) by Foswiki::_expandMacroOnTopicRendering at line 14 | ||||
10 | 1 | 5µs | if ( $Foswiki::cfg{UseLocale} ) { | ||
11 | require locale; | ||||
12 | import locale(); | ||||
13 | } | ||||
14 | 1 | 51µs | 1 | 5µs | } # spent 5µs making 1 call to Foswiki::BEGIN@9.96 |
15 | |||||
16 | =begin TML | ||||
17 | |||||
18 | ---++ ObjectMethod ICONURL($params) -> $html | ||||
19 | |||||
20 | ICONURL macro implementation | ||||
21 | |||||
22 | =cut | ||||
23 | |||||
24 | # spent 472µs (6+466) within Foswiki::ICONURL which was called:
# once (6µs+466µs) by Foswiki::_expandMacroOnTopicRendering at line 3435 of /var/www/foswikidev/core/lib/Foswiki.pm | ||||
25 | 1 | 500ns | my ( $this, $params ) = @_; | ||
26 | 1 | 400ns | $params->{absolute} = 1; | ||
27 | 1 | 4µs | 1 | 466µs | return $this->_getIconURL($params); # spent 466µs making 1 call to Foswiki::_getIconURL |
28 | } | ||||
29 | |||||
30 | 1 | 2µs | 1; | ||
31 | __END__ |