Filename | /usr/share/perl5/DBIx/Class/ResultSource/Table.pm |
Statements | Executed 13 statements in 222µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 12.9ms | 16.5ms | BEGIN@6 | DBIx::Class::ResultSource::Table::
3 | 1 | 1 | 13µs | 15µs | from | DBIx::Class::ResultSource::Table::
1 | 1 | 1 | 13µs | 20µs | BEGIN@3 | DBIx::Class::ResultSource::Table::
7 | 7 | 2 | 10µs | 10µs | _columns (xsub) | DBIx::Class::ResultSource::Table::
3 | 3 | 3 | 8µs | 8µs | name (xsub) | DBIx::Class::ResultSource::Table::
1 | 1 | 1 | 8µs | 12µs | BEGIN@4 | DBIx::Class::ResultSource::Table::
3 | 3 | 2 | 4µs | 4µs | _primaries (xsub) | DBIx::Class::ResultSource::Table::
4 | 4 | 2 | 3µs | 3µs | _relationships (xsub) | DBIx::Class::ResultSource::Table::
3 | 3 | 2 | 3µs | 3µs | _ordered_columns (xsub) | DBIx::Class::ResultSource::Table::
3 | 3 | 2 | 2µs | 2µs | _unique_constraints (xsub) | DBIx::Class::ResultSource::Table::
2 | 2 | 2 | 1µs | 1µs | source_name (xsub) | DBIx::Class::ResultSource::Table::
1 | 1 | 1 | 100ns | 100ns | BEGIN@8 | DBIx::Class::ResultSource::Table::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package DBIx::Class::ResultSource::Table; | ||||
2 | |||||
3 | 2 | 36µs | 2 | 28µs | # spent 20µs (13+7) within DBIx::Class::ResultSource::Table::BEGIN@3 which was called:
# once (13µs+7µs) by DBIx::Class::ResultSourceProxy::Table::BEGIN@8 at line 3 # spent 20µs making 1 call to DBIx::Class::ResultSource::Table::BEGIN@3
# spent 7µs making 1 call to strict::import |
4 | 2 | 28µs | 2 | 16µs | # spent 12µs (8+4) within DBIx::Class::ResultSource::Table::BEGIN@4 which was called:
# once (8µs+4µs) by DBIx::Class::ResultSourceProxy::Table::BEGIN@8 at line 4 # spent 12µs making 1 call to DBIx::Class::ResultSource::Table::BEGIN@4
# spent 4µs making 1 call to warnings::import |
5 | |||||
6 | 2 | 87µs | 1 | 16.5ms | # spent 16.5ms (12.9+3.57) within DBIx::Class::ResultSource::Table::BEGIN@6 which was called:
# once (12.9ms+3.57ms) by DBIx::Class::ResultSourceProxy::Table::BEGIN@8 at line 6 # spent 16.5ms making 1 call to DBIx::Class::ResultSource::Table::BEGIN@6 |
7 | |||||
8 | 2 | 41µs | 2 | 100ns | # spent 100ns within DBIx::Class::ResultSource::Table::BEGIN@8 which was called:
# once (100ns+0s) by DBIx::Class::ResultSourceProxy::Table::BEGIN@8 at line 8 # spent 100ns making 1 call to DBIx::Class::ResultSource::Table::BEGIN@8
# spent 0s making 1 call to base::import, recursion: max depth 1, sum of overlapping time 0s |
9 | 1 | 8µs | 1 | 0s | __PACKAGE__->load_components(qw/ResultSource/); # spent 16.7ms making 1 call to Class::C3::Componentised::load_components, recursion: max depth 1, sum of overlapping time 16.7ms |
10 | |||||
11 | =head1 NAME | ||||
12 | |||||
13 | DBIx::Class::ResultSource::Table - Table object | ||||
14 | |||||
15 | =head1 SYNOPSIS | ||||
16 | |||||
17 | =head1 DESCRIPTION | ||||
18 | |||||
19 | Table object that inherits from L<DBIx::Class::ResultSource>. | ||||
20 | |||||
21 | =head1 METHODS | ||||
22 | |||||
23 | =head2 from | ||||
24 | |||||
25 | Returns the FROM entry for the table (i.e. the table name) | ||||
26 | |||||
27 | =cut | ||||
28 | |||||
29 | 3 | 18µs | 1 | 2µs | # spent 15µs (13+2) within DBIx::Class::ResultSource::Table::from which was called 3 times, avg 5µs/call:
# 3 times (13µs+2µs) by DBIx::Class::ResultSet::_resolved_attrs at line 3588 of DBIx/Class/ResultSet.pm, avg 5µs/call # spent 2µs making 1 call to DBIx::Class::ResultSource::Table::name |
30 | |||||
31 | =head1 FURTHER QUESTIONS? | ||||
32 | |||||
33 | Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>. | ||||
34 | |||||
35 | =head1 COPYRIGHT AND LICENSE | ||||
36 | |||||
37 | This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE> | ||||
38 | by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can | ||||
39 | redistribute it and/or modify it under the same terms as the | ||||
40 | L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>. | ||||
41 | |||||
42 | =cut | ||||
43 | |||||
44 | 1 | 4µs | 1; | ||
# spent 10µs within DBIx::Class::ResultSource::Table::_columns which was called 7 times, avg 1µs/call:
# once (6µs+0s) by DBIx::Class::ResultSource::column_info at line 395 of DBIx/Class/ResultSource.pm
# once (1µs+0s) by DBIx::Class::ResultSource::columns_info at line 470 of DBIx/Class/ResultSource.pm
# once (900ns+0s) by DBIx::Class::ResultSource::add_columns at line 332 of DBIx/Class/ResultSource.pm
# once (600ns+0s) by DBIx::Class::ResultSource::has_column at line 372 of DBIx/Class/ResultSource.pm
# once (400ns+0s) by DBIx::Class::ResultSource::add_columns at line 913 of Class/Accessor/Grouped.pm
# once (400ns+0s) by DBIx::Class::ResultSource::column_info at line 422 of DBIx/Class/ResultSource.pm
# once (400ns+0s) by DBIx::Class::ResultSource::column_info at line 398 of DBIx/Class/ResultSource.pm | |||||
# spent 3µs within DBIx::Class::ResultSource::Table::_ordered_columns which was called 3 times, avg 867ns/call:
# once (1µs+0s) by DBIx::Class::ResultSource::add_columns at line 329 of DBIx/Class/ResultSource.pm
# once (900ns+0s) by DBIx::Class::ResultSource::add_columns at line 348 of DBIx/Class/ResultSource.pm
# once (500ns+0s) by DBIx::Class::ResultSource::add_columns at line 913 of Class/Accessor/Grouped.pm | |||||
# spent 4µs within DBIx::Class::ResultSource::Table::_primaries which was called 3 times, avg 1µs/call:
# once (2µs+0s) by DBIx::Class::ResultSource::primary_columns at line 638 of DBIx/Class/ResultSource.pm
# once (2µs+0s) by DBIx::Class::ResultSource::set_primary_key at line 617 of DBIx/Class/ResultSource.pm
# once (600ns+0s) by DBIx::Class::ResultSource::set_primary_key at line 913 of Class/Accessor/Grouped.pm | |||||
# spent 3µs within DBIx::Class::ResultSource::Table::_relationships which was called 4 times, avg 700ns/call:
# once (900ns+0s) by DBIx::Class::ResultSource::add_relationship at line 1354 of DBIx/Class/ResultSource.pm
# once (700ns+0s) by DBIx::Class::ResultSource::add_relationship at line 1349 of DBIx/Class/ResultSource.pm
# once (600ns+0s) by DBIx::Class::ResultSource::add_relationship at line 913 of Class/Accessor/Grouped.pm
# once (600ns+0s) by DBIx::Class::ResultSource::relationship_info at line 1419 of DBIx/Class/ResultSource.pm | |||||
# spent 2µs within DBIx::Class::ResultSource::Table::_unique_constraints which was called 3 times, avg 833ns/call:
# once (1µs+0s) by DBIx::Class::ResultSource::unique_constraints at line 872 of DBIx/Class/ResultSource.pm
# once (800ns+0s) by DBIx::Class::ResultSource::add_unique_constraint at line 759 of DBIx/Class/ResultSource.pm
# once (600ns+0s) by DBIx::Class::ResultSource::unique_constraints at line 913 of Class/Accessor/Grouped.pm | |||||
# spent 8µs within DBIx::Class::ResultSource::Table::name which was called 3 times, avg 3µs/call:
# once (4µs+0s) by DBIx::Class::ResultSourceProxy::Table::table at line 104 of DBIx/Class/ResultSourceProxy/Table.pm
# once (2µs+0s) by DBIx::Class::ResultSource::Table::from at line 29
# once (1µs+0s) by DBIx::Class::ResultSourceProxy::Table::table at line 913 of Class/Accessor/Grouped.pm | |||||
# spent 1µs within DBIx::Class::ResultSource::Table::source_name which was called 2 times, avg 650ns/call:
# once (800ns+0s) by DBIx::Class::Schema::load_namespaces at line 279 of DBIx/Class/Schema.pm
# once (500ns+0s) by DBIx::Class::Schema::load_namespaces at line 913 of Class/Accessor/Grouped.pm |