| Filename | /mnt/stuff/src/my-cpan/hailo/lib/Hailo/Role/Arguments.pm |
| Statements | Executed 10 statements in 180µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 56µs | 132µs | Hailo::Role::Arguments::BEGIN@3 |
| 1 | 1 | 1 | 15µs | 1.43ms | Hailo::Role::Arguments::BEGIN@5 |
| 1 | 1 | 1 | 14µs | 584µs | Hailo::Role::Arguments::BEGIN@4 |
| 1 | 1 | 1 | 12µs | 77µs | Hailo::Role::Arguments::BEGIN@3.14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Hailo::Role::Arguments; | ||||
| 2 | |||||
| 3 | 4 | 74µs | 3 | 274µs | use 5.010; # spent 132µs making 1 call to Hailo::Role::Arguments::BEGIN@3
# spent 77µs making 1 call to Hailo::Role::Arguments::BEGIN@3.14
# spent 65µs making 1 call to feature::import |
| 4 | 2 | 35µs | 2 | 1.15ms | # spent 584µs (14+570) within Hailo::Role::Arguments::BEGIN@4 which was called:
# once (14µs+570µs) by Mouse::Util::_try_load_one_class at line 4 # spent 584µs making 1 call to Hailo::Role::Arguments::BEGIN@4
# spent 570µs making 1 call to Any::Moose::import |
| 5 | 2 | 51µs | 2 | 2.84ms | # spent 1.43ms (15µs+1.41) within Hailo::Role::Arguments::BEGIN@5 which was called:
# once (15µs+1.41ms) by Mouse::Util::_try_load_one_class at line 5 # spent 1.43ms making 1 call to Hailo::Role::Arguments::BEGIN@5
# spent 1.41ms making 1 call to namespace::clean::import |
| 6 | |||||
| 7 | 1 | 4µs | 1 | 43µs | has arguments => ( # spent 43µs making 1 call to Mouse::Role::has |
| 8 | isa => 'HashRef[Str]', | ||||
| 9 | is => 'ro', | ||||
| 10 | documentation => "Arguments passed from Hailo", | ||||
| 11 | auto_deref => 1, | ||||
| 12 | ); | ||||
| 13 | |||||
| 14 | 1 | 5µs | 1; | ||
| 15 | |||||
| 16 | =encoding utf8 | ||||
| 17 | |||||
| 18 | =head1 NAME | ||||
| 19 | |||||
| 20 | Hailo::Role::Arguments - A role which adds an 'arguments' attribute | ||||
| 21 | |||||
| 22 | =head1 ATTRIBUTES | ||||
| 23 | |||||
| 24 | =head2 C<arguments> | ||||
| 25 | |||||
| 26 | A C<HashRef[Str]> of arguments passed to us from L<Hailo|Hailo>'s | ||||
| 27 | L<storage|Hailo/storage_args>, or | ||||
| 28 | L<tokenizer|Hailo/tokenizer_args> arguments. | ||||
| 29 | |||||
| 30 | =head1 AUTHOR | ||||
| 31 | |||||
| 32 | E<AElig>var ArnfjE<ouml>rE<eth> Bjarmason <avar@cpan.org> | ||||
| 33 | |||||
| 34 | =head1 LICENSE AND COPYRIGHT | ||||
| 35 | |||||
| 36 | Copyright 2010 E<AElig>var ArnfjE<ouml>rE<eth> Bjarmason. | ||||
| 37 | |||||
| 38 | This program is free software, you can redistribute it and/or modify | ||||
| 39 | it under the same terms as Perl itself. | ||||
| 40 | |||||
| 41 | =cut | ||||
| 42 | 1 | 10µs | 1 | 4.35ms | # spent 4.35ms making 1 call to B::Hooks::EndOfScope::__ANON__[B/Hooks/EndOfScope.pm:26] |