Filename | /home/micha/.plenv/versions/5.38.2/lib/perl5/site_perl/5.38.2/Test2/EventFacet/Parent.pm |
Statements | Executed 12 statements in 222µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 21µs | 23µs | BEGIN@2 | Test2::EventFacet::Parent::
1 | 1 | 1 | 7µs | 7µs | BEGIN@9 | Test2::EventFacet::Parent::
1 | 1 | 1 | 6µs | 38µs | BEGIN@7 | Test2::EventFacet::Parent::
1 | 1 | 1 | 5µs | 31µs | BEGIN@3 | Test2::EventFacet::Parent::
1 | 1 | 1 | 5µs | 77µs | BEGIN@10 | Test2::EventFacet::Parent::
0 | 0 | 0 | 0s | 0s | init | Test2::EventFacet::Parent::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Test2::EventFacet::Parent; | ||||
2 | 2 | 34µs | 2 | 25µs | # spent 23µs (21+2) within Test2::EventFacet::Parent::BEGIN@2 which was called:
# once (21µs+2µs) by Test2::Event::BEGIN@21 at line 2 # spent 23µs making 1 call to Test2::EventFacet::Parent::BEGIN@2
# spent 2µs making 1 call to strict::import |
3 | 2 | 44µs | 2 | 57µs | # spent 31µs (5+26) within Test2::EventFacet::Parent::BEGIN@3 which was called:
# once (5µs+26µs) by Test2::Event::BEGIN@21 at line 3 # spent 31µs making 1 call to Test2::EventFacet::Parent::BEGIN@3
# spent 26µs making 1 call to warnings::import |
4 | |||||
5 | 1 | 500ns | our $VERSION = '1.302198'; | ||
6 | |||||
7 | 2 | 41µs | 2 | 70µs | # spent 38µs (6+32) within Test2::EventFacet::Parent::BEGIN@7 which was called:
# once (6µs+32µs) by Test2::Event::BEGIN@21 at line 7 # spent 38µs making 1 call to Test2::EventFacet::Parent::BEGIN@7
# spent 32µs making 1 call to Exporter::import |
8 | |||||
9 | 2 | 22µs | 1 | 7µs | # spent 7µs within Test2::EventFacet::Parent::BEGIN@9 which was called:
# once (7µs+0s) by Test2::Event::BEGIN@21 at line 9 # spent 7µs making 1 call to Test2::EventFacet::Parent::BEGIN@9 |
10 | 2 | 77µs | 2 | 149µs | # spent 77µs (5+72) within Test2::EventFacet::Parent::BEGIN@10 which was called:
# once (5µs+72µs) by Test2::Event::BEGIN@21 at line 10 # spent 77µs making 1 call to Test2::EventFacet::Parent::BEGIN@10
# spent 72µs making 1 call to Test2::Util::HashBase::import |
11 | |||||
12 | sub init { | ||||
13 | confess "Attribute 'hid' must be set" | ||||
14 | unless defined $_[0]->{+HID}; | ||||
15 | |||||
16 | $_[0]->{+CHILDREN} ||= []; | ||||
17 | } | ||||
18 | |||||
19 | 1 | 3µs | 1; | ||
20 | |||||
21 | __END__ |