← Index
NYTProf Performance Profile   « line view »
For /Users/brian/bin/perls/cpan5.26.1
  Run on Sat Dec 30 01:41:10 2017
Reported on Sat Dec 30 01:44:15 2017

Filename/usr/local/perls/perl-5.26.1/lib/5.26.1/CPAN/Exception/yaml_not_installed.pm
StatementsExecuted 8 statements in 30µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11115µs15µsCPAN::Exception::yaml_not_installed::::newCPAN::Exception::yaml_not_installed::new
32112µs12µsCPAN::Exception::yaml_not_installed::::as_stringCPAN::Exception::yaml_not_installed::as_string
0000s0sCPAN::Exception::yaml_not_installed::::BEGINCPAN::Exception::yaml_not_installed::BEGIN
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1# -*- Mode: cperl; coding: utf-8; cperl-indent-level: 4 -*-
2# vim: ts=4 sts=4 sw=4:
3package CPAN::Exception::yaml_not_installed;
4use strict;
5use overload '""' => "as_string";
6
7use vars qw(
8 $VERSION
9);
10$VERSION = "5.5";
11
12
13
# spent 15µs within CPAN::Exception::yaml_not_installed::new which was called: # once (15µs+0s) by CPAN::_yaml_loadfile at line 580 of CPAN.pm
sub new {
1412µs my($class,$module,$file,$during) = @_;
15111µs bless { module => $module, file => $file, during => $during }, $class;
16}
17
18
# spent 12µs within CPAN::Exception::yaml_not_installed::as_string which was called 3 times, avg 4µs/call: # 2 times (6µs+0s) by CPAN::FTP::_ftp_statistics at line 57 of CPAN/FTP.pm, avg 3µs/call # once (6µs+0s) by CPAN::FTP::_ftp_statistics at line 54 of CPAN/FTP.pm
sub as_string {
1931µs my($self) = shift;
20316µs "'$self->{module}' not installed, cannot $self->{during} '$self->{file}'\n";
21}
22
231;