Filename | /usr/share/perl5/DBIx/Class/ResultSource/Table.pm |
Statements | Executed 85 statements in 326µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 30.3ms | 41.2ms | BEGIN@6 | DBIx::Class::ResultSource::Table::
317 | 1 | 1 | 911µs | 913µs | from | DBIx::Class::ResultSource::Table::
1 | 1 | 1 | 15µs | 27µs | BEGIN@3 | DBIx::Class::ResultSource::Table::
1 | 1 | 1 | 14µs | 96µs | BEGIN@8 | DBIx::Class::ResultSource::Table::
1 | 1 | 1 | 10µs | 17µs | BEGIN@4 | DBIx::Class::ResultSource::Table::
3 | 3 | 3 | 4µs | 4µs | name (xsub) | DBIx::Class::ResultSource::Table::
7 | 7 | 2 | 4µs | 4µs | _columns (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 | _primaries (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 | 39µs | # spent 27µs (15+12) within DBIx::Class::ResultSource::Table::BEGIN@3 which was called:
# once (15µs+12µs) by DBIx::Class::ResultSourceProxy::Table::BEGIN@8 at line 3 # spent 27µs making 1 call to DBIx::Class::ResultSource::Table::BEGIN@3
# spent 12µs making 1 call to strict::import | ||
4 | 2 | 25µs | # spent 17µs (10+7) within DBIx::Class::ResultSource::Table::BEGIN@4 which was called:
# once (10µs+7µs) by DBIx::Class::ResultSourceProxy::Table::BEGIN@8 at line 4 # spent 17µs making 1 call to DBIx::Class::ResultSource::Table::BEGIN@4
# spent 7µs making 1 call to warnings::import | ||
5 | |||||
6 | 1 | 41.2ms | # spent 41.2ms (30.3+10.9) within DBIx::Class::ResultSource::Table::BEGIN@6 which was called:
# once (30.3ms+10.9ms) by DBIx::Class::ResultSourceProxy::Table::BEGIN@8 at line 6 # spent 41.2ms making 1 call to DBIx::Class::ResultSource::Table::BEGIN@6 | ||
7 | |||||
8 | 2 | 96µs | # spent 96µs (14+82) within DBIx::Class::ResultSource::Table::BEGIN@8 which was called:
# once (14µs+82µs) by DBIx::Class::ResultSourceProxy::Table::BEGIN@8 at line 8 # spent 96µs making 1 call to DBIx::Class::ResultSource::Table::BEGIN@8
# spent 82µs making 1 call to base::import, recursion: max depth 1, sum of overlapping time 82µs | ||
9 | 1 | 0s | __PACKAGE__->load_components(qw/ResultSource/); # spent 34.9ms making 1 call to Class::C3::Componentised::load_components, recursion: max depth 1, sum of overlapping time 34.9ms | ||
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 | 85 | 326µs | 1 | 2µs | # spent 913µs (911+2) within DBIx::Class::ResultSource::Table::from which was called 317 times, avg 3µs/call:
# 317 times (911µ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; | ||||
# spent 4µs within DBIx::Class::ResultSource::Table::_columns which was called 7 times, avg 529ns/call:
# once (1µs+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::column_info at line 395 of DBIx/Class/ResultSource.pm
# once (500ns+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 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 667ns/call:
# once (800ns+0s) by DBIx::Class::ResultSource::add_columns at line 348 of DBIx/Class/ResultSource.pm
# once (700ns+0s) by DBIx::Class::ResultSource::add_columns at line 329 of DBIx/Class/ResultSource.pm
# once (500ns+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 775ns/call:
# once (1µs+0s) by DBIx::Class::ResultSource::add_relationship at line 1349 of DBIx/Class/ResultSource.pm
# once (1µs+0s) by DBIx::Class::ResultSource::add_relationship at line 1354 of DBIx/Class/ResultSource.pm
# once (500ns+0s) by DBIx::Class::ResultSource::relationship_info at line 1419 of DBIx/Class/ResultSource.pm
# once (400ns+0s) by DBIx::Class::ResultSource::add_relationship at line 913 of Class/Accessor/Grouped.pm | |||||
# spent 2µs within DBIx::Class::ResultSource::Table::_unique_constraints which was called 3 times, avg 667ns/call:
# once (900ns+0s) by DBIx::Class::ResultSource::add_unique_constraint at line 759 of DBIx/Class/ResultSource.pm
# once (700ns+0s) by DBIx::Class::ResultSource::unique_constraints at line 872 of DBIx/Class/ResultSource.pm
# once (400ns+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 550ns/call:
# once (600ns+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 |