← Index
NYTProf Performance Profile   « block view • line view • sub view »
For /usr/local/src/github.com/foswiki/core/bin/view
  Run on Sun Dec 4 17:17:59 2011
Reported on Sun Dec 4 17:27:24 2011

Filename/usr/local/src/github.com/foswiki/core/lib/Foswiki/Macros/REVARG.pm
StatementsExecuted 12 statements in 263µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11142µs54µsFoswiki::::BEGIN@4.46Foswiki::BEGIN@4.46
11127µs61µsFoswiki::::BEGIN@5.47Foswiki::BEGIN@5.47
11125µs77µsFoswiki::::REVARGFoswiki::REVARG
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
4262µs267µs
# spent 54µs (42+13) within Foswiki::BEGIN@4.46 which was called: # once (42µs+13µs) by Foswiki::_expandMacroOnTopicRendering at line 4
use strict;
# spent 54µs making 1 call to Foswiki::BEGIN@4.46 # spent 13µs making 1 call to strict::import
52175µs295µs
# spent 61µs (27+34) within Foswiki::BEGIN@5.47 which was called: # once (27µs+34µs) by Foswiki::_expandMacroOnTopicRendering at line 5
use warnings;
# spent 61µs making 1 call to Foswiki::BEGIN@5.47 # spent 34µs making 1 call to warnings::import
6
7
# spent 77µs (25+52) within Foswiki::REVARG which was called: # once (25µs+52µs) by Foswiki::_expandMacroOnTopicRendering at line 3066 of /usr/local/src/github.com/foswiki/core/lib/Foswiki.pm
sub REVARG {
812µs my ( $this, $params ) = @_;
912µs my $request = $this->{request};
1012µs my $out = '';
1112µs if ($request) {
1215µs152µs my $rev = $request->param('rev');
# spent 52µs making 1 call to Foswiki::Request::param
1312µs $out = '&rev=' . $rev if ($rev);
14 }
1517µs return $out;
16}
17
1815µs1;
19__END__