← Index
NYTProf Performance Profile   « block view • line view • sub view »
For /usr/local/src/github.com/foswiki/core/bin/view
  Run on Sun Dec 4 17:17:59 2011
Reported on Sun Dec 4 17:27:19 2011

Filename/usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_ne.pm
StatementsExecuted 62 statements in 786µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1211354µs6.31msFoswiki::Query::OP_ne::::evaluateFoswiki::Query::OP_ne::evaluate
31168µs156µsFoswiki::Query::OP_ne::::newFoswiki::Query::OP_ne::new
121159µs59µsFoswiki::Query::OP_ne::::__ANON__[:28]Foswiki::Query::OP_ne::__ANON__[:28]
11124µs31µsFoswiki::Query::OP_ne::::BEGIN@11Foswiki::Query::OP_ne::BEGIN@11
11116µs34µsFoswiki::Query::OP_ne::::BEGIN@12Foswiki::Query::OP_ne::BEGIN@12
1119µs9µ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
11245µs238µs
# spent 31µs (24+7) within Foswiki::Query::OP_ne::BEGIN@11 which was called: # once (24µs+7µs) by Foswiki::Query::Parser::BEGIN@42 at line 11
use strict;
# spent 31µs making 1 call to Foswiki::Query::OP_ne::BEGIN@11 # spent 7µs making 1 call to strict::import
12243µs253µs
# spent 34µs (16+18) within Foswiki::Query::OP_ne::BEGIN@12 which was called: # once (16µs+18µs) by Foswiki::Query::Parser::BEGIN@42 at line 12
use warnings;
# spent 34µs making 1 call to Foswiki::Query::OP_ne::BEGIN@12 # spent 18µs making 1 call to warnings::import
13
142188µs19µs
# spent 9µs within Foswiki::Query::OP_ne::BEGIN@14 which was called: # once (9µs+0s) by Foswiki::Query::Parser::BEGIN@42 at line 14
use Foswiki::Query::ConditionalOP ();
# spent 9µs making 1 call to Foswiki::Query::OP_ne::BEGIN@14
1519µsour @ISA = ('Foswiki::Query::ConditionalOP');
16
17
# spent 156µs (68+88) within Foswiki::Query::OP_ne::new which was called 3 times, avg 52µs/call: # 3 times (68µs+88µs) by Foswiki::Query::Parser::new at line 105 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/Parser.pm, avg 52µs/call
sub new {
1835µs my $class = shift;
19352µs388µs return $class->SUPER::new( arity => 2, name => '!=', prec => 500 );
# spent 88µs making 3 calls to Foswiki::Query::ConditionalOP::new, avg 29µs/call
20}
21
22
# spent 6.31ms (354µs+5.96) within Foswiki::Query::OP_ne::evaluate which was called 12 times, avg 526µs/call: # 12 times (354µs+5.96ms) by Foswiki::Query::Node::evaluate at line 223 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/Node.pm, avg 526µs/call
sub evaluate {
231221µs my $this = shift;
241231µs my $node = shift;
25 return $this->evalTest(
26 $node, \@_,
27 \&Foswiki::Query::ConditionalOP::compare,
281283µs
# spent 59µs within Foswiki::Query::OP_ne::__ANON__[/usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_ne.pm:28] which was called 12 times, avg 5µs/call: # 12 times (59µs+0s) by Foswiki::Query::ConditionalOP::compare at line 47 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/ConditionalOP.pm, avg 5µs/call
sub { $_[0] != 0 ? 1 : 0 }
2912303µs125.96ms );
# spent 5.96ms making 12 calls to Foswiki::Query::ConditionalOP::evalTest, avg 497µs/call
30}
31
3216µs1;
33__END__