Filename | /usr/local/lib/perl/5.14.2/Class/Load/XS.pm |
Statements | Executed 14 statements in 655µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
282 | 4 | 4 | 667µs | 667µs | is_class_loaded (xsub) | Class::Load::XS::
1 | 1 | 1 | 31µs | 107µs | BEGIN@9 | Class::Load::XS::
1 | 1 | 1 | 28µs | 35µs | BEGIN@6 | Class::Load::XS::
1 | 1 | 1 | 16µs | 28µs | BEGIN@7 | Class::Load::XS::
1 | 1 | 1 | 11µs | 11µs | BEGIN@11 | Class::Load::XS::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Class::Load::XS; | ||||
2 | { | ||||
3 | 2 | 2µs | $Class::Load::XS::VERSION = '0.06'; | ||
4 | } | ||||
5 | |||||
6 | 2 | 63µs | 2 | 43µs | # spent 35µs (28+8) within Class::Load::XS::BEGIN@6 which was called:
# once (28µs+8µs) by Module::Runtime::require_module at line 6 # spent 35µs making 1 call to Class::Load::XS::BEGIN@6
# spent 8µs making 1 call to strict::import |
7 | 2 | 55µs | 2 | 39µs | # spent 28µs (16+12) within Class::Load::XS::BEGIN@7 which was called:
# once (16µs+12µs) by Module::Runtime::require_module at line 7 # spent 28µs making 1 call to Class::Load::XS::BEGIN@7
# spent 12µs making 1 call to warnings::import |
8 | |||||
9 | 3 | 107µs | 3 | 183µs | # spent 107µs (31+76) within Class::Load::XS::BEGIN@9 which was called:
# once (31µs+76µs) by Module::Runtime::require_module at line 9 # spent 107µs making 1 call to Class::Load::XS::BEGIN@9
# spent 51µs making 1 call to Exporter::import
# spent 25µs making 1 call to UNIVERSAL::VERSION |
10 | |||||
11 | 2 | 141µs | 1 | 11µs | # spent 11µs within Class::Load::XS::BEGIN@11 which was called:
# once (11µs+0s) by Module::Runtime::require_module at line 11 # spent 11µs making 1 call to Class::Load::XS::BEGIN@11 |
12 | 1 | 3µs | XSLoader::load( | ||
13 | __PACKAGE__, | ||||
14 | exists $Class::Load::XS::{VERSION} | ||||
15 | 1 | 270µs | 1 | 255µs | ? ${ $Class::Load::XS::{VERSION} } # spent 255µs making 1 call to XSLoader::load |
16 | : (), | ||||
17 | ); | ||||
18 | |||||
19 | 1 | 12µ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 667µs within Class::Load::XS::is_class_loaded which was called 282 times, avg 2µs/call:
# 211 times (472µs+0s) by Class::Load::try_load_class at line 144 of Class/Load.pm, avg 2µs/call
# 59 times (166µs+0s) by Class::MOP::Class::_immutable_metaclass at line 1345 of Class/MOP/Class.pm, avg 3µs/call
# 11 times (21µs+0s) by Moose::init_meta at line 158 of Moose.pm, avg 2µs/call
# once (7µs+0s) by DateTime::TimeZone::Local::_load_subclass at line 52 of DateTime/TimeZone/Local.pm |