Profile of Test/Deep/RegexpVersion.pm

← Index
NYTProf Performance Profile «line view»
For t/optimization.t
Run on Thu Jan 8 22:47:42 2015
Reported on Thu Jan 8 22:48:05 2015

Filename | /home/ss5/perl5/perlbrew/perls/tapper-perl/lib/site_perl/5.16.3/Test/Deep/RegexpVersion.pm
Statements | Executed 6 statements in 91µs

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 24µs | 62µs | Test::Deep::::BEGIN@1.3Test::Deep::BEGIN@1.3
1 | 1 | 1 | 12µs | 20µs | Test::Deep::::BEGIN@2.4Test::Deep::BEGIN@2.4

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

Line | State ments | Time on line | Calls | Time in subs | Code
--- | --- | --- | --- | --- | ---
1 | 2 | 33µs | 2 | 99µs | # spent 62µs (24+38) within Test::Deep::BEGIN@1.3 which was called: # once (24µs+38µs) by Test::Deep::BEGIN@9 at line 1 use strict; # spent 62µs making 1 call to Test::Deep::BEGIN@1.3 # spent 38µs making 1 call to strict::import
2 | 2 | 51µs | 2 | 27µs | # spent 20µs (12+8) within Test::Deep::BEGIN@2.4 which was called: # once (12µs+8µs) by Test::Deep::BEGIN@9 at line 2 use warnings; # spent 20µs making 1 call to Test::Deep::BEGIN@2.4 # spent 8µs making 1 call to warnings::import
3 |  |  |  |  |
4 |  |  |  |  | package Test::Deep::RegexpVersion;
5 |  |  |  |  |
6 |  |  |  |  | # Older versions of Perl treated Regexp refs as opaque scalars blessed
7 |  |  |  |  | # into the "Regexp" class. Several bits of code need this so we
8 |  |  |  |  | # centralise the test for that kind of version.
9 | 1 | 4µs |  |  | our $OldStyle = ($] < 5.011);
10 |  |  |  |  |
11 | 1 | 3µs |  |  | 1;