← Index
NYTProf Performance Profile   « block view • line view • sub view »
For reply.pl
  Run on Thu Oct 21 22:40:13 2010
Reported on Thu Oct 21 22:44:42 2010

Filename/home/hinrik/perl5/perlbrew/perls/perl-5.13.5/lib/site_perl/5.13.5/x86_64-linux/Mouse/Meta/Module.pm
StatementsExecuted 1443 statements in 6.03ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
138441.17ms2.46msMouse::Meta::Module::::has_method Mouse::Meta::Module::has_method
134211.02ms1.33msMouse::Meta::Module::::_get_method_body Mouse::Meta::Module::_get_method_body
611714µs2.87msMouse::Meta::Module::::get_method_list Mouse::Meta::Module::get_method_list
82144582µs1.08msMouse::Meta::Module::::initialize Mouse::Meta::Module::initialize (recurses: max depth 1, inclusive time 46µs)
8796579µs579µsMouse::Meta::Module::::add_method Mouse::Meta::Module::add_method (xsub)
6064203µs203µsMouse::Meta::Module::::_get_metaclass_by_name Mouse::Meta::Module::_get_metaclass_by_name
311199µs627µsMouse::Meta::Module::::create Mouse::Meta::Module::create
576377µs77µsMouse::Meta::Module::::name Mouse::Meta::Module::name (xsub)
201161µs61µsMouse::Meta::Module::::get_attribute Mouse::Meta::Module::get_attribute
43152µs52µsMouse::Meta::Module::::_collect_methods Mouse::Meta::Module::_collect_methods
101135µs35µsMouse::Meta::Module::::has_attribute Mouse::Meta::Module::has_attribute
91134µs34µsMouse::Meta::Module::::get_attribute_list Mouse::Meta::Module::get_attribute_list
11125µs102µsMouse::Meta::Module::::BEGIN@2 Mouse::Meta::Module::BEGIN@2
21123µs51µsMouse::Meta::Module::::get_method_body Mouse::Meta::Module::get_method_body
31120µs20µsMouse::Meta::Module::::_class_of Mouse::Meta::Module::_class_of
61116µs16µsMouse::Meta::Module::::namespace Mouse::Meta::Module::namespace (xsub)
11114µs36µsMouse::Meta::Module::::BEGIN@303 Mouse::Meta::Module::BEGIN@303
11111µs33µsMouse::Meta::Module::::BEGIN@224 Mouse::Meta::Module::BEGIN@224
1117µs7µsMouse::Meta::Module::::BEGIN@4 Mouse::Meta::Module::BEGIN@4
1115µs5µsMouse::Meta::Module::::BEGIN@5 Mouse::Meta::Module::BEGIN@5
0000s0sMouse::Meta::Module::::DESTROY Mouse::Meta::Module::DESTROY
0000s0sMouse::Meta::Module::::__ANON__[:14] Mouse::Meta::Module::__ANON__[:14]
0000s0sMouse::Meta::Module::::__ANON__[:236] Mouse::Meta::Module::__ANON__[:236]
0000s0sMouse::Meta::Module::::_get_all_metaclass_instances Mouse::Meta::Module::_get_all_metaclass_instances
0000s0sMouse::Meta::Module::::_get_all_metaclass_names Mouse::Meta::Module::_get_all_metaclass_names
0000s0sMouse::Meta::Module::::_metaclass_cache Mouse::Meta::Module::_metaclass_cache
0000s0sMouse::Meta::Module::::get_attribute_map Mouse::Meta::Module::get_attribute_map
0000s0sMouse::Meta::Module::::get_method Mouse::Meta::Module::get_method
0000s0sMouse::Meta::Module::::reinitialize Mouse::Meta::Module::reinitialize
0000s0sMouse::Meta::Module::::remove_attribute Mouse::Meta::Module::remove_attribute
0000s0sMouse::Meta::Role::Composite::__ANON__::1::::metaMouse::Meta::Role::Composite::__ANON__::1::meta
0000s0sMouse::Meta::Role::Composite::__ANON__::2::::metaMouse::Meta::Role::Composite::__ANON__::2::meta
0000s0sMouse::Meta::Role::Composite::__ANON__::3::::metaMouse::Meta::Role::Composite::__ANON__::3::meta
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Mouse::Meta::Module;
2228µs2180µs
# spent 102µs (25+78) within Mouse::Meta::Module::BEGIN@2 which was called: # once (25µs+78µs) by Mouse::BEGIN@4 at line 2
use Mouse::Util qw/:meta/; # enables strict and warnings
# spent 102µs making 1 call to Mouse::Meta::Module::BEGIN@2 # spent 78µs making 1 call to Mouse::Exporter::do_import
3
4221µs17µs
# spent 7µs within Mouse::Meta::Module::BEGIN@4 which was called: # once (7µs+0s) by Mouse::BEGIN@4 at line 4
use Carp ();
# spent 7µs making 1 call to Mouse::Meta::Module::BEGIN@4
52921µs15µs
# spent 5µs within Mouse::Meta::Module::BEGIN@5 which was called: # once (5µs+0s) by Mouse::BEGIN@4 at line 5
use Scalar::Util ();
# spent 5µs making 1 call to Mouse::Meta::Module::BEGIN@5
6
711µsmy %METAS;
8
912µsif(Mouse::Util::MOUSE_XS){
10 # register meta storage for performance
1119µs12µs Mouse::Util::__register_metaclass_storage(\%METAS, 0);
# spent 2µs making 1 call to Mouse::Util::__register_metaclass_storage
12
13 # ensure thread safety
1413µs *CLONE = sub { Mouse::Util::__register_metaclass_storage(\%METAS, 1) };
15}
16
17sub _metaclass_cache { # DEPRECATED
18 my($self, $name) = @_;
19 Carp::cluck('_metaclass_cache() has been deprecated. Use Mouse::Util::get_metaclass_by_name() instead');
20 return $METAS{$name};
21}
22
23
# spent 1.08ms (582µs+499µs) within Mouse::Meta::Module::initialize which was called 82 times, avg 13µs/call: # 26 times (158µs+0s) by Mouse::has at line 45 of Mouse.pm, avg 6µs/call # 11 times (61µs+0s) by Mouse::Role::requires at line 98 of Mouse/Role.pm, avg 6µs/call # 9 times (89µs+136µs) by Mouse::init_meta at line 133 of Mouse.pm, avg 25µs/call # 8 times (51µs+0s) by Mouse::Role::has at line 37 of Mouse/Role.pm, avg 6µs/call # 6 times (48µs+-9µs) by Mouse::Util::meta at line 345 of Mouse/Util.pm, avg 7µs/call # 5 times (29µs+0s) by Hailo::Engine::Default::meta or Hailo::Storage::SQLite::meta or Hailo::Storage::meta or Hailo::Tokenizer::Words::meta or Hailo::meta at line 136 of Mouse.pm, avg 6µs/call # 4 times (45µs+86µs) by Mouse::Role::init_meta at line 117 of Mouse/Role.pm, avg 33µs/call # 3 times (38µs+286µs) by Mouse::Meta::Module::create at line 229, avg 108µs/call # 3 times (24µs+0s) by Mouse::Util::apply_all_roles at line 276 of Mouse/Util.pm, avg 8µs/call # 2 times (11µs+0s) by Mouse::override at line 98 of Mouse.pm, avg 6µs/call # 2 times (11µs+0s) by Mouse::before at line 58 of Mouse.pm, avg 5µs/call # once (6µs+0s) by Mouse::extends at line 35 of Mouse.pm # once (6µs+0s) by Mouse::around at line 76 of Mouse.pm # once (5µs+0s) by Mouse::after at line 67 of Mouse.pm
sub initialize {
2482137µs my($class, $package_name, @args) = @_;
25
268292µs ($package_name && !ref($package_name))
27 || $class->throw_error("You must pass a package name and it cannot be blessed");
28
2982434µs14546µs return $METAS{$package_name}
# spent 372µs making 7 calls to Mouse::Meta::Role::_construct_meta, avg 53µs/call # spent 174µs making 7 calls to Mouse::Meta::Class::_construct_meta, avg 25µs/call
30 ||= $class->_construct_meta(package => $package_name, @args);
31}
32
33sub reinitialize {
34 my($class, $package_name, @args) = @_;
35
36 $package_name = $package_name->name if ref $package_name;
37
38 ($package_name && !ref($package_name))
39 || $class->throw_error("You must pass a package name and it cannot be blessed");
40
41 if(exists $METAS{$package_name}) {
42 unshift @args, %{ $METAS{$package_name} };
43 }
44 delete $METAS{$package_name};
45 return $class->initialize($package_name, @args);
46}
47
48
# spent 20µs within Mouse::Meta::Module::_class_of which was called 3 times, avg 7µs/call: # 3 times (20µs+0s) by Mouse::Util::does_role at line 120 of Mouse/Util.pm, avg 7µs/call
sub _class_of{
4934µs my($class_or_instance) = @_;
5034µs return undef unless defined $class_or_instance;
51316µs return $METAS{ ref($class_or_instance) || $class_or_instance };
52}
53
54# Means of accessing all the metaclasses that have
55# been initialized thus far
56#sub _get_all_metaclasses { %METAS }
57sub _get_all_metaclass_instances { values %METAS }
58sub _get_all_metaclass_names { keys %METAS }
5960265µs
# spent 203µs within Mouse::Meta::Module::_get_metaclass_by_name which was called 60 times, avg 3µs/call: # 16 times (56µs+0s) by Mouse::Meta::Class::does_role at line 450 of Mouse/Meta/Class.pm, avg 4µs/call # 14 times (42µs+0s) by Mouse::Meta::Class::_calculate_all_attributes at line 258 of Mouse/Meta/Class.pm, avg 3µs/call # 13 times (43µs+0s) by Any::Moose::_backer_of at line 103 of Any/Moose.pm, avg 3µs/call # 6 times (26µs+0s) by Mouse::Util::apply_all_roles at line 293 of Mouse/Util.pm, avg 4µs/call # 6 times (20µs+0s) by Mouse::Meta::Class::superclasses at line 59 of Mouse/Meta/Class.pm, avg 3µs/call # 5 times (16µs+0s) by Mouse::Util::TypeConstraints::_find_or_create_regular_type at line 270 of Mouse/Util/TypeConstraints.pm, avg 3µs/call
sub _get_metaclass_by_name { $METAS{$_[0]} }
60#sub _store_metaclass_by_name { $METAS{$_[0]} = $_[1] }
61#sub _weaken_metaclass { weaken($METAS{$_[0]}) }
62#sub _does_metaclass_exist { defined $METAS{$_[0]} }
63#sub _remove_metaclass_by_name { delete $METAS{$_[0]} }
64
65sub name;
66
67sub namespace;
68
69# add_attribute is an abstract method
70
71sub get_attribute_map { # DEPRECATED
72 Carp::cluck('get_attribute_map() has been deprecated. Use get_attribute_list() and get_attribute() instead');
73 return $_[0]->{attributes};
74}
75
761046µs
# spent 35µs within Mouse::Meta::Module::has_attribute which was called 10 times, avg 3µs/call: # 10 times (35µs+0s) by Mouse::Meta::Role::Application::apply_attributes at line 154 of Mouse/Meta/Role/Application.pm, avg 3µs/call
sub has_attribute { exists $_[0]->{attributes}->{$_[1]} }
772081µs
# spent 61µs within Mouse::Meta::Module::get_attribute which was called 20 times, avg 3µs/call: # 20 times (61µs+0s) by Mouse::Meta::Role::Application::apply_attributes at line 156 of Mouse/Meta/Role/Application.pm, avg 3µs/call
sub get_attribute { $_[0]->{attributes}->{$_[1]} }
78sub remove_attribute { delete $_[0]->{attributes}->{$_[1]} }
79
80946µs
# spent 34µs within Mouse::Meta::Module::get_attribute_list which was called 9 times, avg 4µs/call: # 9 times (34µs+0s) by Mouse::Meta::Role::Application::apply_attributes at line 153 of Mouse/Meta/Role/Application.pm, avg 4µs/call
sub get_attribute_list{ keys %{$_[0]->{attributes}} }
81
82# XXX: not completely compatible with Moose
8318µsmy %foreign = map{ $_ => undef } qw(
84 Mouse Mouse::Role Mouse::Util Mouse::Util::TypeConstraints
85 Carp Scalar::Util List::Util
86);
87
# spent 1.33ms (1.02+303µs) within Mouse::Meta::Module::_get_method_body which was called 134 times, avg 10µs/call: # 132 times (1.00ms+295µs) by Mouse::Meta::Module::has_method at line 102, avg 10µs/call # 2 times (20µs+8µs) by Mouse::Meta::Module::get_method_body at line 111, avg 14µs/call
sub _get_method_body {
88134157µs my($self, $method_name) = @_;
89134769µs134291µs my $code = Mouse::Util::get_code_ref($self->{package}, $method_name);
# spent 291µs making 134 calls to Mouse::Util::get_code_ref, avg 2µs/call
90134499µs612µs return $code && !exists $foreign{ Mouse::Util::get_code_package($code) }
# spent 12µs making 6 calls to Mouse::Util::get_code_package, avg 2µs/call
91 ? $code
92 : undef;
93}
94
95sub add_method;
96
97
# spent 2.46ms (1.17+1.30) within Mouse::Meta::Module::has_method which was called 138 times, avg 18µs/call: # 123 times (1.02ms+1.12ms) by Mouse::Meta::Module::get_method_list at line 133, avg 17µs/call # 11 times (103µs+131µs) by Mouse::Meta::Role::add_required_methods at line 49 of Mouse/Meta/Role.pm, avg 21µs/call # 2 times (23µs+26µs) by Mouse::Meta::Role::Application::apply_methods at line 126 of Mouse/Meta/Role/Application.pm, avg 25µs/call # 2 times (17µs+20µs) by Mouse::Meta::Class::add_override_method_modifier at line 403 of Mouse/Meta/Class.pm, avg 19µs/call
sub has_method {
98138176µs my($self, $method_name) = @_;
99138137µs defined($method_name)
100 or $self->throw_error('You must define a method name');
101
102138853µs1321.30ms return defined( $self->{methods}{$method_name} )
# spent 1.30ms making 132 calls to Mouse::Meta::Module::_get_method_body, avg 10µs/call
103 || defined( $self->_get_method_body($method_name) );
104}
105
106
# spent 51µs (23+28) within Mouse::Meta::Module::get_method_body which was called 2 times, avg 25µs/call: # 2 times (23µs+28µs) by Mouse::Meta::Role::Application::apply_methods at line 124 of Mouse/Meta/Role/Application.pm, avg 25µs/call
sub get_method_body {
10724µs my($self, $method_name) = @_;
10823µs defined($method_name)
109 or $self->throw_error('You must define a method name');
110
111215µs228µs return $self->{methods}{$method_name}
# spent 28µs making 2 calls to Mouse::Meta::Module::_get_method_body, avg 14µs/call
112 ||= $self->_get_method_body($method_name);
113}
114
115sub get_method {
116 my($self, $method_name) = @_;
117
118 if(my $code = $self->get_method_body($method_name)){
119 return Mouse::Util::load_class($self->method_metaclass)->wrap(
120 body => $code,
121 name => $method_name,
122 package => $self->name,
123 associated_metaclass => $self,
124 );
125 }
126
127 return undef;
128}
129
130
# spent 2.87ms (714µs+2.16) within Mouse::Meta::Module::get_method_list which was called 6 times, avg 479µs/call: # 6 times (714µs+2.16ms) by Mouse::Meta::Role::Application::apply_methods at line 121 of Mouse/Meta/Role/Application.pm, avg 479µs/call
sub get_method_list {
13169µs my($self) = @_;
132
133129647µs1292.16ms return grep { $self->has_method($_) } keys %{ $self->namespace };
# spent 2.14ms making 123 calls to Mouse::Meta::Module::has_method, avg 17µs/call # spent 16µs making 6 calls to Mouse::Meta::Module::namespace, avg 3µs/call
134}
135
136
# spent 52µs within Mouse::Meta::Module::_collect_methods which was called 4 times, avg 13µs/call: # 2 times (24µs+0s) by Mouse::before at line 60 of Mouse.pm, avg 12µs/call # once (15µs+0s) by Mouse::around at line 78 of Mouse.pm # once (13µs+0s) by Mouse::after at line 69 of Mouse.pm
sub _collect_methods { # Mouse specific
13747µs my($meta, @args) = @_;
138
13944µs my @methods;
140410µs foreach my $arg(@args){
141414µs if(my $type = ref $arg){
142 if($type eq 'Regexp'){
143 push @methods, grep { $_ =~ $arg } $meta->get_all_method_names;
144 }
145 elsif($type eq 'ARRAY'){
146 push @methods, @{$arg};
147 }
148 else{
149 my $subname = ( caller(1) )[3];
150 $meta->throw_error(
151 sprintf(
152 'Methods passed to %s must be provided as a list,'
153 . ' ArrayRef or regular expression, not %s',
154 $subname,
155 $type,
156 )
157 );
158 }
159 }
160 else{
16145µs push @methods, $arg;
162 }
163 }
164418µs return @methods;
165}
166
16711µsmy $ANON_SERIAL = 0; # anonymous class/role id
16811µsmy %IMMORTALS; # immortal anonymous classes
169
170
# spent 627µs (199+428) within Mouse::Meta::Module::create which was called 3 times, avg 209µs/call: # 3 times (199µs+428µs) by Mouse::Meta::Role::create_anon_role at line 28 of Mouse/Meta/Role.pm, avg 209µs/call
sub create {
17138µs my($self, $package_name, %options) = @_;
172
17335µs my $class = ref($self) || $self;
17435µs $self->throw_error('You must pass a package name') if @_ < 2;
175
17633µs my $superclasses;
17734µs if(exists $options{superclasses}){
178 if(Mouse::Util::is_a_metarole($self)){
179 delete $options{superclasses};
180 }
181 else{
182 $superclasses = delete $options{superclasses};
183 (ref $superclasses eq 'ARRAY')
184 || $self->throw_error("You must pass an ARRAY ref of superclasses");
185 }
186 }
187
18835µs my $attributes = delete $options{attributes};
18934µs if(defined $attributes){
190 (ref $attributes eq 'ARRAY' || ref $attributes eq 'HASH')
191 || $self->throw_error("You must pass an ARRAY ref of attributes");
192 }
19334µs my $methods = delete $options{methods};
19434µs if(defined $methods){
195 (ref $methods eq 'HASH')
196 || $self->throw_error("You must pass a HASH ref of methods");
197 }
19834µs my $roles = delete $options{roles};
199311µs if(defined $roles){
200 (ref $roles eq 'ARRAY')
201 || $self->throw_error("You must pass an ARRAY ref of roles");
202 }
20333µs my $mortal;
20433µs my $cache_key;
205
20638µs if(!defined $package_name){ # anonymous
20735µs $mortal = !$options{cache};
208
209 # anonymous but immortal
21034µs if(!$mortal){
211 # something like Super::Class|Super::Class::2=Role|Role::1
212 $cache_key = join '=' => (
213 join('|', @{$superclasses || []}),
214 join('|', sort @{$roles || []}),
215 );
216 return $IMMORTALS{$cache_key} if exists $IMMORTALS{$cache_key};
217 }
21836µs $options{anon_serial_id} = ++$ANON_SERIAL;
21937µs $package_name = $class . '::__ANON__::' . $ANON_SERIAL;
220 }
221
222 # instantiate a module
223 {
2245328µs256µs
# spent 33µs (11+23) within Mouse::Meta::Module::BEGIN@224 which was called: # once (11µs+23µs) by Mouse::BEGIN@4 at line 224
no strict 'refs';
# spent 33µs making 1 call to Mouse::Meta::Module::BEGIN@224 # spent 22µs making 1 call to strict::unimport
22535µs ${ $package_name . '::VERSION' } = delete $options{version} if exists $options{version};
22634µs ${ $package_name . '::AUTHORITY' } = delete $options{authority} if exists $options{authority};
227 }
228
229319µs3324µs my $meta = $self->initialize( $package_name, %options);
# spent 324µs making 3 calls to Mouse::Meta::Module::initialize, avg 108µs/call
230
231322µs37µs Scalar::Util::weaken($METAS{$package_name})
# spent 7µs making 3 calls to Scalar::Util::weaken, avg 2µs/call
232 if $mortal;
233
234 $meta->add_method(meta => sub {
235 $self->initialize(ref($_[0]) || $_[0]);
236324µs396µs });
# spent 96µs making 3 calls to Mouse::Meta::Role::Composite::add_method, avg 32µs/call
237
23834µs $meta->superclasses(@{$superclasses})
239 if defined $superclasses;
240
241 # NOTE:
242 # process attributes first, so that they can
243 # install accessors, but locally defined methods
244 # can then overwrite them. It is maybe a little odd, but
245 # I think this should be the order of things.
24633µs if (defined $attributes) {
247 if(ref($attributes) eq 'ARRAY'){
248 # array of Mouse::Meta::Attribute
249 foreach my $attr (@{$attributes}) {
250 $meta->add_attribute($attr);
251 }
252 }
253 else{
254 # hash map of name and attribute spec pairs
255 while(my($name, $attr) = each %{$attributes}){
256 $meta->add_attribute($name => $attr);
257 }
258 }
259 }
26034µs if (defined $methods) {
261 while(my($method_name, $method_body) = each %{$methods}){
262 $meta->add_method($method_name, $method_body);
263 }
264 }
26533µs if (defined $roles){
266 Mouse::Util::apply_all_roles($package_name, @{$roles});
267 }
268
26934µs if($cache_key){
270 $IMMORTALS{$cache_key} = $meta;
271 }
272
273313µs return $meta;
274}
275
276sub DESTROY{
277 my($self) = @_;
278
279 return if $Mouse::Util::in_global_destruction;
280
281 my $serial_id = $self->{anon_serial_id};
282 return if !$serial_id;
283
284 # XXX: cleaning stash with threads causes panic/SEGV on legacy perls.
285 if(exists $INC{'threads.pm'}) {
286 # (caller)[2] indicates the caller's line number,
287 # which is zero when the current thread is joining (destroying).
288 return if( (caller)[2] == 0);
289 }
290
291 # clean up mortal anonymous class stuff
292
293 # @ISA is a magical variable, so we must clear it manually.
294 @{$self->{superclasses}} = () if exists $self->{superclasses};
295
296 # Then, clear the symbol table hash
297 %{$self->namespace} = ();
298
299 my $name = $self->name;
300 delete $METAS{$name};
301
302 $name =~ s/ $serial_id \z//xms;
303249µs258µs
# spent 36µs (14+22) within Mouse::Meta::Module::BEGIN@303 which was called: # once (14µs+22µs) by Mouse::BEGIN@4 at line 303
no strict 'refs';
# spent 36µs making 1 call to Mouse::Meta::Module::BEGIN@303 # spent 22µs making 1 call to strict::unimport
304 delete ${$name}{ $serial_id . '::' };
305 return;
306}
307
308
30916µs1;
310__END__
 
# spent 579µs within Mouse::Meta::Module::add_method which was called 87 times, avg 7µs/call: # 54 times (331µs+0s) by Mouse::Meta::Attribute::install_accessors at line 258 of Mouse/Meta/Attribute.pm, avg 6µs/call # 9 times (78µs+0s) by Mouse::init_meta at line 137 of Mouse.pm, avg 9µs/call # 5 times (27µs+0s) by Mouse::Meta::Class::make_immutable at line 290 of Mouse/Meta/Class.pm, avg 5µs/call # 5 times (23µs+0s) by Mouse::Meta::Class::make_immutable at line 296 of Mouse/Meta/Class.pm, avg 5µs/call # 4 times (41µs+0s) by Mouse::Role::init_meta at line 121 of Mouse/Role.pm, avg 10µs/call # 4 times (25µs+0s) by Mouse::Meta::Class::_install_modifier at line 366 of Mouse/Meta/Class.pm, avg 6µs/call # 3 times (36µs+0s) by Mouse::Meta::Role::Composite::add_method at line 39 of Mouse/Meta/Role/Composite.pm, avg 12µs/call # 2 times (13µs+0s) by Mouse::Meta::Class::add_override_method_modifier at line 417 of Mouse/Meta/Class.pm, avg 6µs/call # once (5µs+0s) by Mouse::Meta::Role::Application::apply_methods at line 126 of Mouse/Meta/Role/Application.pm
sub Mouse::Meta::Module::add_method; # xsub
# spent 77µs within Mouse::Meta::Module::name which was called 57 times, avg 1µs/call: # 33 times (42µs+0s) by Mouse::Meta::Role::does_role at line 117 of Mouse/Meta/Role.pm, avg 1µs/call # 9 times (12µs+0s) by Mouse::Meta::Class::does_role at line 447 of Mouse/Meta/Class.pm, avg 1µs/call # 6 times (9µs+0s) by Mouse::Meta::Role::does_role at line 114 of Mouse/Meta/Role.pm, avg 1µs/call # 4 times (6µs+0s) by Mouse::Meta::Class::_install_modifier at line 318 of Mouse/Meta/Class.pm, avg 1µs/call # 3 times (5µs+0s) by Mouse::Meta::Role::Application::check_required_methods at line 93 of Mouse/Meta/Role/Application.pm, avg 2µs/call # 2 times (3µs+0s) by Mouse::Meta::Class::add_override_method_modifier at line 407 of Mouse/Meta/Class.pm, avg 2µs/call
sub Mouse::Meta::Module::name; # xsub
# spent 16µs within Mouse::Meta::Module::namespace which was called 6 times, avg 3µs/call: # 6 times (16µs+0s) by Mouse::Meta::Module::get_method_list at line 133, avg 3µs/call
sub Mouse::Meta::Module::namespace; # xsub