← Index
NYTProf Performance Profile   « line view »
For script/ponapi
  Run on Wed Feb 10 15:51:26 2016
Reported on Thu Feb 11 09:43:09 2016

Filename/usr/share/perl5/Path/Class.pm
StatementsExecuted 20 statements in 318µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1111.03ms32.2msPath::Class::::BEGIN@17 Path::Class::BEGIN@17
11119µs28µsPONAPI::CLI::Command::gen::::BEGIN@1PONAPI::CLI::Command::gen::BEGIN@1
1118µs196µsPath::Class::::file Path::Class::file
1118µs28µsPath::Class::::BEGIN@16 Path::Class::BEGIN@16
1115µs14µsPath::Class::::BEGIN@10 Path::Class::BEGIN@10
1114µs4µsPath::Class::::BEGIN@18 Path::Class::BEGIN@18
1112µs2µsPath::Class::::BEGIN@19 Path::Class::BEGIN@19
0000s0sPath::Class::::dir Path::Class::dir
0000s0sPath::Class::::foreign_dir Path::Class::foreign_dir
0000s0sPath::Class::::foreign_file Path::Class::foreign_file
0000s0sPath::Class::::tempdir Path::Class::tempdir
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1247µs238µs
# spent 28µs (19+9) within PONAPI::CLI::Command::gen::BEGIN@1 which was called: # once (19µs+9µs) by PONAPI::CLI::Command::gen::BEGIN@9 at line 1
use strict;
# spent 28µs making 1 call to PONAPI::CLI::Command::gen::BEGIN@1 # spent 9µs making 1 call to strict::import
2
3package Path::Class;
4{
52700ns $Path::Class::VERSION = '0.33';
6}
7
8{
9 ## no critic
10346µs222µs
# spent 14µs (5+8) within Path::Class::BEGIN@10 which was called: # once (5µs+8µs) by PONAPI::CLI::Command::gen::BEGIN@9 at line 10
no strict 'vars';
# spent 14µs making 1 call to Path::Class::BEGIN@10 # spent 8µs making 1 call to strict::unimport
1115µs @ISA = qw(Exporter);
121900ns @EXPORT = qw(file dir);
1311µs @EXPORT_OK = qw(file dir foreign_file foreign_dir tempdir);
14}
15
16220µs248µs
# spent 28µs (8+20) within Path::Class::BEGIN@16 which was called: # once (8µs+20µs) by PONAPI::CLI::Command::gen::BEGIN@9 at line 16
use Exporter;
# spent 28µs making 1 call to Path::Class::BEGIN@16 # spent 20µs making 1 call to Exporter::import
17278µs132.2ms
# spent 32.2ms (1.03+31.1) within Path::Class::BEGIN@17 which was called: # once (1.03ms+31.1ms) by PONAPI::CLI::Command::gen::BEGIN@9 at line 17
use Path::Class::File;
# spent 32.2ms making 1 call to Path::Class::BEGIN@17
18217µs14µs
# spent 4µs within Path::Class::BEGIN@18 which was called: # once (4µs+0s) by PONAPI::CLI::Command::gen::BEGIN@9 at line 18
use Path::Class::Dir;
# spent 4µs making 1 call to Path::Class::BEGIN@18
19290µs12µs
# spent 2µs within Path::Class::BEGIN@19 which was called: # once (2µs+0s) by PONAPI::CLI::Command::gen::BEGIN@9 at line 19
use File::Temp ();
# spent 2µs making 1 call to Path::Class::BEGIN@19
20
2119µs1189µs
# spent 196µs (8+189) within Path::Class::file which was called: # once (8µs+189µs) by PONAPI::CLI::RunServer::_create_dir at line 34 of lib/PONAPI/CLI/RunServer.pm
sub file { Path::Class::File->new(@_) }
# spent 189µs making 1 call to Path::Class::File::new
22sub dir { Path::Class::Dir ->new(@_) }
23sub foreign_file { Path::Class::File->new_foreign(@_) }
24sub foreign_dir { Path::Class::Dir ->new_foreign(@_) }
25sub tempdir { Path::Class::Dir->new(File::Temp::tempdir(@_)) }
26
27
2814µs1;
29__END__