← Index
NYTProf Performance Profile   « block view • line view • sub view »
For -e
  Run on Wed Nov 17 22:00:36 2010
Reported on Wed Nov 17 22:10:47 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 5.21ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1118.58ms15.9msMarkdent::Types::Internal::::BEGIN@9Markdent::Types::Internal::BEGIN@9
1114.42ms1.45sMarkdent::Types::Internal::::BEGIN@11Markdent::Types::Internal::BEGIN@11
1111.49ms43.5msMarkdent::Types::Internal::::BEGIN@24Markdent::Types::Internal::BEGIN@24
11149µs49µsMarkdent::Types::Internal::::BEGIN@2Markdent::Types::Internal::BEGIN@2
11142µs95µsMarkdent::Types::Internal::::BEGIN@6Markdent::Types::Internal::BEGIN@6
11138µs106µsMarkdent::Types::Internal::::BEGIN@7Markdent::Types::Internal::BEGIN@7
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 49µs within Markdent::Types::Internal::BEGIN@2 which was called: # once (49µs+0s) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 4
BEGIN {
3129µs $Markdent::Types::Internal::VERSION = '0.17';
4178µs149µs}
# spent 49µs making 1 call to Markdent::Types::Internal::BEGIN@2
5
63133µs2147µs
# spent 95µs (42+53) within Markdent::Types::Internal::BEGIN@6 which was called: # once (42µs+53µs) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 6
use strict;
# spent 95µs making 1 call to Markdent::Types::Internal::BEGIN@6 # spent 53µs making 1 call to strict::import
73107µs2174µs
# spent 106µs (38+68) within Markdent::Types::Internal::BEGIN@7 which was called: # once (38µs+68µs) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 7
use warnings;
# spent 106µs making 1 call to Markdent::Types::Internal::BEGIN@7 # spent 68µs making 1 call to warnings::import
8
93691µs216.0ms
# spent 15.9ms (8.58+7.32) within Markdent::Types::Internal::BEGIN@9 which was called: # once (8.58ms+7.32ms) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 9
use IO::Handle;
# spent 15.9ms making 1 call to Markdent::Types::Internal::BEGIN@9 # spent 118µs making 1 call to Exporter::import
10
11135.4ms
# spent 1.45s (4.42ms+1.44) within Markdent::Types::Internal::BEGIN@11 which was called: # once (4.42ms+1.44s) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 22
use MooseX::Types -declare => [
# spent 35.4ms 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 )
223657µs11.45s];
# spent 1.45s making 1 call to Markdent::Types::Internal::BEGIN@11
23
2432.43ms262.0ms
# spent 43.5ms (1.49+42.0) within Markdent::Types::Internal::BEGIN@24 which was called: # once (1.49ms+42.0ms) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 24
use MooseX::Types::Moose qw( Int ArrayRef ClassName Any FileHandle Object );
# spent 43.5ms 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 582µs making 1 call to __TYPE__::Markdent::Types::Internal::HeaderLevel # spent 290µs making 1 call to __TYPE__::Int # spent 91µs making 1 call to MooseX::Types::CheckedUtilExports::as # spent 12µs making 1 call to Moose::Util::TypeConstraints::where # spent 10µs making 1 call to Moose::Util::TypeConstraints::message
30
31subtype BlockParserClass,
32 as ClassName,
331103µs82.68ms where { $_->can('does') && $_->does('Markdent::Role::BlockParser') };
# spent 1.81ms making 1 call to MooseX::Types::CheckedUtilExports::subtype # spent 428µs making 1 call to __TYPE__::Markdent::Types::Internal::BlockParserClass # spent 332µs making 1 call to __TYPE__::ClassName # spent 80µ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 13µs making 1 call to Moose::Util::TypeConstraints::where # spent 7µs making 1 call to MooseX::Types::UndefinedType::DESTROY
34
35subtype SpanParserClass,
36 as ClassName,
37197µs82.62ms where { $_->can('does') && $_->does('Markdent::Role::SpanParser') };
# spent 1.87ms making 1 call to MooseX::Types::CheckedUtilExports::subtype # spent 365µs making 1 call to __TYPE__::Markdent::Types::Internal::SpanParserClass # spent 275µs making 1 call to __TYPE__::ClassName # spent 77µ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,
41199µs82.52ms where { $_->can('does') && $_->does('Markdent::Role::Event') };
# spent 1.73ms making 1 call to MooseX::Types::CheckedUtilExports::subtype # spent 380µs making 1 call to __TYPE__::Markdent::Types::Internal::EventObject # spent 283µs making 1 call to __TYPE__::Object # spent 95µ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,
451107µs82.48ms where { $_->can('does') && $_->does('Markdent::Role::Handler') };
# spent 1.73ms making 1 call to MooseX::Types::CheckedUtilExports::subtype # spent 344µs making 1 call to __TYPE__::Markdent::Types::Internal::HandlerObject # spent 272µs making 1 call to __TYPE__::Object # spent 100µs making 1 call to MooseX::Types::CheckedUtilExports::as # spent 16µ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 9µs making 1 call to MooseX::Types::UndefinedType::DESTROY
46
47subtype NonEmptyArrayRef,
48 as ArrayRef,
491114µs82.85ms where { @{$_} >= 1 };
# spent 2.09ms making 1 call to MooseX::Types::CheckedUtilExports::subtype # spent 352µs making 1 call to __TYPE__::Markdent::Types::Internal::NonEmptyArrayRef # spent 291µs making 1 call to __TYPE__::ArrayRef # spent 78µ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 13µ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 },
571110µs92.44ms message { 'The output stream must be a Perl file handle or an object with a print method' };
# spent 1.66ms making 1 call to MooseX::Types::CheckedUtilExports::subtype # spent 350µs making 1 call to __TYPE__::Markdent::Types::Internal::OutputStream # spent 279µs making 1 call to __TYPE__::Any # spent 101µ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 10µs making 1 call to Moose::Util::TypeConstraints::message # spent 7µs making 1 call to MooseX::Types::UndefinedType::DESTROY
58
59149µs52.37msenum TableCellAlignment, qw( left right center );
# spent 1.98ms making 1 call to MooseX::Types::CheckedUtilExports::enum # spent 369µ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 },
641169µs62.59ms message {"The number provided ($_) is not a positive integer"};
# spent 1.87ms making 1 call to MooseX::Types::CheckedUtilExports::subtype # spent 337µs making 1 call to __TYPE__::Markdent::Types::Internal::PosInt # spent 286µs making 1 call to __TYPE__::Int # spent 78µs making 1 call to MooseX::Types::CheckedUtilExports::as # spent 13µs making 1 call to Moose::Util::TypeConstraints::where # spent 11µs making 1 call to Moose::Util::TypeConstraints::message
65
661153µs321µs1;
# 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