← Index
NYTProf Performance Profile   « line view »
For ./view
  Run on Fri Jul 31 18:42:36 2015
Reported on Fri Jul 31 18:48:16 2015

Filename/var/www/foswikidev/core/lib/Foswiki/Macros/SPACEOUT.pm
StatementsExecuted 11 statements in 143µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11118µs31µsFoswiki::::BEGIN@4.110Foswiki::BEGIN@4.110
1119µs13µsFoswiki::::BEGIN@5.111Foswiki::BEGIN@5.111
1118µs948µsFoswiki::::SPACEOUTFoswiki::SPACEOUT
1114µs4µsFoswiki::::BEGIN@7.112Foswiki::BEGIN@7.112
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1# See bottom of file for license and copyright information
2package Foswiki;
3
4226µs244µ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
use strict;
# spent 31µs making 1 call to Foswiki::BEGIN@4.110 # spent 13µs making 1 call to strict::import
5243µs217µ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
use warnings;
# 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
BEGIN {
815µs if ( $Foswiki::cfg{UseLocale} ) {
9 require locale;
10 import locale();
11 }
12161µs14µ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
sub SPACEOUT {
151400ns my ( $this, $params ) = @_;
161500ns my $spaceOutTopic = $params->{_DEFAULT};
171200ns my $sep = $params->{'separator'};
1812µs1940µs $spaceOutTopic = spaceOutWikiWord( $spaceOutTopic, $sep );
# spent 940µs making 1 call to Foswiki::spaceOutWikiWord
1913µs return $spaceOutTopic;
20}
21
2212µs1;
23__END__