← 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_ne.pm
StatementsExecuted 34 statements in 386µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
51161µs2.40msFoswiki::Query::OP_ne::::evaluateFoswiki::Query::OP_ne::evaluate
31151µs98µsFoswiki::Query::OP_ne::::newFoswiki::Query::OP_ne::new
11122µs41µsFoswiki::Query::OP_ne::::BEGIN@11Foswiki::Query::OP_ne::BEGIN@11
11113µs20µsFoswiki::Query::OP_ne::::BEGIN@12Foswiki::Query::OP_ne::BEGIN@12
51110µs10µsFoswiki::Query::OP_ne::::__ANON__[:28]Foswiki::Query::OP_ne::__ANON__[:28]
1116µs6µ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
11243µs259µs
# spent 41µs (22+19) within Foswiki::Query::OP_ne::BEGIN@11 which was called: # once (22µs+19µs) by Foswiki::Query::Parser::new at line 11
use strict;
# spent 41µs making 1 call to Foswiki::Query::OP_ne::BEGIN@11 # spent 19µs making 1 call to strict::import
12235µs228µs
# spent 20µs (13+7) within Foswiki::Query::OP_ne::BEGIN@12 which was called: # once (13µs+7µs) by Foswiki::Query::Parser::new at line 12
use warnings;
# spent 20µs making 1 call to Foswiki::Query::OP_ne::BEGIN@12 # spent 7µs making 1 call to warnings::import
13
142167µs16µs
# spent 6µs within Foswiki::Query::OP_ne::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_ne::BEGIN@14
15110µsour @ISA = ('Foswiki::Query::BinaryOP');
16
17
# spent 98µs (51+48) within Foswiki::Query::OP_ne::new which was called 3 times, avg 33µs/call: # 3 times (51µs+48µs) by Foswiki::Query::Parser::new at line 47 of /var/www/foswiki11/lib/Foswiki/Query/Parser.pm, avg 33µs/call
sub new {
1833µs my $class = shift;
19343µs348µs return $class->SUPER::new( name => '!=', prec => 500 );
# spent 48µs making 3 calls to Foswiki::Query::BinaryOP::new, avg 16µs/call
20}
21
22
# spent 2.40ms (61µs+2.34) within Foswiki::Query::OP_ne::evaluate which was called 5 times, avg 479µs/call: # 5 times (61µs+2.34ms) by Foswiki::Query::Node::evaluate at line 184 of /var/www/foswiki11/lib/Foswiki/Query/Node.pm, avg 479µs/call
sub evaluate {
2352µs my $this = shift;
2452µs my $node = shift;
25 return $this->evalTest(
26 $node, \@_,
27 \&Foswiki::Query::BinaryOP::compare,
28519µs
# spent 10µs within Foswiki::Query::OP_ne::__ANON__[/var/www/foswiki11/lib/Foswiki/Query/OP_ne.pm:28] which was called 5 times, avg 2µs/call: # 5 times (10µs+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 }
29558µs52.34ms );
# spent 2.34ms making 5 calls to Foswiki::Query::BinaryOP::evalTest, avg 467µs/call
30}
31
3214µs1;
33__END__