| Filename | /2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/x86_64-linux/Class/Load/XS.pm |
| Statements | Executed 13 statements in 319µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 135 | 4 | 4 | 641µs | 641µs | Class::Load::XS::is_class_loaded (xsub) |
| 1 | 1 | 1 | 13µs | 17µs | Class::Load::XS::BEGIN@6 |
| 1 | 1 | 1 | 8µs | 23µs | Class::Load::XS::BEGIN@7 |
| 1 | 1 | 1 | 4µs | 4µs | Class::Load::XS::BEGIN@9 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Class::Load::XS; | ||||
| 2 | { | ||||
| 3 | 2 | 900ns | $Class::Load::XS::VERSION = '0.04'; | ||
| 4 | } | ||||
| 5 | |||||
| 6 | 3 | 23µs | 2 | 20µs | # spent 17µs (13+4) within Class::Load::XS::BEGIN@6 which was called:
# once (13µs+4µs) by Module::Runtime::require_module at line 6 # spent 17µs making 1 call to Class::Load::XS::BEGIN@6
# spent 4µs making 1 call to strict::import |
| 7 | 3 | 18µs | 2 | 38µs | # spent 23µs (8+15) within Class::Load::XS::BEGIN@7 which was called:
# once (8µs+15µs) by Module::Runtime::require_module at line 7 # spent 23µs making 1 call to Class::Load::XS::BEGIN@7
# spent 15µs making 1 call to warnings::import |
| 8 | |||||
| 9 | 3 | 57µs | 1 | 4µs | # spent 4µs within Class::Load::XS::BEGIN@9 which was called:
# once (4µs+0s) by Module::Runtime::require_module at line 9 # spent 4µs making 1 call to Class::Load::XS::BEGIN@9 |
| 10 | XSLoader::load( | ||||
| 11 | __PACKAGE__, | ||||
| 12 | exists $Class::Load::XS::{VERSION} | ||||
| 13 | 1 | 215µs | 1 | 210µs | ? ${ $Class::Load::XS::{VERSION} } # spent 210µs making 1 call to XSLoader::load |
| 14 | : (), | ||||
| 15 | ); | ||||
| 16 | |||||
| 17 | 1 | 5µs | 1; | ||
| 18 | |||||
| 19 | # ABSTRACT: XS implementation of parts of Class::Load | ||||
| 20 | |||||
| - - | |||||
| 23 | =pod | ||||
| 24 | |||||
| 25 | =head1 NAME | ||||
| 26 | |||||
| 27 | Class::Load::XS - XS implementation of parts of Class::Load | ||||
| 28 | |||||
| 29 | =head1 VERSION | ||||
| 30 | |||||
| 31 | version 0.04 | ||||
| 32 | |||||
| 33 | =head1 SYNOPSIS | ||||
| 34 | |||||
| 35 | use Class::Load; | ||||
| 36 | |||||
| 37 | =head1 DESCRIPTION | ||||
| 38 | |||||
| 39 | This module provides an XS implementation for portions of L<Class::Load>. See | ||||
| 40 | L<Class::Load> for API details. | ||||
| 41 | |||||
| 42 | =head1 AUTHOR | ||||
| 43 | |||||
| 44 | Dave Rolsky <autarch@urth.org> | ||||
| 45 | |||||
| 46 | =head1 COPYRIGHT AND LICENSE | ||||
| 47 | |||||
| 48 | This software is Copyright (c) 2012 by Dave Rolsky. | ||||
| 49 | |||||
| 50 | This is free software, licensed under: | ||||
| 51 | |||||
| 52 | The Artistic License 2.0 (GPL Compatible) | ||||
| 53 | |||||
| 54 | =cut | ||||
| 55 | |||||
| 56 | |||||
| 57 | __END__ | ||||
# spent 641µs within Class::Load::XS::is_class_loaded which was called 135 times, avg 5µs/call:
# 72 times (336µs+0s) by Class::Load::try_load_class at line 144 of Class/Load.pm, avg 5µs/call
# 52 times (244µs+0s) by Class::MOP::Class::_immutable_metaclass at line 1345 of Class/MOP/Class.pm, avg 5µs/call
# 7 times (44µs+0s) by Moose::init_meta at line 152 of Moose.pm, avg 6µs/call
# 4 times (18µs+0s) by Moose::Role::init_meta at line 116 of Moose/Role.pm, avg 4µs/call |