← 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_ne.pm
StatementsExecuted 38 statements in 263µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
61146µs1.26msFoswiki::Query::OP_ne::::evaluateFoswiki::Query::OP_ne::evaluate
31133µs79µsFoswiki::Query::OP_ne::::newFoswiki::Query::OP_ne::new
11113µs26µsFoswiki::Query::OP_ne::::BEGIN@11Foswiki::Query::OP_ne::BEGIN@11
1119µs13µsFoswiki::Query::OP_ne::::BEGIN@12Foswiki::Query::OP_ne::BEGIN@12
6118µs8µsFoswiki::Query::OP_ne::::__ANON__[:28]Foswiki::Query::OP_ne::__ANON__[:28]
1114µs4µsFoswiki::Query::OP_ne::::BEGIN@14Foswiki::Query::OP_ne::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_ne
6
7=cut
8
9package Foswiki::Query::OP_ne;
10
11225µs239µs
# spent 26µs (13+13) within Foswiki::Query::OP_ne::BEGIN@11 which was called: # once (13µs+13µs) by Foswiki::Query::Parser::BEGIN@49 at line 11
use strict;
# spent 26µs making 1 call to Foswiki::Query::OP_ne::BEGIN@11 # spent 13µs making 1 call to strict::import
12225µs217µs
# spent 13µs (9+4) within Foswiki::Query::OP_ne::BEGIN@12 which was called: # once (9µs+4µs) by Foswiki::Query::Parser::BEGIN@49 at line 12
use warnings;
# spent 13µs making 1 call to Foswiki::Query::OP_ne::BEGIN@12 # spent 4µs making 1 call to warnings::import
13
142111µs14µs
# spent 4µs within Foswiki::Query::OP_ne::BEGIN@14 which was called: # once (4µs+0s) by Foswiki::Query::Parser::BEGIN@49 at line 14
use Foswiki::Query::ConditionalOP ();
# spent 4µs making 1 call to Foswiki::Query::OP_ne::BEGIN@14
1517µsour @ISA = ('Foswiki::Query::ConditionalOP');
16
17
# spent 79µs (33+46) within Foswiki::Query::OP_ne::new which was called 3 times, avg 26µs/call: # 3 times (33µs+46µs) by Foswiki::Query::Parser::new at line 112 of /var/www/foswikidev/core/lib/Foswiki/Query/Parser.pm, avg 26µs/call
sub new {
1831µs my $class = shift;
19329µs346µs return $class->SUPER::new( arity => 2, name => '!=', prec => 500 );
# spent 46µs making 3 calls to Foswiki::Query::ConditionalOP::new, avg 15µs/call
20}
21
22
# spent 1.26ms (46µs+1.21) within Foswiki::Query::OP_ne::evaluate which was called 6 times, avg 210µs/call: # 6 times (46µs+1.21ms) by Foswiki::Query::Node::evaluate at line 223 of /var/www/foswikidev/core/lib/Foswiki/Query/Node.pm, avg 210µs/call
sub evaluate {
2361µs my $this = shift;
2461µs my $node = shift;
25 return $this->evalTest(
26 $node, \@_,
27 \&Foswiki::Query::ConditionalOP::compare,
28620µs
# spent 8µs within Foswiki::Query::OP_ne::__ANON__[/var/www/foswikidev/core/lib/Foswiki/Query/OP_ne.pm:28] which was called 6 times, avg 1µs/call: # 6 times (8µs+0s) by Foswiki::Query::ConditionalOP::compare at line 47 of /var/www/foswikidev/core/lib/Foswiki/Query/ConditionalOP.pm, avg 1µs/call
sub { $_[0] != 0 ? 1 : 0 }
29639µs61.21ms );
# spent 1.21ms making 6 calls to Foswiki::Query::ConditionalOP::evalTest, avg 202µs/call
30}
31
3213µs1;
33__END__