| Filename | /home/micha/.plenv/versions/5.38.2/lib/perl5/site_perl/5.38.2/Test2/Event/Note.pm | 
| Statements | Executed 10 statements in 169µs | 
| Calls | P | F | Exclusive Time | Inclusive Time | Subroutine | 
|---|---|---|---|---|---|
| 1 | 1 | 1 | 12µs | 13µs | Test2::Event::Note::BEGIN@2 | 
| 1 | 1 | 1 | 7µs | 7µs | Test2::Event::Note::BEGIN@8 | 
| 1 | 1 | 1 | 4µs | 41µs | Test2::Event::Note::BEGIN@9 | 
| 1 | 1 | 1 | 3µs | 20µs | Test2::Event::Note::BEGIN@3 | 
| 0 | 0 | 0 | 0s | 0s | Test2::Event::Note::facet_data | 
| 0 | 0 | 0 | 0s | 0s | Test2::Event::Note::init | 
| 0 | 0 | 0 | 0s | 0s | Test2::Event::Note::summary | 
| Line | State ments | Time on line | Calls | Time in subs | Code | 
|---|---|---|---|---|---|
| 1 | package Test2::Event::Note; | ||||
| 2 | 2 | 19µs | 2 | 15µs | # spent 13µs (12+2) within Test2::Event::Note::BEGIN@2 which was called:
#    once (12µs+2µs) by Test2::API::BEGIN@94 at line 2 # spent    13µs making 1 call to Test2::Event::Note::BEGIN@2
# spent     2µs making 1 call to strict::import | 
| 3 | 2 | 33µs | 2 | 37µs | # spent 20µs (3+17) within Test2::Event::Note::BEGIN@3 which was called:
#    once (3µs+17µs) by Test2::API::BEGIN@94 at line 3 # spent    20µs making 1 call to Test2::Event::Note::BEGIN@3
# spent    17µs making 1 call to warnings::import | 
| 4 | |||||
| 5 | 1 | 300ns | our $VERSION = '1.302198'; | ||
| 6 | |||||
| 7 | |||||
| 8 | 2 | 24µs | 1 | 7µs | # spent 7µs within Test2::Event::Note::BEGIN@8 which was called:
#    once (7µs+0s) by Test2::API::BEGIN@94 at line 8 # spent     7µs making 1 call to Test2::Event::Note::BEGIN@8 | 
| 9 | 2 | 90µs | 2 | 78µs | # spent 41µs (4+38) within Test2::Event::Note::BEGIN@9 which was called:
#    once (4µs+38µs) by Test2::API::BEGIN@94 at line 9 # spent    41µs making 1 call to Test2::Event::Note::BEGIN@9
# spent    38µs making 1 call to Test2::Util::HashBase::import | 
| 10 | |||||
| 11 | sub init { | ||||
| 12 | $_[0]->{+MESSAGE} = 'undef' unless defined $_[0]->{+MESSAGE}; | ||||
| 13 | } | ||||
| 14 | |||||
| 15 | sub summary { $_[0]->{+MESSAGE} } | ||||
| 16 | |||||
| 17 | sub facet_data { | ||||
| 18 | my $self = shift; | ||||
| 19 | |||||
| 20 | my $out = $self->common_facet_data; | ||||
| 21 | |||||
| 22 | $out->{info} = [ | ||||
| 23 | { | ||||
| 24 | tag => 'NOTE', | ||||
| 25 | debug => 0, | ||||
| 26 | details => $self->{+MESSAGE}, | ||||
| 27 | } | ||||
| 28 | ]; | ||||
| 29 | |||||
| 30 | return $out; | ||||
| 31 | } | ||||
| 32 | |||||
| 33 | 1 | 2µs | 1; | ||
| 34 | |||||
| 35 | __END__ |