← 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:01:18 2016
Reported on Fri Jan 8 13:01:36 2016

Filename/home/vagrant/kohaclone/Koha/Schema/Result/Accountoffset.pm
StatementsExecuted 12 statements in 1.01ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11125µs29µsClass::C3::Componentised::::BEGIN@1.1840 Class::C3::Componentised::BEGIN@1.1840
11123µs565µsKoha::Schema::Result::Accountoffset::::BEGIN@16Koha::Schema::Result::Accountoffset::BEGIN@16
11111µs22µsKoha::Schema::Result::Accountoffset::::BEGIN@13Koha::Schema::Result::Accountoffset::BEGIN@13
1119µs18µ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
1272µs232µs
# spent 29µs (25+4) within Class::C3::Componentised::BEGIN@1.1840 which was called: # once (25µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1
use utf8;
# spent 29µs making 1 call to Class::C3::Componentised::BEGIN@1.1840 # spent 4µ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
13242µs234µs
# spent 22µs (11+12) within Koha::Schema::Result::Accountoffset::BEGIN@13 which was called: # once (11µs+12µs) by Class::C3::Componentised::ensure_class_loaded at line 13
use strict;
# spent 22µs making 1 call to Koha::Schema::Result::Accountoffset::BEGIN@13 # spent 12µs making 1 call to strict::import
14240µs226µs
# spent 18µs (9+9) within Koha::Schema::Result::Accountoffset::BEGIN@14 which was called: # once (9µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 14
use warnings;
# spent 18µs making 1 call to Koha::Schema::Result::Accountoffset::BEGIN@14 # spent 9µs making 1 call to warnings::import
15
162767µs21.11ms
# spent 565µs (23+541) within Koha::Schema::Result::Accountoffset::BEGIN@16 which was called: # once (23µs+541µs) by Class::C3::Componentised::ensure_class_loaded at line 16
use base 'DBIx::Class::Core';
# spent 565µs making 1 call to Koha::Schema::Result::Accountoffset::BEGIN@16 # spent 541µs making 1 call to base::import
17
18=head1 TABLE: C<accountoffsets>
19
20=cut
21
22137µs1423µs__PACKAGE__->table("accountoffsets");
# spent 423µ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
60133µs12.13ms__PACKAGE__->add_columns(
# spent 2.13ms 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
93111µs1720µs__PACKAGE__->belongs_to(
# spent 720µ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;