NYTProf -e

Performance Profile Index
For -e
Run on Thu Mar 24 14:41:10 2016
Reported on Thu Mar 24 14:41:17 2016
Profile of -e for 122ms (of 123ms), executing 6159 statements and 3018 subroutine calls in 6 source files.

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

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1000 | 1 | 1 | 91.2ms | 91.2ms | JSON::Decode::Regexp::::CORE:regcompJSON::Decode::Regexp::CORE:regcomp (opcode)
1000 | 1 | 1 | 9.39ms | 109ms | JSON::Decode::Regexp::::from_jsonJSON::Decode::Regexp::from_json
1000 | 1 | 1 | 8.68ms | 8.68ms | JSON::Decode::Regexp::::CORE:matchJSON::Decode::Regexp::CORE:match (opcode)
1 | 1 | 1 | 2.52ms | 2.57ms | JSON::Decode::Regexp::::BEGIN@8JSON::Decode::Regexp::BEGIN@8
1 | 1 | 1 | 2.31ms | 5.68ms | main::::BEGIN@0 main::BEGIN@0 (xsub)
1 | 1 | 1 | 1.10ms | 1.18ms | main::::BEGIN@0.1 main::BEGIN@0.1 (xsub)
1 | 1 | 1 | 616µs | 701µs | JSON::Decode::Regexp::::BEGIN@7JSON::Decode::Regexp::BEGIN@7
1 | 1 | 1 | 66µs | 66µs | feature::::__common feature::__common
1 | 1 | 1 | 52µs | 59µs | Exporter::::import Exporter::import
1 | 1 | 1 | 40µs | 40µs | strict::::BEGIN@14 strict::BEGIN@14
1 | 1 | 1 | 32µs | 32µs | strict::::CORE:regcomp strict::CORE:regcomp (opcode)
1 | 1 | 1 | 28µs | 28µs | JSON::Decode::Regexp::::BEGIN@6JSON::Decode::Regexp::BEGIN@6
1 | 1 | 1 | 26µs | 26µs | warnings::::CORE:regcomp warnings::CORE:regcomp (opcode)
1 | 1 | 1 | 17µs | 17µs | warnings::::import warnings::import
1 | 1 | 1 | 17µs | 83µs | feature::::import feature::import

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.
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
--- | --- | --- | ---
5011 | 114ms | line | lib/JSON/Decode/Regexp.pm
1005 | 5.66ms | line | -e
17 | 297µs | line | strict.pm
19 | 223µs | line | warnings.pm
86 | 119µs | line | feature.pm
22 | 89µs | line | Exporter.pm
6160 | 120ms | Total (-1 statements are unaccounted for)
1026 | 20.1ms | Average
| 297µs | Median
| 0.00021 | Deviation