Filename | /usr/local/lib/perl/5.14.2/Class/MOP/Package.pm |
Statements | Executed 5133 statements in 22.3ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
816 | 1 | 1 | 3.19ms | 6.85ms | get_package_symbol | Class::MOP::Package::
7066 | 24 | 5 | 3.15ms | 3.15ms | name (xsub) | Class::MOP::Mixin::AttributeCore::
1525 | 6 | 2 | 3.06ms | 3.08ms | _method_map (xsub) | Class::MOP::Mixin::HasMethods::
505 | 2 | 2 | 2.24ms | 8.68ms | add_package_symbol | Class::MOP::Package::
1692 | 5 | 1 | 2.19ms | 2.76ms | _package_stash | Class::MOP::Package::
3167 | 27 | 10 | 1.94ms | 1.94ms | name (xsub) | Class::MOP::Package::
376 | 49 | 6 | 1.62ms | 9.23ms | meta | Class::MOP::Object::
2597 | 19 | 3 | 1.54ms | 1.54ms | associated_class (xsub) | Class::MOP::Attribute::
1369 | 8 | 4 | 1.50ms | 1.50ms | has_initializer | Class::MOP::Mixin::AttributeCore::
2350 | 7 | 3 | 1.15ms | 1.15ms | init_arg (xsub) | Class::MOP::Mixin::AttributeCore::
58 | 1 | 1 | 1.12ms | 1.22ms | _new | Moose::Meta::Attribute::
885 | 5 | 1 | 931µs | 931µs | constraint | Moose::Meta::TypeConstraint::
889 | 4 | 1 | 928µs | 928µs | has_parent | Moose::Meta::TypeConstraint::
371 | 7 | 3 | 889µs | 3.94ms | get_meta_instance | Class::MOP::Class::Immutable::Class::MOP::Class::
237 | 3 | 2 | 886µs | 1.90ms | has_package_symbol | Class::MOP::Package::
1440 | 6 | 2 | 828µs | 828µs | _attribute_map (xsub) | Class::MOP::Mixin::HasAttributes::
128 | 4 | 2 | 822µs | 9.90ms | superclasses (recurses: max depth 1, inclusive time 344µs) | Class::MOP::Class::
58 | 1 | 1 | 584µs | 610µs | _new | Moose::Meta::Instance::
241 | 2 | 1 | 549µs | 1.56ms | _method_map | Class::MOP::Class::Immutable::Class::MOP::Class::
128 | 1 | 1 | 546µs | 2.56ms | get_or_add_package_symbol | Class::MOP::Package::
464 | 1 | 1 | 521µs | 521µs | _has_inlined_type_constraint | Moose::Meta::TypeConstraint::
164 | 3 | 2 | 433µs | 2.24ms | get_all_attributes | Class::MOP::Class::Immutable::Class::MOP::Class::
20 | 1 | 1 | 431µs | 475µs | _new | Moose::Meta::TypeConstraint::
440 | 13 | 3 | 431µs | 431µs | associated_attribute | Class::MOP::Method::Accessor::
417 | 5 | 3 | 415µs | 415µs | has_default | Class::MOP::Mixin::AttributeCore::
11 | 1 | 1 | 392µs | 413µs | _new | Moose::Meta::TypeConstraint::Class::
257 | 1 | 1 | 365µs | 365µs | has_accessor | Class::MOP::Mixin::AttributeCore::
664 | 7 | 5 | 356µs | 356µs | body (xsub) | Class::MOP::Method::
293 | 2 | 2 | 351µs | 351µs | has_reader | Class::MOP::Mixin::AttributeCore::
220 | 7 | 2 | 347µs | 347µs | error_class | Moose::Meta::Class::
266 | 4 | 2 | 337µs | 337µs | type_constraints | Moose::Meta::TypeConstraint::Registry::
34 | 1 | 1 | 336µs | 2.44ms | _new | Moose::Meta::Method::
293 | 8 | 2 | 332µs | 332µs | type_constraint | Moose::Meta::Mixin::AttributeCore::
257 | 1 | 1 | 306µs | 306µs | has_writer | Class::MOP::Mixin::AttributeCore::
1 | 1 | 1 | 292µs | 1.01ms | BEGIN@16 | Class::MOP::Package::
255 | 1 | 1 | 288µs | 288µs | inlined | Moose::Meta::TypeConstraint::
257 | 1 | 1 | 283µs | 283µs | has_predicate | Class::MOP::Mixin::AttributeCore::
1 | 1 | 1 | 278µs | 1.36ms | BEGIN@15 | Class::MOP::Package::
568 | 2 | 2 | 274µs | 274µs | package_name (xsub) | Class::MOP::Method::
252 | 1 | 1 | 270µs | 270µs | accessor_type | Class::MOP::Method::Accessor::
465 | 10 | 3 | 268µs | 268µs | instance_metaclass (xsub) | Class::MOP::Class::
215 | 6 | 2 | 260µs | 391µs | has_trigger | Moose::Meta::Mixin::AttributeCore::
257 | 1 | 1 | 259µs | 259µs | has_clearer | Class::MOP::Mixin::AttributeCore::
93 | 6 | 5 | 258µs | 258µs | _compiled_type_constraint | Moose::Meta::TypeConstraint::
212 | 3 | 1 | 254µs | 347µs | should_coerce | Moose::Meta::Mixin::AttributeCore::
184 | 5 | 1 | 222µs | 298µs | has_type_constraint | Moose::Meta::Mixin::AttributeCore::
334 | 9 | 3 | 216µs | 216µs | attribute_metaclass (xsub) | Class::MOP::Mixin::HasAttributes::
181 | 1 | 1 | 215µs | 215µs | _set_insertion_order | Class::MOP::Mixin::AttributeCore::
100 | 3 | 1 | 212µs | 568µs | _method_map | Class::MOP::Class::Immutable::Moose::Meta::Class::
216 | 4 | 3 | 210µs | 210µs | has_builder | Class::MOP::Mixin::AttributeCore::
399 | 9 | 7 | 204µs | 204µs | name (xsub) | Class::MOP::Method::
42 | 39 | 4 | 201µs | 2.16ms | meta | Class::MOP::Mixin::
130 | 3 | 3 | 197µs | 197µs | _default_message | Moose::Meta::TypeConstraint::
282 | 2 | 2 | 197µs | 197µs | is_inline (xsub) | Class::MOP::Method::Generated::
118 | 1 | 1 | 186µs | 197µs | _class_name | Class::MOP::Instance::
71 | 2 | 1 | 175µs | 678µs | linearized_isa | Class::MOP::Class::Immutable::Class::MOP::Class::
309 | 1 | 1 | 174µs | 174µs | definition_context (xsub) | Class::MOP::Mixin::AttributeCore::
141 | 1 | 1 | 169µs | 169µs | _inline_environment | Moose::Meta::TypeConstraint::
108 | 2 | 1 | 167µs | 214µs | is_weak_ref | Moose::Meta::Mixin::AttributeCore::
3 | 1 | 1 | 154µs | 174µs | new | MongoDB::Cursor::
248 | 8 | 1 | 152µs | 152µs | wrapped_method_metaclass (xsub) | Class::MOP::Mixin::HasMethods::
286 | 8 | 2 | 151µs | 151µs | method_metaclass (xsub) | Class::MOP::Mixin::HasMethods::
130 | 3 | 3 | 149µs | 149µs | has_message | Moose::Meta::TypeConstraint::
4 | 1 | 1 | 146µs | 153µs | _new | Moose::Meta::TypeConstraint::Parameterizable::
101 | 2 | 2 | 144µs | 198µs | is_lazy | Moose::Meta::Mixin::AttributeCore::
216 | 2 | 1 | 137µs | 137µs | reader (xsub) | Class::MOP::Mixin::AttributeCore::
196 | 1 | 1 | 128µs | 128µs | definition_context (xsub) | Class::MOP::Method::Generated::
100 | 6 | 4 | 121µs | 121µs | has_coercion | Moose::Meta::TypeConstraint::
118 | 8 | 2 | 121µs | 121µs | parent | Moose::Meta::TypeConstraint::
74 | 4 | 3 | 113µs | 113µs | name | Moose::Meta::TypeConstraint::
73 | 2 | 2 | 101µs | 145µs | is_required | Moose::Meta::Mixin::AttributeCore::
83 | 7 | 1 | 98µs | 98µs | destructor_class | Moose::Meta::Class::
1 | 1 | 1 | 98µs | 8.37ms | new | MongoDB::MongoClient::
83 | 7 | 1 | 97µs | 97µs | constructor_class | Moose::Meta::Class::
1 | 1 | 1 | 93µs | 96µs | _new | Moose::Meta::TypeConstraint::Union::
90 | 3 | 2 | 90µs | 90µs | associated_metaclass | Class::MOP::Method::Constructor::
178 | 4 | 1 | 89µs | 89µs | constructor_class (xsub) | Class::MOP::Class::
178 | 4 | 1 | 84µs | 84µs | destructor_class (xsub) | Class::MOP::Class::
60 | 1 | 1 | 82µs | 123µs | has_handles | Moose::Meta::Mixin::AttributeCore::
54 | 6 | 4 | 74µs | 74µs | associated_metaclass | Class::MOP::Method::
60 | 1 | 1 | 71µs | 110µs | should_auto_deref | Moose::Meta::Mixin::AttributeCore::
51 | 2 | 1 | 68µs | 68µs | has_hand_optimized_type_constraint | Moose::Meta::TypeConstraint::
106 | 2 | 1 | 67µs | 67µs | immutable_trait (xsub) | Class::MOP::Class::
11 | 4 | 3 | 67µs | 77µs | _request_id | MongoDB::Cursor::
26 | 1 | 1 | 67µs | 162µs | is_immutable | Class::MOP::Class::Immutable::Class::MOP::Class::
3 | 1 | 1 | 60µs | 68µs | new | MongoDB::Database::
36 | 1 | 1 | 57µs | 57µs | _has_compiled_type_constraint | Moose::Meta::TypeConstraint::
16 | 6 | 1 | 56µs | 56µs | started_iterating | MongoDB::Cursor::
11 | 11 | 1 | 54µs | 127µs | meta | Moose::Meta::TypeConstraint::
16 | 8 | 3 | 49µs | 64µs | _limit | MongoDB::Cursor::
3 | 1 | 1 | 48µs | 54µs | new | MongoDB::Collection::
75 | 1 | 1 | 48µs | 48µs | accessor (xsub) | Class::MOP::Mixin::AttributeCore::
35 | 1 | 1 | 45µs | 45µs | options | Class::MOP::Method::Constructor::
58 | 1 | 1 | 45µs | 45µs | associated_methods (xsub) | Class::MOP::Attribute::
28 | 9 | 4 | 45µs | 45µs | _client | MongoDB::Cursor::
28 | 1 | 1 | 39µs | 39µs | class | Moose::Meta::TypeConstraint::Class::
2 | 1 | 1 | 35µs | 59µs | initialize | Class::MOP::Package::
59 | 1 | 1 | 33µs | 33µs | constructor_name (xsub) | Class::MOP::Class::
28 | 1 | 1 | 33µs | 33µs | _set_original_method | Class::MOP::Method::
6 | 1 | 1 | 32µs | 91µs | list_all_package_symbols | Class::MOP::Package::
3 | 1 | 1 | 29µs | 67µs | full_name | MongoDB::Collection::
38 | 1 | 1 | 28µs | 28µs | _expected_method_class (xsub) | Class::MOP::Method::Inlined::
44 | 1 | 1 | 27µs | 27µs | predicate (xsub) | Class::MOP::Mixin::AttributeCore::
49 | 1 | 1 | 25µs | 25µs | CORE:match (opcode) | MongoDB::Connection::
4 | 4 | 2 | 24µs | 50µs | meta | Moose::Meta::TypeCoercion::
4 | 4 | 2 | 23µs | 49µs | meta | Moose::Meta::Role::Composite::
4 | 3 | 3 | 22µs | 312µs | meta | Moose::Meta::Role::Method::Required::
12 | 2 | 1 | 20µs | 20µs | immutable_trait | Moose::Meta::Class::
5 | 2 | 2 | 18µs | 21µs | query_timeout | MongoDB::MongoClient::
2 | 1 | 1 | 18µs | 18µs | _new | Class::MOP::Package::
3 | 3 | 2 | 17µs | 42µs | meta | Moose::Meta::Role::Application::ToClass::
1 | 1 | 1 | 17µs | 35µs | query_timeout | MongoDB::Connection::
3 | 3 | 2 | 17µs | 36µs | meta | Moose::Meta::Role::Application::
3 | 2 | 2 | 16µs | 21µs | DESTROY | MongoDB::Collection::
9 | 5 | 1 | 16µs | 16µs | _query | MongoDB::Cursor::
8 | 2 | 2 | 16µs | 16µs | data | MongoDB::BSON::Binary::
11 | 5 | 1 | 14µs | 14µs | type_constraints | Moose::Meta::TypeConstraint::Union::
3 | 3 | 3 | 14µs | 16µs | DESTROY | MongoDB::Database::
4 | 1 | 1 | 14µs | 16µs | DESTROY | MongoDB::OID::
2 | 2 | 1 | 14µs | 29µs | meta | Moose::Meta::TypeConstraint::Enum::
2 | 2 | 1 | 13µs | 27µs | meta | Moose::Meta::TypeConstraint::Registry::
2 | 2 | 1 | 13µs | 28µs | meta | Moose::Meta::TypeConstraint::Parameterizable::
2 | 2 | 1 | 13µs | 27µs | meta | Moose::Meta::TypeConstraint::Parameterized::
1 | 1 | 1 | 13µs | 40µs | get_database | MongoDB::Connection::
2 | 2 | 2 | 13µs | 26µs | meta | Moose::Meta::Role::Application::RoleSummation::
6 | 1 | 1 | 13µs | 13µs | subtype | MongoDB::BSON::Binary::
2 | 2 | 2 | 12µs | 25µs | meta | Moose::Meta::Role::Application::ToInstance::
6 | 2 | 1 | 12µs | 12µs | _fields | MongoDB::Cursor::
5 | 2 | 1 | 12µs | 12µs | _ns | MongoDB::Cursor::
2 | 2 | 2 | 12µs | 25µs | get_meta_instance | Class::MOP::Class::Immutable::Moose::Meta::Class::
3 | 3 | 1 | 11µs | 11µs | _grrrr | MongoDB::Cursor::
2 | 2 | 2 | 10µs | 22µs | meta | Moose::Meta::Role::
1 | 1 | 1 | 10µs | 34µs | BEGIN@14 | Class::MOP::Package::
1 | 1 | 1 | 10µs | 19µs | meta | Moose::Meta::TypeConstraint::Union::
4 | 1 | 1 | 10µs | 10µs | _tailable | MongoDB::Cursor::
3 | 1 | 1 | 10µs | 10µs | dt_type | MongoDB::MongoClient::
1 | 1 | 1 | 9µs | 17µs | meta | Moose::Meta::TypeConstraint::DuckType::
1 | 1 | 1 | 9µs | 13µs | max_bson_size | MongoDB::MongoClient::
2 | 1 | 1 | 9µs | 168µs | create | Class::MOP::Package::
4 | 1 | 1 | 9µs | 9µs | slave_okay | MongoDB::Cursor::
3 | 1 | 1 | 9µs | 9µs | inflate_dbrefs | MongoDB::MongoClient::
1 | 1 | 1 | 9µs | 17µs | meta | Moose::Meta::TypeConstraint::Class::
4 | 1 | 1 | 9µs | 9µs | sasl | MongoDB::MongoClient::
1 | 1 | 1 | 8µs | 19µs | BEGIN@95 | Class::MOP::Package::
4 | 1 | 1 | 8µs | 8µs | _skip | MongoDB::Cursor::
4 | 2 | 2 | 8µs | 8µs | coercion | Moose::Meta::TypeConstraint::
4 | 1 | 1 | 8µs | 8µs | immortal | MongoDB::Cursor::
1 | 1 | 1 | 8µs | 17µs | meta | Moose::Meta::TypeConstraint::Role::
4 | 1 | 1 | 8µs | 8µs | partial | MongoDB::Cursor::
6 | 2 | 1 | 8µs | 8µs | _database | MongoDB::Collection::
1 | 1 | 1 | 8µs | 8µs | BEGIN@3 | Class::MOP::Package::
4 | 2 | 2 | 8µs | 8µs | _compiled_type_coercion | Moose::Meta::TypeCoercion::
1 | 1 | 1 | 7µs | 20µs | BEGIN@164 | Class::MOP::Package::
1 | 1 | 1 | 7µs | 48µs | BEGIN@18 | Class::MOP::Package::
1 | 1 | 1 | 7µs | 10µs | BEGIN@10 | Class::MOP::Package::
2 | 2 | 2 | 7µs | 71µs | get_all_attributes | Class::MOP::Class::Immutable::Moose::Meta::Class::
1 | 1 | 1 | 7µs | 41µs | BEGIN@13 | Class::MOP::Package::
2 | 2 | 1 | 6µs | 39µs | linearized_isa | Class::MOP::Class::Immutable::Moose::Meta::Class::
9 | 1 | 1 | 6µs | 6µs | associated_metaclass (xsub) | Class::MOP::Instance::
1 | 1 | 1 | 6µs | 11µs | BEGIN@11 | Class::MOP::Package::
1 | 1 | 1 | 6µs | 13µs | meta | MongoDB::MongoClient::
1 | 1 | 1 | 6µs | 13µs | meta | MongoDB::Database::
1 | 1 | 1 | 6µs | 13µs | meta | MongoDB::Connection::
1 | 1 | 1 | 6µs | 12µs | meta | MongoDB::Cursor::
2 | 1 | 1 | 6µs | 6µs | type_coercion_map | Moose::Meta::TypeCoercion::
1 | 1 | 1 | 6µs | 13µs | meta | MongoDB::OID::
1 | 1 | 1 | 6µs | 11µs | meta | Moose::Meta::Role::Application::ToRole::
1 | 1 | 1 | 6µs | 13µs | meta | MongoDB::Collection::
1 | 1 | 1 | 6µs | 10µs | meta | Moose::Meta::TypeCoercion::Union::
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::
3 | 1 | 1 | 4µs | 4µs | name | MongoDB::Collection::
1 | 1 | 1 | 4µs | 3.73ms | get_all_methods | Class::MOP::Class::Immutable::Moose::Meta::Class::
1 | 1 | 1 | 4µs | 8.68ms | new | MongoDB::Connection::
2 | 1 | 1 | 4µs | 4µs | _client | MongoDB::Connection::
3 | 1 | 1 | 4µs | 4µs | _client | MongoDB::Database::
3 | 1 | 1 | 4µs | 4µs | name | MongoDB::Database::
1 | 1 | 1 | 3µs | 3µs | ssl | MongoDB::MongoClient::
1 | 1 | 1 | 3µs | 3µs | host | MongoDB::MongoClient::
1 | 1 | 1 | 3µs | 3µs | find_master | MongoDB::MongoClient::
1 | 1 | 1 | 2µs | 2µs | auto_reconnect | MongoDB::MongoClient::
1 | 1 | 1 | 2µs | 2µs | password | MongoDB::MongoClient::
1 | 1 | 1 | 2µs | 2µs | timeout | MongoDB::MongoClient::
1 | 1 | 1 | 2µs | 2µs | _set_constraint | Moose::Meta::TypeConstraint::
1 | 1 | 1 | 2µs | 2µs | username | MongoDB::MongoClient::
1 | 1 | 1 | 2µs | 2µs | auto_connect | MongoDB::MongoClient::
1 | 1 | 1 | 2µs | 2µs | handles | Moose::Meta::Mixin::AttributeCore::
2 | 1 | 1 | 1µs | 1µs | clearer (xsub) | Class::MOP::Mixin::AttributeCore::
1 | 1 | 1 | 700ns | 700ns | 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 | 5µs | $Class::MOP::Package::AUTHORITY = 'cpan:STEVAN'; | ||
5 | 1 | 30µs | 1 | 8µs | } # spent 8µs making 1 call to Class::MOP::Package::BEGIN@3 |
6 | { | ||||
7 | 2 | 900ns | $Class::MOP::Package::VERSION = '2.1005'; | ||
8 | } | ||||
9 | |||||
10 | 2 | 21µs | 2 | 13µ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 | 27µ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 | 29µs | 2 | 75µs | # spent 41µs (7+34) within Class::MOP::Package::BEGIN@13 which was called:
# once (7µs+34µs) by base::import at line 13 # spent 41µs making 1 call to Class::MOP::Package::BEGIN@13
# spent 34µs making 1 call to Exporter::import |
14 | 2 | 24µs | 2 | 57µs | # spent 34µs (10+23) within Class::MOP::Package::BEGIN@14 which was called:
# once (10µs+23µs) by base::import at line 14 # spent 34µs making 1 call to Class::MOP::Package::BEGIN@14
# spent 23µs making 1 call to Exporter::import |
15 | 2 | 93µs | 2 | 1.39ms | # spent 1.36ms (278µs+1.08) within Class::MOP::Package::BEGIN@15 which was called:
# once (278µs+1.08ms) by base::import at line 15 # spent 1.36ms 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 | 110µs | 1 | 1.01ms | # spent 1.01ms (292µs+719µs) within Class::MOP::Package::BEGIN@16 which was called:
# once (292µs+719µs) by base::import at line 16 # spent 1.01ms making 1 call to Class::MOP::Package::BEGIN@16 |
17 | |||||
18 | 2 | 265µs | 2 | 48µs | # spent 48µs (7+41) within Class::MOP::Package::BEGIN@18 which was called:
# once (7µs+41µs) by base::import at line 18 # spent 48µs making 1 call to Class::MOP::Package::BEGIN@18
# spent 41µs making 1 call to base::import, recursion: max depth 2, sum of overlapping time 41µs |
19 | |||||
20 | # creation ... | ||||
21 | |||||
22 | # spent 59µs (35+24) within Class::MOP::Package::initialize which was called 2 times, avg 30µs/call:
# 2 times (35µs+24µs) by Moose::Exporter::build_import_methods at line 87 of Moose/Exporter.pm, avg 30µs/call | ||||
23 | 18 | 28µs | my ( $class, @args ) = @_; | ||
24 | |||||
25 | unshift @args, "package" if @args % 2; | ||||
26 | |||||
27 | my %options = @args; | ||||
28 | my $package_name = delete $options{package}; | ||||
29 | |||||
30 | |||||
31 | # we hand-construct the class until we can bootstrap it | ||||
32 | 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 | 18µs | my $meta = ( ref $class || $class )->_new({ # spent 18µs making 2 calls to Class::MOP::Package::_new, avg 9µs/call | ||
36 | 'package' => $package_name, | ||||
37 | %options, | ||||
38 | }); | ||||
39 | 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 | Class::MOP::weaken_metaclass($package_name) if $options{weaken}; | ||||
42 | |||||
43 | |||||
44 | 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 168µs (9+159) within Class::MOP::Package::create which was called 2 times, avg 84µs/call:
# 2 times (9µs+159µs) by Class::MOP::Module::create at line 68 of Class/MOP/Module.pm, avg 84µs/call | ||||
69 | 6 | 9µs | my $class = shift; | ||
70 | my @args = @_; | ||||
71 | |||||
72 | 2 | 159µs | return $class->initialize(@args); # spent 159µs making 2 calls to Class::MOP::Class::initialize, avg 80µ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 | 300ns | 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 | 262µs | 2 | 30µs | # spent 19µs (8+11) within Class::MOP::Package::BEGIN@95 which was called:
# once (8µs+11µs) by base::import at line 95 # spent 19µs making 1 call to Class::MOP::Package::BEGIN@95
# spent 11µ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 | 368µs | 2 | 34µs | # spent 20µs (7+13) within Class::MOP::Package::BEGIN@164 which was called:
# once (7µs+13µs) by base::import at line 164 # spent 20µs making 1 call to Class::MOP::Package::BEGIN@164
# spent 13µ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 18µs within Class::MOP::Package::_new which was called 2 times, avg 9µs/call:
# 2 times (18µs+0s) by Class::MOP::Package::initialize at line 35, avg 9µs/call | ||||
177 | 8 | 23µs | my $class = shift; | ||
178 | |||||
179 | return Class::MOP::Class->initialize($class)->new_object(@_) | ||||
180 | if $class ne __PACKAGE__; | ||||
181 | |||||
182 | my $params = @_ == 1 ? $_[0] : {@_}; | ||||
183 | |||||
184 | 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.76ms (2.19+573µs) within Class::MOP::Package::_package_stash which was called 1692 times, avg 2µs/call:
# 816 times (802µs+0s) by Class::MOP::Package::get_package_symbol at line 238, avg 982ns/call
# 505 times (660µs+0s) by Class::MOP::Package::add_package_symbol at line 221, avg 1µs/call
# 237 times (214µs+14µs) by Class::MOP::Package::has_package_symbol at line 233, avg 964ns/call
# 128 times (504µs+559µ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.35ms | 160 | 573µs | $_[0]->{_package_stash} ||= Package::Stash->new($_[0]->name) # spent 504µs making 80 calls to Package::Stash::XS::new, avg 6µs/call
# spent 68µs making 80 calls to Class::MOP::Package::name, avg 852ns/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.68ms (2.24+6.44) within Class::MOP::Package::add_package_symbol which was called 505 times, avg 17µs/call:
# 501 times (2.22ms+6.40ms) by Class::MOP::Mixin::HasMethods::add_method at line 86 of Class/MOP/Mixin/HasMethods.pm, avg 17µs/call
# 4 times (16µs+42µs) by Moose::Exporter::build_import_methods at line 93 of Moose/Exporter.pm, avg 14µs/call | ||||
220 | 1010 | 7.76ms | my $self = shift; | ||
221 | 2020 | 7.06ms | # spent 415µs within Class::MOP::Mixin::AttributeCore::has_default which was called 417 times, avg 996ns/call:
# 326 times (315µs+0s) by Class::MOP::Class::_inline_default_value at line 667 of Class/MOP/Class.pm, avg 965ns/call
# 64 times (72µs+0s) by Moose::Meta::Attribute::_eval_environment at line 783 of Moose/Meta/Attribute.pm, avg 1µs/call
# 21 times (23µ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 (3µs+0s) by Moose::Meta::Attribute::_inline_generate_default at line 931 of Moose/Meta/Attribute.pm, avg 900ns/call
# spent 678µs (175+504) within Class::MOP::Class::Immutable::Class::MOP::Class::linearized_isa which was called 71 times, avg 10µs/call:
# 55 times (138µs+294µ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+210µs) by Class::MOP::Class::get_all_attributes at line 928 of Class/MOP/Class.pm, avg 15µs/call
# spent 215µs within Class::MOP::Mixin::AttributeCore::_set_insertion_order which was called 181 times, avg 1µs/call:
# 181 times (215µs+0s) by Class::MOP::Mixin::HasAttributes::add_attribute at line 35 of Class/MOP/Mixin/HasAttributes.pm, avg 1µs/call
# spent 2µs within MongoDB::MongoClient::password which was called:
# once (2µs+0s) by MongoDB::MongoClient::connect at line 228 of MongoDB/MongoClient.pm
# spent 71µs (7+64) within Class::MOP::Class::Immutable::Moose::Meta::Class::get_all_attributes which was called 2 times, avg 36µs/call:
# once (5µs+60µ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 198µs (144+54) within Moose::Meta::Mixin::AttributeCore::is_lazy which was called 101 times, avg 2µs/call:
# 60 times (92µs+54µs) by Moose::Meta::Attribute::_inline_check_lazy at line 889 of Moose/Meta/Attribute.pm, avg 2µs/call
# 41 times (52µ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 8µs within MongoDB::Cursor::partial which was called 4 times, avg 2µs/call:
# 4 times (8µs+0s) by MongoDB::Cursor::_do_query at line 151 of MongoDB/Cursor.pm, avg 2µs/call
# spent 50µs (24+26) within Moose::Meta::TypeCoercion::meta which was called 4 times, avg 12µs/call:
# once (11µ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 521µs within Moose::Meta::TypeConstraint::_has_inlined_type_constraint which was called 464 times, avg 1µs/call:
# 464 times (521µs+0s) by Moose::Meta::TypeConstraint::can_be_inlined at line 201 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# spent 16µs within MongoDB::BSON::Binary::data which was called 8 times, avg 2µs/call:
# 6 times (11µs+0s) by MongoDB::write_query at line 156 of MongoDB/Cursor.pm, avg 2µs/call
# 2 times (5µs+0s) by Mentat::Storage::Mongo::_unbless at line 917 of Mentat/Storage/Mongo.pm, avg 2µs/call
# spent 259µs within Class::MOP::Mixin::AttributeCore::has_clearer which was called 257 times, avg 1µs/call:
# 257 times (259µs+0s) by Class::MOP::Attribute::install_accessors at line 440 of Class/MOP/Attribute.pm, avg 1µs/call
# spent 568µs (212+356) within Class::MOP::Class::Immutable::Moose::Meta::Class::_method_map which was called 100 times, avg 6µs/call:
# 85 times (175µs+297µ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+56µ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 68µs within Moose::Meta::TypeConstraint::has_hand_optimized_type_constraint which was called 51 times, avg 1µs/call:
# 46 times (62µ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 29µs (14+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 (5µs+7µs) by Moose::Util::TypeConstraints::BEGIN@38 at line 23 of Moose/Meta/TypeConstraint/Enum.pm
# spent 19µs (10+8) within Moose::Meta::TypeConstraint::Union::meta which was called:
# once (10µs+8µs) by Moose::Util::TypeConstraints::BEGIN@33 at line 24 of Moose/Meta/TypeConstraint/Union.pm
# spent 35µs (17+17) within MongoDB::Connection::query_timeout which was called:
# once (17µs+17µs) by Mentat::Storage::Mongo::reconnect at line 580 of Mentat/Storage/Mongo.pm
# spent 26µs (13+13) within Moose::Meta::Role::Application::RoleSummation::meta which was called 2 times, avg 13µs/call:
# once (9µs+9µs) by Moose::BEGIN@38 at line 22 of Moose/Meta/Role/Application/RoleSummation.pm
# once (4µs+4µs) by MongoDB::Connection::BEGIN@24 at line 239 of Moose.pm
# spent 27µs (13+14) within Moose::Meta::TypeConstraint::Parameterized::meta which was called 2 times, avg 14µs/call:
# once (8µ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 413µs (392+21) within Moose::Meta::TypeConstraint::Class::_new which was called 11 times, avg 38µs/call:
# 11 times (392µs+21µs) by Moose::Meta::TypeConstraint::new at line 143 of Moose/Meta/TypeConstraint.pm, avg 38µs/call
# spent 12µs within MongoDB::Cursor::_ns which was called 5 times, avg 2µs/call:
# 4 times (10µ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 4µs within MongoDB::Database::name which was called 3 times, avg 1µs/call:
# 3 times (4µs+0s) by MongoDB::Collection::_build_full_name at line 54 of MongoDB/Collection.pm, avg 1µs/call
# spent 9.90ms (822µs+9.08) within Class::MOP::Class::superclasses which was called 128 times, avg 77µs/call:
# 68 times (304µs+1.76ms) by Class::MOP::Class::_check_metaclass_compatibility at line 203 of Class/MOP/Class.pm, avg 30µs/call
# 56 times (443µs+6.82ms) by Moose::Meta::Class::superclasses at line 569 of Moose/Meta/Class.pm, avg 130µs/call
# 2 times (68µs+509µs) by Class::MOP::Class::create at line 451 of Class/MOP/Class.pm, avg 289µ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 127µs (54+73) 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 118 of Moose/Meta/TypeConstraint.pm
# once (4µ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 32 of Moose/Meta/TypeConstraint.pm
# once (4µ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 102 of Moose/Meta/TypeConstraint.pm
# once (5µs+6µs) by Moose::BEGIN@28 at line 78 of Moose/Meta/TypeConstraint.pm
# once (4µs+6µs) by Moose::BEGIN@28 at line 91 of Moose/Meta/TypeConstraint.pm
# once (4µs+6µs) by Moose::BEGIN@28 at line 112 of Moose/Meta/TypeConstraint.pm
# once (4µs+6µs) by Moose::BEGIN@28 at line 52 of Moose/Meta/TypeConstraint.pm
# once (4µs+6µs) by Moose::BEGIN@28 at line 84 of Moose/Meta/TypeConstraint.pm
# spent 9.23ms (1.62+7.61) within Class::MOP::Object::meta which was called 376 times, avg 25µs/call:
# 145 times (635µs+944µs) by Moose::Meta::Class::_inline_create_error at line 850 of Moose/Meta/Class.pm, avg 11µs/call
# 59 times (257µs+382µs) by Moose::Meta::Attribute::new at line 95 of Moose/Meta/Attribute.pm, avg 11µs/call
# 59 times (230µs+356µs) by Class::MOP::Class::_immutable_metaclass at line 1330 of Class/MOP/Class.pm, avg 10µs/call
# 35 times (151µs+200µs) by Class::MOP::Method::Meta::wrap at line 60 of Class/MOP/Method/Meta.pm, avg 10µs/call
# 14 times (55µs+368µs) by Moose::Exporter::BEGIN@13 at line 687 of Class/MOP.pm, avg 30µs/call
# 12 times (56µs+67µs) by Class::MOP::Class::_construct_class_instance at line 107 of Class/MOP/Class.pm, avg 10µs/call
# 9 times (38µs+1.56ms) by MongoDB::Connection::BEGIN@24 at line 239 of Moose.pm, avg 177µs/call
# 2 times (8µs+413µs) by MongoDB::Connection::BEGIN@24 at line 275 of Moose.pm, avg 210µs/call
# once (5µs+517µs) by Moose::Exporter::BEGIN@13 at line 287 of Class/MOP.pm
# once (5µs+375µs) by Moose::Exporter::BEGIN@13 at line 460 of Class/MOP.pm
# once (7µs+310µs) by Moose::Exporter::BEGIN@13 at line 198 of Class/MOP.pm
# once (4µs+259µs) by Moose::Exporter::BEGIN@13 at line 250 of Class/MOP.pm
# once (5µs+249µs) by Moose::Exporter::BEGIN@13 at line 534 of Class/MOP.pm
# once (5µs+244µs) by Moose::Exporter::BEGIN@13 at line 562 of Class/MOP.pm
# once (5µs+241µs) by Moose::Exporter::BEGIN@13 at line 572 of Class/MOP.pm
# once (4µs+238µs) by Moose::Exporter::BEGIN@13 at line 490 of Class/MOP.pm
# once (5µs+236µs) by Moose::Exporter::BEGIN@13 at line 597 of Class/MOP.pm
# once (5µs+235µs) by Moose::Exporter::BEGIN@13 at line 618 of Class/MOP.pm
# once (5µs+233µs) by Moose::Exporter::BEGIN@13 at line 543 of Class/MOP.pm
# once (6µ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 581 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 649 of Class/MOP.pm
# once (4µs+7µs) by Moose::BEGIN@27 at line 47 of Moose/Meta/Class.pm
# once (4µs+7µs) by Moose::BEGIN@27 at line 61 of Moose/Meta/Class.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 497 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 660 of Class/MOP.pm
# once (4µs+6µ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 504 of Class/MOP.pm
# once (4µ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 486 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+6µs) by Moose::BEGIN@27 at line 67 of Moose/Meta/Class.pm
# once (4µs+6µs) by Moose::BEGIN@27 at line 55 of Moose/Meta/Class.pm
# once (4µ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 291 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 317 of Class/MOP.pm
# once (4µs+6µs) by Moose::Exporter::BEGIN@13 at line 223 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 625 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 327 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 518 of Class/MOP.pm
# once (4µs+6µs) by Moose::BEGIN@27 at line 38 of Moose/Meta/Class.pm
# once (4µs+6µs) by Moose::Exporter::BEGIN@13 at line 642 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 307 of Class/MOP.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 39µs (6+32) within Class::MOP::Class::Immutable::Moose::Meta::Class::linearized_isa which was called 2 times, avg 19µs/call:
# once (3µs+18µs) by Class::MOP::Class::_method_lookup_order at line 1037 of Class/MOP/Class.pm
# once (3µs+14µs) by Class::MOP::Class::get_all_attributes at line 928 of Class/MOP/Class.pm
# spent 45µs within Class::MOP::Method::Constructor::options which was called 35 times, avg 1µs/call:
# 35 times (45µ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 (14+2) within MongoDB::OID::DESTROY which was called 4 times, avg 4µs/call:
# 4 times (14µs+2µs) by main::NULL at line 0 of mentat.storage.mongo.pl, avg 4µs/call
# spent 21µs (18+3) within MongoDB::MongoClient::query_timeout which was called 5 times, avg 4µs/call:
# 4 times (9µs+0s) by MongoDB::MongoClient::recv at line 160 of MongoDB/Cursor.pm, avg 2µs/call
# once (9µs+3µs) by MongoDB::Connection::query_timeout at line 110 of Moose/Meta/Method/Delegation.pm
# spent 1.22ms (1.12+106µs) within Moose::Meta::Attribute::_new which was called 58 times, avg 21µs/call:
# 58 times (1.12ms+106µs) by Class::MOP::Attribute::new at line 58 of Class/MOP/Attribute.pm, avg 21µs/call
# spent 3µs within MongoDB::MongoClient::ssl which was called:
# once (3µs+0s) by MongoDB::MongoClient::BUILD at line 226 of MongoDB/MongoClient.pm
# spent 17µ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 6µs within Moose::Meta::TypeCoercion::type_coercion_map which was called 2 times, avg 3µs/call:
# 2 times (6µs+0s) by Moose::Meta::TypeCoercion::compile_type_coercion at line 46 of Moose/Meta/TypeCoercion.pm, avg 3µs/call
# spent 2µs within MongoDB::MongoClient::timeout which was called:
# once (2µs+0s) by MongoDB::MongoClient::_init_conn at line 226 of MongoDB/MongoClient.pm
# spent 97µ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 986ns/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 (15µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 352 of Class/MOP/Class.pm, avg 1µs/call
# 11 times (13µ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 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
# 6 times (8µs+0s) by Class::MOP::Class::_immutable_options at line 1268 of Class/MOP/Class.pm, avg 1µs/call
# spent 210µs within Class::MOP::Mixin::AttributeCore::has_builder which was called 216 times, avg 974ns/call:
# 202 times (196µs+0s) by Class::MOP::Class::_inline_default_value at line 667 of Class/MOP/Class.pm, avg 968ns/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 (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 (3µs+0s) by Moose::Meta::Attribute::_inline_generate_default at line 931 of Moose/Meta/Attribute.pm, avg 1µs/call
# spent 8µs within Moose::Meta::TypeConstraint::coercion which was called 4 times, avg 2µs/call:
# 2 times (6µs+0s) by Moose::Util::TypeConstraints::_install_type_coercions at line 598 of Moose/Util/TypeConstraints.pm, avg 3µ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 996ns/call:
# 30 times (31µs+0s) by Class::MOP::Method::Constructor::_eval_environment at line 89 of Class/MOP/Method/Constructor.pm, avg 1µs/call
# 30 times (30µ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 930ns/call
# spent 475µs (431+44) within Moose::Meta::TypeConstraint::_new which was called 20 times, avg 24µs/call:
# 20 times (431µs+44µs) by Moose::Meta::TypeConstraint::new at line 143 of Moose/Meta/TypeConstraint.pm, avg 24µs/call
# spent 12µs within MongoDB::Cursor::_fields which was called 6 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 (6µ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 365µs within Class::MOP::Mixin::AttributeCore::has_accessor which was called 257 times, avg 1µs/call:
# 257 times (365µ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 13µs (6+7) within MongoDB::MongoClient::meta which was called:
# once (6µs+7µs) by MongoDB::Connection::BEGIN@28 at line 521 of MongoDB/MongoClient.pm
# spent 391µs (260+131) within Moose::Meta::Mixin::AttributeCore::has_trigger which was called 215 times, avg 2µs/call:
# 64 times (92µs+51µs) by Moose::Meta::Attribute::_eval_environment at line 781 of Moose/Meta/Attribute.pm, avg 2µs/call
# 41 times (40µs+0s) by Moose::Meta::Class::_eval_environment at line 507 of Moose/Meta/Class.pm, avg 968ns/call
# 41 times (39µs+0s) by Moose::Meta::Class::_inline_triggers at line 471 of Moose/Meta/Class.pm, avg 941ns/call
# 32 times (46µ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 (37µs+41µs) by Moose::Meta::Attribute::_inline_trigger at line 771 of Moose/Meta/Attribute.pm, avg 2µs/call
# 5 times (6µs+0s) by Moose::Meta::Class::_call_all_triggers at line 298 of Moose/Meta/Class.pm, avg 1µs/call
# spent 56µs within MongoDB::Cursor::started_iterating which was called 16 times, avg 3µs/call:
# 4 times (35µs+0s) by MongoDB::Cursor::_do_query at line 162 of MongoDB/Cursor.pm, avg 9µs/call
# 4 times (7µs+0s) by MongoDB::Cursor::limit at line 194 of MongoDB/Cursor.pm, avg 2µs/call
# 4 times (6µs+0s) by MongoDB::Cursor::_do_query at line 147 of MongoDB/Cursor.pm, avg 1µs/call
# 2 times (2µs+0s) by MongoDB::Cursor::fields at line 168 of MongoDB/Cursor.pm, avg 1µs/call
# once (4µs+0s) by MongoDB::Cursor::reset at line 260 of MongoDB/Cursor.pm
# once (2µs+0s) by MongoDB::Cursor::reset at line 259 of MongoDB/Cursor.pm
# spent 45µs within MongoDB::Cursor::_client which was called 28 times, avg 2µs/call:
# 8 times (13µs+0s) by MongoDB::Cursor::_do_query or MongoDB::MongoClient::recv at line 160 of MongoDB/Cursor.pm, avg 2µs/call
# 4 times (7µ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 (6µs+0s) by MongoDB::Cursor::DESTROY at line 33 of mentat.storage.mongo.pl, avg 3µ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 4µs within MongoDB::Collection::name which was called 3 times, avg 1µs/call:
# 3 times (4µs+0s) by MongoDB::Collection::_build_full_name at line 53 of MongoDB/Collection.pm, avg 1µs/call
# spent 67µs (29+38) within MongoDB::Collection::full_name which was called 3 times, avg 22µs/call:
# 3 times (29µs+38µs) by MongoDB::Collection::find at line 116 of MongoDB/Collection.pm, avg 22µs/call
# spent 197µs (186+11) within Class::MOP::Instance::_class_name which was called 118 times, avg 2µs/call:
# 118 times (186µs+11µs) by Class::MOP::Instance::create_instance at line 80 of Class/MOP/Instance.pm, avg 2µs/call
# spent 25µs (12+14) within Class::MOP::Class::Immutable::Moose::Meta::Class::get_meta_instance which was called 2 times, avg 13µs/call:
# once (9µs+9µ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 610µs (584+26) within Moose::Meta::Instance::_new which was called 58 times, avg 11µs/call:
# 58 times (584µs+26µs) by Class::MOP::Instance::new at line 44 of Class/MOP/Instance.pm, avg 11µs/call
# spent 145µs (101+44) within Moose::Meta::Mixin::AttributeCore::is_required which was called 73 times, avg 2µs/call:
# 41 times (58µs+0s) by Moose::Meta::Class::_inline_check_required_attr at line 387 of Moose/Meta/Class.pm, avg 1µ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 431µs within Class::MOP::Method::Accessor::associated_attribute which was called 440 times, avg 978ns/call:
# 83 times (70µs+0s) by Class::MOP::Method::Accessor::_generate_reader_method_inline at line 139 of Class/MOP/Method/Accessor.pm, avg 840ns/call
# 64 times (82µs+0s) by Moose::Meta::Method::Accessor::_eval_environment at line 52 of Moose/Meta/Method/Accessor.pm, avg 1µs/call
# 63 times (59µs+0s) by Moose::Meta::Method::Accessor::_instance_is_inlinable at line 57 of Moose/Meta/Method/Accessor.pm, avg 943ns/call
# 60 times (64µs+0s) by Moose::Meta::Method::Accessor::_error_thrower at line 29 of Moose/Meta/Method/Accessor.pm, avg 1µs/call
# 53 times (48µs+0s) by Class::MOP::Method::Accessor::_generate_reader_method at line 128 of Class/MOP/Method/Accessor.pm, avg 908ns/call
# 52 times (45µs+0s) by Class::MOP::Method::Accessor::_generate_accessor_method_inline at line 109 of Class/MOP/Method/Accessor.pm, avg 873ns/call
# 22 times (22µ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 (17µs+0s) by Class::MOP::Method::Accessor::_generate_predicate_method_inline at line 201 of Class/MOP/Method/Accessor.pm, avg 928ns/call
# 16 times (14µs+0s) by Class::MOP::Method::Accessor::_generate_predicate_method at line 192 of Class/MOP/Method/Accessor.pm, avg 906ns/call
# 3 times (3µs+0s) by Class::MOP::Method::Accessor::_generate_writer_method at line 167 of Class/MOP/Method/Accessor.pm, avg 900ns/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 867ns/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 900ns/call
# once (1µ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+500ns) by Mentat::Storage::Mongo::disconnect at line 551 of Mentat/Storage/Mongo.pm
# once (5µs+500ns) by MongoDB::Cursor::count at line 289 of MongoDB/Cursor.pm
# once (4µs+600ns) by MongoDB::MongoClient::_get_max_bson_size at line 286 of MongoDB/MongoClient.pm
# spent 8.68ms (4µs+8.68) within MongoDB::Connection::new which was called:
# once (4µs+8.68ms) by Mentat::Storage::Mongo::reconnect at line 579 of Mentat/Storage/Mongo.pm
# spent 4µs within MongoDB::Database::_client which was called 3 times, avg 1µs/call:
# 3 times (4µs+0s) by MongoDB::Collection::find at line 115 of MongoDB/Collection.pm, avg 1µ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 13µs (6+7) within MongoDB::Connection::meta which was called:
# once (6µs+7µs) by MongoDB::BEGIN@28 at line 67 of MongoDB/Connection.pm
# spent 258µs within Moose::Meta::TypeConstraint::_compiled_type_constraint which was called 93 times, avg 3µs/call:
# 47 times (207µs+0s) by Moose::Meta::TypeConstraint::compile_type_constraint at line 300 of Moose/Meta/TypeConstraint.pm, avg 4µs/call
# 37 times (38µs+0s) by Moose::Meta::Class::_eval_environment at line 525 of Moose/Meta/Class.pm, avg 1µs/call
# 5 times (7µs+0s) by Moose::Meta::TypeConstraint::check at line 180 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# 2 times (3µs+0s) by Moose::Meta::TypeCoercion::compile_type_coercion at line 57 of Moose/Meta/TypeCoercion.pm, avg 1µs/call
# once (1µs+0s) by Moose::Meta::Attribute::_eval_environment at line 789 of Moose/Meta/Attribute.pm
# once (1µs+0s) by Moose::Meta::TypeConstraint::Union::new at line 38 of Moose/Meta/TypeConstraint/Union.pm
# spent 77µs (67+10) within MongoDB::Cursor::_request_id which was called 11 times, avg 7µs/call:
# 4 times (38µs+0s) by MongoDB::MongoClient::recv at line 160 of MongoDB/Cursor.pm, avg 9µs/call
# 4 times (26µs+10µs) by MongoDB::Cursor::_do_query at line 157 of MongoDB/Cursor.pm, avg 9µ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 33 of mentat.storage.mongo.pl
# spent 3µs within MongoDB::MongoClient::find_master which was called:
# once (3µs+0s) by MongoDB::MongoClient::BUILD at line 223 of MongoDB/MongoClient.pm
# spent 123µs (82+41) within Moose::Meta::Mixin::AttributeCore::has_handles which was called 60 times, avg 2µs/call:
# 60 times (82µs+41µs) by Moose::Meta::Attribute::install_accessors at line 1018 of Moose/Meta/Attribute.pm, avg 2µs/call
# spent 1.56ms (549µs+1.01) within Class::MOP::Class::Immutable::Class::MOP::Class::_method_map which was called 241 times, avg 6µs/call:
# 228 times (516µs+960µs) by Class::MOP::Mixin::HasMethods::_get_maybe_raw_method at line 134 of Class/MOP/Mixin/HasMethods.pm, avg 6µs/call
# 13 times (33µs+53µs) by Class::MOP::Mixin::HasMethods::get_method at line 124 of Class/MOP/Mixin/HasMethods.pm, avg 7µs/call
# spent 25µs (12+13) within Moose::Meta::Role::Application::ToInstance::meta which was called 2 times, avg 13µs/call:
# once (9µ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 68µs (60+7) within MongoDB::Database::new which was called 3 times, avg 22µs/call:
# 3 times (60µs+7µs) by MongoDB::MongoClient::get_database at line 307 of MongoDB/MongoClient.pm, avg 22µs/call
# spent 337µs within Moose::Meta::TypeConstraint::Registry::type_constraints which was called 266 times, avg 1µs/call:
# 126 times (128µ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 (156µ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 (52µs+0s) by Moose::Meta::TypeConstraint::Registry::add_type_constraint at line 56 of Moose/Meta/TypeConstraint/Registry.pm, avg 1µs/call
# once (900ns+0s) by Moose::Util::TypeConstraints::list_all_type_constraints at line 64 of Moose/Util/TypeConstraints.pm
# spent 20µs within Moose::Meta::Class::immutable_trait which was called 12 times, avg 2µs/call:
# 6 times (10µs+0s) by Class::MOP::Class::_immutable_options at line 1268 of Class/MOP/Class.pm, avg 2µs/call
# 6 times (9µs+0s) by Class::MOP::Class::_immutable_metaclass at line 1327 of Class/MOP/Class.pm, avg 2µs/call
# spent 8µs within MongoDB::Cursor::immortal which was called 4 times, avg 2µs/call:
# 4 times (8µs+0s) by MongoDB::Cursor::_do_query at line 151 of MongoDB/Cursor.pm, avg 2µs/call
# spent 8µs within MongoDB::Cursor::_skip which was called 4 times, avg 2µs/call:
# 4 times (8µs+0s) by MongoDB::Cursor::_do_query at line 156 of MongoDB/Cursor.pm, avg 2µs/call
# spent 74µs within Class::MOP::Method::associated_metaclass which was called 54 times, avg 1µs/call:
# 30 times (35µs+0s) by Moose::Meta::Method::_inline_throw_error at line 42 of Moose/Meta/Method.pm, avg 1µs/call
# 8 times (18µs+0s) by Class::MOP::Method::Inlined::can_be_inlined at line 34 of Class/MOP/Method/Inlined.pm, avg 2µs/call
# 5 times (9µ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 (4µ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 833ns/call
# spent 11µ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 (3µ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 298µs (222+76) within Moose::Meta::Mixin::AttributeCore::has_type_constraint which was called 184 times, avg 2µs/call:
# 105 times (125µs+41µs) by Moose::Meta::Attribute::_inline_check_constraint at line 707 of Moose/Meta/Attribute.pm, avg 2µs/call
# 64 times (78µs+35µs) by Moose::Meta::Attribute::_eval_environment at line 786 of Moose/Meta/Attribute.pm, avg 2µs/call
# 7 times (10µs+0s) by Moose::Meta::Attribute::_coerce_and_verify at line 1261 of Moose/Meta/Attribute.pm, avg 1µs/call
# 5 times (5µs+0s) by Moose::Meta::Attribute::verify_against_type_constraint at line 1275 of Moose/Meta/Attribute.pm, avg 920ns/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 169µs within Moose::Meta::TypeConstraint::_inline_environment which was called 141 times, avg 1µs/call:
# 141 times (169µs+0s) by Moose::Meta::TypeConstraint::inline_environment at line 226 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# spent 283µs within Class::MOP::Mixin::AttributeCore::has_predicate which was called 257 times, avg 1µs/call:
# 257 times (283µs+0s) by Class::MOP::Attribute::install_accessors at line 436 of Class/MOP/Attribute.pm, avg 1µs/call
# spent 113µs within Moose::Meta::TypeConstraint::name which was called 74 times, avg 2µs/call:
# 36 times (50µs+0s) by Moose::Meta::TypeConstraint::new at line 146 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# 35 times (58µs+0s) by Moose::Meta::TypeConstraint::Registry::add_type_constraint at line 56 of Moose/Meta/TypeConstraint/Registry.pm, avg 2µ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 (2µs+0s) by Moose::Meta::TypeConstraint::_compile_subtype at line 391 of Moose/Meta/TypeConstraint.pm
# spent 288µs within Moose::Meta::TypeConstraint::inlined which was called 255 times, avg 1µs/call:
# 255 times (288µs+0s) by Moose::Meta::TypeConstraint::_inline_check at line 216 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# spent 14µ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 (2µ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 (13+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+6µs) by Moose::Meta::TypeConstraint::Parameterized::BEGIN@15 at line 25 of Moose/Meta/TypeConstraint/Parameterizable.pm
# spent 312µs (22+290) 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 (6µs+272µ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 64µs (49+16) within MongoDB::Cursor::_limit which was called 16 times, avg 4µs/call:
# 4 times (27µs+14µs) by MongoDB::Cursor::limit at line 197 of MongoDB/Cursor.pm, avg 10µs/call
# 4 times (4µs+0s) by MongoDB::Cursor::_do_query at line 156 of MongoDB/Cursor.pm, avg 1µs/call
# 2 times (5µs+2µs) by MongoDB::Cursor::explain at line 253 of MongoDB/Cursor.pm, avg 3µs/call
# 2 times (4µs+0s) by MongoDB::Cursor::next at line 144 of MongoDB/Collection.pm, avg 2µs/call
# once (3µs+0s) by MongoDB::Cursor::next at line 458 of Mentat/Storage/Mongo.pm
# once (3µs+0s) by MongoDB::Cursor::next at line 259 of MongoDB/Cursor.pm
# once (1µ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 9µs within MongoDB::MongoClient::sasl which was called 4 times, avg 2µs/call:
# 4 times (9µs+0s) by MongoDB::MongoClient::connect at line 228 of MongoDB/MongoClient.pm, avg 2µs/call
# spent 2.44ms (336µs+2.11) within Moose::Meta::Method::_new which was called 34 times, avg 72µs/call:
# 34 times (336µs+2.11ms) by Class::MOP::Method::wrap at line 46 of Class/MOP/Method.pm, avg 72µs/call
# spent 2µs within Moose::Meta::TypeConstraint::_set_constraint which was called:
# once (2µs+0s) by Moose::Meta::TypeConstraint::Union::new at line 38 of Moose/Meta/TypeConstraint/Union.pm
# spent 149µs within Moose::Meta::TypeConstraint::has_message which was called 130 times, avg 1µs/call:
# 57 times (62µs+0s) by Moose::Meta::Attribute::_eval_environment at line 796 of Moose/Meta/Attribute.pm, avg 1µs/call
# 37 times (36µs+0s) by Moose::Meta::Class::_eval_environment at line 535 of Moose/Meta/Class.pm, avg 984ns/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 13µs (9+4) within MongoDB::MongoClient::max_bson_size which was called:
# once (9µs+4µs) by MongoDB::MongoClient::BUILD at line 229 of MongoDB/MongoClient.pm
# spent 17µs (8+8) within Moose::Meta::TypeConstraint::Role::meta which was called:
# once (8µs+8µs) by Moose::Util::TypeConstraints::BEGIN@37 at line 19 of Moose/Meta/TypeConstraint/Role.pm
# spent 13µs within MongoDB::BSON::Binary::subtype which was called 6 times, avg 2µs/call:
# 6 times (13µs+0s) by MongoDB::write_query at line 156 of MongoDB/Cursor.pm, avg 2µs/call
# spent 197µs within Moose::Meta::TypeConstraint::_default_message which was called 130 times, avg 2µs/call:
# 57 times (69µs+0s) by Moose::Meta::Attribute::_eval_environment at line 796 of Moose/Meta/Attribute.pm, avg 1µs/call
# 37 times (36µs+0s) by Moose::Meta::Class::_eval_environment at line 535 of Moose/Meta/Class.pm, avg 970ns/call
# 36 times (93µs+0s) by Moose::Meta::TypeConstraint::new at line 146 of Moose/Meta/TypeConstraint.pm, avg 3µ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 4µs within MongoDB::Connection::_client which was called 2 times, avg 2µs/call:
# 2 times (4µs+0s) by MongoDB::Connection::get_database or MongoDB::Connection::query_timeout at line 92 of Moose/Meta/Method/Delegation.pm, avg 2µs/call
# spent 332µs within Moose::Meta::Mixin::AttributeCore::type_constraint which was called 293 times, avg 1µs/call:
# 93 times (111µs+0s) by Moose::Meta::Attribute::_inline_check_constraint at line 711 of Moose/Meta/Attribute.pm, avg 1µs/call
# 91 times (96µs+0s) by Moose::Meta::Attribute::_inline_check_constraint at line 713 of Moose/Meta/Attribute.pm, avg 1µs/call
# 57 times (71µs+0s) by Moose::Meta::Attribute::_eval_environment at line 787 of Moose/Meta/Attribute.pm, avg 1µs/call
# 41 times (40µs+0s) by Moose::Meta::Class::_eval_environment at line 521 of Moose/Meta/Class.pm, avg 973ns/call
# 5 times (6µs+0s) by Moose::Meta::Attribute::verify_against_type_constraint at line 1277 of Moose/Meta/Attribute.pm, avg 1µs/call
# 2 times (2µ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 39µs within Moose::Meta::TypeConstraint::Class::class which was called 28 times, avg 1µs/call:
# 28 times (39µ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 2µs within Moose::Meta::Mixin::AttributeCore::handles which was called:
# once (2µs+0s) by Moose::Meta::Attribute::_canonicalize_handles at line 1146 of Moose/Meta/Attribute.pm
# spent 36µs (17+19) within Moose::Meta::Role::Application::meta which was called 3 times, avg 12µs/call:
# once (8µ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 8.37ms (98µs+8.27) within MongoDB::MongoClient::new which was called:
# once (98µs+8.27ms) by Class::MOP::Class:::around at line 48 of MongoDB/Connection.pm
# spent 270µs within Class::MOP::Method::Accessor::accessor_type which was called 252 times, avg 1µs/call:
# 252 times (270µs+0s) by Class::MOP::Method::Accessor::_initialize_body at line 83 of Class/MOP/Method/Accessor.pm, avg 1µs/call
# spent 2.24ms (433µs+1.81) within Class::MOP::Class::Immutable::Class::MOP::Class::get_all_attributes which was called 164 times, avg 14µs/call:
# 95 times (243µs+722µs) by Class::MOP::Class::_construct_instance at line 524 of Class/MOP/Class.pm, avg 10µs/call
# 58 times (165µs+437µs) by Moose::Meta::Attribute::new at line 95 of Moose/Meta/Attribute.pm, avg 10µs/call
# 11 times (25µs+652µs) by Class::MOP::Class::_create_meta_instance at line 726 of Class/MOP/Class.pm, avg 62µs/call
# spent 10µs within MongoDB::MongoClient::dt_type which was called 3 times, avg 3µs/call:
# 3 times (10µs+0s) by MongoDB::Cursor::_dt_type at line 297 of MongoDB/Cursor.pm, avg 3µs/call
# spent 2µs within MongoDB::MongoClient::username which was called:
# once (2µs+0s) by MongoDB::MongoClient::connect at line 228 of MongoDB/MongoClient.pm
# spent 12µ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 162µs (67+95) within Class::MOP::Class::Immutable::Class::MOP::Class::is_immutable which was called 26 times, avg 6µs/call:
# 26 times (67µs+95µs) by Class::MOP::Class::_real_ref_name at line 128 of Class/MOP/Class.pm, avg 6µs/call
# spent 347µs within Moose::Meta::Class::error_class which was called 220 times, avg 2µs/call:
# 143 times (248µ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 (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 (18µs+0s) by Class::MOP::Class::_check_metaclass_compatibility at line 224 of Class/MOP/Class.pm, avg 2µ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 (13µ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
# spent 3.73ms (4µs+3.72) within Class::MOP::Class::Immutable::Moose::Meta::Class::get_all_methods which was called:
# once (4µs+3.72ms) by MongoDB::BEGIN@28 at line 41 of MongoDB/Connection.pm
# spent 16µs within MongoDB::Cursor::_query which was called 9 times, avg 2µs/call:
# 4 times (5µs+0s) by MongoDB::Cursor::_do_query at line 156 of MongoDB/Cursor.pm, avg 1µ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 2µs within MongoDB::MongoClient::auto_reconnect which was called:
# once (2µs+0s) by MongoDB::MongoClient::_init_conn at line 226 of MongoDB/MongoClient.pm
# spent 306µs within Class::MOP::Mixin::AttributeCore::has_writer which was called 257 times, avg 1µs/call:
# 257 times (306µs+0s) by Class::MOP::Attribute::install_accessors at line 432 of Class/MOP/Attribute.pm, avg 1µs/call
# spent 10µ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 96µs (93+4) within Moose::Meta::TypeConstraint::Union::_new which was called:
# once (93µs+4µs) by Moose::Meta::TypeConstraint::new at line 143 of Moose/Meta/TypeConstraint.pm
# spent 42µs (17+24) 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+8µs) by MongoDB::Connection::BEGIN@24 at line 239 of Moose.pm
# once (4µs+7µs) by Moose::BEGIN@39 at line 24 of Moose/Meta/Role/Application/ToClass.pm
# spent 2.16ms (201µs+1.96) within Class::MOP::Mixin::meta which was called 42 times, avg 52µ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 (7µs+524µs) by Moose::Exporter::BEGIN@13 at line 133 of Class/MOP.pm
# once (7µs+417µs) by Moose::Meta::Role::BEGIN@19 at line 18 of Moose/Meta/Role/Attribute.pm
# once (7µs+277µs) by base::import at line 14 of Moose/Meta/Mixin/AttributeCore.pm
# once (5µs+263µ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+18µs) by Moose::Exporter::BEGIN@13 at line 409 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 Moose::Meta::Role::BEGIN@19 at line 25 of Moose/Meta/Role/Attribute.pm
# once (5µs+7µs) by base::import at line 21 of Moose/Meta/Mixin/AttributeCore.pm
# once (5µs+6µs) by Moose::Meta::Role::BEGIN@19 at line 39 of Moose/Meta/Role/Attribute.pm
# once (5µs+6µs) by Moose::Meta::Role::BEGIN@19 at line 32 of Moose/Meta/Role/Attribute.pm
# once (5µs+7µ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 666 of Class/MOP.pm
# once (5µs+7µs) by base::import at line 92 of Moose/Meta/Mixin/AttributeCore.pm
# once (5µs+6µs) by base::import at line 76 of Moose/Meta/Mixin/AttributeCore.pm
# once (5µs+6µs) by base::import at line 35 of Moose/Meta/Mixin/AttributeCore.pm
# once (4µs+7µs) by base::import at line 28 of Moose/Meta/Mixin/AttributeCore.pm
# once (4µs+7µs) by base::import at line 55 of Moose/Meta/Mixin/AttributeCore.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 370 of Class/MOP.pm
# once (4µs+6µs) by base::import at line 84 of Moose/Meta/Mixin/AttributeCore.pm
# once (4µs+6µ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 48 of Moose/Meta/Mixin/AttributeCore.pm
# once (4µs+6µs) by base::import at line 42 of Moose/Meta/Mixin/AttributeCore.pm
# once (4µs+6µs) by base::import at line 62 of Moose/Meta/Mixin/AttributeCore.pm
# once (4µs+6µs) by base::import at line 69 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 394 of Class/MOP.pm
# once (4µs+6µs) by Moose::Exporter::BEGIN@13 at line 150 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 417 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 449 of Class/MOP.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 433 of Class/MOP.pm
# once (4µs+6µs) by MongoDB::Connection::BEGIN@24 at line 275 of Moose.pm
# once (5µs+6µs) by Moose::Exporter::BEGIN@13 at line 386 of Class/MOP.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 (4µs+6µs) by Moose::Exporter::BEGIN@13 at line 425 of Class/MOP.pm
# once (4µs+6µs) by Moose::Exporter::BEGIN@13 at line 401 of Class/MOP.pm
# once (4µs+4µs) by MongoDB::Connection::BEGIN@24 at line 239 of Moose.pm
# spent 1.50ms within Class::MOP::Mixin::AttributeCore::has_initializer which was called 1369 times, avg 1µs/call:
# 820 times (838µs+0s) by Class::MOP::Attribute::_set_initial_slot_value at line 150 of Class/MOP/Attribute.pm, avg 1µs/call
# 275 times (334µ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 (112µ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 (83µs+0s) by Moose::Meta::Attribute::_eval_environment at line 804 of Moose/Meta/Attribute.pm, avg 1µs/call
# 41 times (55µs+0s) by Moose::Meta::Class::_inline_init_attr_from_constructor at line 415 of Moose/Meta/Class.pm, avg 1µs/call
# 41 times (37µs+0s) by List::MoreUtils::any at line 543 of Moose/Meta/Class.pm, avg 895ns/call
# 29 times (38µ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 351µs within Class::MOP::Mixin::AttributeCore::has_reader which was called 293 times, avg 1µs/call:
# 257 times (308µs+0s) by Class::MOP::Attribute::install_accessors at line 428 of Class/MOP/Attribute.pm, avg 1µs/call
# 36 times (43µ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.94ms (889µs+3.05) within Class::MOP::Class::Immutable::Class::MOP::Class::get_meta_instance which was called 371 times, avg 11µs/call:
# 252 times (584µs+2.50ms) by Class::MOP::Attribute::_inline_instance_set at line 287 of Class/MOP/Attribute.pm, avg 12µs/call
# 95 times (247µs+453µs) by Class::MOP::Class::_construct_instance at line 504 of Class/MOP/Class.pm, avg 7µ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 6µs/call
# 2 times (5µs+8µs) by Class::MOP::Attribute::set_initial_value at line 261 of Class/MOP/Attribute.pm, avg 6µs/call
# once (2µs+4µs) by Moose::Meta::Attribute::_inline_weaken_value at line 760 of Moose/Meta/Attribute.pm
# spent 121µs within Moose::Meta::TypeConstraint::has_coercion which was called 100 times, avg 1µs/call:
# 56 times (73µs+0s) by Moose::Meta::Attribute::_eval_environment at line 793 of Moose/Meta/Attribute.pm, avg 1µs/call
# 36 times (36µs+0s) by Moose::Meta::Class::_eval_environment at line 529 of Moose/Meta/Class.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 2µs/call
# 2 times (3µs+0s) by Moose::Meta::Attribute::_inline_check_coercion at line 685 of Moose/Meta/Attribute.pm, avg 2µs/call
# 2 times (3µs+0s) by Moose::Meta::Attribute::_process_coerce_option at line 416 of Moose/Meta/Attribute.pm, avg 2µ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 21µs (16+5) within MongoDB::Collection::DESTROY which was called 3 times, avg 7µs/call:
# 2 times (10µs+4µs) by MongoDB::Database::run_command at line 110 of MongoDB/Database.pm, avg 7µs/call
# once (6µs+900ns) 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 977ns/call
# 26 times (26µ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 (19µ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 (6µ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 960ns/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 10µs within MongoDB::Cursor::_tailable 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 931µs within Moose::Meta::TypeConstraint::constraint which was called 885 times, avg 1µs/call:
# 475 times (520µs+0s) by Moose::Meta::TypeConstraint::can_be_inlined at line 197 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# 260 times (251µs+0s) by Moose::Meta::TypeConstraint::_inline_check at line 212 of Moose/Meta/TypeConstraint.pm, avg 966ns/call
# 144 times (154µs+0s) by Moose::Meta::TypeConstraint::inline_environment at line 222 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# 5 times (5µ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 98µ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 (15µs+0s) by Class::MOP::Class::_check_metaclass_compatibility at line 224 of Class/MOP/Class.pm, avg 1µs/call
# 11 times (15µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 352 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 (8µs+0s) by Class::MOP::Class::_immutable_options at line 1268 of Class/MOP/Class.pm, avg 1µs/call
# spent 174µs (154+20) within MongoDB::Cursor::new which was called 3 times, avg 58µs/call:
# 3 times (154µs+20µs) by MongoDB::Collection::find at line 117 of MongoDB/Collection.pm, avg 58µs/call
# spent 347µs (254+93) within Moose::Meta::Mixin::AttributeCore::should_coerce which was called 212 times, avg 2µs/call:
# 105 times (105µs+43µs) by Moose::Meta::Attribute::_inline_check_coercion at line 685 of Moose/Meta/Attribute.pm, avg 1µs/call
# 102 times (142µs+50µs) by Moose::Meta::Attribute::_writer_value_needs_copy at line 642 of Moose/Meta/Attribute.pm, avg 2µs/call
# 5 times (6µs+0s) by Moose::Meta::Attribute::_coerce_and_verify at line 1263 of Moose/Meta/Attribute.pm, avg 1µs/call
# spent 54µs (48+6) within MongoDB::Collection::new which was called 3 times, avg 18µs/call:
# 3 times (48µs+6µs) by MongoDB::Database::get_collection at line 68 of MongoDB/Database.pm, avg 18µs/call
# spent 49µs (23+26) within Moose::Meta::Role::Composite::meta which was called 4 times, avg 12µs/call:
# once (11µs+9µs) by Moose::BEGIN@36 at line 24 of Moose/Meta/Role/Composite.pm
# once (5µs+7µs) by Moose::BEGIN@36 at line 40 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+4µs) by MongoDB::Connection::BEGIN@24 at line 239 of Moose.pm
# spent 3µs within MongoDB::MongoClient::host which was called:
# once (3µs+0s) by MongoDB::MongoClient::BUILD at line 196 of MongoDB/MongoClient.pm
# spent 2µs within MongoDB::MongoClient::auto_connect which was called:
# once (2µs+0s) by MongoDB::MongoClient::BUILD at line 227 of MongoDB/MongoClient.pm
# spent 928µs within Moose::Meta::TypeConstraint::has_parent which was called 889 times, avg 1µs/call:
# 480 times (517µs+0s) by Moose::Meta::TypeConstraint::can_be_inlined at line 197 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# 262 times (263µs+0s) by Moose::Meta::TypeConstraint::_inline_check at line 212 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# 146 times (147µs+0s) by Moose::Meta::TypeConstraint::inline_environment at line 222 of Moose/Meta/TypeConstraint.pm, avg 1µs/call
# once (900ns+0s) by Moose::Meta::TypeConstraint::_actually_compile_type_constraint at line 326 of Moose/Meta/TypeConstraint.pm
# spent 33µs within Class::MOP::Method::_set_original_method which was called 28 times, avg 1µs/call:
# 28 times (33µs+0s) by Class::MOP::Method::clone at line 138 of Class/MOP/Method.pm, avg 1µs/call
# spent 214µs (167+47) within Moose::Meta::Mixin::AttributeCore::is_weak_ref which was called 108 times, avg 2µs/call:
# 105 times (162µs+47µs) by Moose::Meta::Attribute::_inline_weaken_value at line 758 of Moose/Meta/Attribute.pm, avg 2µs/call
# 3 times (5µs+0s) by Moose::Meta::Attribute::initialize_instance_slot at line 540 of Moose/Meta/Attribute.pm, avg 2µs/call
# spent 40µs (13+27) within MongoDB::Connection::get_database which was called:
# once (13µs+27µs) by Mentat::Storage::Mongo::reconnect at line 583 of Mentat/Storage/Mongo.pm
# spent 27µs (13+14) 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 (4µs+6µs) by Moose::Util::TypeConstraints::BEGIN@42 at line 28 of Moose/Meta/TypeConstraint/Registry.pm
# spent 110µs (71+40) within Moose::Meta::Mixin::AttributeCore::should_auto_deref which was called 60 times, avg 2µs/call:
# 60 times (71µs+40µs) by Moose::Meta::Attribute::_auto_deref at line 986 of Moose/Meta/Attribute.pm, avg 2µs/call
# spent 8µs within Moose::Meta::TypeCoercion::_compiled_type_coercion which was called 4 times, avg 2µs/call:
# 2 times (5µs+0s) by Moose::Meta::TypeCoercion::compile_type_coercion at line 72 of Moose/Meta/TypeCoercion.pm, avg 3µ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 9µs within MongoDB::Cursor::slave_okay which was called 4 times, avg 2µs/call:
# 4 times (9µs+0s) by MongoDB::Cursor::_do_query at line 151 of MongoDB/Cursor.pm, avg 2µs/call # spent 5.78ms making 505 calls to Package::Stash::XS::add_symbol, avg 11µs/call
# spent 660µs making 505 calls to Class::MOP::Package::_package_stash, avg 1µs/call
# spent 321µs making 505 calls to Package::Stash::XS::name, avg 636ns/call
# spent 302µs making 505 calls to Package::Stash::XS::namespace, avg 597ns/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.90ms (886µs+1.02) within Class::MOP::Package::has_package_symbol which was called 237 times, avg 8µs/call:
# 170 times (627µs+701µ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 (241µs+265µs) by Moose::Meta::Attribute::_process_accessors at line 1070 of Moose/Meta/Attribute.pm, avg 8µs/call
# 4 times (18µs+51µs) by Moose::Exporter::build_import_methods at line 91 of Moose/Exporter.pm, avg 17µs/call | ||||
232 | 474 | 1.60ms | my $self = shift; | ||
233 | 713 | 1.14ms | $self->_package_stash->has_symbol(@_); # spent 789µs making 237 calls to Package::Stash::XS::has_symbol, avg 3µs/call
# spent 228µs making 237 calls to Class::MOP::Package::_package_stash, avg 964ns/call
# spent 121µs making 237 calls to Package::Stash::XS::namespace, avg 513ns/call
# spent 1µs making 2 calls to Package::Stash::XS::name, avg 550ns/call | ||
234 | } | ||||
235 | |||||
236 | # spent 6.85ms (3.19+3.66) within Class::MOP::Package::get_package_symbol which was called 816 times, avg 8µs/call:
# 816 times (3.19ms+3.66ms) by Class::MOP::Mixin::HasMethods::_get_maybe_raw_method at line 137 of Class/MOP/Mixin/HasMethods.pm, avg 8µs/call | ||||
237 | 1632 | 5.75ms | my $self = shift; | ||
238 | 2448 | 4.06ms | $self->_package_stash->get_symbol(@_); # spent 2.86ms making 816 calls to Package::Stash::XS::get_symbol, avg 4µs/call
# spent 802µs making 816 calls to Class::MOP::Package::_package_stash, avg 982ns/call
# spent 403µs making 816 calls to Package::Stash::XS::namespace, avg 494ns/call | ||
239 | } | ||||
240 | |||||
241 | # spent 2.56ms (546µs+2.01) within Class::MOP::Package::get_or_add_package_symbol which was called 128 times, avg 20µs/call:
# 128 times (546µs+2.01ms) by Class::MOP::Class::superclasses at line 938 of Class/MOP/Class.pm, avg 20µs/call | ||||
242 | 256 | 1.46ms | my $self = shift; | ||
243 | 462 | 2.47ms | $self->_package_stash->get_or_add_symbol(@_); # spent 1.06ms making 128 calls to Class::MOP::Package::_package_stash, avg 8µs/call
# spent 950µs making 128 calls to Package::Stash::XS::get_or_add_symbol, avg 7µs/call
# spent 412µ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 577ns/call | ||
244 | } | ||||
245 | |||||
246 | sub remove_package_symbol { | ||||
247 | my $self = shift; | ||||
248 | $self->_package_stash->remove_symbol(@_); | ||||
249 | } | ||||
250 | |||||
251 | # spent 91µs (32+59) within Class::MOP::Package::list_all_package_symbols which was called 6 times, avg 15µs/call:
# 6 times (32µs+59µs) by Class::MOP::Mixin::HasMethods::_full_method_map at line 205 of Class/MOP/Mixin/HasMethods.pm, avg 15µs/call | ||||
252 | 12 | 81µs | my $self = shift; | ||
253 | 18 | 62µs | $self->_package_stash->list_all_symbols(@_); # spent 51µ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 617ns/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.54ms within Class::MOP::Attribute::associated_class which was called 2597 times, avg 592ns/call:
# 504 times (237µs+0s) by Class::MOP::Attribute::try {...} at line 389 of Class/MOP/Attribute.pm, avg 471ns/call
# 499 times (281µs+0s) by Class::MOP::Attribute::_inline_instance_set at line 287 of Class/MOP/Attribute.pm, avg 562ns/call
# 309 times (195µs+0s) by Class::MOP::Attribute::_accessor_description at line 411 of Class/MOP/Attribute.pm, avg 631ns/call
# 257 times (172µs+0s) by Class::MOP::Attribute::install_accessors at line 422 of Class/MOP/Attribute.pm, avg 670ns/call
# 135 times (87µs+0s) by Class::MOP::Attribute::_inline_instance_get at line 310 of Class/MOP/Attribute.pm, avg 642ns/call
# 134 times (99µs+0s) by Moose::Meta::Attribute::_error_thrower at line 53 of Moose/Meta/Attribute.pm, avg 737ns/call
# 134 times (66µs+0s) by Moose::Meta::Attribute::_inline_throw_error at line 74 of Moose/Meta/Attribute.pm, avg 493ns/call
# 127 times (91µs+0s) by Moose::Meta::Attribute::_process_accessors at line 1070 of Moose/Meta/Attribute.pm, avg 717ns/call
# 114 times (53µs+0s) by Class::MOP::Attribute::_process_accessors at line 372 of Class/MOP/Attribute.pm, avg 462ns/call
# 95 times (53µs+0s) by Class::MOP::Attribute::_process_accessors at line 384 of Class/MOP/Attribute.pm, avg 562ns/call
# 64 times (61µs+0s) by Moose::Meta::Attribute::_eval_environment at line 809 of Moose/Meta/Attribute.pm, avg 953ns/call
# 64 times (32µs+0s) by Moose::Meta::Attribute::_process_accessors at line 1043 of Moose/Meta/Attribute.pm, avg 494ns/call
# 63 times (42µs+0s) by Moose::Meta::Method::Accessor::_instance_is_inlinable at line 57 of Moose/Meta/Method/Accessor.pm, avg 667ns/call
# 36 times (27µs+0s) by Moose::Meta::Attribute::install_delegation at line 1125 of Moose/Meta/Attribute.pm, avg 758ns/call
# 36 times (24µs+0s) by Moose::Meta::Attribute::_make_delegation_method at line 1247 of Moose/Meta/Attribute.pm, avg 658ns/call
# 21 times (14µs+0s) by Class::MOP::Attribute::_inline_instance_has at line 331 of Class/MOP/Attribute.pm, avg 648ns/call
# 2 times (1µs+0s) by Class::MOP::Attribute::_inline_instance_clear at line 352 of Class/MOP/Attribute.pm, avg 700ns/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 45µs within Class::MOP::Attribute::associated_methods which was called 58 times, avg 771ns/call:
# 58 times (45µs+0s) by Moose::Meta::Attribute::_check_associated_methods at line 1025 of Moose/Meta/Attribute.pm, avg 771ns/call | |||||
# spent 89µs within Class::MOP::Class::constructor_class which was called 178 times, avg 502ns/call:
# 53 times (24µs+0s) by Class::MOP::Class::_immutable_options at line 1268 of Class/MOP/Class.pm, avg 462ns/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 542ns/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 458ns/call
# 35 times (20µs+0s) by List::MoreUtils::all at line 214 of Class/MOP/Class.pm, avg 566ns/call | |||||
# spent 33µs within Class::MOP::Class::constructor_name which was called 59 times, avg 563ns/call:
# 59 times (33µs+0s) by Class::MOP::Class::_immutable_options at line 1268 of Class/MOP/Class.pm, avg 563ns/call | |||||
# spent 84µs within Class::MOP::Class::destructor_class which was called 178 times, avg 470ns/call:
# 53 times (21µs+0s) by Class::MOP::Class::_immutable_options at line 1268 of Class/MOP/Class.pm, avg 398ns/call
# 45 times (23µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 352 of Class/MOP/Class.pm, avg 511ns/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 464ns/call
# 35 times (19µs+0s) by List::MoreUtils::all at line 214 of Class/MOP/Class.pm, avg 534ns/call | |||||
# spent 67µs within Class::MOP::Class::immutable_trait which was called 106 times, avg 634ns/call:
# 53 times (34µs+0s) by Class::MOP::Class::_immutable_options at line 1268 of Class/MOP/Class.pm, avg 634ns/call
# 53 times (34µs+0s) by Class::MOP::Class::_immutable_metaclass at line 1327 of Class/MOP/Class.pm, avg 634ns/call | |||||
# spent 268µs within Class::MOP::Class::instance_metaclass which was called 465 times, avg 576ns/call:
# 105 times (64µs+0s) by Class::MOP::Class::_create_meta_instance at line 726 of Class/MOP/Class.pm, avg 610ns/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 (44µs+0s) by Moose::Meta::Method::Accessor::_instance_is_inlinable at line 57 of Moose/Meta/Method/Accessor.pm, avg 692ns/call
# 56 times (33µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 352 of Class/MOP/Class.pm, avg 591ns/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 536ns/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 (8µs+0s) by Class::MOP::Class::_check_metaclass_compatibility at line 224 of Class/MOP/Class.pm, avg 682ns/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 455ns/call | |||||
# spent 6µs within Class::MOP::Instance::associated_metaclass which was called 9 times, avg 700ns/call:
# 9 times (6µs+0s) by Class::MOP::Instance::_class_name at line 76 of Class/MOP/Instance.pm, avg 700ns/call | |||||
# spent 128µs within Class::MOP::Method::Generated::definition_context which was called 196 times, avg 653ns/call:
# 196 times (128µs+0s) by Class::MOP::Method::Generated::_generate_description at line 30 of Class/MOP/Method/Generated.pm, avg 653ns/call | |||||
# spent 197µs within Class::MOP::Method::Generated::is_inline which was called 282 times, avg 699ns/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 (21µs+0s) by Class::MOP::Method::Constructor::_initialize_body at line 82 of Class/MOP/Method/Constructor.pm, avg 707ns/call | |||||
# spent 28µs within Class::MOP::Method::Inlined::_expected_method_class which was called 38 times, avg 739ns/call:
# 38 times (28µs+0s) by Class::MOP::Method::Inlined::can_be_inlined at line 53 of Class/MOP/Method/Inlined.pm, avg 739ns/call | |||||
# spent 356µs within Class::MOP::Method::body which was called 664 times, avg 536ns/call:
# 478 times (254µs+0s) by Class::MOP::Mixin::HasMethods::add_method at line 63 of Class/MOP/Mixin/HasMethods.pm, avg 532ns/call
# 92 times (41µs+0s) by Class::MOP::Method::Wrapped::wrap at line 79 of Class/MOP/Method/Wrapped.pm, avg 450ns/call
# 44 times (30µs+0s) by Class::MOP::MiniTrait::apply at line 26 of Class/MOP/MiniTrait.pm, avg 686ns/call
# 23 times (12µs+0s) by Class::MOP::Mixin::HasMethods::_method_map at line 79 of Class/MOP/Mixin/HasMethods.pm, avg 500ns/call
# 17 times (12µs+0s) by Class::MOP::Mixin::HasMethods::_method_map at line 134 of Class/MOP/Mixin/HasMethods.pm, avg 682ns/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 204µs within Class::MOP::Method::name which was called 399 times, avg 512ns/call:
# 142 times (66µs+0s) by Class::MOP::Class::get_all_methods at line 1136 of Class/MOP/Class.pm, avg 464ns/call
# 58 times (40µs+0s) by Class::MOP::MiniTrait::apply at line 23 of Class/MOP/MiniTrait.pm, avg 684ns/call
# 49 times (21µs+0s) by MongoDB::BEGIN@28 at line 40 of MongoDB/Connection.pm, avg 420ns/call
# 38 times (22µs+0s) by Class::MOP::Method::Inlined::can_be_inlined at line 40 of Class/MOP/Method/Inlined.pm, avg 568ns/call
# 36 times (21µs+0s) by Moose::Meta::Method::Delegation::_initialize_body at line 79 of Moose/Meta/Method/Delegation.pm, avg 572ns/call
# 36 times (15µs+0s) by Moose::Meta::Attribute::install_delegation at line 1125 of Moose/Meta/Attribute.pm, avg 425ns/call
# 30 times (16µs+0s) by Moose::Meta::Method::_inline_throw_error at line 45 of Moose/Meta/Method.pm, avg 517ns/call
# 5 times (3µs+0s) by Class::MOP::Method::Inlined::can_be_inlined at line 70 of Class/MOP/Method/Inlined.pm, avg 520ns/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 274µs within Class::MOP::Method::package_name which was called 568 times, avg 482ns/call:
# 478 times (233µs+0s) by Class::MOP::Mixin::HasMethods::add_method at line 64 of Class/MOP/Mixin/HasMethods.pm, avg 488ns/call
# 90 times (40µs+0s) by Class::MOP::MiniTrait::apply at line 22 of Class/MOP/MiniTrait.pm, avg 446ns/call | |||||
# spent 48µs within Class::MOP::Mixin::AttributeCore::accessor which was called 75 times, avg 637ns/call:
# 75 times (48µs+0s) by Class::MOP::Attribute::install_accessors at line 424 of Class/MOP/Attribute.pm, avg 637ns/call | |||||
# spent 5µs within Class::MOP::Mixin::AttributeCore::builder which was called 7 times, avg 671ns/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 533ns/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 650ns/call:
# 2 times (1µs+0s) by Class::MOP::Attribute::install_accessors at line 440 of Class/MOP/Attribute.pm, avg 650ns/call | |||||
# spent 174µs within Class::MOP::Mixin::AttributeCore::definition_context which was called 309 times, avg 563ns/call:
# 309 times (174µs+0s) by Class::MOP::Attribute::_process_accessors at line 363 of Class/MOP/Attribute.pm, avg 563ns/call | |||||
# spent 1.15ms within Class::MOP::Mixin::AttributeCore::init_arg which was called 2350 times, avg 488ns/call:
# 1652 times (774µs+0s) by Moose::Meta::Attribute::new at line 94 of Moose/Meta/Attribute.pm, avg 469ns/call
# 327 times (202µs+0s) by Class::MOP::Class::_inline_slot_initializer at line 599 of Class/MOP/Class.pm, avg 617ns/call
# 275 times (122µs+0s) by Class::MOP::Class::_inline_init_attr_from_constructor at line 630 of Class/MOP/Class.pm, avg 443ns/call
# 41 times (23µs+0s) by Moose::Meta::Class::_inline_check_required_attr at line 386 of Moose/Meta/Class.pm, avg 549ns/call
# 41 times (18µs+0s) by Moose::Meta::Class::_inline_init_attr_from_constructor at line 406 of Moose/Meta/Class.pm, avg 437ns/call
# 7 times (5µs+0s) by Moose::Meta::Attribute::initialize_instance_slot at line 506 of Moose/Meta/Attribute.pm, avg 729ns/call
# 7 times (4µs+0s) by Moose::Meta::Class::_inline_check_required_attr at line 391 of Moose/Meta/Class.pm, avg 614ns/call | |||||
# spent 3.15ms within Class::MOP::Mixin::AttributeCore::name which was called 7066 times, avg 446ns/call:
# 1708 times (621µs+0s) by Class::MOP::Class::CORE:sort at line 591 of Class/MOP/Class.pm, avg 363ns/call
# 1708 times (608µs+0s) by Class::MOP::Class::CORE:sort at line 708 of Class/MOP/Class.pm, avg 356ns/call
# 820 times (430µs+0s) by Class::MOP::Attribute::_set_initial_slot_value at line 148 of Class/MOP/Attribute.pm, avg 524ns/call
# 813 times (376µs+0s) by Class::MOP::Attribute::slots at line 234 of Class/MOP/Attribute.pm, avg 462ns/call
# 499 times (314µs+0s) by Class::MOP::Attribute::_inline_instance_set at line 288 of Class/MOP/Attribute.pm, avg 628ns/call
# 309 times (149µs+0s) by Class::MOP::Attribute::_accessor_description at line 412 of Class/MOP/Attribute.pm, avg 481ns/call
# 222 times (79µs+0s) by Moose::Meta::Class::CORE:sort at line 505 of Moose/Meta/Class.pm, avg 358ns/call
# 222 times (79µs+0s) by Moose::Meta::Class::CORE:sort at line 467 of Moose/Meta/Class.pm, avg 355ns/call
# 181 times (140µs+0s) by Class::MOP::Mixin::HasAttributes::add_attribute at line 29 of Class/MOP/Mixin/HasAttributes.pm, avg 775ns/call
# 135 times (88µs+0s) by Class::MOP::Attribute::_inline_instance_get at line 311 of Class/MOP/Attribute.pm, avg 653ns/call
# 134 times (69µs+0s) by Moose::Meta::Attribute::_inline_throw_error at line 77 of Moose/Meta/Attribute.pm, avg 515ns/call
# 110 times (58µs+0s) by Class::MOP::Attribute::_accessor_description at line 413 of Class/MOP/Attribute.pm, avg 528ns/call
# 93 times (67µs+0s) by Moose::Meta::Attribute::_inline_check_constraint at line 709 of Moose/Meta/Attribute.pm, avg 720ns/call
# 41 times (27µs+0s) by Moose::Meta::Class::_inline_slot_initializer at line 376 of Moose/Meta/Class.pm, avg 671ns/call
# 21 times (14µs+0s) by Class::MOP::Attribute::_inline_instance_has at line 332 of Class/MOP/Attribute.pm, avg 676ns/call
# 12 times (9µs+0s) by Class::MOP::Attribute::has_value at line 319 of Class/MOP/Attribute.pm, avg 775ns/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 414ns/call
# 3 times (2µs+0s) by Moose::Meta::Attribute::_inline_generate_default at line 940 of Moose/Meta/Attribute.pm, avg 567ns/call
# 2 times (1µs+0s) by Class::MOP::Attribute::_inline_instance_clear at line 353 of Class/MOP/Attribute.pm, avg 700ns/call
# 2 times (1µs+0s) by Moose::Meta::Attribute::_weaken_value at line 820 of Moose/Meta/Attribute.pm, avg 700ns/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 600ns/call | |||||
# spent 27µs within Class::MOP::Mixin::AttributeCore::predicate which was called 44 times, avg 620ns/call:
# 44 times (27µs+0s) by Class::MOP::Attribute::install_accessors at line 436 of Class/MOP/Attribute.pm, avg 620ns/call | |||||
# spent 137µs within Class::MOP::Mixin::AttributeCore::reader which was called 216 times, avg 635ns/call:
# 180 times (113µs+0s) by Class::MOP::Attribute::install_accessors at line 428 of Class/MOP/Attribute.pm, avg 626ns/call
# 36 times (25µs+0s) by Class::MOP::Attribute::get_read_method at line 174 of Class/MOP/Attribute.pm, avg 681ns/call | |||||
# spent 5µs within Class::MOP::Mixin::AttributeCore::writer which was called 8 times, avg 625ns/call:
# 8 times (5µs+0s) by Class::MOP::Attribute::install_accessors at line 432 of Class/MOP/Attribute.pm, avg 625ns/call | |||||
# spent 828µs within Class::MOP::Mixin::HasAttributes::_attribute_map which was called 1440 times, avg 575ns/call:
# 670 times (418µs+0s) by Class::MOP::Class::get_all_attributes at line 928 of Class/MOP/Class.pm, avg 624ns/call
# 240 times (136µs+0s) by Class::MOP::Mixin::HasAttributes::has_attribute at line 56 of Class/MOP/Mixin/HasAttributes.pm, avg 565ns/call
# 181 times (97µs+0s) by Class::MOP::Mixin::HasAttributes::add_attribute at line 37 of Class/MOP/Mixin/HasAttributes.pm, avg 535ns/call
# 181 times (90µs+0s) by Class::MOP::Mixin::HasAttributes::add_attribute at line 34 of Class/MOP/Mixin/HasAttributes.pm, avg 497ns/call
# 135 times (69µs+0s) by Class::MOP::Mixin::HasAttributes::get_attribute at line 65 of Class/MOP/Mixin/HasAttributes.pm, avg 515ns/call
# 33 times (17µs+0s) by Class::MOP::Mixin::HasAttributes::get_attribute_list at line 84 of Class/MOP/Mixin/HasAttributes.pm, avg 527ns/call | |||||
# spent 216µs within Class::MOP::Mixin::HasAttributes::attribute_metaclass which was called 334 times, avg 646ns/call:
# 74 times (60µs+0s) by Class::MOP::Mixin::HasAttributes::add_attribute at line 20 of Class/MOP/Mixin/HasAttributes.pm, avg 805ns/call
# 58 times (46µs+0s) by Moose::Meta::Class::_process_new_attribute at line 714 of Moose/Meta/Class.pm, avg 791ns/call
# 56 times (34µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 352 of Class/MOP/Class.pm, avg 602ns/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 489ns/call
# 35 times (20µs+0s) by List::MoreUtils::all at line 214 of Class/MOP/Class.pm, avg 571ns/call
# 22 times (9µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 295 of Class/MOP/Class.pm, avg 423ns/call
# 11 times (8µs+0s) by Class::MOP::Class::_check_metaclass_compatibility at line 224 of Class/MOP/Class.pm, avg 709ns/call
# 11 times (7µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 290 of Class/MOP/Class.pm, avg 591ns/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.08ms (3.06+26µs) within Class::MOP::Mixin::HasMethods::_method_map which was called 1525 times, avg 2µs/call:
# 782 times (1.44ms+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.29ms+11µs) by Class::MOP::Mixin::HasMethods::add_method at line 79 of Class/MOP/Mixin/HasMethods.pm, avg 3µs/call
# 147 times (149µs+0s) by Class::MOP::Mixin::HasMethods::has_method at line 110 of Class/MOP/Mixin/HasMethods.pm, avg 1µs/call
# 57 times (84µs+0s) by Class::MOP::Mixin::HasMethods::get_method at line 124 of Class/MOP/Mixin/HasMethods.pm, avg 1µs/call
# 19 times (62µs+3µs) by Class::MOP::Class:::around at line 90 of Class/MOP/Class/Immutable/Trait.pm, avg 3µ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 151µs within Class::MOP::Mixin::HasMethods::method_metaclass which was called 286 times, avg 527ns/call:
# 84 times (46µs+0s) by Class::MOP::Mixin::HasMethods::wrap_method_body at line 48 of Class/MOP/Mixin/HasMethods.pm, avg 552ns/call
# 56 times (31µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 352 of Class/MOP/Class.pm, avg 552ns/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 475ns/call
# 35 times (20µs+0s) by List::MoreUtils::all at line 214 of Class/MOP/Class.pm, avg 574ns/call
# 22 times (9µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 295 of Class/MOP/Class.pm, avg 418ns/call
# 11 times (7µs+0s) by Class::MOP::Class::_check_metaclass_compatibility at line 224 of Class/MOP/Class.pm, avg 645ns/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 152µs within Class::MOP::Mixin::HasMethods::wrapped_method_metaclass which was called 248 times, avg 612ns/call:
# 56 times (42µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 352 of Class/MOP/Class.pm, avg 746ns/call
# 56 times (29µs+0s) by Class::MOP::Class::_single_metaclass_can_be_made_compatible at line 355 of Class/MOP/Class.pm, avg 523ns/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 609ns/call
# 35 times (23µs+0s) by List::MoreUtils::all at line 214 of Class/MOP/Class.pm, avg 643ns/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 (10µs+0s) by Class::MOP::Class::_check_metaclass_compatibility at line 224 of Class/MOP/Class.pm, avg 936ns/call
# 11 times (6µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 290 of Class/MOP/Class.pm, avg 518ns/call
# 11 times (5µs+0s) by Class::MOP::Class::_single_metaclass_is_compatible at line 293 of Class/MOP/Class.pm, avg 464ns/call | |||||
# spent 1.94ms within Class::MOP::Package::name which was called 3167 times, avg 612ns/call:
# 501 times (382µs+0s) by Class::MOP::Mixin::HasMethods::add_method at line 59 of Class/MOP/Mixin/HasMethods.pm, avg 763ns/call
# 501 times (296µs+0s) by Class::MOP::Mixin::HasMethods::update_package_cache_flag at line 194 of Class/MOP/Mixin/HasMethods.pm, avg 590ns/call
# 429 times (246µs+0s) by Class::MOP::Class::linearized_isa at line 999 of Class/MOP/Class.pm, avg 573ns/call
# 309 times (163µs+0s) by Class::MOP::Attribute::_accessor_description at line 411 of Class/MOP/Attribute.pm, avg 529ns/call
# 252 times (106µs+0s) by Class::MOP::Attribute::try {...} at line 389 of Class/MOP/Attribute.pm, avg 419ns/call
# 171 times (89µs+0s) by Class::MOP::Mixin::HasMethods::_code_is_mine at line 97 of Class/MOP/Mixin/HasMethods.pm, avg 523ns/call
# 134 times (88µs+0s) by Moose::Meta::Attribute::_inline_throw_error at line 76 of Moose/Meta/Attribute.pm, avg 654ns/call
# 118 times (79µs+0s) by Class::MOP::Class::_construct_instance at line 527 of Class/MOP/Class.pm, avg 670ns/call
# 106 times (70µs+0s) by Class::MOP::Class::new_object at line 496 of Class/MOP/Class.pm, avg 658ns/call
# 84 times (36µs+0s) by Class::MOP::Mixin::HasMethods::wrap_method_body at line 48 of Class/MOP/Mixin/HasMethods.pm, avg 423ns/call
# 80 times (68µs+0s) by Class::MOP::Package::_package_stash at line 209, avg 852ns/call
# 70 times (45µs+0s) by Class::MOP::Class::_inline_constructor at line 1438 of Class/MOP/Class.pm, avg 637ns/call
# 57 times (24µs+0s) by Class::MOP::Attribute::_process_accessors at line 372 of Class/MOP/Attribute.pm, avg 414ns/call
# 47 times (32µs+0s) by Moose::Meta::Attribute::install_delegation at line 1103 of Moose/Meta/Attribute.pm, avg 674ns/call
# 46 times (32µ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 704ns/call
# 38 times (42µ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 (17µs+0s) by Moose::Meta::Attribute::_make_delegation_method at line 1247 of Moose/Meta/Attribute.pm, avg 483ns/call
# 35 times (24µs+0s) by Class::MOP::Class::_inline_preserve_weak_metaclasses at line 691 of Class/MOP/Class.pm, avg 686ns/call
# 35 times (22µs+0s) by Class::MOP::Class::_inline_fallback_constructor at line 553 of Class/MOP/Class.pm, avg 631ns/call
# 35 times (21µs+0s) by Class::MOP::Mixin::HasMethods::_add_meta_method at line 33 of Class/MOP/Mixin/HasMethods.pm, avg 609ns/call
# 30 times (22µs+0s) by Moose::Meta::Method::_inline_throw_error at line 44 of Moose/Meta/Method.pm, avg 720ns/call
# 20 times (10µs+0s) by Class::MOP::Mixin::HasMethods::_full_method_map at line 200 of Class/MOP/Mixin/HasMethods.pm, avg 520ns/call
# 13 times (12µs+0s) by Class::MOP::Class::superclasses at line 948 of Class/MOP/Class.pm, avg 915ns/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 550ns/call
# 3 times (2µs+0s) by Moose::Meta::Method::Destructor::_initialize_body at line 84 of Moose/Meta/Method/Destructor.pm, avg 667ns/call
# 2 times (1µs+0s) by Class::MOP::Module::_instantiate_module at line 81 of Class/MOP/Module.pm, avg 650ns/call | |||||
# spent 700ns within MongoDB::BSON::Binary::SUBTYPE_GENERIC which was called:
# once (700ns+0s) by MongoDB::MongoClient::BEGIN@28 at line 46 of MongoDB/BSON/Binary.pm | |||||
# spent 25µs within MongoDB::Connection::CORE:match which was called 49 times, avg 508ns/call:
# 49 times (25µs+0s) by MongoDB::BEGIN@28 at line 37 of MongoDB/Connection.pm, avg 508ns/call |