| Filename | /home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Moose/Meta/Mixin/AttributeCore.pm |
| Statements | Executed 25 statements in 1.45ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 79µs | 97µs | Moose::Meta::Mixin::AttributeCore::BEGIN@3 |
| 1 | 1 | 1 | 40µs | 319µs | Moose::Meta::Mixin::AttributeCore::BEGIN@9 |
| 1 | 1 | 1 | 39µs | 107µ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 | 116µs | # spent 97µs (79+19) within Moose::Meta::Mixin::AttributeCore::BEGIN@3 which was called:
# once (79µs+19µs) by base::import at line 3 # spent 97µs making 1 call to Moose::Meta::Mixin::AttributeCore::BEGIN@3
# spent 19µs making 1 call to strict::import |
| 4 | 3 | 186µs | 2 | 176µs | # spent 107µs (39+68) within Moose::Meta::Mixin::AttributeCore::BEGIN@4 which was called:
# once (39µs+68µs) by base::import at line 4 # spent 107µs making 1 call to Moose::Meta::Mixin::AttributeCore::BEGIN@4
# spent 68µ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 | 704µs | 2 | 319µs | # spent 319µs (40+279) within Moose::Meta::Mixin::AttributeCore::BEGIN@9 which was called:
# once (40µs+279µs) by base::import at line 9 # spent 319µ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 | 43µs | 2 | 4.33ms | __PACKAGE__->meta->add_attribute( 'isa' => ( reader => '_isa_metadata' ) ); # spent 2.29ms making 1 call to Class::MOP::Mixin::meta
# spent 2.05ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute |
| 12 | 1 | 26µs | 2 | 2.14ms | __PACKAGE__->meta->add_attribute( 'does' => ( reader => '_does_metadata' ) ); # spent 2.05ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 89µs making 1 call to Class::MOP::Mixin::meta |
| 13 | 1 | 25µs | 2 | 2.16ms | __PACKAGE__->meta->add_attribute( 'is' => ( reader => '_is_metadata' ) ); # spent 2.08ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 84µs making 1 call to Class::MOP::Mixin::meta |
| 14 | |||||
| 15 | 1 | 25µs | 2 | 2.13ms | __PACKAGE__->meta->add_attribute( 'required' => ( reader => 'is_required' ) ); # spent 2.04ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 84µs making 1 call to Class::MOP::Mixin::meta |
| 16 | 1 | 26µs | 2 | 2.11ms | __PACKAGE__->meta->add_attribute( 'lazy' => ( reader => 'is_lazy' ) ); # spent 2.03ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 85µs making 1 call to Class::MOP::Mixin::meta |
| 17 | 1 | 24µs | 2 | 2.12ms | __PACKAGE__->meta->add_attribute( # spent 2.04ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 84µs making 1 call to Class::MOP::Mixin::meta |
| 18 | 'lazy_build' => ( reader => 'is_lazy_build' ) ); | ||||
| 19 | 1 | 25µs | 2 | 2.16ms | __PACKAGE__->meta->add_attribute( 'coerce' => ( reader => 'should_coerce' ) ); # spent 2.01ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 155µs making 1 call to Class::MOP::Mixin::meta |
| 20 | 1 | 24µs | 2 | 2.13ms | __PACKAGE__->meta->add_attribute( 'weak_ref' => ( reader => 'is_weak_ref' ) ); # spent 2.04ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 87µs making 1 call to Class::MOP::Mixin::meta |
| 21 | 1 | 24µs | 2 | 2.10ms | __PACKAGE__->meta->add_attribute( # spent 2.02ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 84µs making 1 call to Class::MOP::Mixin::meta |
| 22 | 'auto_deref' => ( reader => 'should_auto_deref' ) ); | ||||
| 23 | 1 | 25µs | 2 | 3.18ms | __PACKAGE__->meta->add_attribute( # spent 3.09ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 85µ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 | 26µs | 2 | 3.26ms | __PACKAGE__->meta->add_attribute( # spent 3.17ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 89µ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.21ms | __PACKAGE__->meta->add_attribute( # spent 4.12ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 86µ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 | 29µs | 2 | 3.27ms | __PACKAGE__->meta->add_attribute( # spent 3.16ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 110µs making 1 call to Class::MOP::Mixin::meta |
| 43 | 'documentation' => ( | ||||
| 44 | reader => 'documentation', | ||||
| 45 | predicate => 'has_documentation', | ||||
| 46 | ) | ||||
| 47 | ); | ||||
| 48 | |||||
| 49 | 1 | 96µs | 1; | ||
| 50 | |||||
| 51 | __END__ |