NYTProf -e

Performance Profile Index
For -e
Run on Thu Jun 30 16:34:56 2016
Reported on Thu Jun 30 16:35:09 2016
Profile of -e for 2.69s (of 3.07s), executing 1522011 statements and 565764 subroutine calls in 59 source files and 11 string evals.

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
--- | --- | --- | --- | --- | ---
22002 | 5 | 2 | 511ms | 762ms | Params::Validate::XS::::validate Params::Validate::XS::validate (xsub)
13000 | 3 | 1 | 362ms | 908ms | DateTime::::_new DateTime::_new
10000 | 2 | 1 | 302ms | 1.57s | DateTime::::_new_from_self DateTime::_new_from_self
4000 | 2 | 2 | 114ms | 593ms | DateTime::::truncate DateTime::truncate
13000 | 1 | 1 | 94.5ms | 144ms | DateTime::::_handle_offset_modifier DateTime::_handle_offset_modifier
13002 | 1 | 1 | 94.4ms | 109ms | DateTime::::_calc_local_components DateTime::_calc_local_components
6000 | 2 | 1 | 83.3ms | 1.37s | DateTime::::set DateTime::set
13002 | 3 | 2 | 72.9ms | 186ms | DateTime::::_calc_local_rd DateTime::_calc_local_rd
3000 | 1 | 1 | 71.7ms | 414ms | DateTime::::from_epoch DateTime::from_epoch
4246 | 10 | 2 | 67.9ms | 2.38s | DateTime::Format::Alami::::CORE:matchDateTime::Format::Alami::CORE:match (opcode)
13002 | 3 | 2 | 67.6ms | 82.4ms | DateTime::::_calc_utc_rd DateTime::_calc_utc_rd
6000 | 1 | 1 | 65.6ms | 940ms | DateTime::::new DateTime::new
3002 | 3 | 2 | 42.9ms | 65.7ms | DateTime::TimeZone::::new DateTime::TimeZone::new
1000 | 1 | 1 | 42.0ms | 2.64s | DateTime::Format::Alami::::parse_datetimeDateTime::Format::Alami::parse_datetime
51000 | 8 | 1 | 38.9ms | 38.9ms | DateTime::::CORE:match DateTime::CORE:match (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
Stmts | Exclusive Time | Reports | Source File
--- | --- | --- | ---
1345277 | 2.21s | line | DateTime.pm
34056 | 93.7ms | line | DateTime/TimeZone.pm
75787 | 151ms | line | lib/DateTime/Format/Alami.pm (including 3 string evals)
39010 | 73.8ms | line | DateTime/TimeZone/UTC.pm
7015 | 60.9ms | line | Params/Validate/XS.pm
16 | 15.1ms | line | DateTime/Locale/Data.pm
15019 | 12.4ms | line | Class/Singleton.pm
103 | 5.19ms | line | lib/DateTime/Format/Alami/EN.pm
409 | 4.77ms | line | Role/Tiny.pm (including 1 string eval)
35 | 3.95ms | line | POSIX.pm
62 | 3.89ms | line | Carp.pm (including 1 string eval)
223 | 3.31ms | line | Class/Inspector.pm (including 1 string eval)
98 | 2.95ms | line | experimental.pm
29 | 2.72ms | line | File/Spec/Unix.pm
19 | 2.64ms | line | DateTime/Duration.pm
1004 | 2.52ms | line | -e
690 | 2.40ms | line | constant.pm
397 | 2.25ms | line | Exporter.pm
38 | 2.02ms | line | DateTime/Locale.pm
11 | 1.89ms | line | DateTime/TimeZone/Catalog.pm
36 | 1.83ms | line | re.pm
53 | 1.68ms | line | Module/Runtime.pm
45 | 1.74ms | line | version.pm (including 1 string eval)
73 | 1.45ms | line | Module/Implementation.pm
66 | 1.40ms | line | DateTime/Infinite.pm
139 | 1.37ms | line | DateTime/Locale/FromData.pm
79 | 1.27ms | line | Try/Tiny.pm
14 | 1.22ms | line | Parse/Number/EN.pm
829 | 1.19ms | line | warnings.pm
113 | 1.17ms | line | base.pm
433 | 1.11ms | line | strict.pm
136 | 933µs | line | overload.pm
16 | 905µs | line | List/Util.pm (including 1 string eval)
172 | 871µs | line | vars.pm
26 | 825µs | line | Params/Validate.pm
36 | 809µs | line | parent.pm
16 | 792µs | line | DateTime/TimeZone/Local.pm
11 | 697µs | line | Fcntl.pm
8 | 661µs | line | DateTime/Helpers.pm
8 | 638µs | line | DateTime/TimeZone/OlsonDB/Change.pm
15 | 609µs | line | Role/Tiny/With.pm (including 1 string eval)
185 | 595µs | line | Data/Graph/Util.pm
7 | 587µs | line | Tie/Hash.pm
16 | 565µs | line | Scalar/Util.pm (including 1 string eval)
18 | 563µs | line | version/regex.pm
16 | 559µs | line | DateTime/TimeZone/OffsetOnly.pm
14 | 390µs | line | version/vxs.pm
14 | 386µs | line | DateTime/TimeZone/Floating.pm
14 | 312µs | line | overloading.pm
9 | 298µs | line | DateTime/Locale/Util.pm
11 | 290µs | line | File/Spec.pm
13 | 245µs | line | Sub/Util.pm (including 1 string eval)
8 | 234µs | line | Params/Validate/Constants.pm
33 | 63µs | line | warnings/register.pm
19 | 53µs | line | feature.pm
17 | 41µs | line | Log/Any/IfLOG.pm
5 | 17µs | line | integer.pm
4 | 11µs | line | utf8.pm
0 | 0s | line | XSLoader.pm
1522025 | 2.69s | Total (-14 statements are unaccounted for)
25797 | 45.6ms | Average
| 1.19ms | Median
| 0.00083 | Deviation