| Filename | /Users/ap13/perl5/lib/perl5/darwin-2level/Class/Load/XS.pm |
| Statements | Executed 13 statements in 624µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 20 | 2 | 2 | 83µs | 83µs | Class::Load::XS::is_class_loaded (xsub) |
| 1 | 1 | 1 | 28µs | 71µs | Class::Load::XS::BEGIN@9 |
| 1 | 1 | 1 | 21µs | 44µs | Class::Load::XS::BEGIN@6 |
| 1 | 1 | 1 | 14µs | 22µs | Class::Load::XS::BEGIN@7 |
| 1 | 1 | 1 | 8µs | 8µs | Class::Load::XS::BEGIN@11 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Class::Load::XS; | ||||
| 2 | { | ||||
| 3 | 2 | 1µs | $Class::Load::XS::VERSION = '0.06'; | ||
| 4 | } | ||||
| 5 | |||||
| 6 | 2 | 42µs | 2 | 68µs | # spent 44µs (21+24) within Class::Load::XS::BEGIN@6 which was called:
# once (21µs+24µs) by Module::Runtime::require_module at line 6 # spent 44µs making 1 call to Class::Load::XS::BEGIN@6
# spent 24µs making 1 call to strict::import |
| 7 | 2 | 42µs | 2 | 31µs | # spent 22µs (14+9) within Class::Load::XS::BEGIN@7 which was called:
# once (14µs+9µs) by Module::Runtime::require_module at line 7 # spent 22µs making 1 call to Class::Load::XS::BEGIN@7
# spent 9µs making 1 call to warnings::import |
| 8 | |||||
| 9 | 3 | 68µs | 3 | 114µs | # spent 71µs (28+43) within Class::Load::XS::BEGIN@9 which was called:
# once (28µs+43µs) by Module::Runtime::require_module at line 9 # spent 71µs making 1 call to Class::Load::XS::BEGIN@9
# spent 28µs making 1 call to Exporter::import
# spent 15µs making 1 call to UNIVERSAL::VERSION |
| 10 | |||||
| 11 | 2 | 89µs | 1 | 8µs | # spent 8µs within Class::Load::XS::BEGIN@11 which was called:
# once (8µs+0s) by Module::Runtime::require_module at line 11 # spent 8µs making 1 call to Class::Load::XS::BEGIN@11 |
| 12 | XSLoader::load( | ||||
| 13 | __PACKAGE__, | ||||
| 14 | exists $Class::Load::XS::{VERSION} | ||||
| 15 | 1 | 372µs | 1 | 361µs | ? ${ $Class::Load::XS::{VERSION} } # spent 361µs making 1 call to XSLoader::load |
| 16 | : (), | ||||
| 17 | ); | ||||
| 18 | |||||
| 19 | 1 | 10µs | 1; | ||
| 20 | |||||
| 21 | # ABSTRACT: XS implementation of parts of Class::Load | ||||
| 22 | |||||
| - - | |||||
| 25 | =pod | ||||
| 26 | |||||
| 27 | =head1 NAME | ||||
| 28 | |||||
| 29 | Class::Load::XS - XS implementation of parts of Class::Load | ||||
| 30 | |||||
| 31 | =head1 VERSION | ||||
| 32 | |||||
| 33 | version 0.06 | ||||
| 34 | |||||
| 35 | =head1 SYNOPSIS | ||||
| 36 | |||||
| 37 | use Class::Load; | ||||
| 38 | |||||
| 39 | =head1 DESCRIPTION | ||||
| 40 | |||||
| 41 | This module provides an XS implementation for portions of L<Class::Load>. See | ||||
| 42 | L<Class::Load> for API details. | ||||
| 43 | |||||
| 44 | =head1 AUTHOR | ||||
| 45 | |||||
| 46 | Dave Rolsky <autarch@urth.org> | ||||
| 47 | |||||
| 48 | =head1 COPYRIGHT AND LICENSE | ||||
| 49 | |||||
| 50 | This software is Copyright (c) 2012 by Dave Rolsky. | ||||
| 51 | |||||
| 52 | This is free software, licensed under: | ||||
| 53 | |||||
| 54 | The Artistic License 2.0 (GPL Compatible) | ||||
| 55 | |||||
| 56 | =cut | ||||
| 57 | |||||
| 58 | |||||
| 59 | __END__ | ||||
# spent 83µs within Class::Load::XS::is_class_loaded which was called 20 times, avg 4µs/call:
# 17 times (72µs+0s) by Moose::init_meta at line 154 of Moose.pm, avg 4µs/call
# 3 times (11µs+0s) by Moose::Role::init_meta at line 119 of Moose/Role.pm, avg 4µs/call |