Filename | /usr/local/src/github.com/foswiki/core/bin/view |
Statements | Executed 22 statements in 5.65ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 23.0ms | 211ms | BEGIN@27 | main::
1 | 1 | 1 | 4.27ms | 8.44ms | BEGIN@28 | main::
1 | 1 | 1 | 3.38ms | 3.42ms | BEGIN@4 | main::
1 | 1 | 1 | 3.17ms | 4.74ms | BEGIN@6 | main::
1 | 1 | 1 | 3.17ms | 7.94ms | BEGIN@11 | main::
670 | 10 | 10 | 2.03ms | 2.03ms | isa (xsub) | UNIVERSAL::
1 | 1 | 1 | 1.67ms | 8.09ms | BEGIN@8 | main::
1 | 1 | 1 | 552µs | 632µs | BEGIN@3 | main::
37 | 1 | 1 | 134µs | 134µs | method_changed_in (xsub) | mro::
41 | 1 | 1 | 95µs | 95µs | SvREADONLY (xsub) | Internals::
3 | 3 | 2 | 88µs | 88µs | VERSION (xsub) | UNIVERSAL::
1 | 1 | 1 | 38µs | 42µs | O_NOINHERIT | Fcntl::
1 | 1 | 1 | 20µs | 23µs | O_TEMPORARY | Fcntl::
1 | 1 | 1 | 20µs | 23µs | O_EXLOCK | Fcntl::
2 | 1 | 1 | 10µs | 10µs | can (xsub) | UNIVERSAL::
1 | 1 | 1 | 10µs | 10µs | (bool (xsub) | version::
1 | 1 | 1 | 10µs | 10µs | (cmp (xsub) | version::
1 | 1 | 1 | 2µs | 2µs | CORE:subst (opcode) | main::
0 | 0 | 0 | 0s | 0s | RUNTIME | main::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
0 | 2 | 109µs | Profile data that couldn't be associated with a specific line: # spent 100µs making 1 call to File::Temp::END
# spent 9µs making 1 call to Monitor::END | ||
1 | 1 | 66µs | #!/usr/bin/perl -wT -d:NYTProf | ||
2 | # See bottom of file for license and copyright information | ||||
3 | 2 | 501µs | 2 | 642µs | # spent 632µs (552+80) within main::BEGIN@3 which was called:
# once (552µs+80µs) by main::RUNTIME at line 3 # spent 632µs making 1 call to main::BEGIN@3
# spent 10µs making 1 call to strict::import |
4 | 2 | 3.21ms | 2 | 3.45ms | # spent 3.42ms (3.38+49µs) within main::BEGIN@4 which was called:
# once (3.38ms+49µs) by main::RUNTIME at line 4 # spent 3.42ms making 1 call to main::BEGIN@4
# spent 24µs making 1 call to warnings::import |
5 | |||||
6 | 2 | 209µs | 1 | 4.74ms | # spent 4.74ms (3.17+1.57) within main::BEGIN@6 which was called:
# once (3.17ms+1.57ms) by main::RUNTIME at line 6 # spent 4.74ms making 1 call to main::BEGIN@6 |
7 | |||||
8 | # spent 8.09ms (1.67+6.42) within main::BEGIN@8 which was called:
# once (1.67ms+6.42ms) by main::RUNTIME at line 25 | ||||
9 | 1 | 5µs | if ( defined $ENV{GATEWAY_INTERFACE} || defined $ENV{MOD_PERL} ) { | ||
10 | 1 | 2µs | $Foswiki::cfg{Engine} = 'Foswiki::Engine::CGI'; | ||
11 | 2 | 597µs | 2 | 8.20ms | # spent 7.94ms (3.17+4.77) within main::BEGIN@11 which was called:
# once (3.17ms+4.77ms) by main::RUNTIME at line 11 # spent 7.94ms making 1 call to main::BEGIN@11
# spent 258µs making 1 call to CGI::Carp::import |
12 | 1 | 3µs | $SIG{__DIE__} = \&CGI::Carp::confess; | ||
13 | } | ||||
14 | else { | ||||
15 | $Foswiki::cfg{Engine} = 'Foswiki::Engine::CLI'; | ||||
16 | require Carp; | ||||
17 | $SIG{__DIE__} = \&Carp::confess; | ||||
18 | } | ||||
19 | 1 | 11µs | 1 | 38µs | my ( $volume, $binDir, $action ) = File::Spec->splitpath(__FILE__); # spent 38µs making 1 call to File::Spec::Unix::splitpath |
20 | 1 | 9µs | 1 | 18µs | my $setlib = File::Spec->catpath( $volume, $binDir, 'setlib.cfg' ); # spent 18µs making 1 call to File::Spec::Unix::catpath |
21 | 1 | 1µs | @INC = ( '.', grep { $_ ne '.' } @INC ) unless $binDir; | ||
22 | 1 | 113µs | require $setlib; | ||
23 | 1 | 10µs | 1 | 2µs | $action =~ s/\..*$//; # Remove eventual file extension # spent 2µs making 1 call to main::CORE:subst |
24 | 1 | 12µs | $ENV{FOSWIKI_ACTION} = $action; | ||
25 | 1 | 52µs | 1 | 8.09ms | } # spent 8.09ms making 1 call to main::BEGIN@8 |
26 | |||||
27 | 2 | 194µs | 1 | 211ms | # spent 211ms (23.0+188) within main::BEGIN@27 which was called:
# once (23.0ms+188ms) by main::RUNTIME at line 27 # spent 211ms making 1 call to main::BEGIN@27 |
28 | 2 | 643µs | 1 | 8.44ms | # spent 8.44ms (4.27+4.17) within main::BEGIN@28 which was called:
# once (4.27ms+4.17ms) by main::RUNTIME at line 28 # spent 8.44ms making 1 call to main::BEGIN@28 |
29 | 1 | 10µs | 1 | 265s | $Foswiki::engine->run(); # spent 265s making 1 call to Foswiki::Engine::CGI::run |
30 | __END__ | ||||
# spent 95µs within Internals::SvREADONLY which was called 41 times, avg 2µs/call:
# 41 times (95µs+0s) by constant::import at line 132 of constant.pm, avg 2µs/call | |||||
# spent 88µs within UNIVERSAL::VERSION which was called 3 times, avg 29µs/call:
# once (32µs+0s) by Exporter::Heavy::heavy_export at line 106 of Exporter/Heavy.pm
# once (28µs+0s) by File::Temp::BEGIN@144 at line 144 of File/Temp.pm
# once (28µs+0s) by File::Temp::BEGIN@146 at line 146 of File/Temp.pm | |||||
# spent 10µs within UNIVERSAL::can which was called 2 times, avg 5µs/call:
# 2 times (10µs+0s) by Foswiki::Users::getCanonicalUserID at line 462 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Users.pm, avg 5µs/call | |||||
# spent 2.03ms within UNIVERSAL::isa which was called 670 times, avg 3µs/call:
# 347 times (1.03ms+0s) by Foswiki::Store::VC::Handler::new at line 67 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Store/VC/Handler.pm, avg 3µs/call
# 159 times (560µs+0s) by Foswiki::Meta::new at line 348 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Meta.pm, avg 4µs/call
# 109 times (232µs+0s) by CGI::self_or_default at line 480 of CGI.pm, avg 2µs/call
# 44 times (170µs+0s) by Foswiki::Search::formatResults at line 721 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Search.pm, avg 4µs/call
# 5 times (18µs+0s) by base::import at line 80 of base.pm, avg 4µs/call
# 2 times (6µs+0s) by Foswiki::Engine::finalizeCookies at line 379 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Engine.pm, avg 3µs/call
# once (5µs+0s) by Foswiki::UI::handleRequest at line 251 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/UI.pm
# once (4µs+0s) by Foswiki::Engine::CGI::run at line 40 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Engine/CGI.pm
# once (4µs+0s) by Foswiki::I18N::new at line 145 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/I18N.pm
# once (3µs+0s) by Foswiki::Store::VC::Store::query at line 550 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Store/VC/Store.pm | |||||
# spent 2µs within main::CORE:subst which was called:
# once (2µs+0s) by main::BEGIN@8 at line 23 | |||||
# spent 134µs within mro::method_changed_in which was called 37 times, avg 4µs/call:
# 37 times (134µs+0s) by constant::import at line 147 of constant.pm, avg 4µs/call | |||||
# spent 10µs within version::(bool which was called:
# once (10µs+0s) by main::BEGIN@8 at line 57 of Config.pm | |||||
# spent 10µs within version::(cmp which was called:
# once (10µs+0s) by main::BEGIN@8 at line 60 of Config.pm |