← Index
NYTProf Performance Profile   « line view »
For starman worker -M FindBin --max-requests 50 --workers 2 --user=kohadev-koha --group kohadev-koha --pid /var/run/koha/kohadev/plack.pid --daemonize --access-log /var/log/koha/kohadev/plack.log --error-log /var/log/koha/kohadev/plack-error.log -E deployment --socket /var/run/koha/kohadev/plack.sock /etc/koha/sites/kohadev/plack.psgi
  Run on Fri Jan 8 13:50:58 2016
Reported on Fri Jan 8 13:51:27 2016

Filename/usr/share/perl5/DBIx/Class/ResultSource/Table.pm
StatementsExecuted 3010 statements in 19.0ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11113.3ms16.6msDBIx::Class::ResultSource::Table::::BEGIN@6DBIx::Class::ResultSource::Table::BEGIN@6
3000119.86ms9.86msDBIx::Class::ResultSource::Table::::fromDBIx::Class::ResultSource::Table::from
11116µs82µsDBIx::Class::ResultSource::Table::::BEGIN@8DBIx::Class::ResultSource::Table::BEGIN@8
11114µs21µsDBIx::Class::ResultSource::Table::::BEGIN@3DBIx::Class::ResultSource::Table::BEGIN@3
1117µs12µsDBIx::Class::ResultSource::Table::::BEGIN@4DBIx::Class::ResultSource::Table::BEGIN@4
3335µs5µsDBIx::Class::ResultSource::Table::::nameDBIx::Class::ResultSource::Table::name (xsub)
7724µs4µsDBIx::Class::ResultSource::Table::::_columnsDBIx::Class::ResultSource::Table::_columns (xsub)
3323µs3µsDBIx::Class::ResultSource::Table::::_primariesDBIx::Class::ResultSource::Table::_primaries (xsub)
4422µs2µsDBIx::Class::ResultSource::Table::::_relationshipsDBIx::Class::ResultSource::Table::_relationships (xsub)
3322µs2µsDBIx::Class::ResultSource::Table::::_unique_constraintsDBIx::Class::ResultSource::Table::_unique_constraints (xsub)
3322µs2µsDBIx::Class::ResultSource::Table::::_ordered_columnsDBIx::Class::ResultSource::Table::_ordered_columns (xsub)
2221µs1µsDBIx::Class::ResultSource::Table::::source_nameDBIx::Class::ResultSource::Table::source_name (xsub)
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package DBIx::Class::ResultSource::Table;
2
3237µs229µ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
use strict;
# spent 21µs making 1 call to DBIx::Class::ResultSource::Table::BEGIN@3 # spent 8µs making 1 call to strict::import
4229µs217µ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
use warnings;
# spent 12µs making 1 call to DBIx::Class::ResultSource::Table::BEGIN@4 # spent 5µs making 1 call to warnings::import
5
62189µs116.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
use DBIx::Class::ResultSet;
# spent 16.6ms making 1 call to DBIx::Class::ResultSource::Table::BEGIN@6
7
82154µs282µ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
use base qw/DBIx::Class/;
# 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
918µs10s__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
13DBIx::Class::ResultSource::Table - Table object
14
15=head1 SYNOPSIS
16
17=head1 DESCRIPTION
18
19Table object that inherits from L<DBIx::Class::ResultSource>.
20
21=head1 METHODS
22
23=head2 from
24
25Returns the FROM entry for the table (i.e. the table name)
26
27=cut
28
29300018.6ms13µ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
sub from { shift->name; }
# spent 3µs making 1 call to DBIx::Class::ResultSource::Table::name
30
31=head1 FURTHER QUESTIONS?
32
33Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
34
35=head1 COPYRIGHT AND LICENSE
36
37This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
38by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
39redistribute it and/or modify it under the same terms as the
40L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.
41
42=cut
43
4413µs1;
 
# 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
sub DBIx::Class::ResultSource::Table::_columns; # xsub
# 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
sub DBIx::Class::ResultSource::Table::_ordered_columns; # xsub
# 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
sub DBIx::Class::ResultSource::Table::_primaries; # xsub
# 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
sub DBIx::Class::ResultSource::Table::_relationships; # xsub
# 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
sub DBIx::Class::ResultSource::Table::_unique_constraints; # xsub
# 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
sub DBIx::Class::ResultSource::Table::name; # xsub
# 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
sub DBIx::Class::ResultSource::Table::source_name; # xsub