← Index
NYTProf Performance Profile   « block view • line view • sub view »
For 01.HTTP.t
  Run on Tue May 4 15:25:55 2010
Reported on Tue May 4 15:26:05 2010

File /usr/local/lib/perl5/site_perl/5.10.1/darwin-2level/Class/MOP/Mixin.pm
Statements Executed 93
Statement Execution Time 878µs
Subroutines — ordered by exclusive time
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
40374236µs806µsClass::MOP::Mixin::::metaClass::MOP::Mixin::meta
11114µs17µsClass::MOP::Mixin::::BEGIN@3Class::MOP::Mixin::BEGIN@3
1119µs20µsClass::MOP::Mixin::::BEGIN@4Class::MOP::Mixin::BEGIN@4
1118µs37µsClass::MOP::Mixin::::BEGIN@10Class::MOP::Mixin::BEGIN@10
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Class::MOP::Mixin;
2
3322µs221µs
# spent 17µs (14+4) within Class::MOP::Mixin::BEGIN@3 which was called # once (14µs+4µs) by base::import at line 3
use strict;
# spent 17µs making 1 call to Class::MOP::Mixin::BEGIN@3 # spent 3µs making 1 call to strict::import
4349µs230µs
# spent 20µs (9+10) within Class::MOP::Mixin::BEGIN@4 which was called # once (9µs+10µs) by base::import at line 4
use warnings;
# spent 20µs making 1 call to Class::MOP::Mixin::BEGIN@4 # spent 10µs making 1 call to warnings::import
5
61900nsour $VERSION = '0.98';
7122µs$VERSION = eval $VERSION;
81300nsour $AUTHORITY = 'cpan:STEVAN';
9
103493µs265µs
# spent 37µs (8+29) within Class::MOP::Mixin::BEGIN@10 which was called # once (8µs+29µs) by base::import at line 10
use Scalar::Util 'blessed';
# spent 37µs making 1 call to Class::MOP::Mixin::BEGIN@10 # spent 28µs making 1 call to Exporter::import
11
12
# spent 806µs (236+570) within Class::MOP::Mixin::meta which was called 40 times, avg 20µs/call: # 4 times (22µs+26µs) by Moose::Exporter::BEGIN@11 at line 701 of Class/MOP.pm, avg 12µs/call # once (13µs+108µs) by Moose::Exporter::BEGIN@11 at line 177 of Class/MOP.pm # once (14µs+102µs) by base::import at line 11 of Moose/Meta/Mixin/AttributeCore.pm # once (10µs+53µs) by Moose::Meta::Role::BEGIN@17 at line 15 of Moose/Meta/Role/Attribute.pm # once (5µs+46µs) by Moose::Exporter::BEGIN@11 at line 384 of Class/MOP.pm # once (5µs+42µs) by Moose::Exporter::BEGIN@11 at line 219 of Class/MOP.pm # once (11µs+12µs) by SimpleDB::Client::BEGIN@46 at line 276 of Moose.pm # once (5µs+7µs) by Moose::Exporter::BEGIN@11 at line 412 of Class/MOP.pm # once (6µs+7µs) by Moose::Exporter::BEGIN@11 at line 439 of Class/MOP.pm # once (6µs+7µs) by Moose::Exporter::BEGIN@11 at line 467 of Class/MOP.pm # once (6µs+6µs) by base::import at line 16 of Moose/Meta/Mixin/AttributeCore.pm # once (6µs+6µs) by Moose::Exporter::BEGIN@11 at line 446 of Class/MOP.pm # once (6µs+6µs) by Moose::Exporter::BEGIN@11 at line 432 of Class/MOP.pm # once (5µs+6µs) by Moose::Exporter::BEGIN@11 at line 419 of Class/MOP.pm # once (7µs+5µs) by SimpleDB::Client::BEGIN@46 at line 244 of Moose.pm # once (5µs+6µs) by base::import at line 12 of Moose/Meta/Mixin/AttributeCore.pm # once (5µs+6µs) by Moose::Exporter::BEGIN@11 at line 180 of Class/MOP.pm # once (5µs+6µs) by base::import at line 20 of Moose/Meta/Mixin/AttributeCore.pm # once (5µs+6µs) by base::import at line 23 of Moose/Meta/Mixin/AttributeCore.pm # once (5µs+6µs) by base::import at line 29 of Moose/Meta/Mixin/AttributeCore.pm # once (5µs+6µs) by base::import at line 13 of Moose/Meta/Mixin/AttributeCore.pm # once (5µs+6µs) by base::import at line 21 of Moose/Meta/Mixin/AttributeCore.pm # once (5µs+6µs) by base::import at line 35 of Moose/Meta/Mixin/AttributeCore.pm # once (5µs+6µs) by base::import at line 15 of Moose/Meta/Mixin/AttributeCore.pm # once (5µs+6µs) by base::import at line 42 of Moose/Meta/Mixin/AttributeCore.pm # once (5µs+6µs) by base::import at line 17 of Moose/Meta/Mixin/AttributeCore.pm # once (5µs+6µs) by base::import at line 19 of Moose/Meta/Mixin/AttributeCore.pm # once (5µs+6µs) by Moose::Meta::Role::BEGIN@17 at line 27 of Moose/Meta/Role/Attribute.pm # once (5µs+6µs) by Moose::Meta::Role::BEGIN@17 at line 33 of Moose/Meta/Role/Attribute.pm # once (5µs+6µs) by Moose::Meta::Role::BEGIN@17 at line 21 of Moose/Meta/Role/Attribute.pm # once (5µs+6µs) by Moose::Exporter::BEGIN@11 at line 460 of Class/MOP.pm # once (5µs+6µs) by Moose::Exporter::BEGIN@11 at line 425 of Class/MOP.pm # once (5µs+6µs) by Moose::Exporter::BEGIN@11 at line 405 of Class/MOP.pm # once (5µs+6µs) by Moose::Exporter::BEGIN@11 at line 398 of Class/MOP.pm # once (5µs+6µs) by Moose::Exporter::BEGIN@11 at line 222 of Class/MOP.pm # once (5µs+6µs) by Moose::Exporter::BEGIN@11 at line 453 of Class/MOP.pm # once (5µs+6µs) by Moose::Exporter::BEGIN@11 at line 192 of Class/MOP.pm
sub meta {
1380283µs require Class::MOP::Class;
14 Class::MOP::Class->initialize( blessed( $_[0] ) || $_[0] );
# spent 546µs making 40 calls to Class::MOP::Class::initialize, avg 14µs/call # spent 24µs making 40 calls to Scalar::Util::blessed, avg 607ns/call
15}
16
1718µs1;
18
19__END__
20
21=pod
22
23=head1 NAME
24
25Class::MOP::Mixin - Base class for mixin classes
26
27=head1 DESCRIPTION
28
29This class provides a single method shared by all mixins
30
31=head1 METHODS
32
33This class provides a few methods which are useful in all metaclasses.
34
35=over 4
36
37=item B<< Class::MOP::Mixin->meta >>
38
39This returns a L<Class::MOP::Class> object for the mixin class.
40
41=back
42
43=head1 AUTHORS
44
45Dave Rolsky E<lt>autarch@urth.orgE<gt>
46
47=head1 COPYRIGHT AND LICENSE
48
49Copyright 2006-2010 by Infinity Interactive, Inc.
50
51L<http://www.iinteractive.com>
52
53This library is free software; you can redistribute it and/or modify
54it under the same terms as Perl itself.
55
56=cut