Filename | /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_empty.pm |
Statements | Executed 10 statements in 406µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 591µs | 657µs | BEGIN@14 | Foswiki::Query::OP_empty::
1 | 1 | 1 | 36µs | 54µs | new | Foswiki::Query::OP_empty::
1 | 1 | 1 | 25µs | 33µs | BEGIN@11 | Foswiki::Query::OP_empty::
1 | 1 | 1 | 17µs | 34µs | BEGIN@12 | Foswiki::Query::OP_empty::
0 | 0 | 0 | 0s | 0s | evaluate | Foswiki::Query::OP_empty::
0 | 0 | 0 | 0s | 0s | evaluatesToConstant | Foswiki::Query::OP_empty::
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 | |||||
9 | package Foswiki::Query::OP_empty; | ||||
10 | |||||
11 | 2 | 55µs | 2 | 40µ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 # spent 33µs making 1 call to Foswiki::Query::OP_empty::BEGIN@11
# spent 8µs making 1 call to strict::import |
12 | 2 | 43µs | 2 | 52µ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 # spent 34µs making 1 call to Foswiki::Query::OP_empty::BEGIN@12
# spent 18µs making 1 call to warnings::import |
13 | |||||
14 | 2 | 259µs | 1 | 657µ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 # spent 657µs making 1 call to Foswiki::Query::OP_empty::BEGIN@14 |
15 | 1 | 11µs | our @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 | ||||
18 | 2 | 34µs | my $class = shift; | ||
19 | 1 | 18µs | return $class->SUPER::new( name => '()', prec => 0, arity => 0 ); # spent 18µs making 1 call to Foswiki::Query::OP::new | ||
20 | } | ||||
21 | |||||
22 | sub evaluate { | ||||
23 | my $this = shift; | ||||
24 | return []; | ||||
25 | } | ||||
26 | |||||
27 | sub evaluatesToConstant { | ||||
28 | return 1; | ||||
29 | } | ||||
30 | |||||
31 | 1 | 5µs | 1; | ||
32 | __END__ |