Filename | /home/hinrik/perl5/perlbrew/perls/perl-5.13.5/lib/site_perl/5.13.5/MouseX/StrictConstructor.pm |
Statements | Executed 29 statements in 585µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
5 | 1 | 1 | 82µs | 456µs | init_meta | MouseX::StrictConstructor::
1 | 1 | 1 | 35µs | 35µs | BEGIN@3 | MouseX::StrictConstructor::
1 | 1 | 1 | 13µs | 25µs | BEGIN@5 | MouseX::StrictConstructor::
1 | 1 | 1 | 8µs | 8µs | BEGIN@4 | MouseX::StrictConstructor::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package MouseX::StrictConstructor; | ||||
2 | |||||
3 | 2 | 380µs | 1 | 35µs | # spent 35µs within MouseX::StrictConstructor::BEGIN@3 which was called:
# once (35µs+0s) by Any::Moose::_install_module at line 3 # spent 35µs making 1 call to MouseX::StrictConstructor::BEGIN@3 |
4 | 2 | 28µs | 1 | 8µs | # spent 8µs within MouseX::StrictConstructor::BEGIN@4 which was called:
# once (8µs+0s) by Any::Moose::_install_module at line 4 # spent 8µs making 1 call to MouseX::StrictConstructor::BEGIN@4 |
5 | 2 | 77µs | 2 | 37µs | # spent 25µs (13+12) within MouseX::StrictConstructor::BEGIN@5 which was called:
# once (13µs+12µs) by Any::Moose::_install_module at line 5 # spent 25µs making 1 call to MouseX::StrictConstructor::BEGIN@5
# spent 12µs making 1 call to Mouse::Exporter::import |
6 | |||||
7 | 1 | 1µs | our $VERSION = '0.02'; | ||
8 | |||||
9 | 1 | 5µs | 1 | 94µs | Mouse::Exporter->setup_import_methods(); # spent 94µs making 1 call to Mouse::Exporter::setup_import_methods |
10 | |||||
11 | # spent 456µs (82+373) within MouseX::StrictConstructor::init_meta which was called 5 times, avg 91µs/call:
# 5 times (82µs+373µs) by Mouse::Exporter::do_import at line 181 of Mouse/Exporter.pm, avg 91µs/call | ||||
12 | 20 | 89µs | shift; | ||
13 | 5 | 356µs | my $meta = Mouse->init_meta(@_); # spent 356µs making 5 calls to Mouse::init_meta, avg 71µs/call | ||
14 | 5 | 17µs | $meta->strict_constructor(1); # XXX: Mouse-extended feature # spent 17µs making 5 calls to Mouse::Meta::Class::strict_constructor, avg 3µs/call | ||
15 | return $meta; | ||||
16 | } | ||||
17 | |||||
18 | 1 | 4µs | 1; | ||
19 | __END__ |