← Index
NYTProf Performance Profile   « line view »
For ./view
  Run on Fri Jul 31 18:42:36 2015
Reported on Fri Jul 31 18:48:15 2015

Filename/var/www/foswikidev/core/lib/Foswiki/Query/OP_eq.pm
StatementsExecuted 35066 statements in 113ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
87631187.4ms1.10sFoswiki::Query::OP_eq::::evaluateFoswiki::Query::OP_eq::evaluate
87631113.3ms13.3msFoswiki::Query::OP_eq::::__ANON__[:28]Foswiki::Query::OP_eq::__ANON__[:28]
31133µs72µsFoswiki::Query::OP_eq::::newFoswiki::Query::OP_eq::new
11118µs30µsFoswiki::Query::OP_eq::::BEGIN@11Foswiki::Query::OP_eq::BEGIN@11
11110µs14µsFoswiki::Query::OP_eq::::BEGIN@12Foswiki::Query::OP_eq::BEGIN@12
1113µs3µ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
11227µs242µs
# spent 30µs (18+12) within Foswiki::Query::OP_eq::BEGIN@11 which was called: # once (18µs+12µs) by Foswiki::Query::Parser::BEGIN@47 at line 11
use strict;
# spent 30µs making 1 call to Foswiki::Query::OP_eq::BEGIN@11 # spent 12µs making 1 call to strict::import
12224µs218µs
# spent 14µs (10+4) within Foswiki::Query::OP_eq::BEGIN@12 which was called: # once (10µs+4µs) by Foswiki::Query::Parser::BEGIN@47 at line 12
use warnings;
# spent 14µs making 1 call to Foswiki::Query::OP_eq::BEGIN@12 # spent 4µs making 1 call to warnings::import
13
142114µs13µs
# spent 3µs within Foswiki::Query::OP_eq::BEGIN@14 which was called: # once (3µs+0s) by Foswiki::Query::Parser::BEGIN@47 at line 14
use Foswiki::Query::ConditionalOP ();
# spent 3µs making 1 call to Foswiki::Query::OP_eq::BEGIN@14
1516µsour @ISA = ('Foswiki::Query::ConditionalOP');
16
17
# spent 72µs (33+39) within Foswiki::Query::OP_eq::new which was called 3 times, avg 24µs/call: # 3 times (33µs+39µs) by Foswiki::Query::Parser::new at line 112 of /var/www/foswikidev/core/lib/Foswiki/Query/Parser.pm, avg 24µs/call
sub new {
1832µs my $class = shift;
19329µs339µs return $class->SUPER::new( name => '=', prec => 500 );
# spent 39µs making 3 calls to Foswiki::Query::ConditionalOP::new, avg 13µs/call
20}
21
22
# spent 1.10s (87.4ms+1.01) within Foswiki::Query::OP_eq::evaluate which was called 8763 times, avg 126µs/call: # 8763 times (87.4ms+1.01s) by Foswiki::Query::Node::evaluate at line 223 of /var/www/foswikidev/core/lib/Foswiki/Query/Node.pm, avg 126µs/call
sub evaluate {
2387631.98ms my $this = shift;
2487631.25ms my $node = shift;
25 return $this->evalTest(
26 $node, \@_,
27 \&Foswiki::Query::ConditionalOP::compare,
28876347.5ms
# spent 13.3ms within Foswiki::Query::OP_eq::__ANON__[/var/www/foswikidev/core/lib/Foswiki/Query/OP_eq.pm:28] which was called 8763 times, avg 2µs/call: # 8763 times (13.3ms+0s) by Foswiki::Query::ConditionalOP::compare at line 47 of /var/www/foswikidev/core/lib/Foswiki/Query/ConditionalOP.pm, avg 2µs/call
sub { $_[0] == 0 ? 1 : 0 }
29876361.8ms87631.01s );
# spent 1.01s making 8763 calls to Foswiki::Query::ConditionalOP::evalTest, avg 116µs/call
30}
31
3213µs1;
33__END__