Performance Profile Index
For term-colors.pl
  Run on Thu Dec 21 13:47:32 2023
Reported on Thu Dec 21 13:55:07 2023

Profile of term-colors.pl for 11.3ms (of 31.0ms), executing 22811 statements and 2703 subroutine calls in 3 source files.
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.

Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
256113.25ms3.25msmain::::in_array main::in_array
1111.64ms1.66msmain::::BEGIN@4 main::BEGIN@4
256111.12ms4.37msmain::::needs_white main::needs_white
51341372µs372µsmain::::set_fcolor main::set_fcolor
111306µs330µsmain::::BEGIN@3 main::BEGIN@3
1110111224µs224µsmain::::CORE:print main::CORE:print (opcode)
29831218µs218µsmain::::set_bcolor main::set_bcolor
2562191µs91µsmain::::CORE:prtf main::CORE:prtf (opcode)
11119µs22µsstrict::::BEGIN@7 strict::BEGIN@7
11113µs17µsmain::::BEGIN@0 main::BEGIN@0 (xsub)
1116µs7µswarnings::::_bitswarnings::_bits
1115µs7µsmain::::END main::END
1114µs12µswarnings::::importwarnings::import
1114µs4µsmain::::CORE:ftfile main::CORE:ftfile (opcode)
1113µs3µsstrict::::CORE:match strict::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.

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
227639.24msline/home/bakers/term-colors.pl
17150µslinestrict.pm
3277µslinewarnings.pm
228129.47msTotal (-1 statements are unaccounted for)
76043.16msAverage
150µsMedian
7.3e-5Deviation