← 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:28 2016

Filename/home/vagrant/kohaclone/Koha/Schema/Result/Accountoffset.pm
StatementsExecuted 12 statements in 617µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11139µs44µsClass::C3::Componentised::::BEGIN@1.2896 Class::C3::Componentised::BEGIN@1.2896
11119µs115µsKoha::Schema::Result::Accountoffset::::BEGIN@16Koha::Schema::Result::Accountoffset::BEGIN@16
11117µs30µsKoha::Schema::Result::Accountoffset::::BEGIN@13Koha::Schema::Result::Accountoffset::BEGIN@13
11111µs21µsKoha::Schema::Result::Accountoffset::::BEGIN@14Koha::Schema::Result::Accountoffset::BEGIN@14
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1296µs249µs
# spent 44µs (39+5) within Class::C3::Componentised::BEGIN@1.2896 which was called: # once (39µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 1
use utf8;
# spent 44µs making 1 call to Class::C3::Componentised::BEGIN@1.2896 # spent 5µs making 1 call to utf8::import
2package Koha::Schema::Result::Accountoffset;
3
4# Created by DBIx::Class::Schema::Loader
5# DO NOT MODIFY THE FIRST PART OF THIS FILE
6
7=head1 NAME
8
9Koha::Schema::Result::Accountoffset
10
11=cut
12
13248µs243µs
# spent 30µs (17+13) within Koha::Schema::Result::Accountoffset::BEGIN@13 which was called: # once (17µs+13µs) by Class::C3::Componentised::ensure_class_loaded at line 13
use strict;
# spent 30µs making 1 call to Koha::Schema::Result::Accountoffset::BEGIN@13 # spent 13µs making 1 call to strict::import
14253µs232µs
# spent 21µs (11+11) within Koha::Schema::Result::Accountoffset::BEGIN@14 which was called: # once (11µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 14
use warnings;
# spent 21µs making 1 call to Koha::Schema::Result::Accountoffset::BEGIN@14 # spent 11µs making 1 call to warnings::import
15
162342µs2212µs
# spent 115µs (19+96) within Koha::Schema::Result::Accountoffset::BEGIN@16 which was called: # once (19µs+96µs) by Class::C3::Componentised::ensure_class_loaded at line 16
use base 'DBIx::Class::Core';
# spent 115µs making 1 call to Koha::Schema::Result::Accountoffset::BEGIN@16 # spent 96µs making 1 call to base::import
17
18=head1 TABLE: C<accountoffsets>
19
20=cut
21
22126µs1352µs__PACKAGE__->table("accountoffsets");
# spent 352µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
23
24=head1 ACCESSORS
25
26=head2 borrowernumber
27
28 data_type: 'integer'
29 default_value: 0
30 is_foreign_key: 1
31 is_nullable: 0
32
33=head2 accountno
34
35 data_type: 'smallint'
36 default_value: 0
37 is_nullable: 0
38
39=head2 offsetaccount
40
41 data_type: 'smallint'
42 default_value: 0
43 is_nullable: 0
44
45=head2 offsetamount
46
47 data_type: 'decimal'
48 is_nullable: 1
49 size: [28,6]
50
51=head2 timestamp
52
53 data_type: 'timestamp'
54 datetime_undef_if_invalid: 1
55 default_value: current_timestamp
56 is_nullable: 0
57
58=cut
59
60130µs12.00ms__PACKAGE__->add_columns(
# spent 2.00ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns
61 "borrowernumber",
62 {
63 data_type => "integer",
64 default_value => 0,
65 is_foreign_key => 1,
66 is_nullable => 0,
67 },
68 "accountno",
69 { data_type => "smallint", default_value => 0, is_nullable => 0 },
70 "offsetaccount",
71 { data_type => "smallint", default_value => 0, is_nullable => 0 },
72 "offsetamount",
73 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
74 "timestamp",
75 {
76 data_type => "timestamp",
77 datetime_undef_if_invalid => 1,
78 default_value => \"current_timestamp",
79 is_nullable => 0,
80 },
81);
82
83=head1 RELATIONS
84
85=head2 borrowernumber
86
87Type: belongs_to
88
89Related object: L<Koha::Schema::Result::Borrower>
90
91=cut
92
93112µs1392µs__PACKAGE__->belongs_to(
# spent 392µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
94 "borrowernumber",
95 "Koha::Schema::Result::Borrower",
96 { borrowernumber => "borrowernumber" },
97 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
98);
99
100
101# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
102# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OTfcUiJCPb5aU/gjqAb/bA
103
104
105# You can replace this text with custom content, and it will be preserved on regeneration
10619µs1;