Performance Profile Index
For opt.pl
  Run on Wed May 13 13:47:05 2015
Reported on Wed May 13 13:47:06 2015

Profile of opt.pl for 563ms (of 701ms), executing 490586 statements and 114373 subroutine calls in 19 source files and 2 string evals.
SVG not supported

The Flame Graph above is a visualization of the time spent in distinct call stacks. The colors and x-axis position are not meaningful.

Top 15 Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
149601179.1ms187msPetal::Tiny::::tag2node Petal::Tiny::tag2node
501166.7ms269msPetal::Tiny::::xml2nodes Petal::Tiny::xml2nodes
44301166.1ms90.2msPetal::Tiny::::extract_attributes Petal::Tiny::extract_attributes
49503162.7ms73.2msPetal::Tiny::::resolve Petal::Tiny::resolve (recurses: max depth 1, inclusive time 16.5ms)
30802151.3ms255msPetal::Tiny::::makeitso_node Petal::Tiny::makeitso_node (recurses: max depth 11, inclusive time 1.66s)
21906149.2ms131msPetal::Tiny::::resolve_expression Petal::Tiny::resolve_expression
349107147.5ms47.5msPetal::Tiny::::CORE:match Petal::Tiny::CORE:match (opcode)
20103126.9ms255msPetal::Tiny::::makeitso Petal::Tiny::makeitso (recurses: max depth 11, inclusive time 1.70s)
28601125.7ms25.7msPetal::Tiny::::node2txt Petal::Tiny::node2txt
2666014120.0ms20.0msPetal::Tiny::::CORE:subst Petal::Tiny::CORE:subst (opcode)
38701118.1ms19.2msPetal::Tiny::::_interpolate_dollar Petal::Tiny::_interpolate_dollar
8250315.05ms5.05msPetal::Tiny::::reftype Petal::Tiny::reftype
340114.50ms4.68msEncode::utf8::::decode_xsEncode::utf8::decode_xs (xsub)
2150112.94ms3.44msPetal::Tiny::::xmlencode Petal::Tiny::xmlencode
50112.89ms7.57msmain::::CORE:readline main::CORE:readline (opcode)

You can view a treemap of subroutine exclusive time, grouped by package.
NYTProf also generates call-graph files in Graphviz format: inter-package calls, all inter-subroutine calls (probably too complex to render easily).

You can hover over some table cells and headings to view extra information.
Some table column headings can be clicked on to sort the table by that column.
Source Code Files — ordered by exclusive time then name
StmtsExclusive
Time
ReportsSource File
485626519mslinelib/Petal/Tiny.pm
220223.7mslineopt.pl
652.77mslineCarp.pm (including 1 string eval)
5862.67mslineEncode.pm
302.45mslineConfig.pm
6491.64mslineEncode/Alias.pm (including 1 string eval)
811.18mslineconstant.pm
7001.08mslineEncode/Encoding.pm
11554µslineEncode/Config.pm
32479µslinevars.pm
31432µslinelib.pm
244344µslinewarnings.pm
249310µslinestrict.pm
10252µslinePerlIO/encoding.pm
4794µslineExporter.pm
1165µslinePerlIO.pm
265µslineXSLoader.pm
1318µslinewarnings/register.pm
48µslinebytes.pm
490593557msTotal (-7 statements are unaccounted for)
2582029.3msAverage
479µsMedian
0.00046Deviation