← Index
NYTProf Performance Profile   « line view »
For ./view
  Run on Fri Jul 31 19:05:14 2015
Reported on Fri Jul 31 19:08:11 2015

Filename/var/www/foswiki11/lib/Foswiki/Macros/ICONURL.pm
StatementsExecuted 10 statements in 458µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1112.06ms2.17msFoswiki::::BEGIN@7.60Foswiki::BEGIN@7.60
11148µs100µsFoswiki::::BEGIN@4.58Foswiki::BEGIN@4.58
11119µs859µsFoswiki::::ICONURLFoswiki::ICONURL
11115µs30µsFoswiki::::BEGIN@5.59Foswiki::BEGIN@5.59
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
42101µs2152µs
# spent 100µs (48+52) within Foswiki::BEGIN@4.58 which was called: # once (48µs+52µs) by Foswiki::_expandMacroOnTopicRendering at line 4
use strict;
# spent 100µs making 1 call to Foswiki::BEGIN@4.58 # spent 52µs making 1 call to strict::import
5262µs244µs
# spent 30µs (15+15) within Foswiki::BEGIN@5.59 which was called: # once (15µs+15µs) by Foswiki::_expandMacroOnTopicRendering at line 5
use warnings;
# spent 30µs making 1 call to Foswiki::BEGIN@5.59 # spent 15µs making 1 call to warnings::import
6
72280µs12.17ms
# spent 2.17ms (2.06+115µs) within Foswiki::BEGIN@7.60 which was called: # once (2.06ms+115µs) by Foswiki::_expandMacroOnTopicRendering at line 7
use Foswiki::Macros::ICON ();
# spent 2.17ms making 1 call to Foswiki::BEGIN@7.60
8
9=begin TML
10
11---++ ObjectMethod ICONURL($params) -> $html
12
13ICONURLPATH macro implementation
14
15=cut
16
17
# spent 859µs (19+840) within Foswiki::ICONURL which was called: # once (19µs+840µs) by Foswiki::_expandMacroOnTopicRendering at line 3160 of /var/www/foswiki11/lib/Foswiki.pm
sub ICONURL {
181800ns my ( $this, $params ) = @_;
1913µs1721µs my ($path) = $this->_findIcon($params);
# spent 721µs making 1 call to Foswiki::_findIcon
20
2118µs1119µs return $this->_getIconUrl( 1, $path );
# spent 119µs making 1 call to Foswiki::_getIconUrl
22}
23
2414µs1;
25__END__