| Filename | /home/doy/coding/src/Moose/blib/lib//Moose/Meta/Attribute/Native/Trait/Counter.pm |
| Statements | Executed 14 statements in 1.55ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 75µs | 13.8ms | Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@3 |
| 1 | 1 | 1 | 58µs | 1.22ms | Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@17 |
| 2 | 1 | 1 | 22µs | 22µs | Moose::Meta::Attribute::Native::Trait::Counter::_root_types |
| 1 | 1 | 1 | 9µs | 9µs | Moose::Meta::Attribute::Native::Trait::Counter::_helper_type |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Attribute::Native::Trait::Counter::_default_default |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Attribute::Native::Trait::Counter::_default_is |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | |||||
| 2 | package Moose::Meta::Attribute::Native::Trait::Counter; | ||||
| 3 | 3 | 508µs | 2 | 27.5ms | # spent 13.8ms (75µs+13.7) within Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@3 which was called:
# once (75µs+13.7ms) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 3 # spent 13.8ms making 1 call to Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@3
# spent 13.7ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:456] |
| 4 | |||||
| 5 | 1 | 6µs | our $VERSION = '1.19'; | ||
| 6 | 1 | 150µs | $VERSION = eval $VERSION; # spent 40µs executing statements in string eval | ||
| 7 | 1 | 333µs | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 8 | |||||
| 9 | 1 | 53µs | 1 | 9.17ms | with 'Moose::Meta::Attribute::Native::Trait' => # spent 9.17ms making 1 call to Moose::Role::with |
| 10 | { -excludes => ['_root_types'] }; | ||||
| 11 | |||||
| 12 | sub _default_default { 0 } | ||||
| 13 | sub _default_is { 'ro' } | ||||
| 14 | 1 | 20µs | # spent 9µs within Moose::Meta::Attribute::Native::Trait::Counter::_helper_type which was called:
# once (9µs+0s) by Moose::Meta::Attribute::Native::Trait::_check_helper_type at line 88 of Moose/Meta/Attribute/Native/Trait.pm | ||
| 15 | 2 | 34µs | # spent 22µs within Moose::Meta::Attribute::Native::Trait::Counter::_root_types which was called 2 times, avg 11µs/call:
# 2 times (22µs+0s) by Class::MOP::Class:::around at line 149 of Moose/Meta/Attribute/Native/Trait.pm, avg 11µs/call | ||
| 16 | |||||
| 17 | 3 | 401µs | 2 | 2.38ms | # spent 1.22ms (58µs+1.16) within Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@17 which was called:
# once (58µs+1.16ms) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 17 # spent 1.22ms making 1 call to Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@17
# spent 1.16ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:557] |
| 18 | |||||
| 19 | 1 | 43µs | 1; | ||
| 20 | |||||
| 21 | __END__ |