Filename | /var/www/foswiki11/lib/Foswiki/Query/OP.pm |
Statements | Executed 135 statements in 836µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
65 | 2 | 2 | 538µs | 538µs | new | Foswiki::Query::OP::
1 | 1 | 1 | 23µs | 44µs | BEGIN@4 | Foswiki::Query::OP::
1 | 1 | 1 | 13µs | 21µs | BEGIN@5 | Foswiki::Query::OP::
0 | 0 | 0 | 0s | 0s | evaluatesToConstant | Foswiki::Query::OP::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | # See bottom of file for license and copyright information | ||||
2 | package Foswiki::Query::OP; | ||||
3 | |||||
4 | 2 | 41µs | 2 | 65µs | # spent 44µs (23+21) within Foswiki::Query::OP::BEGIN@4 which was called:
# once (23µs+21µs) by Foswiki::Query::BinaryOP::BEGIN@6 at line 4 # spent 44µs making 1 call to Foswiki::Query::OP::BEGIN@4
# spent 21µs making 1 call to strict::import |
5 | 2 | 122µs | 2 | 29µs | # spent 21µs (13+8) within Foswiki::Query::OP::BEGIN@5 which was called:
# once (13µs+8µs) by Foswiki::Query::BinaryOP::BEGIN@6 at line 5 # spent 21µs making 1 call to Foswiki::Query::OP::BEGIN@5
# spent 8µs making 1 call to warnings::import |
6 | |||||
7 | # spent 538µs within Foswiki::Query::OP::new which was called 65 times, avg 8µs/call:
# 41 times (320µs+0s) by Foswiki::Query::BinaryOP::new at line 11 of /var/www/foswiki11/lib/Foswiki/Query/BinaryOP.pm, avg 8µs/call
# 24 times (217µs+0s) by Foswiki::Query::UnaryOP::new at line 11 of /var/www/foswiki11/lib/Foswiki/Query/UnaryOP.pm, avg 9µs/call | ||||
8 | 65 | 164µs | my ( $class, %opts ) = @_; | ||
9 | 65 | 505µs | return bless( \%opts, $class ); | ||
10 | } | ||||
11 | |||||
12 | # Does this operator evaluate to a constant? | ||||
13 | # See Foswiki::Query::Node::evaluatesToConstant | ||||
14 | sub evaluatesToConstant { | ||||
15 | return 0; | ||||
16 | } | ||||
17 | |||||
18 | 1 | 4µs | 1; | ||
19 | __END__ |