Filename | /usr/local/lib/perl/5.14.2/Class/Load/XS.pm |
Statements | Executed 14 statements in 301µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
282 | 4 | 4 | 657µs | 657µs | is_class_loaded (xsub) | Class::Load::XS::
1 | 1 | 1 | 14µs | 47µs | BEGIN@9 | Class::Load::XS::
1 | 1 | 1 | 13µs | 16µs | BEGIN@6 | Class::Load::XS::
1 | 1 | 1 | 7µs | 12µs | BEGIN@7 | Class::Load::XS::
1 | 1 | 1 | 5µs | 5µ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 | 1µs | $Class::Load::XS::VERSION = '0.06'; | ||
4 | } | ||||
5 | |||||
6 | 2 | 30µs | 2 | 19µs | # spent 16µs (13+3) within Class::Load::XS::BEGIN@6 which was called:
# once (13µs+3µs) by Module::Runtime::require_module at line 6 # spent 16µs making 1 call to Class::Load::XS::BEGIN@6
# spent 3µs making 1 call to strict::import |
7 | 2 | 24µs | 2 | 17µs | # spent 12µs (7+5) within Class::Load::XS::BEGIN@7 which was called:
# once (7µs+5µs) by Module::Runtime::require_module at line 7 # spent 12µs making 1 call to Class::Load::XS::BEGIN@7
# spent 5µs making 1 call to warnings::import |
8 | |||||
9 | 3 | 47µs | 3 | 81µs | # spent 47µs (14+33) within Class::Load::XS::BEGIN@9 which was called:
# once (14µs+33µs) by Module::Runtime::require_module at line 9 # spent 47µs making 1 call to Class::Load::XS::BEGIN@9
# spent 22µs making 1 call to Exporter::import
# spent 11µs making 1 call to UNIVERSAL::VERSION |
10 | |||||
11 | 2 | 62µs | 1 | 5µs | # spent 5µs within Class::Load::XS::BEGIN@11 which was called:
# once (5µs+0s) by Module::Runtime::require_module at line 11 # spent 5µs making 1 call to Class::Load::XS::BEGIN@11 |
12 | 1 | 1µs | XSLoader::load( | ||
13 | __PACKAGE__, | ||||
14 | exists $Class::Load::XS::{VERSION} | ||||
15 | 1 | 131µs | 1 | 124µs | ? ${ $Class::Load::XS::{VERSION} } # spent 124µs making 1 call to XSLoader::load |
16 | : (), | ||||
17 | ); | ||||
18 | |||||
19 | 1 | 5µ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 657µs within Class::Load::XS::is_class_loaded which was called 282 times, avg 2µs/call:
# 211 times (462µs+0s) by Class::Load::try_load_class at line 144 of Class/Load.pm, avg 2µs/call
# 59 times (168µs+0s) by Class::MOP::Class::_immutable_metaclass at line 1345 of Class/MOP/Class.pm, avg 3µs/call
# 11 times (22µs+0s) by Moose::init_meta at line 158 of Moose.pm, avg 2µs/call
# once (5µs+0s) by DateTime::TimeZone::Local::_load_subclass at line 52 of DateTime/TimeZone/Local.pm |