← Index
NYTProf Performance Profile   « block view • line view • sub view »
For -e
  Run on Wed Nov 17 21:45:08 2010
Reported on Wed Nov 17 22:10:48 2010

Filename/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/Markdent/Types/Internal.pm
StatementsExecuted 26 statements in 4.69ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1118.27ms15.4msMarkdent::Types::Internal::::BEGIN@9Markdent::Types::Internal::BEGIN@9
1114.28ms1.41sMarkdent::Types::Internal::::BEGIN@11Markdent::Types::Internal::BEGIN@11
1111.32ms55.4msMarkdent::Types::Internal::::BEGIN@24Markdent::Types::Internal::BEGIN@24
11148µs48µsMarkdent::Types::Internal::::BEGIN@2Markdent::Types::Internal::BEGIN@2
11141µs140µsMarkdent::Types::Internal::::BEGIN@7Markdent::Types::Internal::BEGIN@7
11138µs54µsMarkdent::Types::Internal::::BEGIN@6Markdent::Types::Internal::BEGIN@6
0000s0sMarkdent::Types::Internal::::__ANON__[:28]Markdent::Types::Internal::__ANON__[:28]
0000s0sMarkdent::Types::Internal::::__ANON__[:29]Markdent::Types::Internal::__ANON__[:29]
0000s0sMarkdent::Types::Internal::::__ANON__[:33]Markdent::Types::Internal::__ANON__[:33]
0000s0sMarkdent::Types::Internal::::__ANON__[:37]Markdent::Types::Internal::__ANON__[:37]
0000s0sMarkdent::Types::Internal::::__ANON__[:41]Markdent::Types::Internal::__ANON__[:41]
0000s0sMarkdent::Types::Internal::::__ANON__[:45]Markdent::Types::Internal::__ANON__[:45]
0000s0sMarkdent::Types::Internal::::__ANON__[:49]Markdent::Types::Internal::__ANON__[:49]
0000s0sMarkdent::Types::Internal::::__ANON__[:56]Markdent::Types::Internal::__ANON__[:56]
0000s0sMarkdent::Types::Internal::::__ANON__[:57]Markdent::Types::Internal::__ANON__[:57]
0000s0sMarkdent::Types::Internal::::__ANON__[:63]Markdent::Types::Internal::__ANON__[:63]
0000s0sMarkdent::Types::Internal::::__ANON__[:64]Markdent::Types::Internal::__ANON__[:64]
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Markdent::Types::Internal;
2
# spent 48µs within Markdent::Types::Internal::BEGIN@2 which was called: # once (48µs+0s) by Class::MOP::__ANON__[/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Class/MOP.pm:118] at line 4
BEGIN {
3134µs $Markdent::Types::Internal::VERSION = '0.17';
4177µs148µs}
# spent 48µs making 1 call to Markdent::Types::Internal::BEGIN@2
5
6394µs271µs
# spent 54µs (38+17) within Markdent::Types::Internal::BEGIN@6 which was called: # once (38µs+17µs) by Class::MOP::__ANON__[/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Class/MOP.pm:118] at line 6
use strict;
# spent 54µs making 1 call to Markdent::Types::Internal::BEGIN@6 # spent 17µs making 1 call to strict::import
73102µs2239µs
# spent 140µs (41+99) within Markdent::Types::Internal::BEGIN@7 which was called: # once (41µs+99µs) by Class::MOP::__ANON__[/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Class/MOP.pm:118] at line 7
use warnings;
# spent 140µs making 1 call to Markdent::Types::Internal::BEGIN@7 # spent 99µs making 1 call to warnings::import
8
93608µs215.5ms
# spent 15.4ms (8.27+7.11) within Markdent::Types::Internal::BEGIN@9 which was called: # once (8.27ms+7.11ms) by Class::MOP::__ANON__[/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Class/MOP.pm:118] at line 9
use IO::Handle;
# spent 15.4ms making 1 call to Markdent::Types::Internal::BEGIN@9 # spent 116µs making 1 call to Exporter::import
10
11136.8ms
# spent 1.41s (4.28ms+1.41) within Markdent::Types::Internal::BEGIN@11 which was called: # once (4.28ms+1.41s) by Class::MOP::__ANON__[/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Class/MOP.pm:118] at line 22
use MooseX::Types -declare => [
# spent 36.8ms making 1 call to MooseX::Types::import
12 qw( HeaderLevel
13 BlockParserClass
14 SpanParserClass
15 EventObject
16 HandlerObject
17 OutputStream
18 NonEmptyArrayRef
19 TableCellAlignment
20 PosInt
21 )
223514µs11.41s];
# spent 1.41s making 1 call to Markdent::Types::Internal::BEGIN@11
23
2432.27ms273.9ms
# spent 55.4ms (1.32+54.1) within Markdent::Types::Internal::BEGIN@24 which was called: # once (1.32ms+54.1ms) by Class::MOP::__ANON__[/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Class/MOP.pm:118] at line 24
use MooseX::Types::Moose qw( Int ArrayRef ClassName Any FileHandle Object );
# spent 55.4ms making 1 call to Markdent::Types::Internal::BEGIN@24 # spent 18.5ms making 1 call to MooseX::Types::Base::import
25
26subtype HeaderLevel,
27 as Int,
28 where { $_ >= 1 && $_ <= 6 },
29191µs63.19ms message { "Header level must be a number from 1-6 (not $_)" };
# spent 2.20ms making 1 call to MooseX::Types::CheckedUtilExports::subtype # spent 581µs making 1 call to __TYPE__::Markdent::Types::Internal::HeaderLevel # spent 290µs making 1 call to __TYPE__::Int # spent 94µs making 1 call to MooseX::Types::CheckedUtilExports::as # spent 12µs making 1 call to Moose::Util::TypeConstraints::where # spent 11µs making 1 call to Moose::Util::TypeConstraints::message
30
31subtype BlockParserClass,
32 as ClassName,
331100µs82.62ms where { $_->can('does') && $_->does('Markdent::Role::BlockParser') };
# spent 1.88ms making 1 call to MooseX::Types::CheckedUtilExports::subtype # spent 349µs making 1 call to __TYPE__::Markdent::Types::Internal::BlockParserClass # spent 278µs making 1 call to __TYPE__::ClassName # spent 77µs making 1 call to MooseX::Types::CheckedUtilExports::as # spent 15µs making 2 calls to MooseX::Types::TypeDecorator::DESTROY, avg 8µs/call # spent 12µs making 1 call to Moose::Util::TypeConstraints::where # spent 8µs making 1 call to MooseX::Types::UndefinedType::DESTROY
34
35subtype SpanParserClass,
36 as ClassName,
37199µs82.57ms where { $_->can('does') && $_->does('Markdent::Role::SpanParser') };
# spent 1.84ms making 1 call to MooseX::Types::CheckedUtilExports::subtype # spent 345µs making 1 call to __TYPE__::Markdent::Types::Internal::SpanParserClass # spent 268µs making 1 call to __TYPE__::ClassName # spent 76µs making 1 call to MooseX::Types::CheckedUtilExports::as # spent 14µs making 2 calls to MooseX::Types::TypeDecorator::DESTROY, avg 7µs/call # spent 12µs making 1 call to Moose::Util::TypeConstraints::where # spent 7µs making 1 call to MooseX::Types::UndefinedType::DESTROY
38
39subtype EventObject,
40 as Object,
411100µs82.54ms where { $_->can('does') && $_->does('Markdent::Role::Event') };
# spent 1.80ms making 1 call to MooseX::Types::CheckedUtilExports::subtype # spent 343µs making 1 call to __TYPE__::Markdent::Types::Internal::EventObject # spent 280µs making 1 call to __TYPE__::Object # spent 83µs making 1 call to MooseX::Types::CheckedUtilExports::as # spent 14µs making 2 calls to MooseX::Types::TypeDecorator::DESTROY, avg 7µs/call # spent 12µs making 1 call to Moose::Util::TypeConstraints::where # spent 7µs making 1 call to MooseX::Types::UndefinedType::DESTROY
42
43subtype HandlerObject,
44 as Object,
451123µs82.53ms where { $_->can('does') && $_->does('Markdent::Role::Handler') };
# spent 1.80ms making 1 call to MooseX::Types::CheckedUtilExports::subtype # spent 346µs making 1 call to __TYPE__::Markdent::Types::Internal::HandlerObject # spent 270µs making 1 call to __TYPE__::Object # spent 80µs making 1 call to MooseX::Types::CheckedUtilExports::as # spent 15µs making 1 call to Moose::Util::TypeConstraints::where # spent 15µs making 2 calls to MooseX::Types::TypeDecorator::DESTROY, avg 7µs/call # spent 7µs making 1 call to MooseX::Types::UndefinedType::DESTROY
46
47subtype NonEmptyArrayRef,
48 as ArrayRef,
49198µs82.85ms where { @{$_} >= 1 };
# spent 2.08ms making 1 call to MooseX::Types::CheckedUtilExports::subtype # spent 343µs making 1 call to __TYPE__::Markdent::Types::Internal::NonEmptyArrayRef # spent 315µs making 1 call to __TYPE__::ArrayRef # spent 78µs making 1 call to MooseX::Types::CheckedUtilExports::as # spent 14µs making 2 calls to MooseX::Types::TypeDecorator::DESTROY, avg 7µs/call # spent 12µs making 1 call to Moose::Util::TypeConstraints::where # spent 7µs making 1 call to MooseX::Types::UndefinedType::DESTROY
50
51subtype OutputStream,
52 as Any,
53 where {
54 FileHandle->check($_)
55 || ( Object->check($_) && $_->can('print') );
56 },
571114µs92.44ms message { 'The output stream must be a Perl file handle or an object with a print method' };
# spent 1.65ms making 1 call to MooseX::Types::CheckedUtilExports::subtype # spent 388µs making 1 call to __TYPE__::Markdent::Types::Internal::OutputStream # spent 278µs making 1 call to __TYPE__::Any # spent 79µs making 1 call to MooseX::Types::CheckedUtilExports::as # spent 14µs making 2 calls to MooseX::Types::TypeDecorator::DESTROY, avg 7µs/call # spent 12µs making 1 call to Moose::Util::TypeConstraints::where # spent 11µs making 1 call to Moose::Util::TypeConstraints::message # spent 7µs making 1 call to MooseX::Types::UndefinedType::DESTROY
58
59150µs52.44msenum TableCellAlignment, qw( left right center );
# spent 2.05ms making 1 call to MooseX::Types::CheckedUtilExports::enum # spent 363µs making 1 call to __TYPE__::Markdent::Types::Internal::TableCellAlignment # spent 14µs making 2 calls to MooseX::Types::TypeDecorator::DESTROY, avg 7µs/call # spent 7µs making 1 call to MooseX::Types::UndefinedType::DESTROY
60
61subtype PosInt,
62 as Int,
63 where { $_ >= 1 },
64187µs62.59ms message {"The number provided ($_) is not a positive integer"};
# spent 1.81ms making 1 call to MooseX::Types::CheckedUtilExports::subtype # spent 385µs making 1 call to __TYPE__::Markdent::Types::Internal::PosInt # spent 279µs making 1 call to __TYPE__::Int # spent 80µs making 1 call to MooseX::Types::CheckedUtilExports::as # spent 26µs making 1 call to Moose::Util::TypeConstraints::message # spent 12µs making 1 call to Moose::Util::TypeConstraints::where
65
661130µs322µs1;
# spent 15µs making 2 calls to MooseX::Types::TypeDecorator::DESTROY, avg 7µs/call # spent 7µs making 1 call to MooseX::Types::UndefinedType::DESTROY