| Filename | /usr/local/lib/perl/5.18.2/Moose/Meta/Mixin/AttributeCore.pm |
| Statements | Executed 21 statements in 310µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 11µs | 23µs | Moose::Meta::Mixin::AttributeCore::BEGIN@4 |
| 1 | 1 | 1 | 7µs | 14µs | Moose::Meta::Mixin::AttributeCore::BEGIN@5 |
| 1 | 1 | 1 | 6µs | 27µ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 | 700ns | our $VERSION = '2.1604'; | ||
| 3 | |||||
| 4 | 2 | 21µs | 2 | 36µs | # spent 23µs (11+13) within Moose::Meta::Mixin::AttributeCore::BEGIN@4 which was called:
# once (11µs+13µs) by parent::import at line 4 # spent 23µs making 1 call to Moose::Meta::Mixin::AttributeCore::BEGIN@4
# spent 13µs making 1 call to strict::import |
| 5 | 2 | 21µs | 2 | 21µs | # spent 14µs (7+7) within Moose::Meta::Mixin::AttributeCore::BEGIN@5 which was called:
# once (7µs+7µs) by parent::import at line 5 # spent 14µs making 1 call to Moose::Meta::Mixin::AttributeCore::BEGIN@5
# spent 7µs making 1 call to warnings::import |
| 6 | |||||
| 7 | 2 | 207µs | 2 | 27µs | # spent 27µs (6+21) within Moose::Meta::Mixin::AttributeCore::BEGIN@7 which was called:
# once (6µs+21µs) by parent::import at line 7 # spent 27µs making 1 call to Moose::Meta::Mixin::AttributeCore::BEGIN@7
# spent 21µs making 1 call to parent::import, recursion: max depth 1, sum of overlapping time 21µs |
| 8 | |||||
| 9 | 1 | 10µs | 3 | 757µs | __PACKAGE__->meta->add_attribute( # spent 390µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 361µs making 1 call to Class::MOP::Mixin::meta
# spent 7µ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 | 3µs | 3 | 297µs | __PACKAGE__->meta->add_attribute( # spent 286µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 8µ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 | 3µs | 3 | 3.44ms | __PACKAGE__->meta->add_attribute( # spent 3.43ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 8µs making 1 call to Class::MOP::Mixin::meta
# spent 3µ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 | 3µs | 3 | 315µs | __PACKAGE__->meta->add_attribute( # spent 300µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 10µs making 1 call to Class::MOP::Mixin::meta
# spent 5µ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 | 3µs | 3 | 251µs | __PACKAGE__->meta->add_attribute( # spent 240µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 8µs making 1 call to Class::MOP::Mixin::meta
# spent 3µs making 1 call to Class::MOP::_definition_context |
| 38 | 'lazy' => ( | ||||
| 39 | reader => 'is_lazy', Class::MOP::_definition_context(), | ||||
| 40 | ) | ||||
| 41 | ); | ||||
| 42 | |||||
| 43 | 1 | 3µs | 3 | 244µs | __PACKAGE__->meta->add_attribute( # spent 233µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 8µs making 1 call to Class::MOP::Mixin::meta
# spent 3µ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 | 3µs | 3 | 252µs | __PACKAGE__->meta->add_attribute( # spent 242µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 8µs making 1 call to Class::MOP::Mixin::meta
# spent 3µ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 | 3µs | 3 | 244µs | __PACKAGE__->meta->add_attribute( # spent 233µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 8µs making 1 call to Class::MOP::Mixin::meta
# spent 3µ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 | 3µs | 3 | 248µs | __PACKAGE__->meta->add_attribute( # spent 237µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 8µs making 1 call to Class::MOP::Mixin::meta
# spent 3µ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 | 3µs | 3 | 374µs | __PACKAGE__->meta->add_attribute( # spent 363µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 8µs making 1 call to Class::MOP::Mixin::meta
# spent 3µ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 | 4µs | 3 | 382µs | __PACKAGE__->meta->add_attribute( # spent 372µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 8µs making 1 call to Class::MOP::Mixin::meta
# spent 3µ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 | 3µs | 3 | 513µs | __PACKAGE__->meta->add_attribute( # spent 501µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 8µs making 1 call to Class::MOP::Mixin::meta
# spent 3µ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 | 4µs | 3 | 357µs | __PACKAGE__->meta->add_attribute( # spent 346µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 8µs making 1 call to Class::MOP::Mixin::meta
# spent 3µ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 | 14µs | 1; | ||
| 105 | |||||
| 106 | # ABSTRACT: Core attributes shared by attribute metaclasses | ||||
| 107 | |||||
| 108 | __END__ |