Filename | /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_eq.pm |
Statements | Executed 54 statements in 699µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
10 | 1 | 1 | 307µs | 4.64ms | evaluate | Foswiki::Query::OP_eq::
3 | 1 | 1 | 70µs | 156µs | new | Foswiki::Query::OP_eq::
10 | 1 | 1 | 56µs | 56µs | __ANON__[:28] | Foswiki::Query::OP_eq::
1 | 1 | 1 | 28µs | 35µs | BEGIN@11 | Foswiki::Query::OP_eq::
1 | 1 | 1 | 17µs | 34µs | BEGIN@12 | Foswiki::Query::OP_eq::
1 | 1 | 1 | 9µs | 9µs | BEGIN@14 | Foswiki::Query::OP_eq::
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_eq | ||||
6 | |||||
7 | =cut | ||||
8 | |||||
9 | package Foswiki::Query::OP_eq; | ||||
10 | |||||
11 | 2 | 45µs | 2 | 42µs | # spent 35µs (28+7) within Foswiki::Query::OP_eq::BEGIN@11 which was called:
# once (28µs+7µs) by Foswiki::Query::Parser::BEGIN@40 at line 11 # spent 35µs making 1 call to Foswiki::Query::OP_eq::BEGIN@11
# spent 7µs making 1 call to strict::import |
12 | 2 | 44µs | 2 | 52µs | # spent 34µs (17+18) within Foswiki::Query::OP_eq::BEGIN@12 which was called:
# once (17µs+18µs) by Foswiki::Query::Parser::BEGIN@40 at line 12 # spent 34µs making 1 call to Foswiki::Query::OP_eq::BEGIN@12
# spent 18µs making 1 call to warnings::import |
13 | |||||
14 | 2 | 193µs | 1 | 9µs | # spent 9µs within Foswiki::Query::OP_eq::BEGIN@14 which was called:
# once (9µs+0s) by Foswiki::Query::Parser::BEGIN@40 at line 14 # spent 9µs making 1 call to Foswiki::Query::OP_eq::BEGIN@14 |
15 | 1 | 9µs | our @ISA = ('Foswiki::Query::ConditionalOP'); | ||
16 | |||||
17 | # spent 156µs (70+86) within Foswiki::Query::OP_eq::new which was called 3 times, avg 52µs/call:
# 3 times (70µs+86µs) by Foswiki::Query::Parser::new at line 105 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/Parser.pm, avg 52µs/call | ||||
18 | 3 | 6µs | my $class = shift; | ||
19 | 3 | 54µs | 3 | 86µs | return $class->SUPER::new( name => '=', prec => 500 ); # spent 86µs making 3 calls to Foswiki::Query::ConditionalOP::new, avg 29µs/call |
20 | } | ||||
21 | |||||
22 | # spent 4.64ms (307µs+4.33) within Foswiki::Query::OP_eq::evaluate which was called 10 times, avg 464µs/call:
# 10 times (307µs+4.33ms) by Foswiki::Query::Node::evaluate at line 223 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/Node.pm, avg 464µs/call | ||||
23 | 10 | 18µs | my $this = shift; | ||
24 | 10 | 14µs | my $node = shift; | ||
25 | return $this->evalTest( | ||||
26 | $node, \@_, | ||||
27 | \&Foswiki::Query::ConditionalOP::compare, | ||||
28 | 10 | 76µs | # spent 56µs within Foswiki::Query::OP_eq::__ANON__[/usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/OP_eq.pm:28] which was called 10 times, avg 6µs/call:
# 10 times (56µs+0s) by Foswiki::Query::ConditionalOP::compare at line 47 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Query/ConditionalOP.pm, avg 6µs/call | ||
29 | 10 | 235µs | 10 | 4.33ms | ); # spent 4.33ms making 10 calls to Foswiki::Query::ConditionalOP::evalTest, avg 433µs/call |
30 | } | ||||
31 | |||||
32 | 1 | 6µs | 1; | ||
33 | __END__ |