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