← 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:14:38 2010

Filename/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/Markdent/Regexes.pm
StatementsExecuted 22 statements in 1.97ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1111.13ms4.52msMarkdent::Regexes::::BEGIN@9Markdent::Regexes::BEGIN@9
441186µs186µsMarkdent::Regexes::::CORE:regcompMarkdent::Regexes::CORE:regcomp (opcode)
11145µs45µsMarkdent::Regexes::::BEGIN@2Markdent::Regexes::BEGIN@2
66144µs44µsMarkdent::Regexes::::CORE:qrMarkdent::Regexes::CORE:qr (opcode)
11140µs272µsMarkdent::Regexes::::BEGIN@11Markdent::Regexes::BEGIN@11
11139µs57µsMarkdent::Regexes::::BEGIN@6Markdent::Regexes::BEGIN@6
11139µs108µsMarkdent::Regexes::::BEGIN@7Markdent::Regexes::BEGIN@7
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Markdent::Regexes;
2
# spent 45µs within Markdent::Regexes::BEGIN@2 which was called: # once (45µs+0s) by Markdent::Dialect::Standard::BlockParser::BEGIN@28 at line 4
BEGIN {
3128µs $Markdent::Regexes::VERSION = '0.17';
4173µs145µs}
# spent 45µs making 1 call to Markdent::Regexes::BEGIN@2
5
6396µs274µs
# spent 57µs (39+17) within Markdent::Regexes::BEGIN@6 which was called: # once (39µs+17µs) by Markdent::Dialect::Standard::BlockParser::BEGIN@28 at line 6
use strict;
# spent 57µs making 1 call to Markdent::Regexes::BEGIN@6 # spent 17µs making 1 call to strict::import
73106µs2177µs
# spent 108µs (39+69) within Markdent::Regexes::BEGIN@7 which was called: # once (39µs+69µs) by Markdent::Dialect::Standard::BlockParser::BEGIN@28 at line 7
use warnings;
# spent 108µs making 1 call to Markdent::Regexes::BEGIN@7 # spent 69µs making 1 call to warnings::import
8
93489µs25.22ms
# spent 4.52ms (1.13+3.39) within Markdent::Regexes::BEGIN@9 which was called: # once (1.13ms+3.39ms) by Markdent::Dialect::Standard::BlockParser::BEGIN@28 at line 9
use List::AllUtils qw( uniq );
# spent 4.52ms making 1 call to Markdent::Regexes::BEGIN@9 # spent 699µs making 1 call to Exporter::import
10
113673µs2504µs
# spent 272µs (40+232) within Markdent::Regexes::BEGIN@11 which was called: # once (40µs+232µs) by Markdent::Dialect::Standard::BlockParser::BEGIN@28 at line 11
use base 'Exporter';
# spent 272µs making 1 call to Markdent::Regexes::BEGIN@11 # spent 232µs making 1 call to base::import
12
13118µsour %EXPORT_TAGS = (
14 block => [
15 qw( $HorizontalWS
16 $EmptyLine
17 $EmptyLines
18 $BlockStart
19 $BlockEnd
20 ),
21 ],
22 span => [],
23 other => [qw( $HTMLComment )],
24);
25
26181µs134µsour @EXPORT_OK = uniq( map { @{$_} } values %EXPORT_TAGS );
# spent 34µs making 1 call to List::MoreUtils::uniq
27
28132µs112µsour $HorizontalWS = qr/(?: \p{SpaceSeparator} | \t )/x;
# spent 12µs making 1 call to Markdent::Regexes::CORE:qr
29186µs256µsour $EmptyLine = qr/(?: ^ $HorizontalWS* \n ) /xm;
# spent 50µs making 1 call to Markdent::Regexes::CORE:regcomp # spent 6µs making 1 call to Markdent::Regexes::CORE:qr
30174µs250µsour $EmptyLines = qr/ (?: $EmptyLine )+ /xm;
# spent 43µs making 1 call to Markdent::Regexes::CORE:regcomp # spent 7µs making 1 call to Markdent::Regexes::CORE:qr
31
32176µs252µsour $BlockStart = qr/(?: \A | $EmptyLines )/xm;
# spent 46µs making 1 call to Markdent::Regexes::CORE:regcomp # spent 7µs making 1 call to Markdent::Regexes::CORE:qr
33177µs253µsour $BlockEnd = qr/(?=(?: $EmptyLines | \z ) )/xm;
# spent 47µs making 1 call to Markdent::Regexes::CORE:regcomp # spent 6µs making 1 call to Markdent::Regexes::CORE:qr
34
35119µs16µsour $HTMLComment = qr{<!--(.+?)-->}s;
# spent 6µs making 1 call to Markdent::Regexes::CORE:qr
36
37138µs1;
 
# spent 44µs within Markdent::Regexes::CORE:qr which was called 6 times, avg 7µs/call: # once (12µs+0s) by Markdent::Dialect::Standard::BlockParser::BEGIN@28 at line 28 # once (7µs+0s) by Markdent::Dialect::Standard::BlockParser::BEGIN@28 at line 32 # once (7µs+0s) by Markdent::Dialect::Standard::BlockParser::BEGIN@28 at line 30 # once (6µs+0s) by Markdent::Dialect::Standard::BlockParser::BEGIN@28 at line 33 # once (6µs+0s) by Markdent::Dialect::Standard::BlockParser::BEGIN@28 at line 29 # once (6µs+0s) by Markdent::Dialect::Standard::BlockParser::BEGIN@28 at line 35
sub Markdent::Regexes::CORE:qr; # opcode
# spent 186µs within Markdent::Regexes::CORE:regcomp which was called 4 times, avg 46µs/call: # once (50µs+0s) by Markdent::Dialect::Standard::BlockParser::BEGIN@28 at line 29 # once (47µs+0s) by Markdent::Dialect::Standard::BlockParser::BEGIN@28 at line 33 # once (46µs+0s) by Markdent::Dialect::Standard::BlockParser::BEGIN@28 at line 32 # once (43µs+0s) by Markdent::Dialect::Standard::BlockParser::BEGIN@28 at line 30
sub Markdent::Regexes::CORE:regcomp; # opcode