← Index
Performance Profile   « block view • line view • sub view »
For t/test-parsing
  Run on Sun Nov 14 09:49:57 2010
Reported on Sun Nov 14 09:50:10 2010

File /usr/local/lib/perl/5.10.0/Moose/Meta/Mixin/AttributeCore.pm
Statements Executed 25
Total Time 0.0006068 seconds
Subroutines — ordered by exclusive time
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
0000s0sMoose::Meta::Mixin::AttributeCore::::BEGINMoose::Meta::Mixin::AttributeCore::BEGIN
LineStmts.Exclusive
Time
Avg.Code
1package Moose::Meta::Mixin::AttributeCore;
2
3334µs11µsuse strict;
# spent 11µs making 1 call to strict::import
4367µs22µsuse warnings;
# spent 27µs making 1 call to warnings::import
5
61900ns900nsour $VERSION = '1.15';
71500ns500nsour $AUTHORITY = 'cpan:STEVAN';
8
93211µs70µsuse base 'Class::MOP::Mixin::AttributeCore';
# spent 78µs making 1 call to base::import, max recursion depth 1
10
11122µs22µs__PACKAGE__->meta->add_attribute( 'isa' => ( reader => '_isa_metadata' ) );
# spent 669µs making 1 call to Class::MOP::Mixin::meta # spent 580µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
12113µs13µs__PACKAGE__->meta->add_attribute( 'does' => ( reader => '_does_metadata' ) );
# spent 566µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute # spent 27µs making 1 call to Class::MOP::Mixin::meta
13118µs18µs__PACKAGE__->meta->add_attribute( 'is' => ( reader => '_is_metadata' ) );
# spent 525µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute # spent 23µs making 1 call to Class::MOP::Mixin::meta
14
15119µs19µs__PACKAGE__->meta->add_attribute( 'required' => ( reader => 'is_required' ) );
# spent 499µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute # spent 28µs making 1 call to Class::MOP::Mixin::meta
16120µs20µs__PACKAGE__->meta->add_attribute( 'lazy' => ( reader => 'is_lazy' ) );
# spent 505µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute # spent 28µs making 1 call to Class::MOP::Mixin::meta
17122µs22µs__PACKAGE__->meta->add_attribute(
# spent 490µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute # spent 22µs making 1 call to Class::MOP::Mixin::meta
18 'lazy_build' => ( reader => 'is_lazy_build' ) );
19120µs20µs__PACKAGE__->meta->add_attribute( 'coerce' => ( reader => 'should_coerce' ) );
# spent 473µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute # spent 23µs making 1 call to Class::MOP::Mixin::meta
20120µs20µs__PACKAGE__->meta->add_attribute( 'weak_ref' => ( reader => 'is_weak_ref' ) );
# spent 503µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute # spent 23µs making 1 call to Class::MOP::Mixin::meta
21120µs20µs__PACKAGE__->meta->add_attribute(
# spent 496µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute # spent 23µs making 1 call to Class::MOP::Mixin::meta
22 'auto_deref' => ( reader => 'should_auto_deref' ) );
23117µs17µs__PACKAGE__->meta->add_attribute(
# spent 798µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute # spent 30µs making 1 call to Class::MOP::Mixin::meta
24 'type_constraint' => (
25 reader => 'type_constraint',
26 predicate => 'has_type_constraint',
27 )
28);
29115µs15µs__PACKAGE__->meta->add_attribute(
# spent 712µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute # spent 25µs making 1 call to Class::MOP::Mixin::meta
30 'trigger' => (
31 reader => 'trigger',
32 predicate => 'has_trigger',
33 )
34);
35121µs21µs__PACKAGE__->meta->add_attribute(
# spent 1.01ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute # spent 29µs making 1 call to Class::MOP::Mixin::meta
36 'handles' => (
37 reader => 'handles',
38 writer => '_set_handles',
39 predicate => 'has_handles',
40 )
41);
42124µs24µs__PACKAGE__->meta->add_attribute(
# spent 722µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute # spent 24µs making 1 call to Class::MOP::Mixin::meta
43 'documentation' => (
44 reader => 'documentation',
45 predicate => 'has_documentation',
46 )
47);
48
49140µs40µs1;
50
51__END__
52
53=pod
54
55=head1 NAME
56
57Moose::Meta::Mixin::AttributeCore - Core attributes shared by attribute metaclasses
58
59=head1 DESCRIPTION
60
61This class implements the core attributes (aka properties) shared by all Moose
62attributes. See the L<Moose::Meta::Attribute> documentation for API details.
63
64=head1 BUGS
65
66See L<Moose/BUGS> for details on reporting bugs.
67
68=head1 AUTHORS
69
70Dave Rolsky E<lt>autarch@urth.orgE<gt>
71
72=head1 COPYRIGHT AND LICENSE
73
74Copyright 2006-2010 by Infinity Interactive, Inc.
75
76L<http://www.iinteractive.com>
77
78This library is free software; you can redistribute it and/or modify
79it under the same terms as Perl itself.
80
81=cut