Profile of Path/Class.pm

← 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
Statements | Executed 20 statements in 318µs

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 1.03ms | 32.2ms | Path::Class::::BEGIN@17 Path::Class::BEGIN@17
1 | 1 | 1 | 19µs | 28µs | PONAPI::CLI::Command::gen::::BEGIN@1PONAPI::CLI::Command::gen::BEGIN@1
1 | 1 | 1 | 8µs | 196µs | Path::Class::::file Path::Class::file
1 | 1 | 1 | 8µs | 28µs | Path::Class::::BEGIN@16 Path::Class::BEGIN@16
1 | 1 | 1 | 5µs | 14µs | Path::Class::::BEGIN@10 Path::Class::BEGIN@10
1 | 1 | 1 | 4µs | 4µs | Path::Class::::BEGIN@18 Path::Class::BEGIN@18
1 | 1 | 1 | 2µs | 2µs | Path::Class::::BEGIN@19 Path::Class::BEGIN@19
0 | 0 | 0 | 0s | 0s | Path::Class::::dir Path::Class::dir
0 | 0 | 0 | 0s | 0s | Path::Class::::foreign_dir Path::Class::foreign_dir
0 | 0 | 0 | 0s | 0s | Path::Class::::foreign_file Path::Class::foreign_file
0 | 0 | 0 | 0s | 0s | Path::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
--- | --- | --- | --- | --- | ---
1 | 2 | 47µs | 2 | 38µ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 |  |  |  |  |
3 |  |  |  |  | package Path::Class;
4 |  |  |  |  | {
5 | 2 | 700ns |  |  | $Path::Class::VERSION = '0.33';
6 |  |  |  |  | }
7 |  |  |  |  |
8 |  |  |  |  | {
9 |  |  |  |  | ## no critic
10 | 3 | 46µs | 2 | 22µ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
11 | 1 | 5µs |  |  | @ISA = qw(Exporter);
12 | 1 | 900ns |  |  | @EXPORT = qw(file dir);
13 | 1 | 1µs |  |  | @EXPORT_OK = qw(file dir foreign_file foreign_dir tempdir);
14 |  |  |  |  | }
15 |  |  |  |  |
16 | 2 | 20µs | 2 | 48µ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
17 | 2 | 78µs | 1 | 32.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
18 | 2 | 17µs | 1 | 4µ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
19 | 2 | 90µs | 1 | 2µ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 |  |  |  |  |
21 | 1 | 9µs | 1 | 189µ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
22 |  |  |  |  | sub dir { Path::Class::Dir ->new(@_) }
23 |  |  |  |  | sub foreign_file { Path::Class::File->new_foreign(@_) }
24 |  |  |  |  | sub foreign_dir { Path::Class::Dir ->new_foreign(@_) }
25 |  |  |  |  | sub tempdir { Path::Class::Dir->new(File::Temp::tempdir(@_)) }
26 |  |  |  |  |
27 |  |  |  |  |
28 | 1 | 4µs |  |  | 1;
29 |  |  |  |  | __END__