Filename | /usr/share/perl5/DBIx/Class/ResultSource/Table.pm |
Statements | Executed 98 statements in 747µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 13.2ms | 16.0ms | BEGIN@6 | DBIx::Class::ResultSource::Table::
88 | 1 | 1 | 233µs | 234µs | from | DBIx::Class::ResultSource::Table::
1 | 1 | 1 | 14µs | 23µs | BEGIN@3 | DBIx::Class::ResultSource::Table::
1 | 1 | 1 | 13µs | 78µs | BEGIN@8 | DBIx::Class::ResultSource::Table::
1 | 1 | 1 | 7µs | 12µs | BEGIN@4 | DBIx::Class::ResultSource::Table::
3 | 3 | 3 | 4µs | 4µs | name (xsub) | DBIx::Class::ResultSource::Table::
7 | 7 | 2 | 3µs | 3µs | _columns (xsub) | DBIx::Class::ResultSource::Table::
3 | 3 | 2 | 3µs | 3µs | _primaries (xsub) | DBIx::Class::ResultSource::Table::
4 | 4 | 2 | 3µs | 3µs | _relationships (xsub) | DBIx::Class::ResultSource::Table::
3 | 3 | 2 | 2µs | 2µ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::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package DBIx::Class::ResultSource::Table; | ||||
2 | |||||
3 | 2 | 37µs | 2 | 32µs | # spent 23µs (14+9) within DBIx::Class::ResultSource::Table::BEGIN@3 which was called:
# once (14µs+9µs) by DBIx::Class::ResultSourceProxy::Table::BEGIN@8 at line 3 # spent 23µs making 1 call to DBIx::Class::ResultSource::Table::BEGIN@3
# spent 9µs making 1 call to strict::import |
4 | 2 | 29µs | 2 | 17µs | # spent 12µs (7+5) within DBIx::Class::ResultSource::Table::BEGIN@4 which was called:
# once (7µs+5µ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 5µs making 1 call to warnings::import |
5 | |||||
6 | 2 | 180µs | 1 | 16.0ms | # spent 16.0ms (13.2+2.83) within DBIx::Class::ResultSource::Table::BEGIN@6 which was called:
# once (13.2ms+2.83ms) by DBIx::Class::ResultSourceProxy::Table::BEGIN@8 at line 6 # spent 16.0ms making 1 call to DBIx::Class::ResultSource::Table::BEGIN@6 |
7 | |||||
8 | 2 | 142µs | 2 | 78µs | # spent 78µs (13+65) within DBIx::Class::ResultSource::Table::BEGIN@8 which was called:
# once (13µs+65µs) by DBIx::Class::ResultSourceProxy::Table::BEGIN@8 at line 8 # spent 78µs making 1 call to DBIx::Class::ResultSource::Table::BEGIN@8
# spent 65µs making 1 call to base::import, recursion: max depth 1, sum of overlapping time 65µs |
9 | 1 | 7µs | 1 | 0s | __PACKAGE__->load_components(qw/ResultSource/); # spent 17.8ms making 1 call to Class::C3::Componentised::load_components, recursion: max depth 1, sum of overlapping time 17.8ms |
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 | 88 | 347µs | 1 | 2µs | # spent 234µs (233+2) within DBIx::Class::ResultSource::Table::from which was called 88 times, avg 3µs/call:
# 88 times (233µs+2µs) by DBIx::Class::ResultSet::_resolved_attrs at line 3588 of DBIx/Class/ResultSet.pm, avg 3µ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 | 5µs | 1; | ||
# spent 3µs within DBIx::Class::ResultSource::Table::_columns which was called 7 times, avg 486ns/call:
# once (800ns+0s) by DBIx::Class::ResultSource::columns_info at line 470 of DBIx/Class/ResultSource.pm
# once (600ns+0s) by DBIx::Class::ResultSource::add_columns at line 332 of DBIx/Class/ResultSource.pm
# once (500ns+0s) by DBIx::Class::ResultSource::has_column at line 372 of DBIx/Class/ResultSource.pm
# once (500ns+0s) by DBIx::Class::ResultSource::column_info at line 395 of DBIx/Class/ResultSource.pm
# once (400ns+0s) by DBIx::Class::ResultSource::add_columns at line 913 of Class/Accessor/Grouped.pm
# once (300ns+0s) by DBIx::Class::ResultSource::column_info at line 398 of DBIx/Class/ResultSource.pm
# once (300ns+0s) by DBIx::Class::ResultSource::column_info at line 422 of DBIx/Class/ResultSource.pm | |||||
# spent 2µs within DBIx::Class::ResultSource::Table::_ordered_columns which was called 3 times, avg 633ns/call:
# once (800ns+0s) by DBIx::Class::ResultSource::add_columns at line 329 of DBIx/Class/ResultSource.pm
# once (700ns+0s) by DBIx::Class::ResultSource::add_columns at line 348 of DBIx/Class/ResultSource.pm
# once (400ns+0s) by DBIx::Class::ResultSource::add_columns at line 913 of Class/Accessor/Grouped.pm | |||||
# spent 3µs within DBIx::Class::ResultSource::Table::_primaries which was called 3 times, avg 1µs/call:
# once (1µs+0s) by DBIx::Class::ResultSource::primary_columns at line 638 of DBIx/Class/ResultSource.pm
# once (1µs+0s) by DBIx::Class::ResultSource::set_primary_key at line 617 of DBIx/Class/ResultSource.pm
# once (500ns+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 (1µs+0s) by DBIx::Class::ResultSource::add_relationship at line 1349 of DBIx/Class/ResultSource.pm
# once (900ns+0s) by DBIx::Class::ResultSource::add_relationship at line 1354 of DBIx/Class/ResultSource.pm
# once (500ns+0s) by DBIx::Class::ResultSource::add_relationship at line 913 of Class/Accessor/Grouped.pm
# once (300ns+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 600ns/call:
# once (700ns+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 872 of DBIx/Class/ResultSource.pm
# once (500ns+0s) by DBIx::Class::ResultSource::unique_constraints at line 913 of Class/Accessor/Grouped.pm | |||||
# spent 4µs within DBIx::Class::ResultSource::Table::name which was called 3 times, avg 1µs/call:
# once (2µs+0s) by DBIx::Class::ResultSource::Table::from at line 29
# once (2µs+0s) by DBIx::Class::ResultSourceProxy::Table::table at line 104 of DBIx/Class/ResultSourceProxy/Table.pm
# once (500ns+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 600ns/call:
# once (800ns+0s) by DBIx::Class::Schema::load_namespaces at line 279 of DBIx/Class/Schema.pm
# once (400ns+0s) by DBIx::Class::Schema::load_namespaces at line 913 of Class/Accessor/Grouped.pm |