← 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:26:53 2011

Filename/usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_empty.pm
StatementsExecuted 10 statements in 406µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
111591µs657µsFoswiki::Query::OP_empty::::BEGIN@14Foswiki::Query::OP_empty::BEGIN@14
11136µs54µsFoswiki::Query::OP_empty::::newFoswiki::Query::OP_empty::new
11125µs33µsFoswiki::Query::OP_empty::::BEGIN@11Foswiki::Query::OP_empty::BEGIN@11
11117µs34µsFoswiki::Query::OP_empty::::BEGIN@12Foswiki::Query::OP_empty::BEGIN@12
0000s0sFoswiki::Query::OP_empty::::evaluateFoswiki::Query::OP_empty::evaluate
0000s0sFoswiki::Query::OP_empty::::evaluatesToConstantFoswiki::Query::OP_empty::evaluatesToConstant
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_in
6
7=cut
8
9package Foswiki::Query::OP_empty;
10
11255µs240µs
# spent 33µs (25+7) within Foswiki::Query::OP_empty::BEGIN@11 which was called: # once (25µs+7µs) by Foswiki::Query::Node::BEGIN@75 at line 11
use strict;
# spent 33µs making 1 call to Foswiki::Query::OP_empty::BEGIN@11 # spent 8µs making 1 call to strict::import
12243µs252µs
# spent 34µs (17+18) within Foswiki::Query::OP_empty::BEGIN@12 which was called: # once (17µs+18µs) by Foswiki::Query::Node::BEGIN@75 at line 12
use warnings;
# spent 34µs making 1 call to Foswiki::Query::OP_empty::BEGIN@12 # spent 18µs making 1 call to warnings::import
13
142259µs1657µs
# spent 657µs (591+66) within Foswiki::Query::OP_empty::BEGIN@14 which was called: # once (591µs+66µs) by Foswiki::Query::Node::BEGIN@75 at line 14
use Foswiki::Query::OP ();
# spent 657µs making 1 call to Foswiki::Query::OP_empty::BEGIN@14
15111µsour @ISA = ('Foswiki::Query::OP');
16
17
# spent 54µs (36+18) within Foswiki::Query::OP_empty::new which was called: # once (36µs+18µs) by Foswiki::Query::Node::BEGIN@75 at line 77 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/Node.pm
sub new {
18234µs my $class = shift;
19118µs return $class->SUPER::new( name => '()', prec => 0, arity => 0 );
# spent 18µs making 1 call to Foswiki::Query::OP::new
20}
21
22sub evaluate {
23 my $this = shift;
24 return [];
25}
26
27sub evaluatesToConstant {
28 return 1;
29}
30
3115µs1;
32__END__