Filename | /var/www/foswiki11/lib/Foswiki/Macros/SPACEOUT.pm |
Statements | Executed 15 statements in 212µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 26µs | 50µs | BEGIN@4.73 | Foswiki::
2 | 1 | 1 | 24µs | 112µs | SPACEOUT | Foswiki::
1 | 1 | 1 | 20µs | 30µs | BEGIN@5.74 | 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 | 53µs | 2 | 74µs | # spent 50µs (26+24) within Foswiki::BEGIN@4.73 which was called:
# once (26µs+24µs) by Foswiki::_expandMacroOnTopicRendering at line 4 # spent 50µs making 1 call to Foswiki::BEGIN@4.73
# spent 24µs making 1 call to strict::import |
5 | 2 | 128µs | 2 | 40µs | # spent 30µs (20+10) within Foswiki::BEGIN@5.74 which was called:
# once (20µs+10µs) by Foswiki::_expandMacroOnTopicRendering at line 5 # spent 30µs making 1 call to Foswiki::BEGIN@5.74
# spent 10µs making 1 call to warnings::import |
6 | |||||
7 | # spent 112µs (24+88) within Foswiki::SPACEOUT which was called 2 times, avg 56µs/call:
# 2 times (24µs+88µs) by Foswiki::_expandMacroOnTopicRendering at line 3160 of /var/www/foswiki11/lib/Foswiki.pm, avg 56µs/call | ||||
8 | 2 | 2µs | my ( $this, $params ) = @_; | ||
9 | 2 | 1µs | my $spaceOutTopic = $params->{_DEFAULT}; | ||
10 | 2 | 900ns | my $sep = $params->{'separator'}; | ||
11 | 2 | 14µs | 2 | 88µs | $spaceOutTopic = spaceOutWikiWord( $spaceOutTopic, $sep ); # spent 88µs making 2 calls to Foswiki::spaceOutWikiWord, avg 44µs/call |
12 | 2 | 9µs | return $spaceOutTopic; | ||
13 | } | ||||
14 | |||||
15 | 1 | 4µs | 1; | ||
16 | __END__ |