Profile of Class/Load/XS.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/local/lib/perl/5.18.2/Class/Load/XS.pm
Statements | Executed 13 statements in 271µs

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
73 | 3 | 3 | 239µs | 239µs | Class::Load::XS::::is_class_loadedClass::Load::XS::is_class_loaded (xsub)
1 | 1 | 1 | 14µs | 35µs | Class::Load::XS::::BEGIN@11Class::Load::XS::BEGIN@11
1 | 1 | 1 | 7µs | 7µs | Class::Load::XS::::BEGIN@2Class::Load::XS::BEGIN@2
1 | 1 | 1 | 6µs | 14µs | Class::Load::XS::::BEGIN@8Class::Load::XS::BEGIN@8
1 | 1 | 1 | 6µs | 9µs | Class::Load::XS::::BEGIN@9Class::Load::XS::BEGIN@9
1 | 1 | 1 | 5µs | 5µs | Class::Load::XS::::BEGIN@13Class::Load::XS::BEGIN@13

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

Line | State ments | Time on line | Calls | Time in subs | Code
--- | --- | --- | --- | --- | ---
1 |  |  |  |  | package Class::Load::XS;
2 |  |  |  |  | # spent 7µs within Class::Load::XS::BEGIN@2 which was called: # once (7µs+0s) by Module::Runtime::require_module at line 4 BEGIN {
3 | 1 | 5µs |  |  | $Class::Load::XS::AUTHORITY = 'cpan:SARTAK';
4 | 1 | 23µs | 1 | 7µs | } # spent 7µs making 1 call to Class::Load::XS::BEGIN@2
5 |  |  |  |  | # git description: v0.07-5-gd41f383
6 | 1 | 400ns |  |  | $Class::Load::XS::VERSION = '0.08';
7 |  |  |  |  |
8 | 2 | 18µs | 2 | 24µs | # spent 14µs (6+9) within Class::Load::XS::BEGIN@8 which was called: # once (6µs+9µs) by Module::Runtime::require_module at line 8 use strict; # spent 14µs making 1 call to Class::Load::XS::BEGIN@8 # spent 9µs making 1 call to strict::import
9 | 2 | 23µs | 2 | 13µs | # spent 9µs (6+4) within Class::Load::XS::BEGIN@9 which was called: # once (6µs+4µs) by Module::Runtime::require_module at line 9 use warnings; # spent 9µs making 1 call to Class::Load::XS::BEGIN@9 # spent 4µs making 1 call to warnings::import
10 |  |  |  |  |
11 | 3 | 36µs | 3 | 56µs | # spent 35µs (14+21) within Class::Load::XS::BEGIN@11 which was called: # once (14µs+21µs) by Module::Runtime::require_module at line 11 use Class::Load 0.20; # spent 35µs making 1 call to Class::Load::XS::BEGIN@11 # spent 14µs making 1 call to Exporter::import # spent 7µs making 1 call to UNIVERSAL::VERSION
12 |  |  |  |  |
13 | 2 | 38µs | 1 | 5µs | # spent 5µs within Class::Load::XS::BEGIN@13 which was called: # once (5µs+0s) by Module::Runtime::require_module at line 13 use XSLoader; # spent 5µs making 1 call to Class::Load::XS::BEGIN@13
14 |  |  |  |  | XSLoader::load(
15 |  |  |  |  | __PACKAGE__,
16 |  |  |  |  | exists $Class::Load::XS::{VERSION}
17 | 1 | 122µs | 1 | 116µs | ? ${ $Class::Load::XS::{VERSION} } # spent 116µs making 1 call to XSLoader::load
18 |  |  |  |  | : (),
19 |  |  |  |  | );
20 |  |  |  |  |
21 | 1 | 4µs |  |  | 1;
22 |  |  |  |  |
23 |  |  |  |  | # ABSTRACT: XS implementation of parts of Class::Load
24 |  |  |  |  |
25 |  |  |  |  | __END__
|  |  |  |  | # spent 239µs within Class::Load::XS::is_class_loaded which was called 73 times, avg 3µs/call: # 35 times (112µs+0s) by Moose::Role::init_meta at line 119 of Moose/Role.pm, avg 3µs/call # 28 times (99µs+0s) by Moose::init_meta at line 154 of Moose.pm, avg 4µs/call # 10 times (28µs+0s) by Class::Load::try_load_class at line 146 of Class/Load.pm, avg 3µs/call sub Class::Load::XS::is_class_loaded; # xsub