Filename | /var/www/foswikidev/core/bin/view |
Statements | Executed 26 statements in 7.06ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
126791 | 1 | 1 | 706ms | 706ms | decode (xsub) | Encode::XS::
132011 | 1 | 1 | 197ms | 197ms | encode (xsub) | Encode::XS::
62379 | 14 | 10 | 82.8ms | 82.8ms | isa (xsub) | UNIVERSAL::
1 | 1 | 1 | 14.6ms | 197ms | BEGIN@27 | main::
1 | 1 | 1 | 4.28ms | 4.29ms | BEGIN@4 | main::
1 | 1 | 1 | 3.98ms | 5.76ms | BEGIN@6 | main::
1 | 1 | 1 | 3.62ms | 10.1ms | BEGIN@11 | main::
1 | 1 | 1 | 2.73ms | 5.06ms | BEGIN@28 | main::
1 | 1 | 1 | 768µs | 814µs | BEGIN@3 | main::
1 | 1 | 1 | 572µs | 6.86ms | BEGIN@8 | main::
249 | 3 | 3 | 304µs | 304µs | can (xsub) | UNIVERSAL::
1 | 1 | 1 | 214µs | 214µs | BEGIN@0 (xsub) | main::
1 | 1 | 1 | 180µs | 591µs | BEGIN@589 | Foswiki::Templates::
94 | 1 | 1 | 145µs | 145µs | method_changed_in (xsub) | mro::
98 | 1 | 1 | 109µs | 109µs | SvREADONLY (xsub) | Internals::
3 | 3 | 3 | 76µs | 76µs | VERSION (xsub) | UNIVERSAL::
1 | 1 | 1 | 21µs | 22µs | O_NOINHERIT | Fcntl::
1 | 1 | 1 | 10µs | 11µs | O_TEMPORARY | Fcntl::
1 | 1 | 1 | 10µs | 11µs | O_EXLOCK | Fcntl::
1 | 1 | 1 | 6µs | 6µs | BEGIN@177 | Foswiki::Serialise::Embedded::
0 | 0 | 0 | 0s | 0s | RUNTIME | main::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
0 | 5 | 879µs | Profile data that couldn't be associated with a specific line: # spent 591µs making 1 call to Foswiki::Templates::BEGIN@589
# spent 214µs making 1 call to main::BEGIN@0
# spent 63µs making 1 call to File::Temp::END
# spent 6µs making 1 call to Monitor::END
# spent 6µs making 1 call to Foswiki::Serialise::Embedded::BEGIN@177 | ||
1 | 3 | 347µs | #! /usr/bin/env perl | ||
2 | # See bottom of file for license and copyright information | ||||
3 | 2 | 737µs | 2 | 860µs | # spent 814µs (768+46) within main::BEGIN@3 which was called:
# once (768µs+46µs) by main::RUNTIME at line 3 # spent 814µs making 1 call to main::BEGIN@3
# spent 46µs making 1 call to strict::import |
4 | 2 | 4.10ms | 2 | 4.31ms | # spent 4.29ms (4.28+17µs) within main::BEGIN@4 which was called:
# once (4.28ms+17µs) by main::RUNTIME at line 4 # spent 4.29ms making 1 call to main::BEGIN@4
# spent 17µs making 1 call to warnings::import |
5 | |||||
6 | 2 | 295µs | 1 | 5.76ms | # spent 5.76ms (3.98+1.77) within main::BEGIN@6 which was called:
# once (3.98ms+1.77ms) by main::RUNTIME at line 6 # spent 5.76ms making 1 call to main::BEGIN@6 |
7 | |||||
8 | # spent 6.86ms (572µs+6.29) within main::BEGIN@8 which was called:
# once (572µs+6.29ms) by main::RUNTIME at line 25 | ||||
9 | 1 | 3µs | if ( defined $ENV{GATEWAY_INTERFACE} || defined $ENV{MOD_PERL} ) { | ||
10 | $Foswiki::cfg{Engine} = 'Foswiki::Engine::CGI'; | ||||
11 | 2 | 711µs | 2 | 10.2ms | # spent 10.1ms (3.62+6.47) within main::BEGIN@11 which was called:
# once (3.62ms+6.47ms) by main::RUNTIME at line 11 # spent 10.1ms making 1 call to main::BEGIN@11
# spent 108µs making 1 call to CGI::Carp::import |
12 | $SIG{__DIE__} = \&CGI::Carp::confess; | ||||
13 | } | ||||
14 | else { | ||||
15 | 1 | 2µs | $Foswiki::cfg{Engine} = 'Foswiki::Engine::CLI'; | ||
16 | 1 | 800ns | require Carp; | ||
17 | 1 | 3µs | $SIG{__DIE__} = \&Carp::confess; | ||
18 | } | ||||
19 | 1 | 10µs | 1 | 19µs | my ( $volume, $binDir, $action ) = File::Spec->splitpath(__FILE__); # spent 19µs making 1 call to File::Spec::Unix::splitpath |
20 | 1 | 9µs | 1 | 11µs | my $setlib = File::Spec->catpath( $volume, $binDir, 'setlib.cfg' ); # spent 11µs making 1 call to File::Spec::Unix::catpath |
21 | 1 | 300ns | @INC = ( '.', grep { $_ ne '.' } @INC ) unless $binDir; | ||
22 | 1 | 144µs | require $setlib; | ||
23 | 1 | 1µs | $action =~ s/\..*$//; # Remove eventual file extension | ||
24 | 1 | 12µs | $ENV{FOSWIKI_ACTION} = $action; | ||
25 | 1 | 60µs | 1 | 6.86ms | } # spent 6.86ms making 1 call to main::BEGIN@8 |
26 | |||||
27 | 2 | 211µs | 1 | 197ms | # spent 197ms (14.6+182) within main::BEGIN@27 which was called:
# once (14.6ms+182ms) by main::RUNTIME at line 27 # spent 197ms making 1 call to main::BEGIN@27 |
28 | 2 | 409µs | 1 | 5.06ms | # spent 5.06ms (2.73+2.33) within main::BEGIN@28 which was called:
# once (2.73ms+2.33ms) by main::RUNTIME at line 28 # spent 5.06ms making 1 call to main::BEGIN@28 |
29 | 1 | 5µs | 1 | 138s | $Foswiki::engine->run(); # spent 138s making 1 call to Foswiki::Engine::CLI::run |
30 | __END__ | ||||
31 | |||||
- - | |||||
177 | # spent 6µs within Foswiki::Serialise::Embedded::BEGIN@177 which was called:
# once (6µs+0s) by Foswiki::Serialise::Embedded::_readKeyValues at line 0 | ||||
- - | |||||
# spent 706ms within Encode::XS::decode which was called 126791 times, avg 6µs/call:
# 126791 times (706ms+0s) by Encode::decode at line 176 of Encode.pm, avg 6µs/call | |||||
# spent 197ms within Encode::XS::encode which was called 132011 times, avg 1µs/call:
# 132011 times (197ms+0s) by Encode::encode at line 160 of Encode.pm, avg 1µs/call | |||||
# spent 109µs within Internals::SvREADONLY which was called 98 times, avg 1µs/call:
# 98 times (109µs+0s) by constant::import at line 136 of constant.pm, avg 1µs/call | |||||
# spent 76µs within UNIVERSAL::VERSION which was called 3 times, avg 25µs/call:
# once (48µs+0s) by Foswiki::BEGIN@208 at line 208 of /var/www/foswikidev/core/lib/Foswiki.pm
# once (16µs+0s) by JSON::BEGIN@1 at line 2 of (eval 13)[JSON.pm:290]
# once (12µs+0s) by version::BEGIN@1 at line 2 of (eval 53)[version.pm:15] | |||||
# spent 304µs within UNIVERSAL::can which was called 249 times, avg 1µs/call:
# 240 times (290µs+0s) by Foswiki::Query::Node::simplify at line 354 of /var/www/foswikidev/core/lib/Foswiki/Query/Node.pm, avg 1µs/call
# 6 times (9µs+0s) by CGI::can at line 266 of CGI.pm, avg 1µs/call
# 3 times (5µs+0s) by Foswiki::Users::getCanonicalUserID at line 480 of /var/www/foswikidev/core/lib/Foswiki/Users.pm, avg 2µs/call | |||||
# spent 82.8ms within UNIVERSAL::isa which was called 62379 times, avg 1µs/call:
# 26761 times (35.0ms+0s) by Foswiki::Meta::new at line 343 of /var/www/foswikidev/core/lib/Foswiki/Meta.pm, avg 1µs/call
# 17520 times (28.2ms+0s) by Foswiki::Search::formatResults at line 760 of /var/www/foswikidev/core/lib/Foswiki/Search.pm, avg 2µs/call
# 8760 times (14.3ms+0s) by Foswiki::Query::Node::evaluate at line 207 of /var/www/foswikidev/core/lib/Foswiki/Query/Node.pm, avg 2µs/call
# 8760 times (4.79ms+0s) by Foswiki::Query::Node::_getField at line 242 of /var/www/foswikidev/core/lib/Foswiki/Query/Node.pm, avg 547ns/call
# 320 times (243µs+0s) by Foswiki::Query::Node::toString at line 94 of /var/www/foswikidev/core/lib/Foswiki/Query/Node.pm, avg 761ns/call
# 80 times (137µs+0s) by Foswiki::Store::Rcs::Store::query at line 641 of /var/www/foswikidev/core/lib/Foswiki/Store/Rcs/Store.pm, avg 2µs/call
# 80 times (64µs+0s) by Foswiki::Query::Node::toString at line 110 of /var/www/foswikidev/core/lib/Foswiki/Query/Node.pm, avg 805ns/call
# 65 times (52µs+0s) by CGI::self_or_default at line 476 of CGI.pm, avg 808ns/call
# 20 times (26µs+0s) by CGI::self_or_CGI at line 487 of CGI.pm, avg 1µs/call
# 9 times (23µs+0s) by base::import at line 74 of base.pm, avg 3µs/call
# once (2µs+0s) by Foswiki::Engine::CLI::run at line 59 of /var/www/foswikidev/core/lib/Foswiki/Engine/CLI.pm
# once (2µs+0s) by Foswiki::UI::handleRequest at line 287 of /var/www/foswikidev/core/lib/Foswiki/UI.pm
# once (2µs+0s) by Foswiki::load_package at line 1742 of /var/www/foswikidev/core/lib/Foswiki.pm
# once (1µs+0s) by Foswiki::I18N::new at line 164 of /var/www/foswikidev/core/lib/Foswiki/I18N.pm | |||||
# spent 214µs within main::BEGIN@0 which was called:
# once (214µs+0s) by main::RUNTIME at line 0 | |||||
# spent 145µs within mro::method_changed_in which was called 94 times, avg 2µs/call:
# 94 times (145µs+0s) by constant::import at line 151 of constant.pm, avg 2µs/call |