Filename | /var/www/foswikidev/core/lib/Foswiki/Macros/SPACEOUT.pm |
Statements | Executed 11 statements in 143µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 18µs | 31µs | BEGIN@4.110 | Foswiki::
1 | 1 | 1 | 9µs | 13µs | BEGIN@5.111 | Foswiki::
1 | 1 | 1 | 8µs | 948µs | SPACEOUT | Foswiki::
1 | 1 | 1 | 4µs | 4µs | BEGIN@7.112 | 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 | 26µs | 2 | 44µs | # spent 31µs (18+13) within Foswiki::BEGIN@4.110 which was called:
# once (18µs+13µs) by Foswiki::_expandMacroOnTopicRendering at line 4 # spent 31µs making 1 call to Foswiki::BEGIN@4.110
# spent 13µs making 1 call to strict::import |
5 | 2 | 43µs | 2 | 17µs | # spent 13µs (9+4) within Foswiki::BEGIN@5.111 which was called:
# once (9µs+4µs) by Foswiki::_expandMacroOnTopicRendering at line 5 # spent 13µs making 1 call to Foswiki::BEGIN@5.111
# spent 4µs making 1 call to warnings::import |
6 | |||||
7 | # spent 4µs within Foswiki::BEGIN@7.112 which was called:
# once (4µs+0s) by Foswiki::_expandMacroOnTopicRendering at line 12 | ||||
8 | 1 | 5µs | if ( $Foswiki::cfg{UseLocale} ) { | ||
9 | require locale; | ||||
10 | import locale(); | ||||
11 | } | ||||
12 | 1 | 61µs | 1 | 4µs | } # spent 4µs making 1 call to Foswiki::BEGIN@7.112 |
13 | |||||
14 | # spent 948µs (8+940) within Foswiki::SPACEOUT which was called:
# once (8µs+940µs) by Foswiki::_expandMacroOnTopicRendering at line 3435 of /var/www/foswikidev/core/lib/Foswiki.pm | ||||
15 | 1 | 400ns | my ( $this, $params ) = @_; | ||
16 | 1 | 500ns | my $spaceOutTopic = $params->{_DEFAULT}; | ||
17 | 1 | 200ns | my $sep = $params->{'separator'}; | ||
18 | 1 | 2µs | 1 | 940µs | $spaceOutTopic = spaceOutWikiWord( $spaceOutTopic, $sep ); # spent 940µs making 1 call to Foswiki::spaceOutWikiWord |
19 | 1 | 3µs | return $spaceOutTopic; | ||
20 | } | ||||
21 | |||||
22 | 1 | 2µs | 1; | ||
23 | __END__ |