| Filename | /home/doy/coding/src/Moose/blib/lib//Moose/Meta/Mixin/AttributeCore.pm |
| Statements | Executed 25 statements in 1.40ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 75µs | 94µs | Moose::Meta::Mixin::AttributeCore::BEGIN@3 |
| 1 | 1 | 1 | 43µs | 321µs | Moose::Meta::Mixin::AttributeCore::BEGIN@9 |
| 1 | 1 | 1 | 39µs | 140µs | Moose::Meta::Mixin::AttributeCore::BEGIN@4 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Moose::Meta::Mixin::AttributeCore; | ||||
| 2 | |||||
| 3 | 3 | 104µs | 2 | 113µs | # spent 94µs (75+19) within Moose::Meta::Mixin::AttributeCore::BEGIN@3 which was called:
# once (75µs+19µs) by base::import at line 3 # spent 94µs making 1 call to Moose::Meta::Mixin::AttributeCore::BEGIN@3
# spent 19µs making 1 call to strict::import |
| 4 | 3 | 226µs | 2 | 241µs | # spent 140µs (39+101) within Moose::Meta::Mixin::AttributeCore::BEGIN@4 which was called:
# once (39µs+101µs) by base::import at line 4 # spent 140µs making 1 call to Moose::Meta::Mixin::AttributeCore::BEGIN@4
# spent 101µs making 1 call to warnings::import |
| 5 | |||||
| 6 | 1 | 4µs | our $VERSION = '1.19'; | ||
| 7 | 1 | 3µs | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 8 | |||||
| 9 | 3 | 621µs | 2 | 321µs | # spent 321µs (43+279) within Moose::Meta::Mixin::AttributeCore::BEGIN@9 which was called:
# once (43µs+279µs) by base::import at line 9 # spent 321µs making 1 call to Moose::Meta::Mixin::AttributeCore::BEGIN@9
# spent 279µs making 1 call to base::import, recursion: max depth 1, sum of overlapping time 279µs |
| 10 | |||||
| 11 | 1 | 42µs | 2 | 4.06ms | __PACKAGE__->meta->add_attribute( 'isa' => ( reader => '_isa_metadata' ) ); # spent 2.11ms making 1 call to Class::MOP::Mixin::meta
# spent 1.95ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute |
| 12 | 1 | 26µs | 2 | 2.04ms | __PACKAGE__->meta->add_attribute( 'does' => ( reader => '_does_metadata' ) ); # spent 1.95ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 89µs making 1 call to Class::MOP::Mixin::meta |
| 13 | 1 | 29µs | 2 | 1.98ms | __PACKAGE__->meta->add_attribute( 'is' => ( reader => '_is_metadata' ) ); # spent 1.89ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 96µs making 1 call to Class::MOP::Mixin::meta |
| 14 | |||||
| 15 | 1 | 26µs | 2 | 1.99ms | __PACKAGE__->meta->add_attribute( 'required' => ( reader => 'is_required' ) ); # spent 1.91ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 87µs making 1 call to Class::MOP::Mixin::meta |
| 16 | 1 | 26µs | 2 | 2.06ms | __PACKAGE__->meta->add_attribute( 'lazy' => ( reader => 'is_lazy' ) ); # spent 1.97ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 86µs making 1 call to Class::MOP::Mixin::meta |
| 17 | 1 | 26µs | 2 | 2.03ms | __PACKAGE__->meta->add_attribute( # spent 1.94ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 90µs making 1 call to Class::MOP::Mixin::meta |
| 18 | 'lazy_build' => ( reader => 'is_lazy_build' ) ); | ||||
| 19 | 1 | 25µs | 2 | 1.99ms | __PACKAGE__->meta->add_attribute( 'coerce' => ( reader => 'should_coerce' ) ); # spent 1.90ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 88µs making 1 call to Class::MOP::Mixin::meta |
| 20 | 1 | 24µs | 2 | 2.04ms | __PACKAGE__->meta->add_attribute( 'weak_ref' => ( reader => 'is_weak_ref' ) ); # spent 1.95ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 85µs making 1 call to Class::MOP::Mixin::meta |
| 21 | 1 | 24µs | 2 | 2.04ms | __PACKAGE__->meta->add_attribute( # spent 1.95ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 87µs making 1 call to Class::MOP::Mixin::meta |
| 22 | 'auto_deref' => ( reader => 'should_auto_deref' ) ); | ||||
| 23 | 1 | 25µs | 2 | 3.03ms | __PACKAGE__->meta->add_attribute( # spent 2.95ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 86µs making 1 call to Class::MOP::Mixin::meta |
| 24 | 'type_constraint' => ( | ||||
| 25 | reader => 'type_constraint', | ||||
| 26 | predicate => 'has_type_constraint', | ||||
| 27 | ) | ||||
| 28 | ); | ||||
| 29 | 1 | 25µs | 2 | 3.01ms | __PACKAGE__->meta->add_attribute( # spent 2.93ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 85µs making 1 call to Class::MOP::Mixin::meta |
| 30 | 'trigger' => ( | ||||
| 31 | reader => 'trigger', | ||||
| 32 | predicate => 'has_trigger', | ||||
| 33 | ) | ||||
| 34 | ); | ||||
| 35 | 1 | 26µs | 2 | 4.05ms | __PACKAGE__->meta->add_attribute( # spent 3.96ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 87µs making 1 call to Class::MOP::Mixin::meta |
| 36 | 'handles' => ( | ||||
| 37 | reader => 'handles', | ||||
| 38 | writer => '_set_handles', | ||||
| 39 | predicate => 'has_handles', | ||||
| 40 | ) | ||||
| 41 | ); | ||||
| 42 | 1 | 26µs | 2 | 3.05ms | __PACKAGE__->meta->add_attribute( # spent 2.96ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 89µs making 1 call to Class::MOP::Mixin::meta |
| 43 | 'documentation' => ( | ||||
| 44 | reader => 'documentation', | ||||
| 45 | predicate => 'has_documentation', | ||||
| 46 | ) | ||||
| 47 | ); | ||||
| 48 | |||||
| 49 | 1 | 92µs | 1; | ||
| 50 | |||||
| 51 | __END__ |