← 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_eq.pm
StatementsExecuted 35062 statements in 135ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
87621162.9ms1.62sFoswiki::Query::OP_eq::::evaluateFoswiki::Query::OP_eq::evaluate
87621114.2ms14.2msFoswiki::Query::OP_eq::::__ANON__[:28]Foswiki::Query::OP_eq::__ANON__[:28]
31151µs102µsFoswiki::Query::OP_eq::::newFoswiki::Query::OP_eq::new
11126µs35µsFoswiki::Query::OP_eq::::BEGIN@12Foswiki::Query::OP_eq::BEGIN@12
11124µs45µsFoswiki::Query::OP_eq::::BEGIN@11Foswiki::Query::OP_eq::BEGIN@11
1116µs6µsFoswiki::Query::OP_eq::::BEGIN@14Foswiki::Query::OP_eq::BEGIN@14
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
2
3=begin TML
4
5---+ package Foswiki::Query::OP_eq
6
7=cut
8
9package Foswiki::Query::OP_eq;
10
11246µs267µs
# spent 45µs (24+22) within Foswiki::Query::OP_eq::BEGIN@11 which was called: # once (24µs+22µs) by Foswiki::Query::Parser::new at line 11
use strict;
# spent 45µs making 1 call to Foswiki::Query::OP_eq::BEGIN@11 # spent 22µs making 1 call to strict::import
12252µs243µs
# spent 35µs (26+9) within Foswiki::Query::OP_eq::BEGIN@12 which was called: # once (26µs+9µs) by Foswiki::Query::Parser::new at line 12
use warnings;
# spent 35µs making 1 call to Foswiki::Query::OP_eq::BEGIN@12 # spent 9µs making 1 call to warnings::import
13
142181µs16µs
# spent 6µs within Foswiki::Query::OP_eq::BEGIN@14 which was called: # once (6µs+0s) by Foswiki::Query::Parser::new at line 14
use Foswiki::Query::BinaryOP ();
# spent 6µs making 1 call to Foswiki::Query::OP_eq::BEGIN@14
15110µsour @ISA = ('Foswiki::Query::BinaryOP');
16
17
# spent 102µs (51+50) within Foswiki::Query::OP_eq::new which was called 3 times, avg 34µs/call: # 3 times (51µs+50µs) by Foswiki::Query::Parser::new at line 47 of /var/www/foswiki11/lib/Foswiki/Query/Parser.pm, avg 34µs/call
sub new {
1833µs my $class = shift;
19345µs350µs return $class->SUPER::new( name => '=', prec => 500 );
# spent 50µs making 3 calls to Foswiki::Query::BinaryOP::new, avg 17µs/call
20}
21
22
# spent 1.62s (62.9ms+1.56) within Foswiki::Query::OP_eq::evaluate which was called 8762 times, avg 185µs/call: # 8762 times (62.9ms+1.56s) by Foswiki::Query::Node::evaluate at line 184 of /var/www/foswiki11/lib/Foswiki/Query/Node.pm, avg 185µs/call
sub evaluate {
2387622.85ms my $this = shift;
2487621.58ms my $node = shift;
25 return $this->evalTest(
26 $node, \@_,
27 \&Foswiki::Query::BinaryOP::compare,
28876248.8ms
# spent 14.2ms within Foswiki::Query::OP_eq::__ANON__[/var/www/foswiki11/lib/Foswiki/Query/OP_eq.pm:28] which was called 8762 times, avg 2µs/call: # 8762 times (14.2ms+0s) by Foswiki::Query::BinaryOP::compare at line 27 of /var/www/foswiki11/lib/Foswiki/Query/BinaryOP.pm, avg 2µs/call
sub { $_[0] == 0 ? 1 : 0 }
29876281.8ms87621.56s );
# spent 1.56s making 8762 calls to Foswiki::Query::BinaryOP::evalTest, avg 178µs/call
30}
31
3214µs1;
33__END__