| Filename | /home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Moose/Meta/Method/Accessor/Native/Hash/is_empty.pm |
| Statements | Executed 20 statements in 1.22ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 80µs | 99µs | Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@3 |
| 1 | 1 | 1 | 46µs | 15.7ms | Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@12 |
| 1 | 1 | 1 | 45µs | 763µs | Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@26 |
| 1 | 1 | 1 | 40µs | 211µs | Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@6 |
| 1 | 1 | 1 | 39µs | 109µs | Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@4 |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Hash::is_empty::_maximum_arguments |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Hash::is_empty::_return_value |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Moose::Meta::Method::Accessor::Native::Hash::is_empty; | ||||
| 2 | |||||
| 3 | 3 | 104µs | 2 | 118µs | # spent 99µs (80+19) within Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@3 which was called:
# once (80µs+19µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@17 at line 3 # spent 99µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@3
# spent 19µs making 1 call to strict::import |
| 4 | 3 | 126µs | 2 | 178µs | # spent 109µs (39+70) within Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@4 which was called:
# once (39µs+70µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@17 at line 4 # spent 109µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@4
# spent 70µs making 1 call to warnings::import |
| 5 | |||||
| 6 | 3 | 301µs | 2 | 382µs | # spent 211µs (40+171) within Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@6 which was called:
# once (40µs+171µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@17 at line 6 # spent 211µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@6
# spent 171µs making 1 call to Exporter::import |
| 7 | |||||
| 8 | 1 | 4µs | our $VERSION = '1.19'; | ||
| 9 | 1 | 85µs | $VERSION = eval $VERSION; # spent 12µs executing statements in string eval | ||
| 10 | 1 | 3µs | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 11 | |||||
| 12 | 3 | 406µs | 2 | 31.3ms | # spent 15.7ms (46µs+15.6) within Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@12 which was called:
# once (46µs+15.6ms) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@17 at line 12 # spent 15.7ms making 1 call to Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@12
# spent 15.6ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:456] |
| 13 | |||||
| 14 | 1 | 31µs | 1 | 19.3ms | with 'Moose::Meta::Method::Accessor::Native::Reader' => # spent 19.3ms making 1 call to Moose::Role::with |
| 15 | { -excludes => ['_maximum_arguments'] }; | ||||
| 16 | |||||
| 17 | sub _maximum_arguments { 0 } | ||||
| 18 | |||||
| 19 | sub _return_value { | ||||
| 20 | my $self = shift; | ||||
| 21 | my $slot_access = shift; | ||||
| 22 | |||||
| 23 | return "scalar keys \%{ ($slot_access) } ? 0 : 1"; | ||||
| 24 | } | ||||
| 25 | |||||
| 26 | 3 | 111µs | 2 | 1.48ms | # spent 763µs (45+718) within Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@26 which was called:
# once (45µs+718µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@17 at line 26 # spent 763µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@26
# spent 718µs making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:557] |
| 27 | |||||
| 28 | 1 | 44µs | 1; |