Filename | /usr/local/lib/perl/5.14.2/Class/MOP/Package.pm |
Statements | Executed 5133 statements in 22.9ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
7066 | 24 | 5 | 3.27ms | 3.27ms | name (xsub) | Class::MOP::Mixin::AttributeCore::
816 | 1 | 1 | 3.25ms | 7.13ms | get_package_symbol | Class::MOP::Package::
1525 | 6 | 2 | 3.18ms | 3.21ms | _method_map (xsub) | Class::MOP::Mixin::HasMethods::
1692 | 5 | 1 | 2.34ms | 2.92ms | _package_stash | Class::MOP::Package::
505 | 2 | 2 | 2.26ms | 8.83ms | add_package_symbol | Class::MOP::Package::
3167 | 27 | 10 | 1.96ms | 1.96ms | name (xsub) | Class::MOP::Package::
376 | 49 | 6 | 1.70ms | 9.48ms | meta | Class::MOP::Object::
2597 | 19 | 3 | 1.55ms | 1.55ms | associated_class (xsub) | Class::MOP::Attribute::
1369 | 8 | 4 | 1.53ms | 1.53ms | has_initializer | Class::MOP::Mixin::AttributeCore::
2350 | 7 | 3 | 1.18ms | 1.18ms | init_arg (xsub) | Class::MOP::Mixin::AttributeCore::
58 | 1 | 1 | 1.16ms | 1.28ms | _new | Moose::Meta::Attribute::
885 | 5 | 1 | 958µs | 958µs | constraint | Moose::Meta::TypeConstraint::
889 | 4 | 1 | 958µs | 958µs | has_parent | Moose::Meta::TypeConstraint::
237 | 3 | 2 | 939µs | 1.96ms | has_package_symbol | Class::MOP::Package::
371 | 7 | 3 | 873µs | 3.97ms | get_meta_instance | Class::MOP::Class::Immutable::Class::MOP::Class::
128 | 4 | 2 | 867µs | 10.0ms | superclasses (recurses: max depth 1, inclusive time 345µs) | Class::MOP::Class::
1440 | 6 | 2 | 863µs | 863µs | _attribute_map (xsub) | Class::MOP::Mixin::HasAttributes::
58 | 1 | 1 | 581µs | 607µs | _new | Moose::Meta::Instance::
464 | 1 | 1 | 555µs | 555µs | _has_inlined_type_constraint | Moose::Meta::TypeConstraint::
128 | 1 | 1 | 535µs | 2.58ms | get_or_add_package_symbol | Class::MOP::Package::
241 | 2 | 1 | 535µs | 1.57ms | _method_map | Class::MOP::Class::Immutable::Class::MOP::Class::
440 | 13 | 3 | 440µs | 440µs | associated_attribute | Class::MOP::Method::Accessor::
11 | 1 | 1 | 438µs | 460µs | _new | Moose::Meta::TypeConstraint::Class::
20 | 1 | 1 | 437µs | 482µs | _new | Moose::Meta::TypeConstraint::
164 | 3 | 2 | 428µs | 2.26ms | get_all_attributes | Class::MOP::Class::Immutable::Class::MOP::Class::
417 | 5 | 3 | 420µs | 420µs | has_default | Class::MOP::Mixin::AttributeCore::
664 | 7 | 5 | 387µs | 387µs | body (xsub) | Class::MOP::Method::
220 | 7 | 2 | 365µs | 365µs | error_class | Moose::Meta::Class::
293 | 2 | 2 | 364µs | 364µs | has_reader | Class::MOP::Mixin::AttributeCore::
266 | 4 | 2 | 357µs | 357µs | type_constraints | Moose::Meta::TypeConstraint::Registry::
257 | 1 | 1 | 354µs | 354µs | has_accessor | Class::MOP::Mixin::AttributeCore::
293 | 8 | 2 | 343µs | 343µs | type_constraint | Moose::Meta::Mixin::AttributeCore::
34 | 1 | 1 | 325µs | 2.47ms | _new | Moose::Meta::Method::
257 | 1 | 1 | 318µs | 318µs | has_writer | Class::MOP::Mixin::AttributeCore::
255 | 1 | 1 | 306µs | 306µs | inlined | Moose::Meta::TypeConstraint::
1 | 1 | 1 | 305µs | 1.12ms | BEGIN@16 | Class::MOP::Package::
1 | 1 | 1 | 291µs | 1.46ms | BEGIN@15 | Class::MOP::Package::
252 | 1 | 1 | 278µs | 278µs | accessor_type | Class::MOP::Method::Accessor::
568 | 2 | 2 | 278µs | 278µs | package_name (xsub) | Class::MOP::Method::
215 | 6 | 2 | 271µs | 405µs | has_trigger | Moose::Meta::Mixin::AttributeCore::
257 | 1 | 1 | 271µs | 271µs | has_predicate | Class::MOP::Mixin::AttributeCore::
465 | 10 | 3 | 267µs | 267µs | instance_metaclass (xsub) | Class::MOP::Class::
93 | 6 | 5 | 264µs | 264µs | _compiled_type_constraint | Moose::Meta::TypeConstraint::
212 | 3 | 1 | 258µs | 364µs | should_coerce | Moose::Meta::Mixin::AttributeCore::
257 | 1 | 1 | 257µs | 257µs | has_clearer | Class::MOP::Mixin::AttributeCore::
399 | 9 | 7 | 238µs | 238µs | name (xsub) | Class::MOP::Method::
181 | 1 | 1 | 235µs | 235µs | _set_insertion_order | Class::MOP::Mixin::AttributeCore::
100 | 3 | 1 | 229µs | 590µs | _method_map | Class::MOP::Class::Immutable::Moose::Meta::Class::
184 | 5 | 1 | 224µs | 301µs | has_type_constraint | Moose::Meta::Mixin::AttributeCore::
334 | 9 | 3 | 213µs | 213µs | attribute_metaclass (xsub) | Class::MOP::Mixin::HasAttributes::
216 | 4 | 3 | 209µs | 209µs | has_builder | Class::MOP::Mixin::AttributeCore::
42 | 39 | 4 | 208µs | 2.26ms | meta | Class::MOP::Mixin::
130 | 3 | 3 | 201µs | 201µs | _default_message | Moose::Meta::TypeConstraint::
282 | 2 | 2 | 198µs | 198µs | is_inline (xsub) | Class::MOP::Method::Generated::
118 | 1 | 1 | 192µs | 204µs | _class_name | Class::MOP::Instance::
3 | 1 | 1 | 187µs | 209µs | new | MongoDB::Cursor::
71 | 2 | 1 | 184µs | 682µs | linearized_isa | Class::MOP::Class::Immutable::Class::MOP::Class::
108 | 2 | 1 | 176µs | 221µs | is_weak_ref | Moose::Meta::Mixin::AttributeCore::
141 | 1 | 1 | 173µs | 173µs | _inline_environment | Moose::Meta::TypeConstraint::
309 | 1 | 1 | 172µs | 172µs | definition_context (xsub) | Class::MOP::Mixin::AttributeCore::
101 | 2 | 2 | 166µs | 223µs | is_lazy | Moose::Meta::Mixin::AttributeCore::
248 | 8 | 1 | 155µs | 155µs | wrapped_method_metaclass (xsub) | Class::MOP::Mixin::HasMethods::
286 | 8 | 2 | 152µs | 152µs | method_metaclass (xsub) | Class::MOP::Mixin::HasMethods::
130 | 3 | 3 | 148µs | 148µs | has_message | Moose::Meta::TypeConstraint::
1 | 1 | 1 | 147µs | 9.18ms | new | MongoDB::MongoClient::
4 | 1 | 1 | 146µs | 153µs | _new | Moose::Meta::TypeConstraint::Parameterizable::
216 | 2 | 1 | 143µs | 143µs | reader (xsub) | Class::MOP::Mixin::AttributeCore::
196 | 1 | 1 | 129µs | 129µs | definition_context (xsub) | Class::MOP::Method::Generated::
118 | 8 | 2 | 121µs | 121µs | parent | Moose::Meta::TypeConstraint::
100 | 6 | 4 | 117µs | 117µs | has_coercion | Moose::Meta::TypeConstraint::
73 | 2 | 2 | 104µs | 147µs | is_required | Moose::Meta::Mixin::AttributeCore::
1 | 1 | 1 | 103µs | 108µs | _new | Moose::Meta::TypeConstraint::Union::
83 | 7 | 1 | 103µs | 103µs | constructor_class | Moose::Meta::Class::
83 | 7 | 1 | 101µs | 101µs | destructor_class | Moose::Meta::Class::
74 | 4 | 3 | 101µs | 101µs | name | Moose::Meta::TypeConstraint::
90 | 3 | 2 | 90µs | 90µs | associated_metaclass | Class::MOP::Method::Constructor::
178 | 4 | 1 | 90µs | 90µs | constructor_class (xsub) | Class::MOP::Class::
178 | 4 | 1 | 88µs | 88µs | destructor_class (xsub) | Class::MOP::Class::
60 | 1 | 1 | 87µs | 128µs | has_handles | Moose::Meta::Mixin::AttributeCore::
54 | 6 | 4 | 78µs | 78µs | associated_metaclass | Class::MOP::Method::
60 | 1 | 1 | 73µs | 112µs | should_auto_deref | Moose::Meta::Mixin::AttributeCore::
11 | 4 | 3 | 71µs | 83µs | _request_id | MongoDB::Cursor::
106 | 2 | 1 | 71µs | 71µs | immutable_trait (xsub) | Class::MOP::Class::
15 | 6 | 1 | 68µs | 68µs | started_iterating | MongoDB::Cursor::
26 | 1 | 1 | 68µs | 164µs | is_immutable | Class::MOP::Class::Immutable::Class::MOP::Class::
51 | 2 | 1 | 67µs | 67µs | has_hand_optimized_type_constraint | Moose::Meta::TypeConstraint::
3 | 1 | 1 | 64µs | 72µs | new | MongoDB::Database::
28 | 9 | 4 | 63µs | 63µs | _client | MongoDB::Cursor::
3 | 1 | 1 | 57µs | 63µs | new | MongoDB::Collection::
36 | 1 | 1 | 57µs | 57µs | _has_compiled_type_constraint | Moose::Meta::TypeConstraint::
11 | 11 | 1 | 56µs | 131µs | meta | Moose::Meta::TypeConstraint::
75 | 1 | 1 | 50µs | 50µs | accessor (xsub) | Class::MOP::Mixin::AttributeCore::
28 | 1 | 1 | 47µs | 47µs | _set_original_method | Class::MOP::Method::
35 | 1 | 1 | 47µs | 47µs | options | Class::MOP::Method::Constructor::
58 | 1 | 1 | 44µs | 44µs | associated_methods (xsub) | Class::MOP::Attribute::
13 | 7 | 3 | 42µs | 51µs | _limit | MongoDB::Cursor::
28 | 1 | 1 | 40µs | 40µs | class | Moose::Meta::TypeConstraint::Class::
2 | 1 | 1 | 37µs | 62µs | initialize | Class::MOP::Package::
6 | 1 | 1 | 36µs | 96µs | list_all_package_symbols | Class::MOP::Package::
59 | 1 | 1 | 34µs | 34µs | constructor_name (xsub) | Class::MOP::Class::
38 | 1 | 1 | 30µs | 30µs | _expected_method_class (xsub) | Class::MOP::Method::Inlined::
44 | 1 | 1 | 30µs | 30µs | predicate (xsub) | Class::MOP::Mixin::AttributeCore::
3 | 1 | 1 | 30µs | 73µs | full_name | MongoDB::Collection::
1 | 1 | 1 | 26µs | 49µs | query_timeout | MongoDB::Connection::
4 | 4 | 2 | 25µs | 52µs | meta | Moose::Meta::TypeCoercion::
49 | 1 | 1 | 24µs | 24µs | CORE:match (opcode) | MongoDB::Connection::
4 | 4 | 2 | 23µs | 50µs | meta | Moose::Meta::Role::Composite::
5 | 2 | 2 | 23µs | 26µs | query_timeout | MongoDB::MongoClient::
4 | 3 | 3 | 23µs | 314µs | meta | Moose::Meta::Role::Method::Required::
12 | 2 | 1 | 21µs | 21µs | immutable_trait | Moose::Meta::Class::
1 | 1 | 1 | 20µs | 57µs | get_database | MongoDB::Connection::
2 | 1 | 1 | 19µs | 19µs | _new | Class::MOP::Package::
3 | 3 | 2 | 18µs | 43µs | meta | Moose::Meta::Role::Application::ToClass::
8 | 2 | 2 | 18µs | 18µs | data | MongoDB::BSON::Binary::
3 | 2 | 2 | 18µs | 23µs | DESTROY | MongoDB::Collection::
3 | 3 | 2 | 17µs | 37µs | meta | Moose::Meta::Role::Application::
9 | 5 | 1 | 17µs | 17µs | _query | MongoDB::Cursor::
2 | 1 | 1 | 16µs | 16µs | _client | MongoDB::Connection::
11 | 5 | 1 | 15µs | 15µs | type_constraints | Moose::Meta::TypeConstraint::Union::
6 | 1 | 1 | 15µs | 15µs | subtype | MongoDB::BSON::Binary::
3 | 3 | 3 | 14µs | 16µs | DESTROY | MongoDB::Database::
1 | 1 | 1 | 14µs | 18µs | max_bson_size | MongoDB::MongoClient::
2 | 2 | 1 | 14µs | 29µs | meta | Moose::Meta::TypeConstraint::Registry::
2 | 2 | 2 | 14µs | 29µs | meta | Moose::Meta::Role::Application::RoleSummation::
2 | 2 | 1 | 14µs | 28µs | meta | Moose::Meta::TypeConstraint::Parameterizable::
2 | 2 | 1 | 13µs | 28µs | meta | Moose::Meta::TypeConstraint::Parameterized::
2 | 2 | 1 | 13µs | 28µs | meta | Moose::Meta::TypeConstraint::Enum::
6 | 2 | 1 | 13µs | 13µs | _fields | MongoDB::Cursor::
4 | 1 | 1 | 13µs | 16µs | DESTROY | MongoDB::OID::
5 | 2 | 1 | 13µs | 13µs | _ns | MongoDB::Cursor::
2 | 2 | 2 | 12µs | 26µs | meta | Moose::Meta::Role::Application::ToInstance::
4 | 1 | 1 | 12µs | 12µs | _tailable | MongoDB::Cursor::
3 | 3 | 1 | 12µs | 12µs | _grrrr | MongoDB::Cursor::
3 | 1 | 1 | 12µs | 12µs | dt_type | MongoDB::MongoClient::
4 | 2 | 2 | 11µs | 11µs | coercion | Moose::Meta::TypeConstraint::
4 | 1 | 1 | 11µs | 11µs | partial | MongoDB::Cursor::
4 | 1 | 1 | 11µs | 11µs | _skip | MongoDB::Cursor::
4 | 1 | 1 | 11µs | 11µs | slave_okay | MongoDB::Cursor::
4 | 1 | 1 | 10µs | 10µs | immortal | MongoDB::Cursor::
4 | 1 | 1 | 10µs | 10µs | sasl | MongoDB::MongoClient::
1 | 1 | 1 | 10µs | 19µs | meta | Moose::Meta::TypeConstraint::Union::
1 | 1 | 1 | 10µs | 32µs | BEGIN@14 | Class::MOP::Package::
2 | 2 | 2 | 10µs | 22µs | meta | Moose::Meta::Role::
2 | 1 | 1 | 10µs | 177µs | create | Class::MOP::Package::
4 | 2 | 2 | 10µs | 10µs | _compiled_type_coercion | Moose::Meta::TypeCoercion::
2 | 2 | 2 | 10µs | 27µs | get_meta_instance | Class::MOP::Class::Immutable::Moose::Meta::Class::
2 | 2 | 1 | 10µs | 45µs | linearized_isa | Class::MOP::Class::Immutable::Moose::Meta::Class::
1 | 1 | 1 | 9µs | 17µs | meta | MongoDB::Connection::
1 | 1 | 1 | 9µs | 21µs | BEGIN@95 | Class::MOP::Package::
1 | 1 | 1 | 9µs | 18µs | meta | Moose::Meta::TypeConstraint::DuckType::
1 | 1 | 1 | 9µs | 17µs | meta | Moose::Meta::TypeConstraint::Class::
2 | 2 | 2 | 9µs | 86µs | get_all_attributes | Class::MOP::Class::Immutable::Moose::Meta::Class::
3 | 1 | 1 | 9µs | 9µs | inflate_dbrefs | MongoDB::MongoClient::
1 | 1 | 1 | 9µs | 17µs | meta | Moose::Meta::TypeConstraint::Role::
1 | 1 | 1 | 8µs | 8µs | BEGIN@3 | Class::MOP::Package::
1 | 1 | 1 | 8µs | 19µs | BEGIN@164 | Class::MOP::Package::
6 | 2 | 1 | 8µs | 8µs | _database | MongoDB::Collection::
1 | 1 | 1 | 8µs | 15µs | meta | MongoDB::MongoClient::
2 | 1 | 1 | 7µs | 7µs | type_coercion_map | Moose::Meta::TypeCoercion::
9 | 1 | 1 | 7µs | 7µs | associated_metaclass (xsub) | Class::MOP::Instance::
1 | 1 | 1 | 7µs | 53µs | BEGIN@18 | Class::MOP::Package::
1 | 1 | 1 | 7µs | 10µs | BEGIN@10 | Class::MOP::Package::
1 | 1 | 1 | 6µs | 13µs | meta | MongoDB::Cursor::
1 | 1 | 1 | 6µs | 11µs | BEGIN@11 | Class::MOP::Package::
1 | 1 | 1 | 6µs | 13µs | meta | MongoDB::Database::
1 | 1 | 1 | 6µs | 40µs | BEGIN@13 | Class::MOP::Package::
1 | 1 | 1 | 6µs | 13µs | meta | MongoDB::OID::
1 | 1 | 1 | 6µs | 13µs | meta | MongoDB::Collection::
3 | 1 | 1 | 6µs | 6µs | name | MongoDB::Database::
1 | 1 | 1 | 6µs | 9.55ms | new | MongoDB::Connection::
1 | 1 | 1 | 6µs | 11µs | meta | Moose::Meta::Role::Application::ToRole::
1 | 1 | 1 | 6µs | 11µs | meta | Moose::Meta::TypeCoercion::Union::
3 | 1 | 1 | 6µs | 6µs | _client | MongoDB::Database::
3 | 1 | 1 | 5µs | 5µs | name | MongoDB::Collection::
8 | 1 | 1 | 5µs | 5µs | writer (xsub) | Class::MOP::Mixin::AttributeCore::
7 | 3 | 2 | 5µs | 5µs | builder (xsub) | Class::MOP::Mixin::AttributeCore::
1 | 1 | 1 | 5µs | 3.84ms | get_all_methods | Class::MOP::Class::Immutable::Moose::Meta::Class::
1 | 1 | 1 | 4µs | 4µs | find_master | MongoDB::MongoClient::
1 | 1 | 1 | 4µs | 4µs | auto_reconnect | MongoDB::MongoClient::
1 | 1 | 1 | 4µs | 4µs | host | MongoDB::MongoClient::
1 | 1 | 1 | 4µs | 4µs | auto_connect | MongoDB::MongoClient::
1 | 1 | 1 | 4µs | 4µs | ssl | MongoDB::MongoClient::
1 | 1 | 1 | 4µs | 4µs | username | MongoDB::MongoClient::
1 | 1 | 1 | 4µs | 4µs | password | MongoDB::MongoClient::
1 | 1 | 1 | 3µs | 3µs | handles | Moose::Meta::Mixin::AttributeCore::
1 | 1 | 1 | 3µs | 3µs | _set_constraint | Moose::Meta::TypeConstraint::
1 | 1 | 1 | 3µs | 3µs | timeout | MongoDB::MongoClient::
2 | 1 | 1 | 1µs | 1µs | clearer (xsub) | Class::MOP::Mixin::AttributeCore::
1 | 1 | 1 | 600ns | 600ns | SUBTYPE_GENERIC (xsub) | MongoDB::BSON::Binary::
0 | 0 | 0 | 0s | 0s | clone | Class::MOP::Attribute::
0 | 0 | 0 | 0s | 0s | _get_mutable_metaclass_name | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | _immutable_cannot_call | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | _immutable_metaclass | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | _immutable_read_only | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | add_attribute | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | add_method | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | add_package_symbol | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | alias_method | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | class_precedence_list | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | get_all_method_names | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | get_all_methods | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | is_mutable | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | meta | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | remove_attribute | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | remove_method | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | remove_package_symbol | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | superclasses | Class::MOP::Class::Immutable::Class::MOP::Class::
0 | 0 | 0 | 0s | 0s | _get_mutable_metaclass_name | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | _immutable_cannot_call | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | _immutable_metaclass | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | _immutable_read_only | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | add_attribute | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | add_method | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | add_package_symbol | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | add_role | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | alias_method | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | calculate_all_roles | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | calculate_all_roles_with_inheritance | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | class_precedence_list | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | does_role | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | get_all_method_names | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | is_immutable | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | is_mutable | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | meta | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | remove_attribute | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | remove_method | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | remove_package_symbol | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | superclasses | Class::MOP::Class::Immutable::Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | attributes | Class::MOP::Instance::
0 | 0 | 0 | 0s | 0s | slot_hash | Class::MOP::Instance::
0 | 0 | 0 | 0s | 0s | slots | Class::MOP::Instance::
0 | 0 | 0 | 0s | 0s | original_method | Class::MOP::Method::
0 | 0 | 0 | 0s | 0s | has_init_arg | Class::MOP::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | has_insertion_order | Class::MOP::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | initializer | Class::MOP::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | insertion_order | Class::MOP::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | authority | Class::MOP::Module::
0 | 0 | 0 | 0s | 0s | version | Class::MOP::Module::
0 | 0 | 0 | 0s | 0s | DESTROY | Class::MOP::Package::
0 | 0 | 0 | 0s | 0s | _anon_cache_key | Class::MOP::Package::
0 | 0 | 0 | 0s | 0s | _anon_package_prefix | Class::MOP::Package::
0 | 0 | 0 | 0s | 0s | _free_anon | Class::MOP::Package::
0 | 0 | 0 | 0s | 0s | create_anon | Class::MOP::Package::
0 | 0 | 0 | 0s | 0s | get_all_package_symbols | Class::MOP::Package::
0 | 0 | 0 | 0s | 0s | is_anon | Class::MOP::Package::
0 | 0 | 0 | 0s | 0s | namespace | Class::MOP::Package::
0 | 0 | 0 | 0s | 0s | reinitialize | Class::MOP::Package::
0 | 0 | 0 | 0s | 0s | remove_package_glob | Class::MOP::Package::
0 | 0 | 0 | 0s | 0s | remove_package_symbol | Class::MOP::Package::
0 | 0 | 0 | 0s | 0s | meta | MongoDB::BSON::Binary::
0 | 0 | 0 | 0s | 0s | _get_a_specific_connection | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | _get_any_connection | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | _get_max_bson_size | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | _master | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | _sasl_check | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | _sasl_continue | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | _sasl_plain_authenticate | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | _sasl_start | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | _servers | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | _w_want_safe | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | authenticate | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | auto_connect | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | auto_reconnect | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | database_names | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | db_name | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | dt_type | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | find_master | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | fsync | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | fsync_unlock | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | get_master | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | host | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | inflate_dbrefs | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | j | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | max_bson_size | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | password | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | port | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | sasl | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | sasl_mechanism | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | ssl | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | timeout | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | ts | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | username | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | w | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | wtimeout | MongoDB::Connection::
0 | 0 | 0 | 0s | 0s | client | MongoDB::DBRef::
0 | 0 | 0 | 0s | 0s | db | MongoDB::DBRef::
0 | 0 | 0 | 0s | 0s | id | MongoDB::DBRef::
0 | 0 | 0 | 0s | 0s | meta | MongoDB::DBRef::
0 | 0 | 0 | 0s | 0s | ref | MongoDB::DBRef::
0 | 0 | 0 | 0s | 0s | verify_coll | MongoDB::DBRef::
0 | 0 | 0 | 0s | 0s | verify_db | MongoDB::DBRef::
0 | 0 | 0 | 0s | 0s | _grid | MongoDB::GridFS::File::
0 | 0 | 0 | 0s | 0s | info | MongoDB::GridFS::File::
0 | 0 | 0 | 0s | 0s | meta | MongoDB::GridFS::File::
0 | 0 | 0 | 0s | 0s | _database | MongoDB::GridFS::
0 | 0 | 0 | 0s | 0s | chunks | MongoDB::GridFS::
0 | 0 | 0 | 0s | 0s | clear_chunks | MongoDB::GridFS::
0 | 0 | 0 | 0s | 0s | clear_files | MongoDB::GridFS::
0 | 0 | 0 | 0s | 0s | files | MongoDB::GridFS::
0 | 0 | 0 | 0s | 0s | has_chunks | MongoDB::GridFS::
0 | 0 | 0 | 0s | 0s | has_files | MongoDB::GridFS::
0 | 0 | 0 | 0s | 0s | meta | MongoDB::GridFS::
0 | 0 | 0 | 0s | 0s | prefix | MongoDB::GridFS::
0 | 0 | 0 | 0s | 0s | _master | MongoDB::MongoClient::
0 | 0 | 0 | 0s | 0s | _servers | MongoDB::MongoClient::
0 | 0 | 0 | 0s | 0s | db_name | MongoDB::MongoClient::
0 | 0 | 0 | 0s | 0s | j | MongoDB::MongoClient::
0 | 0 | 0 | 0s | 0s | port | MongoDB::MongoClient::
0 | 0 | 0 | 0s | 0s | sasl_mechanism | MongoDB::MongoClient::
0 | 0 | 0 | 0s | 0s | ts | MongoDB::MongoClient::
0 | 0 | 0 | 0s | 0s | w | MongoDB::MongoClient::
0 | 0 | 0 | 0s | 0s | wtimeout | MongoDB::MongoClient::
0 | 0 | 0 | 0s | 0s | BUILDARGS | MongoDB::OID::
0 | 0 | 0 | 0s | 0s | new | MongoDB::OID::
0 | 0 | 0 | 0s | 0s | value | MongoDB::OID::
0 | 0 | 0 | 0s | 0s | inc | MongoDB::Timestamp::
0 | 0 | 0 | 0s | 0s | meta | MongoDB::Timestamp::
0 | 0 | 0 | 0s | 0s | sec | MongoDB::Timestamp::
0 | 0 | 0 | 0s | 0s | _get_compatible_metaclass | Moose::Error::Default::
0 | 0 | 0 | 0s | 0s | _get_compatible_metaclass_by_role_reconciliation | Moose::Error::Default::
0 | 0 | 0 | 0s | 0s | register_implementation | Moose::Meta::Attribute::Custom::Trait::Array::
0 | 0 | 0 | 0s | 0s | register_implementation | Moose::Meta::Attribute::Custom::Trait::Bool::
0 | 0 | 0 | 0s | 0s | register_implementation | Moose::Meta::Attribute::Custom::Trait::Code::
0 | 0 | 0 | 0s | 0s | register_implementation | Moose::Meta::Attribute::Custom::Trait::Counter::
0 | 0 | 0 | 0s | 0s | register_implementation | Moose::Meta::Attribute::Custom::Trait::Hash::
0 | 0 | 0 | 0s | 0s | register_implementation | Moose::Meta::Attribute::Custom::Trait::Number::
0 | 0 | 0 | 0s | 0s | register_implementation | Moose::Meta::Attribute::Custom::Trait::String::
0 | 0 | 0 | 0s | 0s | _get_compatible_metaclass | Moose::Meta::Attribute::
0 | 0 | 0 | 0s | 0s | _get_compatible_metaclass_by_role_reconciliation | Moose::Meta::Attribute::
0 | 0 | 0 | 0s | 0s | applied_traits | Moose::Meta::Attribute::
0 | 0 | 0 | 0s | 0s | has_applied_traits | Moose::Meta::Attribute::
0 | 0 | 0 | 0s | 0s | _get_compatible_metaclass | Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | _get_compatible_metaclass_by_role_reconciliation | Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | _get_role_applications | Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | roles | Moose::Meta::Class::
0 | 0 | 0 | 0s | 0s | _get_compatible_metaclass | Moose::Meta::Instance::
0 | 0 | 0 | 0s | 0s | _get_compatible_metaclass_by_role_reconciliation | Moose::Meta::Instance::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Method::Augmented::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Method::Constructor::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Method::Destructor::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Method::Overridden::
0 | 0 | 0 | 0s | 0s | _get_compatible_metaclass | Moose::Meta::Method::
0 | 0 | 0 | 0s | 0s | _get_compatible_metaclass_by_role_reconciliation | Moose::Meta::Method::
0 | 0 | 0 | 0s | 0s | _does_metadata | Moose::Meta::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | _is_metadata | Moose::Meta::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | _isa_metadata | Moose::Meta::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | _set_handles | Moose::Meta::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | documentation | Moose::Meta::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | has_documentation | Moose::Meta::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | is_lazy_build | Moose::Meta::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | trigger | Moose::Meta::Mixin::AttributeCore::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Role::Application::RoleSummation::
0 | 0 | 0 | 0s | 0s | role_params | Moose::Meta::Role::Application::RoleSummation::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Role::Application::ToClass::
0 | 0 | 0 | 0s | 0s | class | Moose::Meta::Role::Application::ToClass::
0 | 0 | 0 | 0s | 0s | role | Moose::Meta::Role::Application::ToClass::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Role::Application::ToInstance::
0 | 0 | 0 | 0s | 0s | rebless_params | Moose::Meta::Role::Application::ToInstance::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Role::Application::ToRole::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Role::Application::
0 | 0 | 0 | 0s | 0s | get_method_aliases | Moose::Meta::Role::Application::
0 | 0 | 0 | 0s | 0s | get_method_exclusions | Moose::Meta::Role::Application::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Role::Attribute::
0 | 0 | 0 | 0s | 0s | _original_role | Moose::Meta::Role::Attribute::
0 | 0 | 0 | 0s | 0s | associated_role | Moose::Meta::Role::Attribute::
0 | 0 | 0 | 0s | 0s | is | Moose::Meta::Role::Attribute::
0 | 0 | 0 | 0s | 0s | metaclass | Moose::Meta::Role::Attribute::
0 | 0 | 0 | 0s | 0s | original_options | Moose::Meta::Role::Attribute::
0 | 0 | 0 | 0s | 0s | _method_map | Moose::Meta::Role::Composite::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Role::Composite::
0 | 0 | 0 | 0s | 0s | application_role_summation_class | Moose::Meta::Role::Composite::
0 | 0 | 0 | 0s | 0s | name | Moose::Meta::Role::Composite::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Role::Method::Conflicting::
0 | 0 | 0 | 0s | 0s | roles | Moose::Meta::Role::Method::Conflicting::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Role::Method::Required::
0 | 0 | 0 | 0s | 0s | name | Moose::Meta::Role::Method::Required::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Role::Method::
0 | 0 | 0 | 0s | 0s | _get_compatible_metaclass | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | _get_compatible_metaclass_by_role_reconciliation | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | add_after_method_modifier | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | add_around_method_modifier | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | add_before_method_modifier | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | add_excluded_roles | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | application_to_class_class | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | application_to_instance_class | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | application_to_role_class | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | applied_attribute_metaclass | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | conflicting_method_metaclass | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | excludes_role | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | get_after_method_modifiers | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | get_after_method_modifiers_map | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | get_around_method_modifiers | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | get_around_method_modifiers_map | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | get_before_method_modifiers | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | get_before_method_modifiers_map | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | get_excluded_roles_list | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | get_excluded_roles_map | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | get_override_method_modifiers_map | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | get_required_method_list | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | get_required_methods_map | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | get_roles | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | has_after_method_modifiers | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | has_around_method_modifiers | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | has_before_method_modifiers | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | method_metaclass | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | remove_required_methods | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | required_method_metaclass | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | requires_method | Moose::Meta::Role::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::TypeCoercion::Union::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::TypeCoercion::
0 | 0 | 0 | 0s | 0s | type_constraint | Moose::Meta::TypeCoercion::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::TypeConstraint::DuckType::
0 | 0 | 0 | 0s | 0s | methods | Moose::Meta::TypeConstraint::DuckType::
0 | 0 | 0 | 0s | 0s | _inline_var_name | Moose::Meta::TypeConstraint::Enum::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::TypeConstraint::Enum::
0 | 0 | 0 | 0s | 0s | values | Moose::Meta::TypeConstraint::Enum::
0 | 0 | 0 | 0s | 0s | constraint_generator | Moose::Meta::TypeConstraint::Parameterizable::
0 | 0 | 0 | 0s | 0s | has_constraint_generator | Moose::Meta::TypeConstraint::Parameterizable::
0 | 0 | 0 | 0s | 0s | has_inline_generator | Moose::Meta::TypeConstraint::Parameterizable::
0 | 0 | 0 | 0s | 0s | inline_generator | Moose::Meta::TypeConstraint::Parameterizable::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::TypeConstraint::Parameterized::
0 | 0 | 0 | 0s | 0s | has_parameterized_from | Moose::Meta::TypeConstraint::Parameterized::
0 | 0 | 0 | 0s | 0s | has_type_parameter | Moose::Meta::TypeConstraint::Parameterized::
0 | 0 | 0 | 0s | 0s | parameterized_from | Moose::Meta::TypeConstraint::Parameterized::
0 | 0 | 0 | 0s | 0s | type_parameter | Moose::Meta::TypeConstraint::Parameterized::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::TypeConstraint::Registry::
0 | 0 | 0 | 0s | 0s | get_parent_registry | Moose::Meta::TypeConstraint::Registry::
0 | 0 | 0 | 0s | 0s | has_parent_registry | Moose::Meta::TypeConstraint::Registry::
0 | 0 | 0 | 0s | 0s | set_parent_registry | Moose::Meta::TypeConstraint::Registry::
0 | 0 | 0 | 0s | 0s | _new | Moose::Meta::TypeConstraint::Role::
0 | 0 | 0 | 0s | 0s | role | Moose::Meta::TypeConstraint::Role::
0 | 0 | 0 | 0s | 0s | _package_defined_in | Moose::Meta::TypeConstraint::
0 | 0 | 0 | 0s | 0s | hand_optimized_type_constraint | Moose::Meta::TypeConstraint::
0 | 0 | 0 | 0s | 0s | message | Moose::Meta::TypeConstraint::
0 | 0 | 0 | 0s | 0s | meta | Moose::Object::
0 | 0 | 0 | 0s | 0s | import | Moose::Util::TypeConstraints::
0 | 0 | 0 | 0s | 0s | unimport | Moose::Util::TypeConstraints::
0 | 0 | 0 | 0s | 0s | import | Moose::
0 | 0 | 0 | 0s | 0s | unimport | Moose::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | |||||
2 | package Class::MOP::Package; | ||||
3 | # spent 8µs within Class::MOP::Package::BEGIN@3 which was called:
# once (8µs+0s) by base::import at line 5 | ||||
4 | 1 | 4µs | $Class::MOP::Package::AUTHORITY = 'cpan:STEVAN'; | ||
5 | 1 | 28µs | 1 | 8µs | } # spent 8µs making 1 call to Class::MOP::Package::BEGIN@3 |
6 | { | ||||
7 | 2 | 1µs | $Class::MOP::Package::VERSION = '2.1005'; | ||
8 | } | ||||
9 | |||||
10 | 2 | 20µs | 2 | 12µs | # spent 10µs (7+3) within Class::MOP::Package::BEGIN@10 which was called:
# once (7µs+3µs) by base::import at line 10 # spent 10µs making 1 call to Class::MOP::Package::BEGIN@10
# spent 3µs making 1 call to strict::import |
11 | 2 | 22µs | 2 | 16µs | # spent 11µs (6+5) within Class::MOP::Package::BEGIN@11 which was called:
# once (6µs+5µs) by base::import at line 11 # spent 11µs making 1 call to Class::MOP::Package::BEGIN@11
# spent 5µs making 1 call to warnings::import |
12 | |||||
13 | 2 | 28µs | 2 | 75µs | # spent 40µs (6+34) within Class::MOP::Package::BEGIN@13 which was called:
# once (6µs+34µs) by base::import at line 13 # spent 40µs making 1 call to Class::MOP::Package::BEGIN@13
# spent 34µs making 1 call to Exporter::import |
14 | 2 | 23µs | 2 | 53µs | # spent 32µs (10+21) within Class::MOP::Package::BEGIN@14 which was called:
# once (10µs+21µs) by base::import at line 14 # spent 32µs making 1 call to Class::MOP::Package::BEGIN@14
# spent 21µs making 1 call to Exporter::import |
15 | 2 | 113µs | 2 | 1.49ms | # spent 1.46ms (291µs+1.17) within Class::MOP::Package::BEGIN@15 which was called:
# once (291µs+1.17ms) by base::import at line 15 # spent 1.46ms making 1 call to Class::MOP::Package::BEGIN@15
# spent 32µs making 1 call to Sub::Exporter::Progressive::__ANON__[Sub/Exporter/Progressive.pm:40] |
16 | 2 | 115µs | 1 | 1.12ms | # spent 1.12ms (305µs+813µs) within Class::MOP::Package::BEGIN@16 which was called:
# once (305µs+813µs) by base::import at line 16 # spent 1.12ms making 1 call to Class::MOP::Package::BEGIN@16 |
17 | |||||
18 | 2 | 268µs | 2 | 53µs | # spent 53µs (7+46) within Class::MOP::Package::BEGIN@18 which was called:
# once (7µs+46µs) by base::import at line 18 # spent 53µs making 1 call to Class::MOP::Package::BEGIN@18
# spent 46µs making 1 call to base::import, recursion: max depth 2, sum of overlapping time 46µs |
19 | |||||
20 | # creation ... | ||||
21 | |||||
22 | # spent 62µs (37+25) within Class::MOP::Package::initialize which was called 2 times, avg 31µs/call:
# 2 times (37µs+25µs) by Moose::Exporter::build_import_methods at line 87 of Moose/Exporter.pm, avg 31µs/call | ||||
23 | 2 | 3µs | my ( $class, @args ) = @_; | ||
24 | |||||
25 | 2 | 3µs | unshift @args, "package" if @args % 2; | ||
26 | |||||
27 | 2 | 2µs | my %options = @args; | ||
28 | 2 | 3µs | my $package_name = delete $options{package}; | ||
29 | |||||
30 | |||||
31 | # we hand-construct the class until we can bootstrap it | ||||
32 | 2 | 3µs | 2 | 3µs | if ( my $meta = Class::MOP::get_metaclass_by_name($package_name) ) { # spent 3µs making 2 calls to Class::MOP::get_metaclass_by_name, avg 1µs/call |
33 | return $meta; | ||||
34 | } else { | ||||
35 | 2 | 8µs | 2 | 19µs | my $meta = ( ref $class || $class )->_new({ # spent 19µs making 2 calls to Class::MOP::Package::_new, avg 10µs/call |
36 | 'package' => $package_name, | ||||
37 | %options, | ||||
38 | }); | ||||
39 | 2 | 2µs | 2 | 3µs | Class::MOP::store_metaclass_by_name($package_name, $meta); # spent 3µs making 2 calls to Class::MOP::store_metaclass_by_name, avg 1µs/call |
40 | |||||
41 | 2 | 1µs | Class::MOP::weaken_metaclass($package_name) if $options{weaken}; | ||
42 | |||||
43 | |||||
44 | 2 | 6µs | return $meta; | ||
45 | } | ||||
46 | } | ||||
47 | |||||
48 | sub reinitialize { | ||||
49 | my ( $class, @args ) = @_; | ||||
50 | |||||
51 | unshift @args, "package" if @args % 2; | ||||
52 | |||||
53 | my %options = @args; | ||||
54 | my $package_name = delete $options{package}; | ||||
55 | |||||
56 | (defined $package_name && $package_name | ||||
57 | && (!blessed $package_name || $package_name->isa('Class::MOP::Package'))) | ||||
58 | || confess "You must pass a package name or an existing Class::MOP::Package instance"; | ||||
59 | |||||
60 | $package_name = $package_name->name | ||||
61 | if blessed $package_name; | ||||
62 | |||||
63 | Class::MOP::remove_metaclass_by_name($package_name); | ||||
64 | |||||
65 | $class->initialize($package_name, %options); # call with first arg form for compat | ||||
66 | } | ||||
67 | |||||
68 | # spent 177µs (10+167) within Class::MOP::Package::create which was called 2 times, avg 88µs/call:
# 2 times (10µs+167µs) by Class::MOP::Module::create at line 68 of Class/MOP/Module.pm, avg 88µs/call | ||||
69 | 2 | 900ns | my $class = shift; | ||
70 | 2 | 2µs | my @args = @_; | ||
71 | |||||
72 | 2 | 7µs | 2 | 167µs | return $class->initialize(@args); # spent 167µs making 2 calls to Class::MOP::Class::initialize, avg 83µs/call |
73 | } | ||||
74 | |||||
75 | ## ANON packages | ||||
76 | |||||
77 | { | ||||
78 | # NOTE: | ||||
79 | # this should be sufficient, if you have a | ||||
80 | # use case where it is not, write a test and | ||||
81 | # I will change it. | ||||
82 | 2 | 400ns | my $ANON_SERIAL = 0; | ||
83 | |||||
84 | 1 | 400ns | my %ANON_PACKAGE_CACHE; | ||
85 | |||||
86 | # NOTE: | ||||
87 | # we need a sufficiently annoying prefix | ||||
88 | # this should suffice for now, this is | ||||
89 | # used in a couple of places below, so | ||||
90 | # need to put it up here for now. | ||||
91 | sub _anon_package_prefix { 'Class::MOP::Package::__ANON__::SERIAL::' } | ||||
92 | |||||
93 | sub is_anon { | ||||
94 | my $self = shift; | ||||
95 | 2 | 306µs | 2 | 34µs | # spent 21µs (9+12) within Class::MOP::Package::BEGIN@95 which was called:
# once (9µs+12µs) by base::import at line 95 # spent 21µs making 1 call to Class::MOP::Package::BEGIN@95
# spent 12µs making 1 call to warnings::unimport |
96 | my $prefix = $self->_anon_package_prefix; | ||||
97 | $self->name =~ /^\Q$prefix/; | ||||
98 | } | ||||
99 | |||||
100 | sub create_anon { | ||||
101 | my ($class, %options) = @_; | ||||
102 | |||||
103 | my $cache_ok = delete $options{cache}; | ||||
104 | $options{weaken} = !$cache_ok unless exists $options{weaken}; | ||||
105 | |||||
106 | my $cache_key; | ||||
107 | if ($cache_ok) { | ||||
108 | $cache_key = $class->_anon_cache_key(%options); | ||||
109 | undef $cache_ok if !defined($cache_key); | ||||
110 | } | ||||
111 | |||||
112 | if ($cache_ok) { | ||||
113 | if (defined $ANON_PACKAGE_CACHE{$cache_key}) { | ||||
114 | return $ANON_PACKAGE_CACHE{$cache_key}; | ||||
115 | } | ||||
116 | } | ||||
117 | |||||
118 | my $package_name = $class->_anon_package_prefix . ++$ANON_SERIAL; | ||||
119 | |||||
120 | my $meta = $class->create($package_name, %options); | ||||
121 | |||||
122 | if ($cache_ok) { | ||||
123 | $ANON_PACKAGE_CACHE{$cache_key} = $meta; | ||||
124 | weaken($ANON_PACKAGE_CACHE{$cache_key}); | ||||
125 | } | ||||
126 | |||||
127 | return $meta; | ||||
128 | } | ||||
129 | |||||
130 | sub _anon_cache_key { confess "Packages are not cacheable" } | ||||
131 | |||||
132 | sub DESTROY { | ||||
133 | my $self = shift; | ||||
134 | |||||
135 | return if in_global_destruction(); # it'll happen soon anyway and this just makes things more complicated | ||||
136 | |||||
137 | $self->_free_anon | ||||
138 | if $self->is_anon; | ||||
139 | } | ||||
140 | |||||
141 | sub _free_anon { | ||||
142 | my $self = shift; | ||||
143 | my $name = $self->name; | ||||
144 | |||||
145 | # Moose does a weird thing where it replaces the metaclass for | ||||
146 | # class when fixing metaclass incompatibility. In that case, | ||||
147 | # we don't want to clean out the namespace now. We can detect | ||||
148 | # that because Moose will explicitly update the singleton | ||||
149 | # cache in Class::MOP using store_metaclass_by_name, which | ||||
150 | # means that the new metaclass will already exist in the cache | ||||
151 | # by this point. | ||||
152 | # The other options here are that $current_meta can be undef if | ||||
153 | # remove_metaclass_by_name is called explicitly (since the hash | ||||
154 | # entry is removed first, and then this destructor is called), | ||||
155 | # or that $current_meta can be the same as $self, which happens | ||||
156 | # when the metaclass goes out of scope (since the weak reference | ||||
157 | # in the metaclass cache won't be freed until after this | ||||
158 | # destructor runs). | ||||
159 | my $current_meta = Class::MOP::get_metaclass_by_name($name); | ||||
160 | return if defined($current_meta) && $current_meta ne $self; | ||||
161 | |||||
162 | my ($first_fragments, $last_fragment) = ($name =~ /^(.*)::(.*)$/); | ||||
163 | |||||
164 | 2 | 376µs | 2 | 30µs | # spent 19µs (8+11) within Class::MOP::Package::BEGIN@164 which was called:
# once (8µs+11µs) by base::import at line 164 # spent 19µs making 1 call to Class::MOP::Package::BEGIN@164
# spent 11µs making 1 call to strict::unimport |
165 | # clear @ISA first, to avoid a memory leak | ||||
166 | # see https://rt.perl.org/rt3/Public/Bug/Display.html?id=92708 | ||||
167 | @{$name . '::ISA'} = (); | ||||
168 | %{$name . '::'} = (); | ||||
169 | delete ${$first_fragments . '::'}{$last_fragment . '::'}; | ||||
170 | |||||
171 | Class::MOP::remove_metaclass_by_name($name); | ||||
172 | } | ||||
173 | |||||
174 | } | ||||
175 | |||||
176 | # spent 19µs within Class::MOP::Package::_new which was called 2 times, avg 10µs/call:
# 2 times (19µs+0s) by Class::MOP::Package::initialize at line 35, avg 10µs/call | ||||
177 | 2 | 700ns | my $class = shift; | ||
178 | |||||
179 | 2 | 1µs | return Class::MOP::Class->initialize($class)->new_object(@_) | ||
180 | if $class ne __PACKAGE__; | ||||
181 | |||||
182 | 2 | 1µs | my $params = @_ == 1 ? $_[0] : {@_}; | ||
183 | |||||
184 | 2 | 20µs | return bless { | ||
185 | # Need to quote package to avoid a problem with PPI mis-parsing this | ||||
186 | # as a package statement. | ||||
187 | 'package' => $params->{package}, | ||||
188 | |||||
189 | # NOTE: | ||||
190 | # because of issues with the Perl API | ||||
191 | # to the typeglob in some versions, we | ||||
192 | # need to just always grab a new | ||||
193 | # reference to the hash in the accessor. | ||||
194 | # Ideally we could just store a ref and | ||||
195 | # it would Just Work, but oh well :\ | ||||
196 | |||||
197 | namespace => \undef, | ||||
198 | |||||
199 | } => $class; | ||||
200 | } | ||||
201 | |||||
202 | # Attributes | ||||
203 | |||||
204 | # NOTE: | ||||
205 | # all these attribute readers will be bootstrapped | ||||
206 | # away in the Class::MOP bootstrap section | ||||
207 | |||||
208 | # spent 2.92ms (2.34+579µs) within Class::MOP::Package::_package_stash which was called 1692 times, avg 2µs/call:
# 816 times (942µs+0s) by Class::MOP::Package::get_package_symbol at line 238, avg 1µs/call
# 505 times (658µs+0s) by Class::MOP::Package::add_package_symbol at line 221, avg 1µs/call
# 237 times (213µs+14µs) by Class::MOP::Package::has_package_symbol at line 233, avg 959ns/call
# 128 times (519µs+565µs) by Class::MOP::Package::get_or_add_package_symbol at line 243, avg 8µs/call
# 6 times (7µs+0s) by Class::MOP::Package::list_all_package_symbols at line 253, avg 1µs/call | ||||
209 | 1692 | 4.53ms | 160 | 578µs | $_[0]->{_package_stash} ||= Package::Stash->new($_[0]->name) # spent 511µs making 80 calls to Package::Stash::XS::new, avg 6µs/call
# spent 67µs making 80 calls to Class::MOP::Package::name, avg 842ns/call |
210 | } | ||||
211 | sub namespace { | ||||
212 | $_[0]->_package_stash->namespace | ||||
213 | } | ||||
214 | |||||
215 | # Class attributes | ||||
216 | |||||
217 | # ... these functions have to touch the symbol table itself,.. yuk | ||||
218 | |||||
219 | # spent 8.83ms (2.26+6.58) within Class::MOP::Package::add_package_symbol which was called 505 times, avg 17µs/call:
# 501 times (2.24ms+6.53ms) by Class::MOP::Mixin::HasMethods::add_method at line 86 of Class/MOP/Mixin/HasMethods.pm, avg 18µs/call
# 4 times (15µs+42µs) by Moose::Exporter::build_import_methods at line 93 of Moose/Exporter.pm, avg 14µs/call | ||||
220 | 505 | 177µs | my $self = shift; | ||
221 | 505 | 7.76ms | 2020 | 7.21ms | # spent 420µs within Class::MOP::Mixin::AttributeCore::has_default which was called 417 times, avg 1µs/call:
# 326 times (316µs+0s) by Class::MOP::Class::_inline_default_value at line 667 of Class/MOP/Class.pm, avg 970ns/call
# 64 times (73µs+0s) by Moose::Meta::Attribute::_eval_environment at line 783 of Moose/Meta/Attribute.pm, avg 1µs/call
# 21 times (24µs+0s) by Moose::Meta::Class::_inline_check_required_attr at line 388 of Moose/Meta/Class.pm, avg 1µs/call
# 3 times (4µs+0s) by Moose::Meta::Attribute::_inline_init_from_default at line 904 of Moose/Meta/Attribute.pm, avg 1µs/call
# 3 times (2µs+0s) by Moose::Meta::Attribute::_inline_generate_default at line 931 of Moose/Meta/Attribute.pm, avg 833ns/call
# spent 682µs (184+498) within Class::MOP::Class::Immutable::Class::MOP::Class::linearized_isa which was called 71 times, avg 10µs/call:
# 55 times (147µs+291µs) by Class::MOP::Class::find_attribute_by_name at line 916 of Class/MOP/Class.pm, avg 8µs/call
# 16 times (36µs+207µs) by Class::MOP::Class::get_all_attributes at line 928 of Class/MOP/Class.pm, avg 15µs/call
# spent 235µs within Class::MOP::Mixin::AttributeCore::_set_insertion_order which was called 181 times, avg 1µs/call:
# 181 times (235µs+0s) by Class::MOP::Mixin::HasAttributes::add_attribute at line 35 of Class/MOP/Mixin/HasAttributes.pm, avg 1µs/call
# spent 4µs within MongoDB::MongoClient::password which was called:
# once (4µs+0s) by MongoDB::MongoClient::connect at line 228 of MongoDB/MongoClient.pm
# spent 86µs (9+77) within Class::MOP::Class::Immutable::Moose::Meta::Class::get_all_attributes which was called 2 times, avg 43µs/call:
# once (6µs+72µs) by Class::MOP::Class::_construct_instance at line 524 of Class/MOP/Class.pm
# once (2µs+5µs) by Moose::Meta::Class::_call_all_triggers at line 296 of Moose/Meta/Class.pm
# spent 223µs (166+57) within Moose::Meta::Mixin::AttributeCore::is_lazy which was called 101 times, avg 2µs/call:
# 60 times (108µs+57µs) by Moose::Meta::Attribute::_inline_check_lazy at line 889 of Moose/Meta/Attribute.pm, avg 3µs/call
# 41 times (58µs+0s) by Moose::Meta::Class::_inline_init_attr_from_default at line 429 of Moose/Meta/Class.pm, avg 1µs/call
# spent 153µs (146+7) within Moose::Meta::TypeConstraint::Parameterizable::_new which was called 4 times, avg 38µs/call:
# 4 times (146µs+7µs) by Moose::Meta::TypeConstraint::new at line 143 of Moose/Meta/TypeConstraint.pm, avg 38µs/call
# spent 11µs within MongoDB::Cursor::partial which was called 4 times, avg 3µs/call:
# 4 times (11µs+0s) by MongoDB::Cursor::_do_query at line 151 of MongoDB/Cursor.pm, avg 3µs/call
# spent 52µs (25+26) within Moose::Meta::TypeCoercion::meta which was called 4 times, avg 13µs/call:
# once (12µs+9µs) by Moose::BEGIN@29 at line 20 of Moose/Meta/TypeCoercion.pm
# once (4µs+7µs) by Moose::BEGIN@29 at line 23 of Moose/Meta/TypeCoercion.pm
# once (5µs+6µs) by Moose::BEGIN@29 at line 32 of Moose/Meta/TypeCoercion.pm
# once (4µs+5µs) by MongoDB::Connection::BEGIN@24 at line 239 of Moose.pm
# spent 555µs within Moose::Meta::TypeConstraint::_has_inlined_type_constraint which was called 464 times, avg 1µs/call:
# 464 times (555µs+0s) by Moose::Meta::TypeConstraint::can_be_inlined at line 201 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# spent 18µs within MongoDB::BSON::Binary::data which was called 8 times, avg 2µs/call:
# 6 times (12µs+0s) by MongoDB::write_query at line 156 of MongoDB/Cursor.pm, avg 2µs/call
# 2 times (7µs+0s) by Mentat::Storage::Mongo::_unbless at line 917 of Mentat/Storage/Mongo.pm, avg 3µs/call
# spent 257µs within Class::MOP::Mixin::AttributeCore::has_clearer which was called 257 times, avg 998ns/call:
# 257 times (257µs+0s) by Class::MOP::Attribute::install_accessors at line 440 of Class/MOP/Attribute.pm, avg 998ns/call
# spent 590µs (229+362) within Class::MOP::Class::Immutable::Moose::Meta::Class::_method_map which was called 100 times, avg 6µs/call:
# 85 times (191µs+303µs) by Class::MOP::Mixin::HasMethods::_get_maybe_raw_method at line 134 of Class/MOP/Mixin/HasMethods.pm, avg 6µs/call
# 14 times (35µs+55µs) by Class::MOP::Mixin::HasMethods::get_method at line 124 of Class/MOP/Mixin/HasMethods.pm, avg 6µs/call
# once (2µs+3µs) by Class::MOP::Mixin::HasMethods::_full_method_map at line 209 of Class/MOP/Mixin/HasMethods.pm
# spent 67µs within Moose::Meta::TypeConstraint::has_hand_optimized_type_constraint which was called 51 times, avg 1µs/call:
# 46 times (61µs+0s) by Moose::Meta::TypeConstraint::_actually_compile_type_constraint at line 308 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# 5 times (6µs+0s) by Moose::Meta::TypeConstraint::_compile_subtype at line 354 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# spent 28µs (13+15) within Moose::Meta::TypeConstraint::Enum::meta which was called 2 times, avg 14µs/call:
# once (9µs+8µs) by Moose::Util::TypeConstraints::BEGIN@38 at line 18 of Moose/Meta/TypeConstraint/Enum.pm
# once (4µs+7µs) by Moose::Util::TypeConstraints::BEGIN@38 at line 23 of Moose/Meta/TypeConstraint/Enum.pm
# spent 19µs (10+9) within Moose::Meta::TypeConstraint::Union::meta which was called:
# once (10µs+9µs) by Moose::Util::TypeConstraints::BEGIN@33 at line 24 of Moose/Meta/TypeConstraint/Union.pm
# spent 49µs (26+22) within MongoDB::Connection::query_timeout which was called:
# once (26µs+22µs) by Mentat::Storage::Mongo::reconnect at line 580 of Mentat/Storage/Mongo.pm
# spent 29µs (14+15) within Moose::Meta::Role::Application::RoleSummation::meta which was called 2 times, avg 15µs/call:
# once (9µs+9µs) by Moose::BEGIN@38 at line 22 of Moose/Meta/Role/Application/RoleSummation.pm
# once (4µs+6µs) by MongoDB::Connection::BEGIN@24 at line 239 of Moose.pm
# spent 28µs (13+15) within Moose::Meta::TypeConstraint::Parameterized::meta which was called 2 times, avg 14µs/call:
# once (9µs+8µs) by Moose::Util::TypeConstraints::BEGIN@34 at line 19 of Moose/Meta/TypeConstraint/Parameterized.pm
# once (5µs+7µs) by Moose::Util::TypeConstraints::BEGIN@34 at line 25 of Moose/Meta/TypeConstraint/Parameterized.pm
# spent 460µs (438+22) within Moose::Meta::TypeConstraint::Class::_new which was called 11 times, avg 42µs/call:
# 11 times (438µs+22µs) by Moose::Meta::TypeConstraint::new at line 143 of Moose/Meta/TypeConstraint.pm, avg 42µs/call
# spent 13µs within MongoDB::Cursor::_ns which was called 5 times, avg 3µs/call:
# 4 times (11µs+0s) by MongoDB::Cursor::_do_query at line 156 of MongoDB/Cursor.pm, avg 3µs/call
# once (2µs+0s) by MongoDB::Cursor::count at line 271 of MongoDB/Cursor.pm
# spent 6µs within MongoDB::Database::name which was called 3 times, avg 2µs/call:
# 3 times (6µs+0s) by MongoDB::Collection::_build_full_name at line 54 of MongoDB/Collection.pm, avg 2µs/call
# spent 10.0ms (867µs+9.14) within Class::MOP::Class::superclasses which was called 128 times, avg 78µs/call:
# 68 times (294µs+1.77ms) by Class::MOP::Class::_check_metaclass_compatibility at line 203 of Class/MOP/Class.pm, avg 30µs/call
# 56 times (494µs+6.85ms) by Moose::Meta::Class::superclasses at line 569 of Moose/Meta/Class.pm, avg 131µs/call
# 2 times (71µs+520µs) by Class::MOP::Class::create at line 451 of Class/MOP/Class.pm, avg 296µs/call
# 2 times (7µs+-7µs) by Class::MOP::Class::_superclasses_updated at line 971 of Class/MOP/Class.pm, avg 0s/call
# spent 131µs (56+75) within Moose::Meta::TypeConstraint::meta which was called 11 times, avg 12µs/call:
# once (10µs+9µs) by Moose::BEGIN@28 at line 28 of Moose/Meta/TypeConstraint.pm
# once (5µs+7µs) by Moose::BEGIN@28 at line 84 of Moose/Meta/TypeConstraint.pm
# once (5µs+7µs) by Moose::BEGIN@28 at line 32 of Moose/Meta/TypeConstraint.pm
# once (5µs+7µs) by Moose::BEGIN@28 at line 43 of Moose/Meta/TypeConstraint.pm
# once (5µs+7µs) by Moose::BEGIN@28 at line 78 of Moose/Meta/TypeConstraint.pm
# once (4µs+7µs) by Moose::BEGIN@28 at line 52 of Moose/Meta/TypeConstraint.pm
# once (5µs+7µs) by Moose::BEGIN@28 at line 46 of Moose/Meta/TypeConstraint.pm
# once (4µs+7µs) by Moose::BEGIN@28 at line 91 of Moose/Meta/TypeConstraint.pm
# once (4µs+6µs) by Moose::BEGIN@28 at line 118 of Moose/Meta/TypeConstraint.pm
# once (4µs+7µs) by Moose::BEGIN@28 at line 102 of Moose/Meta/TypeConstraint.pm
# once (4µs+6µs) by Moose::BEGIN@28 at line 112 of Moose/Meta/TypeConstraint.pm
# spent 9.48ms (1.70+7.78) within Class::MOP::Object::meta which was called 376 times, avg 25µs/call:
# 145 times (672µs+954µs) by Moose::Meta::Class::_inline_create_error at line 850 of Moose/Meta/Class.pm, avg 11µs/call
# 59 times (272µs+382µs) by Moose::Meta::Attribute::new at line 95 of Moose/Meta/Attribute.pm, avg 11µs/call
# 59 times (247µs+386µs) by Class::MOP::Class::_immutable_metaclass at line 1330 of Class/MOP/Class.pm, avg 11µs/call
# 35 times (155µs+204µs) by Class::MOP::Method::Meta::wrap at line 60 of Class/MOP/Method/Meta.pm, avg 10µs/call
# 14 times (56µs+377µs) by Moose::Exporter::BEGIN@13 at line 687 of Class/MOP.pm, avg 31µs/call
# 12 times (58µs+68µs) by Class::MOP::Class::_construct_class_instance at line 107 of Class/MOP/Class.pm, avg 10µs/call
# 9 times (37µs+1.56ms) by MongoDB::Connection::BEGIN@24 at line 239 of Moose.pm, avg 178µs/call
# 2 times (8µs+422µs) by MongoDB::Connection::BEGIN@24 at line 275 of Moose.pm, avg 215µs/call
# once (5µs+552µs) by Moose::Exporter::BEGIN@13 at line 287 of Class/MOP.pm
# once (5µs+377µs) by Moose::Exporter::BEGIN@13 at line 460 of Class/MOP.pm
# once (7µs+313µs) by Moose::Exporter::BEGIN@13 at line 198 of Class/MOP.pm
# once (5µs+268µs) by Moose::Exporter::BEGIN@13 at line 572 of Class/MOP.pm
# once (5µs+267µs) by Moose::Exporter::BEGIN@13 at line 250 of Class/MOP.pm
# once (5µs+260µs) by Moose::Exporter::BEGIN@13 at line 597 of Class/MOP.pm
# once (5µs+251µs) by Moose::Exporter::BEGIN@13 at line 534 of Class/MOP.pm
# once (5µs+243µs) by Moose::Exporter::BEGIN@13 at line 562 of Class/MOP.pm
# once (5µs+237µs) by Moose::Exporter::BEGIN@13 at line 543 of Class/MOP.pm
# once (5µs+236µs) by Moose::Exporter::BEGIN@13 at line 618 of Class/MOP.pm
# once (4µs+235µs) by Moose::Exporter::BEGIN@13 at line 490 of Class/MOP.pm
# once (5µs+7µs) by Moose::Exporter::BEGIN@13 at line 672 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 270 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 625 of Class/MOP.pm
# once (4µs+7µs) by Moose::BEGIN@27 at line 55 of Moose/Meta/Class.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 601 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 581 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 504 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 649 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 511 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 291 of Class/MOP.pm
# once (4µs+7µs) by Moose::BEGIN@27 at line 47 of Moose/Meta/Class.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 660 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 635 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 551 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 486 of Class/MOP.pm
# once (4µs+6µs) by Moose::Exporter::BEGIN@13 at line 307 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 497 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 518 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 338 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 223 of Class/MOP.pm
# once (4µs+6µs) by Moose::Meta::TypeCoercion::BEGIN@14 at line 31 of Moose/Meta/Attribute.pm
# once (4µs+7µs) by Moose::BEGIN@27 at line 67 of Moose/Meta/Class.pm
# once (4µs+6µs) by Moose::BEGIN@27 at line 61 of Moose/Meta/Class.pm
# once (4µs+7µs) by Moose::BEGIN@27 at line 44 of Moose/Meta/Class.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 479 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 317 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 642 of Class/MOP.pm
# once (4µs+6µs) by Moose::Exporter::BEGIN@13 at line 327 of Class/MOP.pm
# once (4µs+6µs) by Moose::BEGIN@27 at line 38 of Moose/Meta/Class.pm
# once (4µs+5µs) by Moose::Exporter::BEGIN@13 at line 675 of Class/MOP.pm
# spent 11µs (6+5) within Moose::Meta::Role::Application::ToRole::meta which was called:
# once (6µs+5µs) by MongoDB::Connection::BEGIN@24 at line 239 of Moose.pm
# spent 45µs (10+35) within Class::MOP::Class::Immutable::Moose::Meta::Class::linearized_isa which was called 2 times, avg 22µs/call:
# once (6µs+18µs) by Class::MOP::Class::get_all_attributes at line 928 of Class/MOP/Class.pm
# once (4µs+18µs) by Class::MOP::Class::_method_lookup_order at line 1037 of Class/MOP/Class.pm
# spent 47µs within Class::MOP::Method::Constructor::options which was called 35 times, avg 1µs/call:
# 35 times (47µs+0s) by Class::MOP::Method::Constructor::_generate_constructor_method_inline at line 107 of Class/MOP/Method/Constructor.pm, avg 1µs/call
# spent 16µs (13+2) within MongoDB::OID::DESTROY which was called 4 times, avg 4µs/call:
# 4 times (13µs+2µs) by main::NULL at line 0 of mentat.storage.mongo.pl, avg 4µs/call
# spent 26µs (23+3) within MongoDB::MongoClient::query_timeout which was called 5 times, avg 5µs/call:
# 4 times (11µs+0s) by MongoDB::MongoClient::recv at line 160 of MongoDB/Cursor.pm, avg 3µs/call
# once (12µs+3µs) by MongoDB::Connection::query_timeout at line 110 of Moose/Meta/Method/Delegation.pm
# spent 1.28ms (1.16+122µs) within Moose::Meta::Attribute::_new which was called 58 times, avg 22µs/call:
# 58 times (1.16ms+122µs) by Class::MOP::Attribute::new at line 58 of Class/MOP/Attribute.pm, avg 22µs/call
# spent 4µs within MongoDB::MongoClient::ssl which was called:
# once (4µs+0s) by MongoDB::MongoClient::BUILD at line 226 of MongoDB/MongoClient.pm
# spent 18µs (9+8) within Moose::Meta::TypeConstraint::DuckType::meta which was called:
# once (9µs+8µs) by Moose::Util::TypeConstraints::BEGIN@39 at line 22 of Moose/Meta/TypeConstraint/DuckType.pm
# spent 7µs within Moose::Meta::TypeCoercion::type_coercion_map which was called 2 times, avg 4µs/call:
# 2 times (7µs+0s) by Moose::Meta::TypeCoercion::compile_type_coercion at line 46 of Moose/Meta/TypeCoercion.pm, avg 4µs/call
# spent 3µs within MongoDB::MongoClient::timeout which was called:
# once (3µs+0s) by MongoDB::MongoClient::_init_conn at line 226 of MongoDB/MongoClient.pm
# spent 103µs within Moose::Meta::Class::constructor_class which was called 83 times, avg 1µs/call:
# 22 times (22µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 295 of Class/MOP/Class.pm, avg 1µs/call
# 11 times (19µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 352 of Class/MOP/Class.pm, avg 2µs/call
# 11 times (16µs+0s) by Class::MOP::Class::_check_metaclass_compatibility at line 224 of Class/MOP/Class.pm, avg 1µs/call
# 11 times (13µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 290 of Class/MOP/Class.pm, avg 1µs/call
# 11 times (12µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 355 of Class/MOP/Class.pm, avg 1µs/call
# 11 times (12µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 293 of Class/MOP/Class.pm, avg 1µs/call
# 6 times (9µs+0s) by Class::MOP::Class::_immutable_options at line 1268 of Class/MOP/Class.pm, avg 1µs/call
# spent 209µs within Class::MOP::Mixin::AttributeCore::has_builder which was called 216 times, avg 968ns/call:
# 202 times (194µs+0s) by Class::MOP::Class::_inline_default_value at line 667 of Class/MOP/Class.pm, avg 962ns/call
# 8 times (8µs+0s) by Moose::Meta::Class::_inline_check_required_attr at line 388 of Moose/Meta/Class.pm, avg 1µs/call
# 3 times (3µs+0s) by Moose::Meta::Attribute::_inline_init_from_default at line 904 of Moose/Meta/Attribute.pm, avg 1µs/call
# 3 times (3µs+0s) by Moose::Meta::Attribute::_inline_generate_default at line 931 of Moose/Meta/Attribute.pm, avg 1µs/call
# spent 11µs within Moose::Meta::TypeConstraint::coercion which was called 4 times, avg 3µs/call:
# 2 times (9µs+0s) by Moose::Util::TypeConstraints::_install_type_coercions at line 598 of Moose/Util/TypeConstraints.pm, avg 4µs/call
# 2 times (2µs+0s) by Moose::Meta::Attribute::_eval_environment at line 793 of Moose/Meta/Attribute.pm, avg 1µs/call
# spent 90µs within Class::MOP::Method::Constructor::associated_metaclass which was called 90 times, avg 1µs/call:
# 30 times (32µs+0s) by Class::MOP::Method::Constructor::_eval_environment at line 89 of Class/MOP/Method/Constructor.pm, avg 1µs/call
# 30 times (31µs+0s) by Class::MOP::Method::Inlined::can_be_inlined at line 34 of Class/MOP/Method/Inlined.pm, avg 1µs/call
# 30 times (28µs+0s) by Class::MOP::Method::Constructor::_generate_constructor_method_inline at line 99 of Class/MOP/Method/Constructor.pm, avg 920ns/call
# spent 482µs (437+45) within Moose::Meta::TypeConstraint::_new which was called 20 times, avg 24µs/call:
# 20 times (437µs+45µs) by Moose::Meta::TypeConstraint::new at line 143 of Moose/Meta/TypeConstraint.pm, avg 24µs/call
# spent 13µs within MongoDB::Cursor::_fields which was called 6 times, avg 2µs/call:
# 4 times (6µs+0s) by MongoDB::Cursor::_do_query at line 156 of MongoDB/Cursor.pm, avg 2µs/call
# 2 times (7µs+0s) by MongoDB::Cursor::fields at line 173 of MongoDB/Cursor.pm, avg 3µs/call
# spent 8µs within MongoDB::Collection::_database which was called 6 times, avg 1µs/call:
# 3 times (5µs+0s) by MongoDB::Collection::find at line 115 of MongoDB/Collection.pm, avg 2µs/call
# 3 times (3µs+0s) by MongoDB::Collection::_build_full_name at line 54 of MongoDB/Collection.pm, avg 1µs/call
# spent 13µs (6+7) within MongoDB::Database::meta which was called:
# once (6µs+7µs) by MongoDB::BEGIN@30 at line 131 of MongoDB/Database.pm
# spent 354µs within Class::MOP::Mixin::AttributeCore::has_accessor which was called 257 times, avg 1µs/call:
# 257 times (354µs+0s) by Class::MOP::Attribute::install_accessors at line 424 of Class/MOP/Attribute.pm, avg 1µs/call
# spent 13µs (6+7) within MongoDB::Collection::meta which was called:
# once (6µs+7µs) by MongoDB::BEGIN@31 at line 467 of MongoDB/Collection.pm
# spent 15µs (8+7) within MongoDB::MongoClient::meta which was called:
# once (8µs+7µs) by MongoDB::Connection::BEGIN@28 at line 521 of MongoDB/MongoClient.pm
# spent 405µs (271+134) within Moose::Meta::Mixin::AttributeCore::has_trigger which was called 215 times, avg 2µs/call:
# 64 times (103µs+53µs) by Moose::Meta::Attribute::_eval_environment at line 781 of Moose/Meta/Attribute.pm, avg 2µs/call
# 41 times (41µs+0s) by Moose::Meta::Class::_eval_environment at line 507 of Moose/Meta/Class.pm, avg 990ns/call
# 41 times (40µs+0s) by Moose::Meta::Class::_inline_triggers at line 471 of Moose/Meta/Class.pm, avg 966ns/call
# 32 times (44µs+39µs) by Moose::Meta::Attribute::_inline_get_old_value_for_trigger at line 745 of Moose/Meta/Attribute.pm, avg 3µs/call
# 32 times (36µs+41µs) by Moose::Meta::Attribute::_inline_trigger at line 771 of Moose/Meta/Attribute.pm, avg 2µs/call
# 5 times (8µs+0s) by Moose::Meta::Class::_call_all_triggers at line 298 of Moose/Meta/Class.pm, avg 2µs/call
# spent 68µs within MongoDB::Cursor::started_iterating which was called 15 times, avg 5µs/call:
# 4 times (38µs+0s) by MongoDB::Cursor::_do_query at line 162 of MongoDB/Cursor.pm, avg 10µs/call
# 4 times (12µs+0s) by MongoDB::Cursor::_do_query at line 147 of MongoDB/Cursor.pm, avg 3µs/call
# 3 times (7µs+0s) by MongoDB::Cursor::limit at line 194 of MongoDB/Cursor.pm, avg 2µs/call
# 2 times (2µs+0s) by MongoDB::Cursor::fields at line 168 of MongoDB/Cursor.pm, avg 1µs/call
# once (5µs+0s) by MongoDB::Cursor::reset at line 260 of MongoDB/Cursor.pm
# once (3µs+0s) by MongoDB::Cursor::reset at line 259 of MongoDB/Cursor.pm
# spent 63µs within MongoDB::Cursor::_client which was called 28 times, avg 2µs/call:
# 8 times (26µs+0s) by MongoDB::Cursor::_do_query or MongoDB::MongoClient::recv at line 160 of MongoDB/Cursor.pm, avg 3µs/call
# 4 times (9µs+0s) by MongoDB::Cursor::_do_query at line 159 of MongoDB/Cursor.pm, avg 2µs/call
# 4 times (5µs+0s) by MongoDB::Cursor::DESTROY at line 110 of MongoDB/Database.pm, avg 1µs/call
# 3 times (7µs+0s) by MongoDB::Cursor::_dt_type at line 297 of MongoDB/Cursor.pm, avg 2µs/call
# 3 times (3µs+0s) by MongoDB::Cursor::_inflate_dbrefs at line 302 of MongoDB/Cursor.pm, avg 1µs/call
# 2 times (8µs+0s) by MongoDB::Cursor::DESTROY at line 0 of mentat.storage.mongo.pl, avg 4µs/call
# 2 times (2µs+0s) by MongoDB::Cursor::next at line 144 of MongoDB/Collection.pm, avg 1µs/call
# once (1µs+0s) by MongoDB::Cursor::count at line 286 of MongoDB/Cursor.pm
# once (1µs+0s) by MongoDB::Cursor::next at line 259 of MongoDB/Cursor.pm
# spent 5µs within MongoDB::Collection::name which was called 3 times, avg 2µs/call:
# 3 times (5µs+0s) by MongoDB::Collection::_build_full_name at line 53 of MongoDB/Collection.pm, avg 2µs/call
# spent 73µs (30+43) within MongoDB::Collection::full_name which was called 3 times, avg 24µs/call:
# 3 times (30µs+43µs) by MongoDB::Collection::find at line 116 of MongoDB/Collection.pm, avg 24µs/call
# spent 204µs (192+12) within Class::MOP::Instance::_class_name which was called 118 times, avg 2µs/call:
# 118 times (192µs+12µs) by Class::MOP::Instance::create_instance at line 80 of Class/MOP/Instance.pm, avg 2µs/call
# spent 27µs (10+17) within Class::MOP::Class::Immutable::Moose::Meta::Class::get_meta_instance which was called 2 times, avg 13µs/call:
# once (7µs+12µs) by Class::MOP::Class::_construct_instance at line 504 of Class/MOP/Class.pm
# once (3µs+4µs) by Class::MOP::Attribute::set_initial_value at line 261 of Class/MOP/Attribute.pm
# spent 607µs (581+26) within Moose::Meta::Instance::_new which was called 58 times, avg 10µs/call:
# 58 times (581µs+26µs) by Class::MOP::Instance::new at line 44 of Class/MOP/Instance.pm, avg 10µs/call
# spent 147µs (104+44) within Moose::Meta::Mixin::AttributeCore::is_required which was called 73 times, avg 2µs/call:
# 41 times (62µs+0s) by Moose::Meta::Class::_inline_check_required_attr at line 387 of Moose/Meta/Class.pm, avg 2µs/call
# 32 times (42µs+44µs) by Moose::Meta::Attribute::_inline_check_required at line 655 of Moose/Meta/Attribute.pm, avg 3µs/call
# spent 9µs within MongoDB::MongoClient::inflate_dbrefs which was called 3 times, avg 3µs/call:
# 3 times (9µs+0s) by MongoDB::Cursor::_inflate_dbrefs at line 302 of MongoDB/Cursor.pm, avg 3µs/call
# spent 440µs within Class::MOP::Method::Accessor::associated_attribute which was called 440 times, avg 1µs/call:
# 83 times (72µs+0s) by Class::MOP::Method::Accessor::_generate_reader_method_inline at line 139 of Class/MOP/Method/Accessor.pm, avg 867ns/call
# 64 times (84µs+0s) by Moose::Meta::Method::Accessor::_eval_environment at line 52 of Moose/Meta/Method/Accessor.pm, avg 1µs/call
# 63 times (60µs+0s) by Moose::Meta::Method::Accessor::_instance_is_inlinable at line 57 of Moose/Meta/Method/Accessor.pm, avg 948ns/call
# 60 times (67µs+0s) by Moose::Meta::Method::Accessor::_error_thrower at line 29 of Moose/Meta/Method/Accessor.pm, avg 1µs/call
# 53 times (50µs+0s) by Class::MOP::Method::Accessor::_generate_reader_method at line 128 of Class/MOP/Method/Accessor.pm, avg 942ns/call
# 52 times (44µs+0s) by Class::MOP::Method::Accessor::_generate_accessor_method_inline at line 109 of Class/MOP/Method/Accessor.pm, avg 840ns/call
# 22 times (24µs+0s) by Class::MOP::Method::Accessor::_generate_accessor_method at line 97 of Class/MOP/Method/Accessor.pm, avg 1µs/call
# 18 times (16µs+0s) by Class::MOP::Method::Accessor::_generate_predicate_method_inline at line 201 of Class/MOP/Method/Accessor.pm, avg 917ns/call
# 16 times (15µs+0s) by Class::MOP::Method::Accessor::_generate_predicate_method at line 192 of Class/MOP/Method/Accessor.pm, avg 931ns/call
# 3 times (3µs+0s) by Class::MOP::Method::Accessor::_generate_writer_method at line 167 of Class/MOP/Method/Accessor.pm, avg 1µs/call
# 3 times (3µs+0s) by Class::MOP::Method::Accessor::_generate_writer_method_inline at line 176 of Class/MOP/Method/Accessor.pm, avg 967ns/call
# 2 times (2µs+0s) by Class::MOP::Method::Accessor::_generate_clearer_method_inline at line 226 of Class/MOP/Method/Accessor.pm, avg 800ns/call
# once (2µs+0s) by Moose::Meta::Attribute::_process_accessors at line 1045 of Moose/Meta/Attribute.pm
# spent 16µs (14+2) within MongoDB::Database::DESTROY which was called 3 times, avg 5µs/call:
# once (5µs+600ns) by MongoDB::MongoClient::_get_max_bson_size at line 286 of MongoDB/MongoClient.pm
# once (5µs+700ns) by MongoDB::Cursor::count at line 289 of MongoDB/Cursor.pm
# once (5µs+600ns) by Mentat::Storage::Mongo::disconnect at line 551 of Mentat/Storage/Mongo.pm
# spent 9.55ms (6µs+9.54) within MongoDB::Connection::new which was called:
# once (6µs+9.54ms) by Mentat::Storage::Mongo::reconnect at line 579 of Mentat/Storage/Mongo.pm
# spent 6µs within MongoDB::Database::_client which was called 3 times, avg 2µs/call:
# 3 times (6µs+0s) by MongoDB::Collection::find at line 115 of MongoDB/Collection.pm, avg 2µs/call
# spent 13µs (6+7) within MongoDB::OID::meta which was called:
# once (6µs+7µs) by MongoDB::BEGIN@33 at line 76 of MongoDB/OID.pm
# spent 17µs (9+7) within MongoDB::Connection::meta which was called:
# once (9µs+7µs) by MongoDB::BEGIN@28 at line 67 of MongoDB/Connection.pm
# spent 264µs within Moose::Meta::TypeConstraint::_compiled_type_constraint which was called 93 times, avg 3µs/call:
# 47 times (208µs+0s) by Moose::Meta::TypeConstraint::compile_type_constraint at line 300 of Moose/Meta/TypeConstraint.pm, avg 4µs/call
# 37 times (40µs+0s) by Moose::Meta::Class::_eval_environment at line 525 of Moose/Meta/Class.pm, avg 1µs/call
# 5 times (10µs+0s) by Moose::Meta::TypeConstraint::check at line 180 of Moose/Meta/TypeConstraint.pm, avg 2µs/call
# 2 times (3µs+0s) by Moose::Meta::TypeCoercion::compile_type_coercion at line 57 of Moose/Meta/TypeCoercion.pm, avg 2µs/call
# once (2µs+0s) by Moose::Meta::TypeConstraint::Union::new at line 38 of Moose/Meta/TypeConstraint/Union.pm
# once (1µs+0s) by Moose::Meta::Attribute::_eval_environment at line 789 of Moose/Meta/Attribute.pm
# spent 83µs (71+12) within MongoDB::Cursor::_request_id which was called 11 times, avg 8µs/call:
# 4 times (30µs+12µs) by MongoDB::Cursor::_do_query at line 157 of MongoDB/Cursor.pm, avg 10µs/call
# 4 times (38µs+0s) by MongoDB::MongoClient::recv at line 160 of MongoDB/Cursor.pm, avg 10µs/call
# 2 times (2µs+0s) by MongoDB::Cursor::DESTROY at line 110 of MongoDB/Database.pm, avg 1µs/call
# once (1µs+0s) by MongoDB::Cursor::DESTROY at line 0 of mentat.storage.mongo.pl
# spent 4µs within MongoDB::MongoClient::find_master which was called:
# once (4µs+0s) by MongoDB::MongoClient::BUILD at line 223 of MongoDB/MongoClient.pm
# spent 128µs (87+42) within Moose::Meta::Mixin::AttributeCore::has_handles which was called 60 times, avg 2µs/call:
# 60 times (87µs+42µs) by Moose::Meta::Attribute::install_accessors at line 1018 of Moose/Meta/Attribute.pm, avg 2µs/call
# spent 1.57ms (535µs+1.03) within Class::MOP::Class::Immutable::Class::MOP::Class::_method_map which was called 241 times, avg 6µs/call:
# 228 times (502µs+980µs) by Class::MOP::Mixin::HasMethods::_get_maybe_raw_method at line 134 of Class/MOP/Mixin/HasMethods.pm, avg 7µs/call
# 13 times (33µs+51µs) by Class::MOP::Mixin::HasMethods::get_method at line 124 of Class/MOP/Mixin/HasMethods.pm, avg 6µs/call
# spent 26µs (12+13) within Moose::Meta::Role::Application::ToInstance::meta which was called 2 times, avg 13µs/call:
# once (8µs+8µs) by Moose::BEGIN@41 at line 21 of Moose/Meta/Role/Application/ToInstance.pm
# once (4µs+5µs) by MongoDB::Connection::BEGIN@24 at line 239 of Moose.pm
# spent 72µs (64+7) within MongoDB::Database::new which was called 3 times, avg 24µs/call:
# 3 times (64µs+7µs) by MongoDB::MongoClient::get_database at line 307 of MongoDB/MongoClient.pm, avg 24µs/call
# spent 357µs within Moose::Meta::TypeConstraint::Registry::type_constraints which was called 266 times, avg 1µs/call:
# 126 times (130µs+0s) by Moose::Meta::TypeConstraint::Registry::get_type_constraint at line 45 of Moose/Meta/TypeConstraint/Registry.pm, avg 1µs/call
# 104 times (174µs+0s) by Moose::Meta::TypeConstraint::Registry::has_type_constraint at line 39 of Moose/Meta/TypeConstraint/Registry.pm, avg 2µs/call
# 35 times (53µs+0s) by Moose::Meta::TypeConstraint::Registry::add_type_constraint at line 56 of Moose/Meta/TypeConstraint/Registry.pm, avg 2µs/call
# once (900ns+0s) by Moose::Util::TypeConstraints::list_all_type_constraints at line 64 of Moose/Util/TypeConstraints.pm
# spent 21µs within Moose::Meta::Class::immutable_trait which was called 12 times, avg 2µs/call:
# 6 times (11µs+0s) by Class::MOP::Class::_immutable_options at line 1268 of Class/MOP/Class.pm, avg 2µs/call
# 6 times (10µs+0s) by Class::MOP::Class::_immutable_metaclass at line 1327 of Class/MOP/Class.pm, avg 2µs/call
# spent 10µs within MongoDB::Cursor::immortal which was called 4 times, avg 3µs/call:
# 4 times (10µs+0s) by MongoDB::Cursor::_do_query at line 151 of MongoDB/Cursor.pm, avg 3µs/call
# spent 11µs within MongoDB::Cursor::_skip which was called 4 times, avg 3µs/call:
# 4 times (11µs+0s) by MongoDB::Cursor::_do_query at line 156 of MongoDB/Cursor.pm, avg 3µs/call
# spent 78µs within Class::MOP::Method::associated_metaclass which was called 54 times, avg 1µs/call:
# 30 times (48µs+0s) by Moose::Meta::Method::_inline_throw_error at line 42 of Moose/Meta/Method.pm, avg 2µs/call
# 8 times (10µs+0s) by Class::MOP::Method::Inlined::can_be_inlined at line 34 of Class/MOP/Method/Inlined.pm, avg 1µs/call
# 5 times (10µs+0s) by Class::MOP::Method::Constructor::_eval_environment at line 89 of Class/MOP/Method/Constructor.pm, avg 2µs/call
# 5 times (6µs+0s) by Class::MOP::Method::Constructor::_generate_constructor_method_inline at line 99 of Class/MOP/Method/Constructor.pm, avg 1µs/call
# 3 times (3µs+0s) by Moose::Meta::Method::Destructor::_initialize_body at line 84 of Moose/Meta/Method/Destructor.pm, avg 1µs/call
# 3 times (2µs+0s) by Moose::Meta::Method::Destructor::_generate_DEMOLISHALL at line 122 of Moose/Meta/Method/Destructor.pm, avg 800ns/call
# spent 12µs within MongoDB::Cursor::_grrrr which was called 3 times, avg 4µs/call:
# once (5µs+0s) by MongoDB::Cursor::_ensure_special at line 139 of MongoDB/Cursor.pm
# once (4µs+0s) by MongoDB::Cursor::count at line 274 of MongoDB/Cursor.pm
# once (3µs+0s) by MongoDB::Cursor::_ensure_special at line 135 of MongoDB/Cursor.pm
# spent 301µs (224+77) within Moose::Meta::Mixin::AttributeCore::has_type_constraint which was called 184 times, avg 2µs/call:
# 105 times (122µs+41µs) by Moose::Meta::Attribute::_inline_check_constraint at line 707 of Moose/Meta/Attribute.pm, avg 2µs/call
# 64 times (81µs+35µs) by Moose::Meta::Attribute::_eval_environment at line 786 of Moose/Meta/Attribute.pm, avg 2µs/call
# 7 times (11µs+0s) by Moose::Meta::Attribute::_coerce_and_verify at line 1261 of Moose/Meta/Attribute.pm, avg 2µs/call
# 5 times (4µs+0s) by Moose::Meta::Attribute::verify_against_type_constraint at line 1275 of Moose/Meta/Attribute.pm, avg 860ns/call
# 3 times (5µs+0s) by Moose::Meta::Attribute::_inline_init_from_default at line 914 of Moose/Meta/Attribute.pm, avg 2µs/call
# spent 173µs within Moose::Meta::TypeConstraint::_inline_environment which was called 141 times, avg 1µs/call:
# 141 times (173µs+0s) by Moose::Meta::TypeConstraint::inline_environment at line 226 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# spent 271µs within Class::MOP::Mixin::AttributeCore::has_predicate which was called 257 times, avg 1µs/call:
# 257 times (271µs+0s) by Class::MOP::Attribute::install_accessors at line 436 of Class/MOP/Attribute.pm, avg 1µs/call
# spent 101µs within Moose::Meta::TypeConstraint::name which was called 74 times, avg 1µs/call:
# 36 times (51µs+0s) by Moose::Meta::TypeConstraint::new at line 146 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# 35 times (46µs+0s) by Moose::Meta::TypeConstraint::Registry::add_type_constraint at line 56 of Moose/Meta/TypeConstraint/Registry.pm, avg 1µs/call
# 2 times (3µs+0s) by Moose::Meta::TypeConstraint::Union::new at line 30 of Moose/Meta/TypeConstraint/Union.pm, avg 2µs/call
# once (1µs+0s) by Moose::Meta::TypeConstraint::_compile_subtype at line 391 of Moose/Meta/TypeConstraint.pm
# spent 306µs within Moose::Meta::TypeConstraint::inlined which was called 255 times, avg 1µs/call:
# 255 times (306µs+0s) by Moose::Meta::TypeConstraint::_inline_check at line 216 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# spent 15µs within Moose::Meta::TypeConstraint::Union::type_constraints which was called 11 times, avg 1µs/call:
# 4 times (5µs+0s) by Moose::Meta::TypeConstraint::Union::can_be_inlined at line 86 of Moose/Meta/TypeConstraint/Union.pm, avg 1µs/call
# 3 times (3µs+0s) by Moose::Meta::TypeConstraint::Union::_inline_check at line 99 of Moose/Meta/TypeConstraint/Union.pm, avg 1µs/call
# 2 times (2µs+0s) by Moose::Meta::TypeConstraint::Union::inline_environment at line 108 of Moose/Meta/TypeConstraint/Union.pm, avg 1µs/call
# once (3µs+0s) by Moose::Meta::TypeConstraint::Union::_actually_compile_type_constraint at line 70 of Moose/Meta/TypeConstraint/Union.pm
# once (1µs+0s) by Moose::Meta::TypeConstraint::Union::coercion at line 54 of Moose/Meta/TypeConstraint/Union.pm
# spent 22µs (10+12) within Moose::Meta::Role::meta which was called 2 times, avg 11µs/call:
# once (6µs+6µs) by Moose::BEGIN@35 at line 45 of Moose/Meta/Role.pm
# once (4µs+6µs) by MongoDB::Connection::BEGIN@24 at line 239 of Moose.pm
# spent 28µs (14+15) within Moose::Meta::TypeConstraint::Parameterizable::meta which was called 2 times, avg 14µs/call:
# once (9µs+8µs) by Moose::Meta::TypeConstraint::Parameterized::BEGIN@15 at line 19 of Moose/Meta/TypeConstraint/Parameterizable.pm
# once (5µs+7µs) by Moose::Meta::TypeConstraint::Parameterized::BEGIN@15 at line 25 of Moose/Meta/TypeConstraint/Parameterizable.pm
# spent 314µs (23+291) within Moose::Meta::Role::Method::Required::meta which was called 4 times, avg 78µs/call:
# 2 times (8µs+10µs) by MongoDB::Connection::BEGIN@24 at line 239 of Moose.pm, avg 9µs/call
# once (7µs+273µs) by Moose::Meta::Role::BEGIN@22 at line 17 of Moose/Meta/Role/Method/Conflicting.pm
# once (8µs+8µs) by Moose::Meta::Role::BEGIN@21 at line 22 of Moose/Meta/Role/Method/Required.pm
# spent 51µs (42+9) within MongoDB::Cursor::_limit which was called 13 times, avg 4µs/call:
# 4 times (4µs+0s) by MongoDB::Cursor::_do_query at line 156 of MongoDB/Cursor.pm, avg 1µs/call
# 3 times (23µs+9µs) by MongoDB::Cursor::limit at line 197 of MongoDB/Cursor.pm, avg 11µs/call
# 2 times (5µs+0s) by MongoDB::Cursor::next at line 144 of MongoDB/Collection.pm, avg 3µs/call
# once (3µs+0s) by MongoDB::Cursor::next at line 259 of MongoDB/Cursor.pm
# once (3µs+0s) by MongoDB::Cursor::next at line 40 of mentat.storage.mongo.pl
# once (2µs+0s) by MongoDB::Cursor::explain at line 251 of MongoDB/Cursor.pm
# once (1µs+0s) by MongoDB::Cursor::explain at line 252 of MongoDB/Cursor.pm
# spent 10µs within MongoDB::MongoClient::sasl which was called 4 times, avg 3µs/call:
# 4 times (10µs+0s) by MongoDB::MongoClient::connect at line 228 of MongoDB/MongoClient.pm, avg 3µs/call
# spent 2.47ms (325µs+2.15) within Moose::Meta::Method::_new which was called 34 times, avg 73µs/call:
# 34 times (325µs+2.15ms) by Class::MOP::Method::wrap at line 46 of Class/MOP/Method.pm, avg 73µs/call
# spent 3µs within Moose::Meta::TypeConstraint::_set_constraint which was called:
# once (3µs+0s) by Moose::Meta::TypeConstraint::Union::new at line 38 of Moose/Meta/TypeConstraint/Union.pm
# spent 148µs within Moose::Meta::TypeConstraint::has_message which was called 130 times, avg 1µs/call:
# 57 times (61µs+0s) by Moose::Meta::Attribute::_eval_environment at line 796 of Moose/Meta/Attribute.pm, avg 1µs/call
# 37 times (37µs+0s) by Moose::Meta::Class::_eval_environment at line 535 of Moose/Meta/Class.pm, avg 1µs/call
# 36 times (50µs+0s) by Moose::Meta::TypeConstraint::new at line 146 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# spent 57µs within Moose::Meta::TypeConstraint::_has_compiled_type_constraint which was called 36 times, avg 2µs/call:
# 36 times (57µs+0s) by Moose::Meta::TypeConstraint::new at line 144 of Moose/Meta/TypeConstraint.pm, avg 2µs/call
# spent 18µs (14+4) within MongoDB::MongoClient::max_bson_size which was called:
# once (14µs+4µs) by MongoDB::MongoClient::BUILD at line 229 of MongoDB/MongoClient.pm
# spent 17µs (9+8) within Moose::Meta::TypeConstraint::Role::meta which was called:
# once (9µs+8µs) by Moose::Util::TypeConstraints::BEGIN@37 at line 19 of Moose/Meta/TypeConstraint/Role.pm
# spent 15µs within MongoDB::BSON::Binary::subtype which was called 6 times, avg 2µs/call:
# 6 times (15µs+0s) by MongoDB::write_query at line 156 of MongoDB/Cursor.pm, avg 2µs/call
# spent 201µs within Moose::Meta::TypeConstraint::_default_message which was called 130 times, avg 2µs/call:
# 57 times (83µs+0s) by Moose::Meta::Attribute::_eval_environment at line 796 of Moose/Meta/Attribute.pm, avg 1µs/call
# 37 times (37µs+0s) by Moose::Meta::Class::_eval_environment at line 535 of Moose/Meta/Class.pm, avg 1µs/call
# 36 times (80µs+0s) by Moose::Meta::TypeConstraint::new at line 146 of Moose/Meta/TypeConstraint.pm, avg 2µs/call
# spent 17µs (9+8) within Moose::Meta::TypeConstraint::Class::meta which was called:
# once (9µs+8µs) by Moose::Util::TypeConstraints::BEGIN@36 at line 19 of Moose/Meta/TypeConstraint/Class.pm
# spent 16µs within MongoDB::Connection::_client which was called 2 times, avg 8µs/call:
# 2 times (16µs+0s) by MongoDB::Connection::get_database or MongoDB::Connection::query_timeout at line 92 of Moose/Meta/Method/Delegation.pm, avg 8µs/call
# spent 343µs within Moose::Meta::Mixin::AttributeCore::type_constraint which was called 293 times, avg 1µs/call:
# 93 times (117µs+0s) by Moose::Meta::Attribute::_inline_check_constraint at line 711 of Moose/Meta/Attribute.pm, avg 1µs/call
# 91 times (97µs+0s) by Moose::Meta::Attribute::_inline_check_constraint at line 713 of Moose/Meta/Attribute.pm, avg 1µs/call
# 57 times (74µs+0s) by Moose::Meta::Attribute::_eval_environment at line 787 of Moose/Meta/Attribute.pm, avg 1µs/call
# 41 times (41µs+0s) by Moose::Meta::Class::_eval_environment at line 521 of Moose/Meta/Class.pm, avg 1µs/call
# 5 times (7µs+0s) by Moose::Meta::Attribute::verify_against_type_constraint at line 1277 of Moose/Meta/Attribute.pm, avg 1µs/call
# 2 times (3µs+0s) by Moose::Meta::Attribute::_inline_check_coercion at line 685 of Moose/Meta/Attribute.pm, avg 1µs/call
# 2 times (2µs+0s) by Moose::Meta::Attribute::_inline_check_coercion at line 689 of Moose/Meta/Attribute.pm, avg 1µs/call
# 2 times (2µs+0s) by Moose::Meta::Attribute::_inline_check_coercion at line 687 of Moose/Meta/Attribute.pm, avg 1µs/call
# spent 40µs within Moose::Meta::TypeConstraint::Class::class which was called 28 times, avg 1µs/call:
# 28 times (40µs+0s) by Moose::Meta::TypeConstraint::Class::__ANON__[/usr/local/lib/perl/5.14.2/Moose/Meta/TypeConstraint/Class.pm:30] at line 28 of Moose/Meta/TypeConstraint/Class.pm, avg 1µs/call
# spent 3µs within Moose::Meta::Mixin::AttributeCore::handles which was called:
# once (3µs+0s) by Moose::Meta::Attribute::_canonicalize_handles at line 1146 of Moose/Meta/Attribute.pm
# spent 37µs (17+20) within Moose::Meta::Role::Application::meta which was called 3 times, avg 12µs/call:
# once (9µs+8µs) by Moose::BEGIN@37 at line 17 of Moose/Meta/Role/Application.pm
# once (4µs+7µs) by Moose::BEGIN@37 at line 24 of Moose/Meta/Role/Application.pm
# once (4µs+5µs) by MongoDB::Connection::BEGIN@24 at line 239 of Moose.pm
# spent 9.18ms (147µs+9.03) within MongoDB::MongoClient::new which was called:
# once (147µs+9.03ms) by Class::MOP::Class:::around at line 48 of MongoDB/Connection.pm
# spent 278µs within Class::MOP::Method::Accessor::accessor_type which was called 252 times, avg 1µs/call:
# 252 times (278µs+0s) by Class::MOP::Method::Accessor::_initialize_body at line 83 of Class/MOP/Method/Accessor.pm, avg 1µs/call
# spent 2.26ms (428µs+1.83) within Class::MOP::Class::Immutable::Class::MOP::Class::get_all_attributes which was called 164 times, avg 14µs/call:
# 95 times (238µs+729µs) by Class::MOP::Class::_construct_instance at line 524 of Class/MOP/Class.pm, avg 10µs/call
# 58 times (165µs+443µs) by Moose::Meta::Attribute::new at line 95 of Moose/Meta/Attribute.pm, avg 10µs/call
# 11 times (25µs+655µs) by Class::MOP::Class::_create_meta_instance at line 726 of Class/MOP/Class.pm, avg 62µs/call
# spent 12µs within MongoDB::MongoClient::dt_type which was called 3 times, avg 4µs/call:
# 3 times (12µs+0s) by MongoDB::Cursor::_dt_type at line 297 of MongoDB/Cursor.pm, avg 4µs/call
# spent 4µs within MongoDB::MongoClient::username which was called:
# once (4µs+0s) by MongoDB::MongoClient::connect at line 228 of MongoDB/MongoClient.pm
# spent 13µs (6+7) within MongoDB::Cursor::meta which was called:
# once (6µs+7µs) by MongoDB::Connection::BEGIN@27 at line 319 of MongoDB/Cursor.pm
# spent 164µs (68+96) within Class::MOP::Class::Immutable::Class::MOP::Class::is_immutable which was called 26 times, avg 6µs/call:
# 26 times (68µs+96µs) by Class::MOP::Class::_real_ref_name at line 128 of Class/MOP/Class.pm, avg 6µs/call
# spent 365µs within Moose::Meta::Class::error_class which was called 220 times, avg 2µs/call:
# 143 times (262µs+0s) by Moose::Meta::Class::_inline_create_error at line 841 of Moose/Meta/Class.pm, avg 2µs/call
# 22 times (23µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 295 of Class/MOP/Class.pm, avg 1µs/call
# 11 times (21µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 352 of Class/MOP/Class.pm, avg 2µs/call
# 11 times (20µs+0s) by Class::MOP::Class::_check_metaclass_compatibility at line 224 of Class/MOP/Class.pm, avg 2µs/call
# 11 times (15µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 355 of Class/MOP/Class.pm, avg 1µs/call
# 11 times (14µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 290 of Class/MOP/Class.pm, avg 1µs/call
# 11 times (12µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 293 of Class/MOP/Class.pm, avg 1µs/call
# spent 3.84ms (5µs+3.83) within Class::MOP::Class::Immutable::Moose::Meta::Class::get_all_methods which was called:
# once (5µs+3.83ms) by MongoDB::BEGIN@28 at line 41 of MongoDB/Connection.pm
# spent 17µs within MongoDB::Cursor::_query which was called 9 times, avg 2µs/call:
# 4 times (7µs+0s) by MongoDB::Cursor::_do_query at line 156 of MongoDB/Cursor.pm, avg 2µs/call
# 2 times (5µs+0s) by MongoDB::Cursor::_ensure_special at line 140 of MongoDB/Cursor.pm, avg 2µs/call
# once (3µs+0s) by MongoDB::Cursor::explain at line 262 of MongoDB/Cursor.pm
# once (1µs+0s) by MongoDB::Cursor::count at line 278 of MongoDB/Cursor.pm
# once (1µs+0s) by MongoDB::Cursor::explain at line 257 of MongoDB/Cursor.pm
# spent 4µs within MongoDB::MongoClient::auto_reconnect which was called:
# once (4µs+0s) by MongoDB::MongoClient::_init_conn at line 226 of MongoDB/MongoClient.pm
# spent 318µs within Class::MOP::Mixin::AttributeCore::has_writer which was called 257 times, avg 1µs/call:
# 257 times (318µs+0s) by Class::MOP::Attribute::install_accessors at line 432 of Class/MOP/Attribute.pm, avg 1µs/call
# spent 11µs (6+5) within Moose::Meta::TypeCoercion::Union::meta which was called:
# once (6µs+5µs) by MongoDB::Connection::BEGIN@24 at line 239 of Moose.pm
# spent 108µs (103+5) within Moose::Meta::TypeConstraint::Union::_new which was called:
# once (103µs+5µs) by Moose::Meta::TypeConstraint::new at line 143 of Moose/Meta/TypeConstraint.pm
# spent 43µs (18+25) within Moose::Meta::Role::Application::ToClass::meta which was called 3 times, avg 14µs/call:
# once (9µs+9µs) by Moose::BEGIN@39 at line 19 of Moose/Meta/Role/Application/ToClass.pm
# once (4µs+9µs) by MongoDB::Connection::BEGIN@24 at line 239 of Moose.pm
# once (5µs+7µs) by Moose::BEGIN@39 at line 24 of Moose/Meta/Role/Application/ToClass.pm
# spent 2.26ms (208µs+2.05) within Class::MOP::Mixin::meta which was called 42 times, avg 54µs/call:
# 4 times (19µs+22µs) by Moose::Exporter::BEGIN@13 at line 713 of Class/MOP.pm, avg 10µs/call
# once (9µs+592µs) by Moose::Exporter::BEGIN@13 at line 133 of Class/MOP.pm
# once (7µs+431µs) by Moose::Meta::Role::BEGIN@19 at line 18 of Moose/Meta/Role/Attribute.pm
# once (8µs+293µs) by base::import at line 14 of Moose/Meta/Mixin/AttributeCore.pm
# once (5µs+264µs) by Moose::Exporter::BEGIN@13 at line 178 of Class/MOP.pm
# once (5µs+243µs) by Moose::Exporter::BEGIN@13 at line 355 of Class/MOP.pm
# once (5µs+7µs) by Moose::Exporter::BEGIN@13 at line 433 of Class/MOP.pm
# once (5µs+7µs) by Moose::Exporter::BEGIN@13 at line 137 of Class/MOP.pm
# once (5µs+7µs) by base::import at line 21 of Moose/Meta/Mixin/AttributeCore.pm
# once (5µs+7µs) by Moose::Meta::Role::BEGIN@19 at line 25 of Moose/Meta/Role/Attribute.pm
# once (5µs+7µs) by base::import at line 76 of Moose/Meta/Mixin/AttributeCore.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 666 of Class/MOP.pm
# once (5µs+7µs) by base::import at line 28 of Moose/Meta/Mixin/AttributeCore.pm
# once (4µs+7µs) by Moose::Meta::Role::BEGIN@19 at line 39 of Moose/Meta/Role/Attribute.pm
# once (4µs+7µs) by Moose::Meta::Role::BEGIN@19 at line 46 of Moose/Meta/Role/Attribute.pm
# once (4µs+7µs) by base::import at line 42 of Moose/Meta/Mixin/AttributeCore.pm
# once (5µs+6µs) by base::import at line 101 of Moose/Meta/Mixin/AttributeCore.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 370 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 425 of Class/MOP.pm
# once (4µs+7µs) by base::import at line 35 of Moose/Meta/Mixin/AttributeCore.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 409 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 150 of Class/MOP.pm
# once (5µs+7µs) by base::import at line 55 of Moose/Meta/Mixin/AttributeCore.pm
# once (5µs+6µs) by MongoDB::Connection::BEGIN@24 at line 275 of Moose.pm
# once (5µs+6µs) by base::import at line 84 of Moose/Meta/Mixin/AttributeCore.pm
# once (4µs+7µs) by Moose::Meta::Role::BEGIN@19 at line 32 of Moose/Meta/Role/Attribute.pm
# once (4µs+6µs) by Moose::Exporter::BEGIN@13 at line 441 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 378 of Class/MOP.pm
# once (5µs+6µs) by base::import at line 92 of Moose/Meta/Mixin/AttributeCore.pm
# once (4µs+7µs) by base::import at line 48 of Moose/Meta/Mixin/AttributeCore.pm
# once (5µs+6µs) by base::import at line 69 of Moose/Meta/Mixin/AttributeCore.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 182 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 417 of Class/MOP.pm
# once (4µs+6µs) by base::import at line 62 of Moose/Meta/Mixin/AttributeCore.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 386 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 394 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 401 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 449 of Class/MOP.pm
# once (4µs+5µs) by MongoDB::Connection::BEGIN@24 at line 239 of Moose.pm
# spent 1.53ms within Class::MOP::Mixin::AttributeCore::has_initializer which was called 1369 times, avg 1µs/call:
# 820 times (862µs+0s) by Class::MOP::Attribute::_set_initial_slot_value at line 150 of Class/MOP/Attribute.pm, avg 1µs/call
# 275 times (338µs+0s) by Class::MOP::Class::_inline_init_attr_from_constructor at line 634 of Class/MOP/Class.pm, avg 1µs/call
# 96 times (110µs+0s) by Class::MOP::Class::_inline_init_attr_from_default at line 653 of Class/MOP/Class.pm, avg 1µs/call
# 64 times (80µs+0s) by Moose::Meta::Attribute::_eval_environment at line 804 of Moose/Meta/Attribute.pm, avg 1µs/call
# 41 times (65µs+0s) by Moose::Meta::Class::_inline_init_attr_from_constructor at line 415 of Moose/Meta/Class.pm, avg 2µs/call
# 41 times (36µs+0s) by List::MoreUtils::any at line 543 of Moose/Meta/Class.pm, avg 885ns/call
# 29 times (36µs+0s) by Moose::Meta::Class::_inline_init_attr_from_default at line 445 of Moose/Meta/Class.pm, avg 1µs/call
# 3 times (4µs+0s) by Moose::Meta::Attribute::_inline_init_slot at line 968 of Moose/Meta/Attribute.pm, avg 1µs/call
# spent 364µs within Class::MOP::Mixin::AttributeCore::has_reader which was called 293 times, avg 1µs/call:
# 257 times (326µs+0s) by Class::MOP::Attribute::install_accessors at line 428 of Class/MOP/Attribute.pm, avg 1µs/call
# 36 times (38µs+0s) by Class::MOP::Mixin::AttributeCore::has_read_method at line 29 of Class/MOP/Mixin/AttributeCore.pm, avg 1µs/call
# spent 3.97ms (873µs+3.10) within Class::MOP::Class::Immutable::Class::MOP::Class::get_meta_instance which was called 371 times, avg 11µs/call:
# 252 times (568µs+2.54ms) by Class::MOP::Attribute::_inline_instance_set at line 287 of Class/MOP/Attribute.pm, avg 12µs/call
# 95 times (247µs+470µs) by Class::MOP::Class::_construct_instance at line 504 of Class/MOP/Class.pm, avg 8µs/call
# 10 times (25µs+42µs) by Class::MOP::Attribute::get_raw_value at line 297 of Class/MOP/Attribute.pm, avg 7µs/call
# 9 times (21µs+33µs) by Class::MOP::Attribute::has_value at line 318 of Class/MOP/Attribute.pm, avg 6µs/call
# 2 times (5µs+8µs) by Moose::Meta::Attribute::_weaken_value at line 817 of Moose/Meta/Attribute.pm, avg 7µs/call
# 2 times (5µs+7µs) by Class::MOP::Attribute::set_initial_value at line 261 of Class/MOP/Attribute.pm, avg 6µs/call
# once (2µs+3µs) by Moose::Meta::Attribute::_inline_weaken_value at line 760 of Moose/Meta/Attribute.pm
# spent 117µs within Moose::Meta::TypeConstraint::has_coercion which was called 100 times, avg 1µs/call:
# 56 times (71µs+0s) by Moose::Meta::Attribute::_eval_environment at line 793 of Moose/Meta/Attribute.pm, avg 1µs/call
# 36 times (35µs+0s) by Moose::Meta::Class::_eval_environment at line 529 of Moose/Meta/Class.pm, avg 961ns/call
# 2 times (3µs+0s) by Moose::Meta::Attribute::_inline_check_coercion at line 685 of Moose/Meta/Attribute.pm, avg 1µs/call
# 2 times (3µs+0s) by Moose::Meta::Attribute::_process_coerce_option at line 416 of Moose/Meta/Attribute.pm, avg 1µs/call
# 2 times (3µs+0s) by Moose::Util::TypeConstraints::_install_type_coercions at line 590 of Moose/Util/TypeConstraints.pm, avg 1µs/call
# 2 times (2µs+0s) by Moose::Meta::TypeConstraint::Union::coercion at line 54 of Moose/Meta/TypeConstraint/Union.pm, avg 1µs/call
# spent 23µs (18+5) within MongoDB::Collection::DESTROY which was called 3 times, avg 8µs/call:
# 2 times (12µs+4µs) by MongoDB::Database::run_command at line 110 of MongoDB/Database.pm, avg 8µs/call
# once (6µs+800ns) by Mentat::Storage::Mongo::disconnect at line 550 of Mentat/Storage/Mongo.pm
# spent 121µs within Moose::Meta::TypeConstraint::parent which was called 118 times, avg 1µs/call:
# 57 times (56µs+0s) by Moose::Util::TypeConstraints::Builtins::__ANON__[/usr/local/lib/perl/5.14.2/Moose/Util/TypeConstraints/Builtins.pm:66] at line 64 of Moose/Util/TypeConstraints/Builtins.pm, avg 981ns/call
# 26 times (27µs+0s) by Moose::Util::TypeConstraints::Builtins::__ANON__[/usr/local/lib/perl/5.14.2/Moose/Util/TypeConstraints/Builtins.pm:83] at line 78 of Moose/Util/TypeConstraints/Builtins.pm, avg 1µs/call
# 16 times (18µs+0s) by Moose::Meta::TypeConstraint::can_be_inlined at line 198 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# 7 times (7µs+0s) by Moose::Meta::TypeConstraint::_inline_check at line 213 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# 5 times (5µs+0s) by Moose::Meta::TypeConstraint::inline_environment at line 223 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# 5 times (5µs+0s) by Moose::Meta::TypeConstraint::_collect_all_parents at line 415 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# once (1µs+0s) by Moose::Meta::TypeConstraint::_collect_all_parents at line 412 of Moose/Meta/TypeConstraint.pm
# once (1µs+0s) by Moose::Util::TypeConstraints::Builtins::__ANON__[/usr/local/lib/perl/5.14.2/Moose/Util/TypeConstraints/Builtins.pm:176] at line 171 of Moose/Util/TypeConstraints/Builtins.pm
# spent 12µs within MongoDB::Cursor::_tailable which was called 4 times, avg 3µs/call:
# 4 times (12µs+0s) by MongoDB::Cursor::_do_query at line 151 of MongoDB/Cursor.pm, avg 3µs/call
# spent 958µs within Moose::Meta::TypeConstraint::constraint which was called 885 times, avg 1µs/call:
# 475 times (545µs+0s) by Moose::Meta::TypeConstraint::can_be_inlined at line 197 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# 260 times (254µs+0s) by Moose::Meta::TypeConstraint::_inline_check at line 212 of Moose/Meta/TypeConstraint.pm, avg 977ns/call
# 144 times (153µs+0s) by Moose::Meta::TypeConstraint::inline_environment at line 222 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# 5 times (6µs+0s) by Moose::Meta::TypeConstraint::_compile_subtype at line 359 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# once (1µs+0s) by Moose::Meta::TypeConstraint::_actually_compile_type_constraint at line 318 of Moose/Meta/TypeConstraint.pm
# spent 101µs within Moose::Meta::Class::destructor_class which was called 83 times, avg 1µs/call:
# 22 times (22µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 295 of Class/MOP/Class.pm, avg 1µs/call
# 11 times (17µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 352 of Class/MOP/Class.pm, avg 2µs/call
# 11 times (16µs+0s) by Class::MOP::Class::_check_metaclass_compatibility at line 224 of Class/MOP/Class.pm, avg 1µs/call
# 11 times (14µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 290 of Class/MOP/Class.pm, avg 1µs/call
# 11 times (12µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 355 of Class/MOP/Class.pm, avg 1µs/call
# 11 times (12µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 293 of Class/MOP/Class.pm, avg 1µs/call
# 6 times (8µs+0s) by Class::MOP::Class::_immutable_options at line 1268 of Class/MOP/Class.pm, avg 1µs/call
# spent 209µs (187+22) within MongoDB::Cursor::new which was called 3 times, avg 70µs/call:
# 3 times (187µs+22µs) by MongoDB::Collection::find at line 117 of MongoDB/Collection.pm, avg 70µs/call
# spent 364µs (258+106) within Moose::Meta::Mixin::AttributeCore::should_coerce which was called 212 times, avg 2µs/call:
# 105 times (104µs+43µs) by Moose::Meta::Attribute::_inline_check_coercion at line 685 of Moose/Meta/Attribute.pm, avg 1µs/call
# 102 times (146µs+63µs) by Moose::Meta::Attribute::_writer_value_needs_copy at line 642 of Moose/Meta/Attribute.pm, avg 2µs/call
# 5 times (7µs+0s) by Moose::Meta::Attribute::_coerce_and_verify at line 1263 of Moose/Meta/Attribute.pm, avg 1µs/call
# spent 63µs (57+6) within MongoDB::Collection::new which was called 3 times, avg 21µs/call:
# 3 times (57µs+6µs) by MongoDB::Database::get_collection at line 68 of MongoDB/Database.pm, avg 21µs/call
# spent 50µs (23+27) within Moose::Meta::Role::Composite::meta which was called 4 times, avg 13µs/call:
# once (11µs+9µs) by Moose::BEGIN@36 at line 24 of Moose/Meta/Role/Composite.pm
# once (4µs+7µs) by Moose::BEGIN@36 at line 37 of Moose/Meta/Role/Composite.pm
# once (4µs+7µs) by Moose::BEGIN@36 at line 40 of Moose/Meta/Role/Composite.pm
# once (4µs+4µs) by MongoDB::Connection::BEGIN@24 at line 239 of Moose.pm
# spent 4µs within MongoDB::MongoClient::host which was called:
# once (4µs+0s) by MongoDB::MongoClient::BUILD at line 196 of MongoDB/MongoClient.pm
# spent 4µs within MongoDB::MongoClient::auto_connect which was called:
# once (4µs+0s) by MongoDB::MongoClient::BUILD at line 227 of MongoDB/MongoClient.pm
# spent 958µs within Moose::Meta::TypeConstraint::has_parent which was called 889 times, avg 1µs/call:
# 480 times (528µs+0s) by Moose::Meta::TypeConstraint::can_be_inlined at line 197 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# 262 times (286µs+0s) by Moose::Meta::TypeConstraint::_inline_check at line 212 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# 146 times (144µs+0s) by Moose::Meta::TypeConstraint::inline_environment at line 222 of Moose/Meta/TypeConstraint.pm, avg 984ns/call
# once (1µs+0s) by Moose::Meta::TypeConstraint::_actually_compile_type_constraint at line 326 of Moose/Meta/TypeConstraint.pm
# spent 47µs within Class::MOP::Method::_set_original_method which was called 28 times, avg 2µs/call:
# 28 times (47µs+0s) by Class::MOP::Method::clone at line 138 of Class/MOP/Method.pm, avg 2µs/call
# spent 221µs (176+45) within Moose::Meta::Mixin::AttributeCore::is_weak_ref which was called 108 times, avg 2µs/call:
# 105 times (170µs+45µs) by Moose::Meta::Attribute::_inline_weaken_value at line 758 of Moose/Meta/Attribute.pm, avg 2µs/call
# 3 times (6µs+0s) by Moose::Meta::Attribute::initialize_instance_slot at line 540 of Moose/Meta/Attribute.pm, avg 2µs/call
# spent 57µs (20+37) within MongoDB::Connection::get_database which was called:
# once (20µs+37µs) by Mentat::Storage::Mongo::reconnect at line 583 of Mentat/Storage/Mongo.pm
# spent 29µs (14+15) within Moose::Meta::TypeConstraint::Registry::meta which was called 2 times, avg 14µs/call:
# once (9µs+8µs) by Moose::Util::TypeConstraints::BEGIN@42 at line 18 of Moose/Meta/TypeConstraint/Registry.pm
# once (5µs+7µs) by Moose::Util::TypeConstraints::BEGIN@42 at line 28 of Moose/Meta/TypeConstraint/Registry.pm
# spent 112µs (73+39) within Moose::Meta::Mixin::AttributeCore::should_auto_deref which was called 60 times, avg 2µs/call:
# 60 times (73µs+39µs) by Moose::Meta::Attribute::_auto_deref at line 986 of Moose/Meta/Attribute.pm, avg 2µs/call
# spent 10µs within Moose::Meta::TypeCoercion::_compiled_type_coercion which was called 4 times, avg 2µs/call:
# 2 times (7µs+0s) by Moose::Meta::TypeCoercion::compile_type_coercion at line 72 of Moose/Meta/TypeCoercion.pm, avg 4µs/call
# 2 times (2µs+0s) by Moose::Meta::Attribute::_eval_environment at line 793 of Moose/Meta/Attribute.pm, avg 1µs/call
# spent 11µs within MongoDB::Cursor::slave_okay which was called 4 times, avg 3µs/call:
# 4 times (11µs+0s) by MongoDB::Cursor::_do_query at line 151 of MongoDB/Cursor.pm, avg 3µs/call # spent 5.92ms making 505 calls to Package::Stash::XS::add_symbol, avg 12µs/call
# spent 658µs making 505 calls to Class::MOP::Package::_package_stash, avg 1µs/call
# spent 337µs making 505 calls to Package::Stash::XS::name, avg 667ns/call
# spent 301µs making 505 calls to Package::Stash::XS::namespace, avg 596ns/call |
222 | } | ||||
223 | |||||
224 | sub remove_package_glob { | ||||
225 | my $self = shift; | ||||
226 | $self->_package_stash->remove_glob(@_); | ||||
227 | } | ||||
228 | |||||
229 | # ... these functions deal with stuff on the namespace level | ||||
230 | |||||
231 | # spent 1.96ms (939µs+1.02) within Class::MOP::Package::has_package_symbol which was called 237 times, avg 8µs/call:
# 170 times (661µs+708µs) by Moose::Exporter::__ANON__[/usr/local/lib/perl/5.14.2/Moose/Exporter.pm:137] at line 121 of Moose/Exporter.pm, avg 8µs/call
# 63 times (257µs+259µs) by Moose::Meta::Attribute::_process_accessors at line 1070 of Moose/Meta/Attribute.pm, avg 8µs/call
# 4 times (22µs+52µs) by Moose::Exporter::build_import_methods at line 91 of Moose/Exporter.pm, avg 18µs/call | ||||
232 | 237 | 46µs | my $self = shift; | ||
233 | 237 | 1.59ms | 713 | 1.15ms | $self->_package_stash->has_symbol(@_); # spent 792µs making 237 calls to Package::Stash::XS::has_symbol, avg 3µs/call
# spent 227µs making 237 calls to Class::MOP::Package::_package_stash, avg 959ns/call
# spent 133µs making 237 calls to Package::Stash::XS::namespace, avg 562ns/call
# spent 1µs making 2 calls to Package::Stash::XS::name, avg 700ns/call |
234 | } | ||||
235 | |||||
236 | # spent 7.13ms (3.25+3.88) within Class::MOP::Package::get_package_symbol which was called 816 times, avg 9µs/call:
# 816 times (3.25ms+3.88ms) by Class::MOP::Mixin::HasMethods::_get_maybe_raw_method at line 137 of Class/MOP/Mixin/HasMethods.pm, avg 9µs/call | ||||
237 | 816 | 165µs | my $self = shift; | ||
238 | 816 | 5.74ms | 2448 | 4.33ms | $self->_package_stash->get_symbol(@_); # spent 2.94ms making 816 calls to Package::Stash::XS::get_symbol, avg 4µs/call
# spent 942µs making 816 calls to Class::MOP::Package::_package_stash, avg 1µs/call
# spent 441µs making 816 calls to Package::Stash::XS::namespace, avg 541ns/call |
239 | } | ||||
240 | |||||
241 | # spent 2.58ms (535µs+2.05) within Class::MOP::Package::get_or_add_package_symbol which was called 128 times, avg 20µs/call:
# 128 times (535µs+2.05ms) by Class::MOP::Class::superclasses at line 938 of Class/MOP/Class.pm, avg 20µs/call | ||||
242 | 128 | 20µs | my $self = shift; | ||
243 | 128 | 1.43ms | 462 | 2.51ms | $self->_package_stash->get_or_add_symbol(@_); # spent 1.08ms making 128 calls to Class::MOP::Package::_package_stash, avg 8µs/call
# spent 966µs making 128 calls to Package::Stash::XS::get_or_add_symbol, avg 8µs/call
# spent 411µs making 128 calls to Package::Stash::XS::namespace, avg 3µs/call
# spent 45µs making 78 calls to Package::Stash::XS::name, avg 576ns/call |
244 | } | ||||
245 | |||||
246 | sub remove_package_symbol { | ||||
247 | my $self = shift; | ||||
248 | $self->_package_stash->remove_symbol(@_); | ||||
249 | } | ||||
250 | |||||
251 | # spent 96µs (36+61) within Class::MOP::Package::list_all_package_symbols which was called 6 times, avg 16µs/call:
# 6 times (36µs+61µs) by Class::MOP::Mixin::HasMethods::_full_method_map at line 205 of Class/MOP/Mixin/HasMethods.pm, avg 16µs/call | ||||
252 | 6 | 2µs | my $self = shift; | ||
253 | 6 | 83µs | 18 | 64µs | $self->_package_stash->list_all_symbols(@_); # spent 53µs making 6 calls to Package::Stash::XS::list_all_symbols, avg 9µs/call
# spent 7µs making 6 calls to Class::MOP::Package::_package_stash, avg 1µs/call
# spent 4µs making 6 calls to Package::Stash::XS::namespace, avg 633ns/call |
254 | } | ||||
255 | |||||
256 | sub get_all_package_symbols { | ||||
257 | my $self = shift; | ||||
258 | $self->_package_stash->get_all_symbols(@_); | ||||
259 | } | ||||
260 | |||||
261 | 1 | 3µs | 1; | ||
262 | |||||
263 | # ABSTRACT: Package Meta Object | ||||
264 | |||||
265 | __END__ | ||||
# spent 1.55ms within Class::MOP::Attribute::associated_class which was called 2597 times, avg 596ns/call:
# 504 times (236µs+0s) by Class::MOP::Attribute::try {...} at line 389 of Class/MOP/Attribute.pm, avg 469ns/call
# 499 times (274µs+0s) by Class::MOP::Attribute::_inline_instance_set at line 287 of Class/MOP/Attribute.pm, avg 550ns/call
# 309 times (189µs+0s) by Class::MOP::Attribute::_accessor_description at line 411 of Class/MOP/Attribute.pm, avg 611ns/call
# 257 times (164µs+0s) by Class::MOP::Attribute::install_accessors at line 422 of Class/MOP/Attribute.pm, avg 639ns/call
# 135 times (85µs+0s) by Class::MOP::Attribute::_inline_instance_get at line 310 of Class/MOP/Attribute.pm, avg 632ns/call
# 134 times (98µs+0s) by Moose::Meta::Attribute::_error_thrower at line 53 of Moose/Meta/Attribute.pm, avg 729ns/call
# 134 times (78µs+0s) by Moose::Meta::Attribute::_inline_throw_error at line 74 of Moose/Meta/Attribute.pm, avg 586ns/call
# 127 times (91µs+0s) by Moose::Meta::Attribute::_process_accessors at line 1070 of Moose/Meta/Attribute.pm, avg 713ns/call
# 114 times (53µs+0s) by Class::MOP::Attribute::_process_accessors at line 372 of Class/MOP/Attribute.pm, avg 461ns/call
# 95 times (54µs+0s) by Class::MOP::Attribute::_process_accessors at line 384 of Class/MOP/Attribute.pm, avg 573ns/call
# 64 times (84µs+0s) by Moose::Meta::Attribute::_eval_environment at line 809 of Moose/Meta/Attribute.pm, avg 1µs/call
# 64 times (32µs+0s) by Moose::Meta::Attribute::_process_accessors at line 1043 of Moose/Meta/Attribute.pm, avg 498ns/call
# 63 times (41µs+0s) by Moose::Meta::Method::Accessor::_instance_is_inlinable at line 57 of Moose/Meta/Method/Accessor.pm, avg 657ns/call
# 36 times (27µs+0s) by Moose::Meta::Attribute::install_delegation at line 1125 of Moose/Meta/Attribute.pm, avg 747ns/call
# 36 times (25µs+0s) by Moose::Meta::Attribute::_make_delegation_method at line 1247 of Moose/Meta/Attribute.pm, avg 700ns/call
# 21 times (13µs+0s) by Class::MOP::Attribute::_inline_instance_has at line 331 of Class/MOP/Attribute.pm, avg 610ns/call
# 2 times (2µs+0s) by Class::MOP::Attribute::_inline_instance_clear at line 352 of Class/MOP/Attribute.pm, avg 750ns/call
# 2 times (1µs+0s) by Moose::Meta::Attribute::_inline_weaken_value at line 760 of Moose/Meta/Attribute.pm, avg 700ns/call
# once (1µs+0s) by Moose::Meta::Attribute::install_delegation at line 1100 of Moose/Meta/Attribute.pm | |||||
# spent 44µs within Class::MOP::Attribute::associated_methods which was called 58 times, avg 764ns/call:
# 58 times (44µs+0s) by Moose::Meta::Attribute::_check_associated_methods at line 1025 of Moose/Meta/Attribute.pm, avg 764ns/call | |||||
# spent 90µs within Class::MOP::Class::constructor_class which was called 178 times, avg 505ns/call:
# 53 times (24µs+0s) by Class::MOP::Class::_immutable_options at line 1268 of Class/MOP/Class.pm, avg 445ns/call
# 45 times (25µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 352 of Class/MOP/Class.pm, avg 564ns/call
# 45 times (21µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 355 of Class/MOP/Class.pm, avg 473ns/call
# 35 times (20µs+0s) by List::MoreUtils::all at line 214 of Class/MOP/Class.pm, avg 560ns/call | |||||
# spent 34µs within Class::MOP::Class::constructor_name which was called 59 times, avg 569ns/call:
# 59 times (34µs+0s) by Class::MOP::Class::_immutable_options at line 1268 of Class/MOP/Class.pm, avg 569ns/call | |||||
# spent 88µs within Class::MOP::Class::destructor_class which was called 178 times, avg 497ns/call:
# 53 times (23µs+0s) by Class::MOP::Class::_immutable_options at line 1268 of Class/MOP/Class.pm, avg 442ns/call
# 45 times (24µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 352 of Class/MOP/Class.pm, avg 536ns/call
# 45 times (22µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 355 of Class/MOP/Class.pm, avg 491ns/call
# 35 times (19µs+0s) by List::MoreUtils::all at line 214 of Class/MOP/Class.pm, avg 537ns/call | |||||
# spent 71µs within Class::MOP::Class::immutable_trait which was called 106 times, avg 670ns/call:
# 53 times (36µs+0s) by Class::MOP::Class::_immutable_metaclass at line 1327 of Class/MOP/Class.pm, avg 681ns/call
# 53 times (35µs+0s) by Class::MOP::Class::_immutable_options at line 1268 of Class/MOP/Class.pm, avg 658ns/call | |||||
# spent 267µs within Class::MOP::Class::instance_metaclass which was called 465 times, avg 574ns/call:
# 105 times (62µs+0s) by Class::MOP::Class::_create_meta_instance at line 726 of Class/MOP/Class.pm, avg 592ns/call
# 95 times (48µs+0s) by Class::MOP::Attribute::_process_accessors at line 384 of Class/MOP/Attribute.pm, avg 507ns/call
# 63 times (42µs+0s) by Moose::Meta::Method::Accessor::_instance_is_inlinable at line 57 of Moose/Meta/Method/Accessor.pm, avg 660ns/call
# 56 times (36µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 352 of Class/MOP/Class.pm, avg 650ns/call
# 56 times (30µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 355 of Class/MOP/Class.pm, avg 543ns/call
# 35 times (22µs+0s) by List::MoreUtils::all at line 214 of Class/MOP/Class.pm, avg 614ns/call
# 22 times (9µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 295 of Class/MOP/Class.pm, avg 414ns/call
# 11 times (7µs+0s) by Class::MOP::Class::_check_metaclass_compatibility at line 224 of Class/MOP/Class.pm, avg 673ns/call
# 11 times (5µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 290 of Class/MOP/Class.pm, avg 491ns/call
# 11 times (5µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 293 of Class/MOP/Class.pm, avg 436ns/call | |||||
# spent 7µs within Class::MOP::Instance::associated_metaclass which was called 9 times, avg 822ns/call:
# 9 times (7µs+0s) by Class::MOP::Instance::_class_name at line 76 of Class/MOP/Instance.pm, avg 822ns/call | |||||
# spent 129µs within Class::MOP::Method::Generated::definition_context which was called 196 times, avg 659ns/call:
# 196 times (129µs+0s) by Class::MOP::Method::Generated::_generate_description at line 30 of Class/MOP/Method/Generated.pm, avg 659ns/call | |||||
# spent 198µs within Class::MOP::Method::Generated::is_inline which was called 282 times, avg 701ns/call:
# 252 times (176µs+0s) by Class::MOP::Method::Accessor::_initialize_body at line 83 of Class/MOP/Method/Accessor.pm, avg 698ns/call
# 30 times (22µs+0s) by Class::MOP::Method::Constructor::_initialize_body at line 82 of Class/MOP/Method/Constructor.pm, avg 720ns/call | |||||
# spent 30µs within Class::MOP::Method::Inlined::_expected_method_class which was called 38 times, avg 800ns/call:
# 38 times (30µs+0s) by Class::MOP::Method::Inlined::can_be_inlined at line 53 of Class/MOP/Method/Inlined.pm, avg 800ns/call | |||||
# spent 387µs within Class::MOP::Method::body which was called 664 times, avg 582ns/call:
# 478 times (276µs+0s) by Class::MOP::Mixin::HasMethods::add_method at line 63 of Class/MOP/Mixin/HasMethods.pm, avg 578ns/call
# 92 times (47µs+0s) by Class::MOP::Method::Wrapped::wrap at line 79 of Class/MOP/Method/Wrapped.pm, avg 514ns/call
# 44 times (32µs+0s) by Class::MOP::MiniTrait::apply at line 26 of Class/MOP/MiniTrait.pm, avg 725ns/call
# 23 times (12µs+0s) by Class::MOP::Mixin::HasMethods::_method_map at line 79 of Class/MOP/Mixin/HasMethods.pm, avg 539ns/call
# 17 times (12µs+0s) by Class::MOP::Mixin::HasMethods::_method_map at line 134 of Class/MOP/Mixin/HasMethods.pm, avg 706ns/call
# 5 times (4µs+0s) by Moose::Meta::Class::_inline_BUILDARGS at line 337 of Moose/Meta/Class.pm, avg 780ns/call
# 5 times (3µs+0s) by Class::MOP::Mixin::HasMethods::_method_map at line 90 of Class/MOP/Class/Immutable/Trait.pm, avg 580ns/call | |||||
# spent 238µs within Class::MOP::Method::name which was called 399 times, avg 598ns/call:
# 142 times (71µs+0s) by Class::MOP::Class::get_all_methods at line 1136 of Class/MOP/Class.pm, avg 497ns/call
# 58 times (40µs+0s) by Class::MOP::MiniTrait::apply at line 23 of Class/MOP/MiniTrait.pm, avg 684ns/call
# 49 times (20µs+0s) by MongoDB::BEGIN@28 at line 40 of MongoDB/Connection.pm, avg 418ns/call
# 38 times (36µs+0s) by Class::MOP::Method::Inlined::can_be_inlined at line 40 of Class/MOP/Method/Inlined.pm, avg 961ns/call
# 36 times (28µs+0s) by Moose::Meta::Attribute::install_delegation at line 1125 of Moose/Meta/Attribute.pm, avg 772ns/call
# 36 times (22µs+0s) by Moose::Meta::Method::Delegation::_initialize_body at line 79 of Moose/Meta/Method/Delegation.pm, avg 600ns/call
# 30 times (17µs+0s) by Moose::Meta::Method::_inline_throw_error at line 45 of Moose/Meta/Method.pm, avg 553ns/call
# 5 times (3µs+0s) by Class::MOP::Method::Inlined::can_be_inlined at line 70 of Class/MOP/Method/Inlined.pm, avg 540ns/call
# 5 times (2µs+0s) by Class::MOP::Method::Inlined::can_be_inlined at line 58 of Class/MOP/Method/Inlined.pm, avg 500ns/call | |||||
# spent 278µs within Class::MOP::Method::package_name which was called 568 times, avg 489ns/call:
# 478 times (237µs+0s) by Class::MOP::Mixin::HasMethods::add_method at line 64 of Class/MOP/Mixin/HasMethods.pm, avg 495ns/call
# 90 times (41µs+0s) by Class::MOP::MiniTrait::apply at line 22 of Class/MOP/MiniTrait.pm, avg 452ns/call | |||||
# spent 50µs within Class::MOP::Mixin::AttributeCore::accessor which was called 75 times, avg 661ns/call:
# 75 times (50µs+0s) by Class::MOP::Attribute::install_accessors at line 424 of Class/MOP/Attribute.pm, avg 661ns/call | |||||
# spent 5µs within Class::MOP::Mixin::AttributeCore::builder which was called 7 times, avg 657ns/call:
# 3 times (2µs+0s) by Moose::Meta::Attribute::_inline_generate_default at line 938 of Moose/Meta/Attribute.pm, avg 800ns/call
# 3 times (2µs+0s) by Moose::Meta::Attribute::_inline_generate_default at line 939 of Moose/Meta/Attribute.pm, avg 500ns/call
# once (700ns+0s) by Class::MOP::Class::_inline_default_value at line 682 of Class/MOP/Class.pm | |||||
# spent 1µs within Class::MOP::Mixin::AttributeCore::clearer which was called 2 times, avg 700ns/call:
# 2 times (1µs+0s) by Class::MOP::Attribute::install_accessors at line 440 of Class/MOP/Attribute.pm, avg 700ns/call | |||||
# spent 172µs within Class::MOP::Mixin::AttributeCore::definition_context which was called 309 times, avg 557ns/call:
# 309 times (172µs+0s) by Class::MOP::Attribute::_process_accessors at line 363 of Class/MOP/Attribute.pm, avg 557ns/call | |||||
# spent 1.18ms within Class::MOP::Mixin::AttributeCore::init_arg which was called 2350 times, avg 501ns/call:
# 1652 times (798µs+0s) by Moose::Meta::Attribute::new at line 94 of Moose/Meta/Attribute.pm, avg 483ns/call
# 327 times (203µs+0s) by Class::MOP::Class::_inline_slot_initializer at line 599 of Class/MOP/Class.pm, avg 621ns/call
# 275 times (123µs+0s) by Class::MOP::Class::_inline_init_attr_from_constructor at line 630 of Class/MOP/Class.pm, avg 448ns/call
# 41 times (23µs+0s) by Moose::Meta::Class::_inline_check_required_attr at line 386 of Moose/Meta/Class.pm, avg 551ns/call
# 41 times (19µs+0s) by Moose::Meta::Class::_inline_init_attr_from_constructor at line 406 of Moose/Meta/Class.pm, avg 468ns/call
# 7 times (6µs+0s) by Moose::Meta::Attribute::initialize_instance_slot at line 506 of Moose/Meta/Attribute.pm, avg 929ns/call
# 7 times (4µs+0s) by Moose::Meta::Class::_inline_check_required_attr at line 391 of Moose/Meta/Class.pm, avg 571ns/call | |||||
# spent 3.27ms within Class::MOP::Mixin::AttributeCore::name which was called 7066 times, avg 463ns/call:
# 1708 times (653µs+0s) by Class::MOP::Class::CORE:sort at line 708 of Class/MOP/Class.pm, avg 382ns/call
# 1708 times (648µs+0s) by Class::MOP::Class::CORE:sort at line 591 of Class/MOP/Class.pm, avg 379ns/call
# 820 times (448µs+0s) by Class::MOP::Attribute::_set_initial_slot_value at line 148 of Class/MOP/Attribute.pm, avg 547ns/call
# 813 times (388µs+0s) by Class::MOP::Attribute::slots at line 234 of Class/MOP/Attribute.pm, avg 477ns/call
# 499 times (319µs+0s) by Class::MOP::Attribute::_inline_instance_set at line 288 of Class/MOP/Attribute.pm, avg 639ns/call
# 309 times (163µs+0s) by Class::MOP::Attribute::_accessor_description at line 412 of Class/MOP/Attribute.pm, avg 527ns/call
# 222 times (85µs+0s) by Moose::Meta::Class::CORE:sort at line 505 of Moose/Meta/Class.pm, avg 382ns/call
# 222 times (84µs+0s) by Moose::Meta::Class::CORE:sort at line 467 of Moose/Meta/Class.pm, avg 380ns/call
# 181 times (145µs+0s) by Class::MOP::Mixin::HasAttributes::add_attribute at line 29 of Class/MOP/Mixin/HasAttributes.pm, avg 800ns/call
# 135 times (85µs+0s) by Class::MOP::Attribute::_inline_instance_get at line 311 of Class/MOP/Attribute.pm, avg 632ns/call
# 134 times (71µs+0s) by Moose::Meta::Attribute::_inline_throw_error at line 77 of Moose/Meta/Attribute.pm, avg 530ns/call
# 110 times (46µs+0s) by Class::MOP::Attribute::_accessor_description at line 413 of Class/MOP/Attribute.pm, avg 416ns/call
# 93 times (68µs+0s) by Moose::Meta::Attribute::_inline_check_constraint at line 709 of Moose/Meta/Attribute.pm, avg 727ns/call
# 41 times (26µs+0s) by Moose::Meta::Class::_inline_slot_initializer at line 376 of Moose/Meta/Class.pm, avg 624ns/call
# 21 times (14µs+0s) by Class::MOP::Attribute::_inline_instance_has at line 332 of Class/MOP/Attribute.pm, avg 648ns/call
# 12 times (8µs+0s) by Class::MOP::Attribute::has_value at line 319 of Class/MOP/Attribute.pm, avg 708ns/call
# 12 times (8µs+0s) by Class::MOP::Attribute::get_raw_value at line 298 of Class/MOP/Attribute.pm, avg 692ns/call
# 8 times (6µs+0s) by Moose::Meta::Attribute::_inline_check_required at line 657 of Moose/Meta/Attribute.pm, avg 788ns/call
# 7 times (3µs+0s) by Moose::Meta::Class::_inline_check_required_attr at line 391 of Moose/Meta/Class.pm, avg 443ns/call
# 3 times (2µs+0s) by Moose::Meta::Attribute::_inline_generate_default at line 940 of Moose/Meta/Attribute.pm, avg 500ns/call
# 2 times (2µs+0s) by Moose::Meta::Attribute::_weaken_value at line 820 of Moose/Meta/Attribute.pm, avg 750ns/call
# 2 times (1µs+0s) by Class::MOP::Attribute::_inline_instance_clear at line 353 of Class/MOP/Attribute.pm, avg 650ns/call
# 2 times (1µs+0s) by Moose::Meta::Attribute::_inline_weaken_value at line 762 of Moose/Meta/Attribute.pm, avg 650ns/call
# 2 times (1µs+0s) by Moose::Meta::Attribute::_process_accessors at line 1045 of Moose/Meta/Attribute.pm, avg 550ns/call | |||||
# spent 30µs within Class::MOP::Mixin::AttributeCore::predicate which was called 44 times, avg 680ns/call:
# 44 times (30µs+0s) by Class::MOP::Attribute::install_accessors at line 436 of Class/MOP/Attribute.pm, avg 680ns/call | |||||
# spent 143µs within Class::MOP::Mixin::AttributeCore::reader which was called 216 times, avg 661ns/call:
# 180 times (118µs+0s) by Class::MOP::Attribute::install_accessors at line 428 of Class/MOP/Attribute.pm, avg 656ns/call
# 36 times (25µs+0s) by Class::MOP::Attribute::get_read_method at line 174 of Class/MOP/Attribute.pm, avg 686ns/call | |||||
# spent 5µs within Class::MOP::Mixin::AttributeCore::writer which was called 8 times, avg 650ns/call:
# 8 times (5µs+0s) by Class::MOP::Attribute::install_accessors at line 432 of Class/MOP/Attribute.pm, avg 650ns/call | |||||
# spent 863µs within Class::MOP::Mixin::HasAttributes::_attribute_map which was called 1440 times, avg 600ns/call:
# 670 times (435µs+0s) by Class::MOP::Class::get_all_attributes at line 928 of Class/MOP/Class.pm, avg 649ns/call
# 240 times (142µs+0s) by Class::MOP::Mixin::HasAttributes::has_attribute at line 56 of Class/MOP/Mixin/HasAttributes.pm, avg 593ns/call
# 181 times (99µs+0s) by Class::MOP::Mixin::HasAttributes::add_attribute at line 37 of Class/MOP/Mixin/HasAttributes.pm, avg 549ns/call
# 181 times (92µs+0s) by Class::MOP::Mixin::HasAttributes::add_attribute at line 34 of Class/MOP/Mixin/HasAttributes.pm, avg 510ns/call
# 135 times (74µs+0s) by Class::MOP::Mixin::HasAttributes::get_attribute at line 65 of Class/MOP/Mixin/HasAttributes.pm, avg 548ns/call
# 33 times (20µs+0s) by Class::MOP::Mixin::HasAttributes::get_attribute_list at line 84 of Class/MOP/Mixin/HasAttributes.pm, avg 612ns/call | |||||
# spent 213µs within Class::MOP::Mixin::HasAttributes::attribute_metaclass which was called 334 times, avg 638ns/call:
# 74 times (52µs+0s) by Class::MOP::Mixin::HasAttributes::add_attribute at line 20 of Class/MOP/Mixin/HasAttributes.pm, avg 705ns/call
# 58 times (48µs+0s) by Moose::Meta::Class::_process_new_attribute at line 714 of Moose/Meta/Class.pm, avg 831ns/call
# 56 times (35µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 352 of Class/MOP/Class.pm, avg 625ns/call
# 56 times (27µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 355 of Class/MOP/Class.pm, avg 482ns/call
# 35 times (21µs+0s) by List::MoreUtils::all at line 214 of Class/MOP/Class.pm, avg 597ns/call
# 22 times (10µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 295 of Class/MOP/Class.pm, avg 441ns/call
# 11 times (8µs+0s) by Class::MOP::Class::_check_metaclass_compatibility at line 224 of Class/MOP/Class.pm, avg 755ns/call
# 11 times (6µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 290 of Class/MOP/Class.pm, avg 573ns/call
# 11 times (5µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 293 of Class/MOP/Class.pm, avg 491ns/call | |||||
# spent 3.21ms (3.18+27µs) within Class::MOP::Mixin::HasMethods::_method_map which was called 1525 times, avg 2µs/call:
# 782 times (1.52ms+12µs) by Class::MOP::Mixin::HasMethods::_get_maybe_raw_method at line 134 of Class/MOP/Mixin/HasMethods.pm, avg 2µs/call
# 501 times (1.33ms+12µs) by Class::MOP::Mixin::HasMethods::add_method at line 79 of Class/MOP/Mixin/HasMethods.pm, avg 3µs/call
# 147 times (153µs+0s) by Class::MOP::Mixin::HasMethods::has_method at line 110 of Class/MOP/Mixin/HasMethods.pm, avg 1µs/call
# 57 times (87µs+0s) by Class::MOP::Mixin::HasMethods::get_method at line 124 of Class/MOP/Mixin/HasMethods.pm, avg 2µs/call
# 19 times (67µs+3µs) by Class::MOP::Class:::around at line 90 of Class/MOP/Class/Immutable/Trait.pm, avg 4µs/call
# 19 times (24µs+0s) by Class::MOP::Mixin::HasMethods::_full_method_map at line 209 of Class/MOP/Mixin/HasMethods.pm, avg 1µs/call | |||||
# spent 152µs within Class::MOP::Mixin::HasMethods::method_metaclass which was called 286 times, avg 530ns/call:
# 84 times (46µs+0s) by Class::MOP::Mixin::HasMethods::wrap_method_body at line 48 of Class/MOP/Mixin/HasMethods.pm, avg 551ns/call
# 56 times (32µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 352 of Class/MOP/Class.pm, avg 564ns/call
# 56 times (27µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 355 of Class/MOP/Class.pm, avg 479ns/call
# 35 times (21µs+0s) by List::MoreUtils::all at line 214 of Class/MOP/Class.pm, avg 600ns/call
# 22 times (9µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 295 of Class/MOP/Class.pm, avg 400ns/call
# 11 times (7µs+0s) by Class::MOP::Class::_check_metaclass_compatibility at line 224 of Class/MOP/Class.pm, avg 627ns/call
# 11 times (5µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 290 of Class/MOP/Class.pm, avg 491ns/call
# 11 times (5µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 293 of Class/MOP/Class.pm, avg 445ns/call | |||||
# spent 155µs within Class::MOP::Mixin::HasMethods::wrapped_method_metaclass which was called 248 times, avg 623ns/call:
# 56 times (43µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 352 of Class/MOP/Class.pm, avg 761ns/call
# 56 times (31µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 355 of Class/MOP/Class.pm, avg 559ns/call
# 46 times (28µs+0s) by Class::MOP::Class::__ANON__[/usr/local/lib/perl/5.14.2/Class/MOP/Class.pm:1072] at line 1045 of Class/MOP/Class.pm, avg 602ns/call
# 35 times (24µs+0s) by List::MoreUtils::all at line 214 of Class/MOP/Class.pm, avg 686ns/call
# 22 times (9µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 295 of Class/MOP/Class.pm, avg 400ns/call
# 11 times (10µs+0s) by Class::MOP::Class::_check_metaclass_compatibility at line 224 of Class/MOP/Class.pm, avg 882ns/call
# 11 times (6µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 290 of Class/MOP/Class.pm, avg 509ns/call
# 11 times (5µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 293 of Class/MOP/Class.pm, avg 445ns/call | |||||
# spent 1.96ms within Class::MOP::Package::name which was called 3167 times, avg 619ns/call:
# 501 times (379µs+0s) by Class::MOP::Mixin::HasMethods::add_method at line 59 of Class/MOP/Mixin/HasMethods.pm, avg 757ns/call
# 501 times (304µs+0s) by Class::MOP::Mixin::HasMethods::update_package_cache_flag at line 194 of Class/MOP/Mixin/HasMethods.pm, avg 607ns/call
# 429 times (257µs+0s) by Class::MOP::Class::linearized_isa at line 999 of Class/MOP/Class.pm, avg 599ns/call
# 309 times (166µs+0s) by Class::MOP::Attribute::_accessor_description at line 411 of Class/MOP/Attribute.pm, avg 538ns/call
# 252 times (111µs+0s) by Class::MOP::Attribute::try {...} at line 389 of Class/MOP/Attribute.pm, avg 442ns/call
# 171 times (90µs+0s) by Class::MOP::Mixin::HasMethods::_code_is_mine at line 97 of Class/MOP/Mixin/HasMethods.pm, avg 526ns/call
# 134 times (81µs+0s) by Moose::Meta::Attribute::_inline_throw_error at line 76 of Moose/Meta/Attribute.pm, avg 608ns/call
# 118 times (82µs+0s) by Class::MOP::Class::_construct_instance at line 527 of Class/MOP/Class.pm, avg 692ns/call
# 106 times (74µs+0s) by Class::MOP::Class::new_object at line 496 of Class/MOP/Class.pm, avg 700ns/call
# 84 times (37µs+0s) by Class::MOP::Mixin::HasMethods::wrap_method_body at line 48 of Class/MOP/Mixin/HasMethods.pm, avg 438ns/call
# 80 times (67µs+0s) by Class::MOP::Package::_package_stash at line 209, avg 842ns/call
# 70 times (45µs+0s) by Class::MOP::Class::_inline_constructor at line 1438 of Class/MOP/Class.pm, avg 646ns/call
# 57 times (24µs+0s) by Class::MOP::Attribute::_process_accessors at line 372 of Class/MOP/Attribute.pm, avg 426ns/call
# 47 times (30µs+0s) by Moose::Meta::Attribute::install_delegation at line 1103 of Moose/Meta/Attribute.pm, avg 647ns/call
# 46 times (31µs+0s) by Class::MOP::Class::__ANON__[/usr/local/lib/perl/5.14.2/Class/MOP/Class.pm:1072] at line 1058 of Class/MOP/Class.pm, avg 678ns/call
# 38 times (43µs+0s) by Class::MOP::Method::Inlined::can_be_inlined at line 35 of Class/MOP/Method/Inlined.pm, avg 1µs/call
# 36 times (16µs+0s) by Moose::Meta::Attribute::_make_delegation_method at line 1247 of Moose/Meta/Attribute.pm, avg 444ns/call
# 35 times (23µs+0s) by Class::MOP::Class::_inline_preserve_weak_metaclasses at line 691 of Class/MOP/Class.pm, avg 669ns/call
# 35 times (22µs+0s) by Class::MOP::Class::_inline_fallback_constructor at line 553 of Class/MOP/Class.pm, avg 620ns/call
# 35 times (21µs+0s) by Class::MOP::Mixin::HasMethods::_add_meta_method at line 33 of Class/MOP/Mixin/HasMethods.pm, avg 591ns/call
# 30 times (21µs+0s) by Moose::Meta::Method::_inline_throw_error at line 44 of Moose/Meta/Method.pm, avg 710ns/call
# 20 times (11µs+0s) by Class::MOP::Mixin::HasMethods::_full_method_map at line 200 of Class/MOP/Mixin/HasMethods.pm, avg 565ns/call
# 13 times (12µs+0s) by Class::MOP::Class::superclasses at line 948 of Class/MOP/Class.pm, avg 931ns/call
# 9 times (5µs+0s) by Class::MOP::Instance::_class_name at line 76 of Class/MOP/Instance.pm, avg 522ns/call
# 6 times (3µs+0s) by Class::MOP::Class::_inline_destructor at line 1477 of Class/MOP/Class.pm, avg 533ns/call
# 3 times (2µs+0s) by Moose::Meta::Method::Destructor::_initialize_body at line 84 of Moose/Meta/Method/Destructor.pm, avg 767ns/call
# 2 times (1µs+0s) by Class::MOP::Module::_instantiate_module at line 81 of Class/MOP/Module.pm, avg 700ns/call | |||||
# spent 600ns within MongoDB::BSON::Binary::SUBTYPE_GENERIC which was called:
# once (600ns+0s) by MongoDB::MongoClient::BEGIN@28 at line 46 of MongoDB/BSON/Binary.pm | |||||
# spent 24µs within MongoDB::Connection::CORE:match which was called 49 times, avg 496ns/call:
# 49 times (24µs+0s) by MongoDB::BEGIN@28 at line 37 of MongoDB/Connection.pm, avg 496ns/call |