Profile of (eval 601)[POSIX/strftime/Compiler.pm:351]

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

Filename | (eval 601)[/usr/local/share/perl/5.18.2/POSIX/strftime/Compiler.pm:351]
Statements | Executed 4 statements in 102µs
Eval Invoked At | /usr/local/share/perl/5.18.2/POSIX/strftime/Compiler.pm line 351

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 15µs | 92µs | POSIX::strftime::Compiler::::__ANON__[:12]POSIX::strftime::Compiler::__ANON__[:12]

Call graph for these subroutines as a Graphviz dot language file.

Line | State ments | Time on line | Calls | Time in subs | Code
--- | --- | --- | --- | --- | ---
1 |  |  |  |  | # spent 92µs (15+77) within POSIX::strftime::Compiler::__ANON__[(eval 601)[/usr/local/share/perl/5.18.2/POSIX/strftime/Compiler.pm:351]:12] which was called: # once (15µs+77µs) by POSIX::strftime::Compiler::strftime at line 359 of POSIX/strftime/Compiler.pm sub {
2 | 1 | 900ns |  |  | if ( @_ != 9 && @_ != 6 ) {
3 |  |  |  |  | Carp::croak 'Usage: strftime(sec, min, hour, mday, mon, year, wday = -1, yday = -1, isdst = -1)';
4 |  |  |  |  | }
5 |  |  |  |  |
6 | 1 | 100ns |  |  | if ( @_ == 6 ) {
7 |  |  |  |  | my $sec = $_[0];
8 |  |  |  |  | @_ = gmtime Time::Local::timegm(@_);
9 |  |  |  |  | $_[0] = $sec;
10 |  |  |  |  | }
11 | 1 | 92µs | 1 | 77µs | POSIX::strftime(q!! . '%z' . q!!,@_); # spent 77µs making 1 call to POSIX::strftime
12 | 1 | 9µs |  |  | }
13 |  |  |  |  | ;