Filename | /usr/share/perl5/DBIx/Class/ResultSource/Table.pm |
Statements | Executed 3010 statements in 19.0ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 13.3ms | 16.6ms | BEGIN@6 | DBIx::Class::ResultSource::Table::
3000 | 1 | 1 | 9.86ms | 9.86ms | from | DBIx::Class::ResultSource::Table::
1 | 1 | 1 | 16µs | 82µs | BEGIN@8 | DBIx::Class::ResultSource::Table::
1 | 1 | 1 | 14µs | 21µs | BEGIN@3 | DBIx::Class::ResultSource::Table::
1 | 1 | 1 | 7µs | 12µs | BEGIN@4 | DBIx::Class::ResultSource::Table::
3 | 3 | 3 | 5µs | 5µs | name (xsub) | DBIx::Class::ResultSource::Table::
7 | 7 | 2 | 4µs | 4µs | _columns (xsub) | DBIx::Class::ResultSource::Table::
3 | 3 | 2 | 3µs | 3µs | _primaries (xsub) | DBIx::Class::ResultSource::Table::
4 | 4 | 2 | 2µs | 2µs | _relationships (xsub) | DBIx::Class::ResultSource::Table::
3 | 3 | 2 | 2µs | 2µs | _unique_constraints (xsub) | DBIx::Class::ResultSource::Table::
3 | 3 | 2 | 2µs | 2µs | _ordered_columns (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 | 29µs | # spent 21µs (14+8) within DBIx::Class::ResultSource::Table::BEGIN@3 which was called:
# once (14µs+8µs) by DBIx::Class::ResultSourceProxy::Table::BEGIN@8 at line 3 # spent 21µs making 1 call to DBIx::Class::ResultSource::Table::BEGIN@3
# spent 8µ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 | 189µs | 1 | 16.6ms | # spent 16.6ms (13.3+3.22) within DBIx::Class::ResultSource::Table::BEGIN@6 which was called:
# once (13.3ms+3.22ms) by DBIx::Class::ResultSourceProxy::Table::BEGIN@8 at line 6 # spent 16.6ms making 1 call to DBIx::Class::ResultSource::Table::BEGIN@6 |
7 | |||||
8 | 2 | 154µs | 2 | 82µs | # spent 82µs (16+67) within DBIx::Class::ResultSource::Table::BEGIN@8 which was called:
# once (16µs+67µs) by DBIx::Class::ResultSourceProxy::Table::BEGIN@8 at line 8 # spent 82µs making 1 call to DBIx::Class::ResultSource::Table::BEGIN@8
# spent 67µs making 1 call to base::import, recursion: max depth 1, sum of overlapping time 67µs |
9 | 1 | 8µs | 1 | 0s | __PACKAGE__->load_components(qw/ResultSource/); # spent 17.2ms making 1 call to Class::C3::Componentised::load_components, recursion: max depth 1, sum of overlapping time 17.2ms |
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 | 3000 | 18.6ms | 1 | 3µs | # spent 9.86ms (9.86+3µs) within DBIx::Class::ResultSource::Table::from which was called 3000 times, avg 3µs/call:
# 3000 times (9.86ms+3µs) by DBIx::Class::ResultSet::_resolved_attrs at line 3588 of DBIx/Class/ResultSet.pm, avg 3µs/call # spent 3µ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 | 3µs | 1; | ||
# spent 4µs within DBIx::Class::ResultSource::Table::_columns which was called 7 times, avg 557ns/call:
# once (1µs+0s) by DBIx::Class::ResultSource::add_columns at line 332 of DBIx/Class/ResultSource.pm
# once (900ns+0s) by DBIx::Class::ResultSource::columns_info at line 470 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::column_info at line 395 of DBIx/Class/ResultSource.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::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 | |||||
# spent 2µs within DBIx::Class::ResultSource::Table::_ordered_columns which was called 3 times, avg 667ns/call:
# once (900ns+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 933ns/call:
# once (1µs+0s) by DBIx::Class::ResultSource::set_primary_key at line 617 of DBIx/Class/ResultSource.pm
# once (1µs+0s) by DBIx::Class::ResultSource::primary_columns at line 638 of DBIx/Class/ResultSource.pm
# once (500ns+0s) by DBIx::Class::ResultSource::set_primary_key at line 913 of Class/Accessor/Grouped.pm | |||||
# spent 2µs within DBIx::Class::ResultSource::Table::_relationships which was called 4 times, avg 600ns/call:
# once (900ns+0s) by DBIx::Class::ResultSource::add_relationship at line 1349 of DBIx/Class/ResultSource.pm
# once (800ns+0s) by DBIx::Class::ResultSource::add_relationship at line 1354 of DBIx/Class/ResultSource.pm
# once (400ns+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 733ns/call:
# once (900ns+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 (500ns+0s) by DBIx::Class::ResultSource::unique_constraints at line 913 of Class/Accessor/Grouped.pm | |||||
# spent 5µs within DBIx::Class::ResultSource::Table::name which was called 3 times, avg 2µs/call:
# once (3µ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 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 |