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

Filename/var/www/foswiki11/bin/view
StatementsExecuted 21 statements in 6.63ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
66639131182.3ms82.3msUNIVERSAL::::isaUNIVERSAL::isa (xsub)
11114.3ms139msmain::::BEGIN@22 main::BEGIN@22
1114.24ms4.27msmain::::BEGIN@4 main::BEGIN@4
1113.66ms15.8msmain::::BEGIN@9 main::BEGIN@9
1112.28ms4.09msmain::::BEGIN@23 main::BEGIN@23
1111.99ms8.48msmain::::BEGIN@6 main::BEGIN@6
111772µs820µsmain::::BEGIN@3 main::BEGIN@3
24343279µs279µsUNIVERSAL::::canUNIVERSAL::can (xsub)
111206µs206µsmain::::BEGIN@0 main::BEGIN@0 (xsub)
22282µs82µsUNIVERSAL::::VERSIONUNIVERSAL::VERSION (xsub)
281147µs47µsmro::::method_changed_in mro::method_changed_in (xsub)
281143µs43µsInternals::::SvREADONLYInternals::SvREADONLY (xsub)
11123µs24µsFcntl::::O_NOINHERIT Fcntl::O_NOINHERIT
11112µs13µsFcntl::::O_EXLOCK Fcntl::O_EXLOCK
11111µs12µsFcntl::::O_TEMPORARY Fcntl::O_TEMPORARY
0000s0smain::::RUNTIME main::RUNTIME
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
03273µsProfile data that couldn't be associated with a specific line:
# spent 206µs making 1 call to main::BEGIN@0 # spent 61µs making 1 call to File::Temp::END # spent 6µs making 1 call to Monitor::END
13319µs#! /usr/bin/perl -w
2# See bottom of file for license and copyright information
32741µs2867µs
# spent 820µs (772+48) within main::BEGIN@3 which was called: # once (772µs+48µs) by main::RUNTIME at line 3
use strict;
# spent 820µs making 1 call to main::BEGIN@3 # spent 48µs making 1 call to strict::import
424.10ms24.30ms
# spent 4.27ms (4.24+30µs) within main::BEGIN@4 which was called: # once (4.24ms+30µs) by main::RUNTIME at line 4
use warnings;
# spent 4.27ms making 1 call to main::BEGIN@4 # spent 30µs making 1 call to warnings::import
5
6
# spent 8.48ms (1.99+6.49) within main::BEGIN@6 which was called: # once (1.99ms+6.49ms) by main::RUNTIME at line 20
BEGIN {
712µs if ( defined $ENV{GATEWAY_INTERFACE} || defined $ENV{MOD_PERL} ) {
8 $Foswiki::cfg{Engine} = 'Foswiki::Engine::CGI';
92657µs215.9ms
# spent 15.8ms (3.66+12.1) within main::BEGIN@9 which was called: # once (3.66ms+12.1ms) by main::RUNTIME at line 9
use CGI::Carp qw(fatalsToBrowser);
# spent 15.8ms making 1 call to main::BEGIN@9 # spent 107µs making 1 call to CGI::Carp::import
10 $SIG{__DIE__} = \&CGI::Carp::confess;
11 }
12 else {
1312µs $Foswiki::cfg{Engine} = 'Foswiki::Engine::CLI';
141700ns require Carp;
1513µs $SIG{__DIE__} = \&Carp::confess;
16 }
1714µs $ENV{FOSWIKI_ACTION} = 'view';
1819µs @INC = ( '.', grep { $_ ne '.' } @INC );
191154µs require 'setlib.cfg';
20188µs18.48ms}
# spent 8.48ms making 1 call to main::BEGIN@6
21
222240µs1139ms
# spent 139ms (14.3+125) within main::BEGIN@22 which was called: # once (14.3ms+125ms) by main::RUNTIME at line 22
use Foswiki ();
# spent 139ms making 1 call to main::BEGIN@22
232308µs14.09ms
# spent 4.09ms (2.28+1.81) within main::BEGIN@23 which was called: # once (2.28ms+1.81ms) by main::RUNTIME at line 23
use Foswiki::UI ();
# spent 4.09ms making 1 call to main::BEGIN@23
2414µs161.4s$Foswiki::engine->run();
# spent 61.4s making 1 call to Foswiki::Engine::CLI::run
25__END__
 
# spent 43µs within Internals::SvREADONLY which was called 28 times, avg 2µs/call: # 28 times (43µs+0s) by constant::import at line 136 of constant.pm, avg 2µs/call
sub Internals::SvREADONLY; # xsub
# spent 82µs within UNIVERSAL::VERSION which was called 2 times, avg 41µs/call: # once (65µs+0s) by Foswiki::BEGIN@171 at line 171 of /var/www/foswiki11/lib/Foswiki.pm # once (17µs+0s) by version::BEGIN@1 at line 2 of (eval 5)[version.pm:15]
sub UNIVERSAL::VERSION; # xsub
# spent 279µs within UNIVERSAL::can which was called 243 times, avg 1µs/call: # 240 times (273µs+0s) by Foswiki::Query::Node::simplify at line 253 of /var/www/foswiki11/lib/Foswiki/Query/Node.pm, avg 1µs/call # once (2µs+0s) by CGI::can at line 266 of CGI.pm # once (2µs+0s) by Foswiki::Users::getCanonicalUserID at line 480 of /var/www/foswiki11/lib/Foswiki/Users.pm # once (2µs+0s) by CGI::can at line 282 of CGI.pm
sub UNIVERSAL::can; # xsub
# spent 82.3ms within UNIVERSAL::isa which was called 66639 times, avg 1µs/call: # 47352 times (60.0ms+0s) by Foswiki::Store::VC::Handler::new at line 67 of /var/www/foswiki11/lib/Foswiki/Store/VC/Handler.pm, avg 1µs/call # 8845 times (7.84ms+0s) by Foswiki::Search::formatResults at line 774 of /var/www/foswiki11/lib/Foswiki/Search.pm, avg 887ns/call # 8760 times (12.2ms+0s) by Foswiki::Store::QueryAlgorithms::BruteForce::getField at line 258 of /var/www/foswiki11/lib/Foswiki/Store/QueryAlgorithms/BruteForce.pm, avg 1µs/call # 1104 times (1.72ms+0s) by Foswiki::Meta::new at line 327 of /var/www/foswiki11/lib/Foswiki/Meta.pm, avg 2µs/call # 320 times (244µs+0s) by Foswiki::Query::Node::toString at line 102 of /var/www/foswiki11/lib/Foswiki/Query/Node.pm, avg 764ns/call # 80 times (107µs+0s) by Foswiki::Store::VC::Store::searchInWebMetaData at line 466 of /var/www/foswiki11/lib/Foswiki/Store/VC/Store.pm, avg 1µs/call # 80 times (55µs+0s) by Foswiki::Query::Node::toString at line 118 of /var/www/foswiki11/lib/Foswiki/Query/Node.pm, avg 686ns/call # 78 times (112µs+0s) by CGI::self_or_default at line 476 of CGI.pm, avg 1µs/call # 10 times (14µs+0s) by CGI::self_or_CGI at line 487 of CGI.pm, avg 1µs/call # 7 times (14µs+0s) by base::import at line 74 of base.pm, avg 2µs/call # once (3µs+0s) by Foswiki::I18N::new at line 145 of /var/www/foswiki11/lib/Foswiki/I18N.pm # once (2µs+0s) by Foswiki::Engine::CLI::run at line 52 of /var/www/foswiki11/lib/Foswiki/Engine/CLI.pm # once (2µs+0s) by Foswiki::UI::handleRequest at line 251 of /var/www/foswiki11/lib/Foswiki/UI.pm
sub UNIVERSAL::isa; # xsub
# spent 206µs within main::BEGIN@0 which was called: # once (206µs+0s) by main::RUNTIME at line 0
sub main::BEGIN@0; # xsub
# spent 47µs within mro::method_changed_in which was called 28 times, avg 2µs/call: # 28 times (47µs+0s) by constant::import at line 151 of constant.pm, avg 2µs/call
sub mro::method_changed_in; # xsub