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

Filename/var/www/foswiki11/lib/Foswiki/Query/OP.pm
StatementsExecuted 135 statements in 836µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
6522538µs538µsFoswiki::Query::OP::::newFoswiki::Query::OP::new
11123µs44µsFoswiki::Query::OP::::BEGIN@4Foswiki::Query::OP::BEGIN@4
11113µs21µsFoswiki::Query::OP::::BEGIN@5Foswiki::Query::OP::BEGIN@5
0000s0sFoswiki::Query::OP::::evaluatesToConstantFoswiki::Query::OP::evaluatesToConstant
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::Query::OP;
3
4241µs265µs
# spent 44µs (23+21) within Foswiki::Query::OP::BEGIN@4 which was called: # once (23µs+21µs) by Foswiki::Query::BinaryOP::BEGIN@6 at line 4
use strict;
# spent 44µs making 1 call to Foswiki::Query::OP::BEGIN@4 # spent 21µs making 1 call to strict::import
52122µs229µs
# spent 21µs (13+8) within Foswiki::Query::OP::BEGIN@5 which was called: # once (13µs+8µs) by Foswiki::Query::BinaryOP::BEGIN@6 at line 5
use warnings;
# spent 21µs making 1 call to Foswiki::Query::OP::BEGIN@5 # spent 8µs making 1 call to warnings::import
6
7
# spent 538µs within Foswiki::Query::OP::new which was called 65 times, avg 8µs/call: # 41 times (320µs+0s) by Foswiki::Query::BinaryOP::new at line 11 of /var/www/foswiki11/lib/Foswiki/Query/BinaryOP.pm, avg 8µs/call # 24 times (217µs+0s) by Foswiki::Query::UnaryOP::new at line 11 of /var/www/foswiki11/lib/Foswiki/Query/UnaryOP.pm, avg 9µs/call
sub new {
865164µs my ( $class, %opts ) = @_;
965505µs return bless( \%opts, $class );
10}
11
12# Does this operator evaluate to a constant?
13# See Foswiki::Query::Node::evaluatesToConstant
14sub evaluatesToConstant {
15 return 0;
16}
17
1814µs1;
19__END__