| Filename | /home/ss5/perl5/perlbrew/perls/perl-5.22.0/lib/site_perl/5.22.0/x86_64-linux/Moose/Meta/Mixin/AttributeCore.pm |
| Statements | Executed 21 statements in 183µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 10µs | 13µs | Moose::Meta::Mixin::AttributeCore::BEGIN@4 |
| 1 | 1 | 1 | 6µs | 13µs | Moose::Meta::Mixin::AttributeCore::BEGIN@5 |
| 1 | 1 | 1 | 4µs | 20µs | Moose::Meta::Mixin::AttributeCore::BEGIN@7 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Moose::Meta::Mixin::AttributeCore; | ||||
| 2 | 1 | 100ns | our $VERSION = '2.1605'; | ||
| 3 | |||||
| 4 | 2 | 15µs | 2 | 16µs | # spent 13µs (10+3) within Moose::Meta::Mixin::AttributeCore::BEGIN@4 which was called:
# once (10µs+3µs) by parent::import at line 4 # spent 13µs making 1 call to Moose::Meta::Mixin::AttributeCore::BEGIN@4
# spent 3µs making 1 call to strict::import |
| 5 | 2 | 14µs | 2 | 20µs | # spent 13µs (6+7) within Moose::Meta::Mixin::AttributeCore::BEGIN@5 which was called:
# once (6µs+7µs) by parent::import at line 5 # spent 13µs making 1 call to Moose::Meta::Mixin::AttributeCore::BEGIN@5
# spent 7µs making 1 call to warnings::import |
| 6 | |||||
| 7 | 2 | 114µs | 2 | 20µs | # spent 20µs (4+16) within Moose::Meta::Mixin::AttributeCore::BEGIN@7 which was called:
# once (4µs+16µs) by parent::import at line 7 # spent 20µs making 1 call to Moose::Meta::Mixin::AttributeCore::BEGIN@7
# spent 16µs making 1 call to parent::import, recursion: max depth 1, sum of overlapping time 16µs |
| 8 | |||||
| 9 | 1 | 6µs | 3 | 607µs | __PACKAGE__->meta->add_attribute( # spent 308µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 294µs making 1 call to Class::MOP::Mixin::meta
# spent 5µs making 1 call to Class::MOP::_definition_context |
| 10 | 'isa' => ( | ||||
| 11 | reader => '_isa_metadata', | ||||
| 12 | Class::MOP::_definition_context(), | ||||
| 13 | ) | ||||
| 14 | ); | ||||
| 15 | |||||
| 16 | 1 | 2µs | 3 | 183µs | __PACKAGE__->meta->add_attribute( # spent 174µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 6µs making 1 call to Class::MOP::Mixin::meta
# spent 3µs making 1 call to Class::MOP::_definition_context |
| 17 | 'does' => ( | ||||
| 18 | reader => '_does_metadata', | ||||
| 19 | Class::MOP::_definition_context(), | ||||
| 20 | ) | ||||
| 21 | ); | ||||
| 22 | |||||
| 23 | 1 | 2µs | 3 | 177µs | __PACKAGE__->meta->add_attribute( # spent 168µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 6µs making 1 call to Class::MOP::Mixin::meta
# spent 2µs making 1 call to Class::MOP::_definition_context |
| 24 | 'is' => ( | ||||
| 25 | reader => '_is_metadata', | ||||
| 26 | Class::MOP::_definition_context(), | ||||
| 27 | ) | ||||
| 28 | ); | ||||
| 29 | |||||
| 30 | 1 | 2µs | 3 | 173µs | __PACKAGE__->meta->add_attribute( # spent 165µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 6µs making 1 call to Class::MOP::Mixin::meta
# spent 2µs making 1 call to Class::MOP::_definition_context |
| 31 | 'required' => ( | ||||
| 32 | reader => 'is_required', | ||||
| 33 | Class::MOP::_definition_context(), | ||||
| 34 | ) | ||||
| 35 | ); | ||||
| 36 | |||||
| 37 | 1 | 2µs | 3 | 171µs | __PACKAGE__->meta->add_attribute( # spent 164µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 6µs making 1 call to Class::MOP::Mixin::meta
# spent 2µs making 1 call to Class::MOP::_definition_context |
| 38 | 'lazy' => ( | ||||
| 39 | reader => 'is_lazy', Class::MOP::_definition_context(), | ||||
| 40 | ) | ||||
| 41 | ); | ||||
| 42 | |||||
| 43 | 1 | 2µs | 3 | 170µs | __PACKAGE__->meta->add_attribute( # spent 162µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 6µs making 1 call to Class::MOP::Mixin::meta
# spent 2µs making 1 call to Class::MOP::_definition_context |
| 44 | 'lazy_build' => ( | ||||
| 45 | reader => 'is_lazy_build', | ||||
| 46 | Class::MOP::_definition_context(), | ||||
| 47 | ) | ||||
| 48 | ); | ||||
| 49 | |||||
| 50 | 1 | 2µs | 3 | 172µs | __PACKAGE__->meta->add_attribute( # spent 164µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 6µs making 1 call to Class::MOP::Mixin::meta
# spent 2µs making 1 call to Class::MOP::_definition_context |
| 51 | 'coerce' => ( | ||||
| 52 | reader => 'should_coerce', | ||||
| 53 | Class::MOP::_definition_context(), | ||||
| 54 | ) | ||||
| 55 | ); | ||||
| 56 | |||||
| 57 | 1 | 2µs | 3 | 174µs | __PACKAGE__->meta->add_attribute( # spent 166µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 5µs making 1 call to Class::MOP::Mixin::meta
# spent 2µs making 1 call to Class::MOP::_definition_context |
| 58 | 'weak_ref' => ( | ||||
| 59 | reader => 'is_weak_ref', | ||||
| 60 | Class::MOP::_definition_context(), | ||||
| 61 | ) | ||||
| 62 | ); | ||||
| 63 | |||||
| 64 | 1 | 2µs | 3 | 172µs | __PACKAGE__->meta->add_attribute( # spent 164µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 6µs making 1 call to Class::MOP::Mixin::meta
# spent 2µs making 1 call to Class::MOP::_definition_context |
| 65 | 'auto_deref' => ( | ||||
| 66 | reader => 'should_auto_deref', | ||||
| 67 | Class::MOP::_definition_context(), | ||||
| 68 | ) | ||||
| 69 | ); | ||||
| 70 | |||||
| 71 | 1 | 2µs | 3 | 272µs | __PACKAGE__->meta->add_attribute( # spent 264µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 6µs making 1 call to Class::MOP::Mixin::meta
# spent 2µs making 1 call to Class::MOP::_definition_context |
| 72 | 'type_constraint' => ( | ||||
| 73 | reader => 'type_constraint', | ||||
| 74 | predicate => 'has_type_constraint', | ||||
| 75 | Class::MOP::_definition_context(), | ||||
| 76 | ) | ||||
| 77 | ); | ||||
| 78 | |||||
| 79 | 1 | 2µs | 3 | 290µs | __PACKAGE__->meta->add_attribute( # spent 283µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 5µs making 1 call to Class::MOP::Mixin::meta
# spent 2µs making 1 call to Class::MOP::_definition_context |
| 80 | 'trigger' => ( | ||||
| 81 | reader => 'trigger', | ||||
| 82 | predicate => 'has_trigger', | ||||
| 83 | Class::MOP::_definition_context(), | ||||
| 84 | ) | ||||
| 85 | ); | ||||
| 86 | |||||
| 87 | 1 | 2µs | 3 | 356µs | __PACKAGE__->meta->add_attribute( # spent 348µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 6µs making 1 call to Class::MOP::Mixin::meta
# spent 2µs making 1 call to Class::MOP::_definition_context |
| 88 | 'handles' => ( | ||||
| 89 | reader => 'handles', | ||||
| 90 | writer => '_set_handles', | ||||
| 91 | predicate => 'has_handles', | ||||
| 92 | Class::MOP::_definition_context(), | ||||
| 93 | ) | ||||
| 94 | ); | ||||
| 95 | |||||
| 96 | 1 | 3µs | 3 | 2.97ms | __PACKAGE__->meta->add_attribute( # spent 2.66ms making 1 call to Class::MOP::Mixin::meta
# spent 308µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 4µs making 1 call to Class::MOP::_definition_context |
| 97 | 'documentation' => ( | ||||
| 98 | reader => 'documentation', | ||||
| 99 | predicate => 'has_documentation', | ||||
| 100 | Class::MOP::_definition_context(), | ||||
| 101 | ) | ||||
| 102 | ); | ||||
| 103 | |||||
| 104 | 1 | 12µs | 1; | ||
| 105 | |||||
| 106 | # ABSTRACT: Core attributes shared by attribute metaclasses | ||||
| 107 | |||||
| 108 | __END__ |