← Index
NYTProf Performance Profile   « line view »
For nd2: #2 manager: init
  Run on Thu May 2 17:38:58 2019
Reported on Thu May 2 17:40:49 2019

Filename/appl/netdisco/perl5/lib/perl5/Dancer/Logger/Console.pm
StatementsExecuted 66 statements in 1.16ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
3311882µs882µsDancer::Logger::Console::::CORE:printDancer::Logger::Console::CORE:print (opcode)
3311310µs8.69msDancer::Logger::Console::::_logDancer::Logger::Console::_log
0000s0sDancer::Logger::Console::::BEGINDancer::Logger::Console::BEGIN
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Dancer::Logger::Console;
2our $AUTHORITY = 'cpan:SUKRIA';
3#ABSTRACT: console-based logging engine for Dancer
4$Dancer::Logger::Console::VERSION = '1.3512';
5use strict;
6use warnings;
7use base 'Dancer::Logger::Abstract';
8
9
# spent 8.69ms (310µs+8.38) within Dancer::Logger::Console::_log which was called 33 times, avg 263µs/call: # 33 times (310µs+8.38ms) by Dancer::Logger::Abstract::debug at line 140 of Dancer/Logger/Abstract.pm, avg 263µs/call
sub _log {
103330µs my ($self, $level, $message) = @_;
11331.13ms668.38ms print STDERR $self->format_message($level => $message);
# spent 7.50ms making 33 calls to Dancer::Logger::Abstract::format_message, avg 227µs/call # spent 882µs making 33 calls to Dancer::Logger::Console::CORE:print, avg 27µs/call
12}
13
141;
15
16__END__
 
# spent 882µs within Dancer::Logger::Console::CORE:print which was called 33 times, avg 27µs/call: # 33 times (882µs+0s) by Dancer::Logger::Console::_log at line 11, avg 27µs/call
sub Dancer::Logger::Console::CORE:print; # opcode