Filename | /var/www/foswikidev/core/lib/Foswiki/Query/OP_empty.pm |
Statements | Executed 10 statements in 241µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 356µs | 393µs | BEGIN@14 | Foswiki::Query::OP_empty::
1 | 1 | 1 | 21µs | 30µs | new | Foswiki::Query::OP_empty::
1 | 1 | 1 | 13µs | 26µs | BEGIN@11 | Foswiki::Query::OP_empty::
1 | 1 | 1 | 11µs | 15µ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 | 25µs | 2 | 40µs | # spent 26µs (13+14) within Foswiki::Query::OP_empty::BEGIN@11 which was called:
# once (13µs+14µs) by Foswiki::Query::Node::BEGIN@75 at line 11 # spent 26µs making 1 call to Foswiki::Query::OP_empty::BEGIN@11
# spent 14µs making 1 call to strict::import |
12 | 2 | 25µs | 2 | 19µs | # spent 15µs (11+4) within Foswiki::Query::OP_empty::BEGIN@12 which was called:
# once (11µs+4µs) by Foswiki::Query::Node::BEGIN@75 at line 12 # spent 15µs making 1 call to Foswiki::Query::OP_empty::BEGIN@12
# spent 4µs making 1 call to warnings::import |
13 | |||||
14 | 2 | 162µs | 1 | 393µs | # spent 393µs (356+37) within Foswiki::Query::OP_empty::BEGIN@14 which was called:
# once (356µs+37µs) by Foswiki::Query::Node::BEGIN@75 at line 14 # spent 393µs making 1 call to Foswiki::Query::OP_empty::BEGIN@14 |
15 | 1 | 7µs | our @ISA = ('Foswiki::Query::OP'); | ||
16 | |||||
17 | # spent 30µs (21+10) within Foswiki::Query::OP_empty::new which was called:
# once (21µs+10µs) by Foswiki::Query::Node::BEGIN@75 at line 77 of /var/www/foswikidev/core/lib/Foswiki/Query/Node.pm | ||||
18 | 1 | 600ns | my $class = shift; | ||
19 | 1 | 19µs | 1 | 10µs | return $class->SUPER::new( name => '()', prec => 0, arity => 0 ); # spent 10µ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 | 3µs | 1; | ||
32 | __END__ |