← 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/ICONURL.pm
StatementsExecuted 11 statements in 220µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
111842µs892µsFoswiki::::BEGIN@7.92Foswiki::BEGIN@7.92
11120µs36µsFoswiki::::BEGIN@4.90Foswiki::BEGIN@4.90
11111µs17µsFoswiki::::BEGIN@5.91Foswiki::BEGIN@5.91
1116µs472µsFoswiki::::ICONURLFoswiki::ICONURL
1115µs5µsFoswiki::::BEGIN@9.96Foswiki::BEGIN@9.96
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
4231µs252µ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
use strict;
# spent 36µs making 1 call to Foswiki::BEGIN@4.90 # spent 16µs making 1 call to strict::import
5226µs222µ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
use warnings;
# spent 17µs making 1 call to Foswiki::BEGIN@5.91 # spent 6µs making 1 call to warnings::import
6
72100µs1892µ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
use Foswiki::Macros::ICON ();
# 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
BEGIN {
1015µs if ( $Foswiki::cfg{UseLocale} ) {
11 require locale;
12 import locale();
13 }
14151µs15µs}
# spent 5µs making 1 call to Foswiki::BEGIN@9.96
15
16=begin TML
17
18---++ ObjectMethod ICONURL($params) -> $html
19
20ICONURL 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
sub ICONURL {
251500ns my ( $this, $params ) = @_;
261400ns $params->{absolute} = 1;
2714µs1466µs return $this->_getIconURL($params);
# spent 466µs making 1 call to Foswiki::_getIconURL
28}
29
3012µs1;
31__END__