Filename | /usr/share/perl5/DBIx/Class/Relationship/HasMany.pm |
Statements | Executed 586 statements in 8.53ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
144 | 144 | 44 | 7.22ms | 73.3ms | has_many | DBIx::Class::Relationship::HasMany::
1 | 1 | 1 | 15µs | 56µs | BEGIN@6 | DBIx::Class::Relationship::HasMany::
1 | 1 | 1 | 15µs | 22µs | BEGIN@4 | DBIx::Class::Relationship::HasMany::
1 | 1 | 1 | 12µs | 143µs | BEGIN@7 | DBIx::Class::Relationship::HasMany::
1 | 1 | 1 | 7µs | 12µs | BEGIN@5 | DBIx::Class::Relationship::HasMany::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package # hide from PAUSE | ||||
2 | DBIx::Class::Relationship::HasMany; | ||||
3 | |||||
4 | 2 | 42µs | 2 | 29µs | # spent 22µs (15+7) within DBIx::Class::Relationship::HasMany::BEGIN@4 which was called:
# once (15µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 4 # spent 22µs making 1 call to DBIx::Class::Relationship::HasMany::BEGIN@4
# spent 7µs making 1 call to strict::import |
5 | 2 | 32µs | 2 | 16µs | # spent 12µs (7+4) within DBIx::Class::Relationship::HasMany::BEGIN@5 which was called:
# once (7µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 5 # spent 12µs making 1 call to DBIx::Class::Relationship::HasMany::BEGIN@5
# spent 4µs making 1 call to warnings::import |
6 | 2 | 77µs | 2 | 96µs | # spent 56µs (15+40) within DBIx::Class::Relationship::HasMany::BEGIN@6 which was called:
# once (15µs+40µs) by Class::C3::Componentised::ensure_class_loaded at line 6 # spent 56µs making 1 call to DBIx::Class::Relationship::HasMany::BEGIN@6
# spent 40µs making 1 call to Exporter::import |
7 | 2 | 538µs | 2 | 273µs | # spent 143µs (12+131) within DBIx::Class::Relationship::HasMany::BEGIN@7 which was called:
# once (12µs+131µs) by Class::C3::Componentised::ensure_class_loaded at line 7 # spent 143µs making 1 call to DBIx::Class::Relationship::HasMany::BEGIN@7
# spent 131µs making 1 call to namespace::clean::import |
8 | |||||
9 | 1 | 2µs | our %_pod_inherit_config = | ||
10 | ( | ||||
11 | class_map => { 'DBIx::Class::Relationship::HasMany' => 'DBIx::Class::Relationship' } | ||||
12 | ); | ||||
13 | |||||
14 | # spent 73.3ms (7.22+66.0) within DBIx::Class::Relationship::HasMany::has_many which was called 144 times, avg 509µs/call:
# once (5.49ms+234µs) by Class::C3::Componentised::ensure_class_loaded at line 131 of Koha/Schema/Result/Matchpoint.pm
# once (23µs+5.17ms) by Class::C3::Componentised::ensure_class_loaded at line 78 of Koha/Schema/Result/ClassSortRule.pm
# once (8µs+4.73ms) by Class::C3::Componentised::ensure_class_loaded at line 288 of Koha/Schema/Result/Branch.pm
# once (6µs+4.62ms) by Class::C3::Componentised::ensure_class_loaded at line 193 of Koha/Schema/Result/Biblio.pm
# once (8µs+4.54ms) by Class::C3::Componentised::ensure_class_loaded at line 131 of Koha/Schema/Result/MarcMatcher.pm
# once (24µs+4.36ms) by Class::C3::Componentised::ensure_class_loaded at line 121 of Koha/Schema/Result/AdditionalField.pm
# once (7µs+3.62ms) by Class::C3::Componentised::ensure_class_loaded at line 681 of Koha/Schema/Result/Borrower.pm
# once (7µs+1.29ms) by Class::C3::Componentised::ensure_class_loaded at line 951 of Koha/Schema/Result/Borrower.pm
# once (26µs+1.09ms) by Class::C3::Componentised::ensure_class_loaded at line 337 of Koha/Schema/Result/Aqorder.pm
# once (23µs+1.04ms) by Class::C3::Componentised::ensure_class_loaded at line 621 of Koha/Schema/Result/Borrower.pm
# once (25µs+526µs) by Class::C3::Componentised::ensure_class_loaded at line 115 of Koha/Schema/Result/Aqbasketgroup.pm
# once (27µs+413µs) by Class::C3::Componentised::ensure_class_loaded at line 230 of Koha/Schema/Result/ImportBatch.pm
# once (24µs+411µs) by Class::C3::Componentised::ensure_class_loaded at line 103 of Koha/Schema/Result/AuthorisedValue.pm
# once (26µs+408µs) by Class::C3::Componentised::ensure_class_loaded at line 369 of Koha/Schema/Result/Subscription.pm
# once (40µs+375µs) by Class::C3::Componentised::ensure_class_loaded at line 247 of Koha/Schema/Result/Aqbookseller.pm
# once (21µs+388µs) by Class::C3::Componentised::ensure_class_loaded at line 171 of Koha/Schema/Result/Virtualshelve.pm
# once (32µs+374µs) by Class::C3::Componentised::ensure_class_loaded at line 146 of Koha/Schema/Result/Matchpoint.pm
# once (27µs+360µs) by Class::C3::Componentised::ensure_class_loaded at line 87 of Koha/Schema/Result/AuthType.pm
# once (27µs+352µs) by Class::C3::Componentised::ensure_class_loaded at line 421 of Koha/Schema/Result/Item.pm
# once (25µs+354µs) by Class::C3::Componentised::ensure_class_loaded at line 145 of Koha/Schema/Result/Itemtype.pm
# once (25µs+353µs) by Class::C3::Componentised::ensure_class_loaded at line 223 of Koha/Schema/Result/SubscriptionNumberpattern.pm
# once (26µs+347µs) by Class::C3::Componentised::ensure_class_loaded at line 86 of Koha/Schema/Result/Matchpoint.pm
# once (26µs+347µs) by Class::C3::Componentised::ensure_class_loaded at line 107 of Koha/Schema/Result/Currency.pm
# once (26µs+347µs) by Class::C3::Componentised::ensure_class_loaded at line 68 of Koha/Schema/Result/MarcModificationTemplate.pm
# once (32µs+340µs) by Class::C3::Componentised::ensure_class_loaded at line 198 of Koha/Schema/Result/Branch.pm
# once (25µs+345µs) by Class::C3::Componentised::ensure_class_loaded at line 188 of Koha/Schema/Result/Category.pm
# once (25µs+345µs) by Class::C3::Componentised::ensure_class_loaded at line 169 of Koha/Schema/Result/Aqbasket.pm
# once (25µs+338µs) by Class::C3::Componentised::ensure_class_loaded at line 116 of Koha/Schema/Result/Aqinvoice.pm
# once (25µs+337µs) by Class::C3::Componentised::ensure_class_loaded at line 142 of Koha/Schema/Result/BorrowerAttributeType.pm
# once (26µs+335µs) by Class::C3::Componentised::ensure_class_loaded at line 100 of Koha/Schema/Result/Aqcontract.pm
# once (24µs+335µs) by Class::C3::Componentised::ensure_class_loaded at line 93 of Koha/Schema/Result/Branchcategory.pm
# once (25µs+332µs) by Class::C3::Componentised::ensure_class_loaded at line 92 of Koha/Schema/Result/MessageAttribute.pm
# once (25µs+332µs) by Class::C3::Componentised::ensure_class_loaded at line 101 of Koha/Schema/Result/Permission.pm
# once (24µs+331µs) by Class::C3::Componentised::ensure_class_loaded at line 166 of Koha/Schema/Result/Overduerule.pm
# once (24µs+329µs) by Class::C3::Componentised::ensure_class_loaded at line 144 of Koha/Schema/Result/CourseItem.pm
# once (25µs+327µs) by Class::C3::Componentised::ensure_class_loaded at line 193 of Koha/Schema/Result/Aqbudget.pm
# once (24µs+327µs) by Class::C3::Componentised::ensure_class_loaded at line 91 of Koha/Schema/Result/OaiSet.pm
# once (22µs+327µs) by Class::C3::Componentised::ensure_class_loaded at line 117 of Koha/Schema/Result/TagsApproval.pm
# once (26µs+323µs) by Class::C3::Componentised::ensure_class_loaded at line 205 of Koha/Schema/Result/ImportRecord.pm
# once (24µs+324µs) by Class::C3::Componentised::ensure_class_loaded at line 108 of Koha/Schema/Result/BorrowerMessagePreference.pm
# once (26µs+322µs) by Class::C3::Componentised::ensure_class_loaded at line 174 of Koha/Schema/Result/Serial.pm
# once (24µs+323µs) by Class::C3::Componentised::ensure_class_loaded at line 103 of Koha/Schema/Result/SubscriptionFrequency.pm
# once (23µs+322µs) by Class::C3::Componentised::ensure_class_loaded at line 148 of Koha/Schema/Result/Biblio.pm
# once (26µs+318µs) by Class::C3::Componentised::ensure_class_loaded at line 101 of Koha/Schema/Result/MarcMatcher.pm
# once (23µs+311µs) by Class::C3::Componentised::ensure_class_loaded at line 61 of Koha/Schema/Result/MessageTransportType.pm
# once (23µs+303µs) by Class::C3::Componentised::ensure_class_loaded at line 151 of Koha/Schema/Result/Course.pm
# once (21µs+300µs) by Class::C3::Componentised::ensure_class_loaded at line 150 of Koha/Schema/Result/Letter.pm
# once (24µs+295µs) by Class::C3::Componentised::ensure_class_loaded at line 424 of Koha/Schema/Result/Subscription.pm
# once (8µs+305µs) by Class::C3::Componentised::ensure_class_loaded at line 186 of Koha/Schema/Result/Virtualshelve.pm
# once (6µs+306µs) by Class::C3::Componentised::ensure_class_loaded at line 102 of Koha/Schema/Result/AuthType.pm
# once (2µs+308µs) by Class::C3::Componentised::ensure_class_loaded at line 84 of Koha/Schema/Result/Userflag.pm
# once (11µs+288µs) by Class::C3::Componentised::ensure_class_loaded at line 303 of Koha/Schema/Result/Branch.pm
# once (23µs+275µs) by Class::C3::Componentised::ensure_class_loaded at line 451 of Koha/Schema/Result/Item.pm
# once (10µs+287µs) by Class::C3::Componentised::ensure_class_loaded at line 966 of Koha/Schema/Result/Borrower.pm
# once (17µs+270µs) by Class::C3::Componentised::ensure_class_loaded at line 92 of Koha/Schema/Result/PatronList.pm
# once (6µs+276µs) by Class::C3::Componentised::ensure_class_loaded at line 166 of Koha/Schema/Result/Course.pm
# once (6µs+274µs) by Class::C3::Componentised::ensure_class_loaded at line 116 of Koha/Schema/Result/MarcMatcher.pm
# once (10µs+265µs) by Class::C3::Componentised::ensure_class_loaded at line 336 of Koha/Schema/Result/Biblioitem.pm
# once (6µs+263µs) by Class::C3::Componentised::ensure_class_loaded at line 498 of Koha/Schema/Result/Branch.pm
# once (6µs+257µs) by Class::C3::Componentised::ensure_class_loaded at line 1101 of Koha/Schema/Result/Borrower.pm
# once (6µs+256µs) by Class::C3::Componentised::ensure_class_loaded at line 107 of Koha/Schema/Result/MessageAttribute.pm
# once (9µs+253µs) by Class::C3::Componentised::ensure_class_loaded at line 208 of Koha/Schema/Result/Biblio.pm
# once (8µs+253µs) by Class::C3::Componentised::ensure_class_loaded at line 352 of Koha/Schema/Result/Aqorder.pm
# once (6µs+253µs) by Class::C3::Componentised::ensure_class_loaded at line 184 of Koha/Schema/Result/Aqbasket.pm
# once (6µs+249µs) by Class::C3::Componentised::ensure_class_loaded at line 203 of Koha/Schema/Result/Category.pm
# once (5µs+250µs) by Class::C3::Componentised::ensure_class_loaded at line 438 of Koha/Schema/Result/Branch.pm
# once (6µs+247µs) by Class::C3::Componentised::ensure_class_loaded at line 277 of Koha/Schema/Result/Aqbookseller.pm
# once (7µs+246µs) by Class::C3::Componentised::ensure_class_loaded at line 122 of Koha/Schema/Result/Currency.pm
# once (6µs+246µs) by Class::C3::Componentised::ensure_class_loaded at line 1056 of Koha/Schema/Result/Borrower.pm
# once (9µs+243µs) by Class::C3::Componentised::ensure_class_loaded at line 696 of Koha/Schema/Result/Borrower.pm
# once (6µs+245µs) by Class::C3::Componentised::ensure_class_loaded at line 453 of Koha/Schema/Result/Branch.pm
# once (6µs+244µs) by Class::C3::Componentised::ensure_class_loaded at line 936 of Koha/Schema/Result/Borrower.pm
# once (10µs+238µs) by Class::C3::Componentised::ensure_class_loaded at line 132 of Koha/Schema/Result/MatchpointComponent.pm
# once (6µs+242µs) by Class::C3::Componentised::ensure_class_loaded at line 483 of Koha/Schema/Result/Branch.pm
# once (7µs+240µs) by Class::C3::Componentised::ensure_class_loaded at line 118 of Koha/Schema/Result/AuthorisedValue.pm
# once (6µs+239µs) by Class::C3::Componentised::ensure_class_loaded at line 265 of Koha/Schema/Result/ImportRecord.pm
# once (6µs+239µs) by Class::C3::Componentised::ensure_class_loaded at line 741 of Koha/Schema/Result/Borrower.pm
# once (7µs+237µs) by Class::C3::Componentised::ensure_class_loaded at line 262 of Koha/Schema/Result/Aqbookseller.pm
# once (7µs+234µs) by Class::C3::Componentised::ensure_class_loaded at line 163 of Koha/Schema/Result/Biblio.pm
# once (7µs+234µs) by Class::C3::Componentised::ensure_class_loaded at line 157 of Koha/Schema/Result/BorrowerAttributeType.pm
# once (6µs+233µs) by Class::C3::Componentised::ensure_class_loaded at line 1071 of Koha/Schema/Result/Borrower.pm
# once (6µs+233µs) by Class::C3::Componentised::ensure_class_loaded at line 1086 of Koha/Schema/Result/Borrower.pm
# once (6µs+232µs) by Class::C3::Componentised::ensure_class_loaded at line 891 of Koha/Schema/Result/Borrower.pm
# once (6µs+232µs) by Class::C3::Componentised::ensure_class_loaded at line 1116 of Koha/Schema/Result/Borrower.pm
# once (6µs+230µs) by Class::C3::Componentised::ensure_class_loaded at line 228 of Koha/Schema/Result/Branch.pm
# once (6µs+229µs) by Class::C3::Componentised::ensure_class_loaded at line 596 of Koha/Schema/Result/Item.pm
# once (6µs+227µs) by Class::C3::Componentised::ensure_class_loaded at line 223 of Koha/Schema/Result/Aqbudget.pm
# once (6µs+226µs) by Class::C3::Componentised::ensure_class_loaded at line 1131 of Koha/Schema/Result/Borrower.pm
# once (7µs+224µs) by Class::C3::Componentised::ensure_class_loaded at line 307 of Koha/Schema/Result/Aqbookseller.pm
# once (6µs+226µs) by Class::C3::Componentised::ensure_class_loaded at line 1011 of Koha/Schema/Result/Borrower.pm
# once (7µs+224µs) by Class::C3::Componentised::ensure_class_loaded at line 213 of Koha/Schema/Result/Branch.pm
# once (6µs+224µs) by Class::C3::Componentised::ensure_class_loaded at line 581 of Koha/Schema/Result/Item.pm
# once (6µs+224µs) by Class::C3::Componentised::ensure_class_loaded at line 238 of Koha/Schema/Result/Aqbudget.pm
# once (6µs+225µs) by Class::C3::Componentised::ensure_class_loaded at line 298 of Koha/Schema/Result/Biblio.pm
# once (6µs+223µs) by Class::C3::Componentised::ensure_class_loaded at line 218 of Koha/Schema/Result/Category.pm
# once (6µs+223µs) by Class::C3::Componentised::ensure_class_loaded at line 831 of Koha/Schema/Result/Borrower.pm
# once (7µs+222µs) by Class::C3::Componentised::ensure_class_loaded at line 235 of Koha/Schema/Result/ImportRecord.pm
# once (6µs+222µs) by Class::C3::Componentised::ensure_class_loaded at line 801 of Koha/Schema/Result/Borrower.pm
# once (6µs+222µs) by Class::C3::Componentised::ensure_class_loaded at line 273 of Koha/Schema/Result/Branch.pm
# once (6µs+222µs) by Class::C3::Componentised::ensure_class_loaded at line 318 of Koha/Schema/Result/Branch.pm
# once (6µs+222µs) by Class::C3::Componentised::ensure_class_loaded at line 726 of Koha/Schema/Result/Borrower.pm
# once (6µs+222µs) by Class::C3::Componentised::ensure_class_loaded at line 921 of Koha/Schema/Result/Borrower.pm
# once (6µs+221µs) by Class::C3::Componentised::ensure_class_loaded at line 208 of Koha/Schema/Result/Aqbudget.pm
# once (6µs+221µs) by Class::C3::Componentised::ensure_class_loaded at line 876 of Koha/Schema/Result/Borrower.pm
# once (6µs+220µs) by Class::C3::Componentised::ensure_class_loaded at line 611 of Koha/Schema/Result/Item.pm
# once (6µs+220µs) by Class::C3::Componentised::ensure_class_loaded at line 816 of Koha/Schema/Result/Borrower.pm
# once (6µs+219µs) by Class::C3::Componentised::ensure_class_loaded at line 666 of Koha/Schema/Result/Borrower.pm
# once (6µs+219µs) by Class::C3::Componentised::ensure_class_loaded at line 78 of Koha/Schema/Result/MessageTransportType.pm
# once (6µs+219µs) by Class::C3::Componentised::ensure_class_loaded at line 292 of Koha/Schema/Result/Aqbookseller.pm
# once (6µs+219µs) by Class::C3::Componentised::ensure_class_loaded at line 253 of Koha/Schema/Result/Aqbudget.pm
# once (6µs+219µs) by Class::C3::Componentised::ensure_class_loaded at line 238 of Koha/Schema/Result/Biblio.pm
# once (6µs+218µs) by Class::C3::Componentised::ensure_class_loaded at line 348 of Koha/Schema/Result/Branch.pm
# once (6µs+218µs) by Class::C3::Componentised::ensure_class_loaded at line 861 of Koha/Schema/Result/Borrower.pm
# once (6µs+218µs) by Class::C3::Componentised::ensure_class_loaded at line 756 of Koha/Schema/Result/Borrower.pm
# once (6µs+217µs) by Class::C3::Componentised::ensure_class_loaded at line 1041 of Koha/Schema/Result/Borrower.pm
# once (6µs+216µs) by Class::C3::Componentised::ensure_class_loaded at line 846 of Koha/Schema/Result/Borrower.pm
# once (6µs+216µs) by Class::C3::Componentised::ensure_class_loaded at line 258 of Koha/Schema/Result/Branch.pm
# once (6µs+215µs) by Class::C3::Componentised::ensure_class_loaded at line 101 of Koha/Schema/Result/Matchpoint.pm
# once (6µs+216µs) by Class::C3::Componentised::ensure_class_loaded at line 333 of Koha/Schema/Result/Branch.pm
# once (6µs+215µs) by Class::C3::Componentised::ensure_class_loaded at line 1026 of Koha/Schema/Result/Borrower.pm
# once (6µs+215µs) by Class::C3::Componentised::ensure_class_loaded at line 223 of Koha/Schema/Result/Biblio.pm
# once (6µs+214µs) by Class::C3::Componentised::ensure_class_loaded at line 233 of Koha/Schema/Result/Category.pm
# once (6µs+214µs) by Class::C3::Componentised::ensure_class_loaded at line 481 of Koha/Schema/Result/Item.pm
# once (6µs+213µs) by Class::C3::Componentised::ensure_class_loaded at line 711 of Koha/Schema/Result/Borrower.pm
# once (6µs+213µs) by Class::C3::Componentised::ensure_class_loaded at line 906 of Koha/Schema/Result/Borrower.pm
# once (6µs+213µs) by Class::C3::Componentised::ensure_class_loaded at line 651 of Koha/Schema/Result/Borrower.pm
# once (6µs+213µs) by Class::C3::Componentised::ensure_class_loaded at line 408 of Koha/Schema/Result/Branch.pm
# once (9µs+209µs) by Class::C3::Componentised::ensure_class_loaded at line 129 of Koha/Schema/Result/MessageTransportType.pm
# once (6µs+212µs) by Class::C3::Componentised::ensure_class_loaded at line 112 of Koha/Schema/Result/MessageTransportType.pm
# once (9µs+209µs) by Class::C3::Componentised::ensure_class_loaded at line 423 of Koha/Schema/Result/Branch.pm
# once (6µs+211µs) by Class::C3::Componentised::ensure_class_loaded at line 106 of Koha/Schema/Result/OaiSet.pm
# once (5µs+212µs) by Class::C3::Componentised::ensure_class_loaded at line 468 of Koha/Schema/Result/Branch.pm
# once (6µs+210µs) by Class::C3::Componentised::ensure_class_loaded at line 243 of Koha/Schema/Result/Branch.pm
# once (6µs+209µs) by Class::C3::Componentised::ensure_class_loaded at line 363 of Koha/Schema/Result/Branch.pm
# once (7µs+208µs) by Class::C3::Componentised::ensure_class_loaded at line 636 of Koha/Schema/Result/Borrower.pm
# once (6µs+208µs) by Class::C3::Componentised::ensure_class_loaded at line 996 of Koha/Schema/Result/Borrower.pm
# once (5µs+208µs) by Class::C3::Componentised::ensure_class_loaded at line 378 of Koha/Schema/Result/Branch.pm
# once (6µs+207µs) by Class::C3::Componentised::ensure_class_loaded at line 283 of Koha/Schema/Result/Biblio.pm
# once (6µs+206µs) by Class::C3::Componentised::ensure_class_loaded at line 95 of Koha/Schema/Result/MessageTransportType.pm
# once (6µs+206µs) by Class::C3::Componentised::ensure_class_loaded at line 178 of Koha/Schema/Result/Biblio.pm
# once (6µs+205µs) by Class::C3::Componentised::ensure_class_loaded at line 121 of Koha/Schema/Result/OaiSet.pm
# once (6µs+204µs) by Class::C3::Componentised::ensure_class_loaded at line 253 of Koha/Schema/Result/Biblio.pm
# once (6µs+204µs) by Class::C3::Componentised::ensure_class_loaded at line 268 of Koha/Schema/Result/Biblio.pm
# once (6µs+203µs) by Class::C3::Componentised::ensure_class_loaded at line 250 of Koha/Schema/Result/ImportRecord.pm | ||||
15 | 144 | 89µs | my ($class, $rel, $f_class, $cond, $attrs) = @_; | ||
16 | |||||
17 | 144 | 59µs | unless (ref $cond) { | ||
18 | |||||
19 | my $pri = $class->result_source_instance->_single_pri_col_or_die; | ||||
20 | |||||
21 | my ($f_key,$guess); | ||||
22 | if (defined $cond && length $cond) { | ||||
23 | $f_key = $cond; | ||||
24 | $guess = "caller specified foreign key '$f_key'"; | ||||
25 | } else { | ||||
26 | $class =~ /([^\:]+)$/; # match is safe - $class can't be '' | ||||
27 | $f_key = lc $1; # go ahead and guess; best we can do | ||||
28 | $guess = "using our class name '$class' as foreign key source"; | ||||
29 | } | ||||
30 | |||||
31 | # FIXME - this check needs to be moved to schema-composition time... | ||||
32 | # # only perform checks if the far side appears already loaded | ||||
33 | # if (my $f_rsrc = try { $f_class->result_source_instance } ) { | ||||
34 | # $class->throw_exception( | ||||
35 | # "No such column '$f_key' on foreign class ${f_class} ($guess)" | ||||
36 | # ) if !$f_rsrc->has_column($f_key); | ||||
37 | # } | ||||
38 | |||||
39 | $cond = { "foreign.${f_key}" => "self.${pri}" }; | ||||
40 | } | ||||
41 | |||||
42 | 144 | 78µs | my $default_cascade = ref $cond eq 'CODE' ? 0 : 1; | ||
43 | |||||
44 | $class->add_relationship($rel, $f_class, $cond, { | ||||
45 | accessor => 'multi', | ||||
46 | join_type => 'LEFT', | ||||
47 | cascade_delete => $default_cascade, | ||||
48 | cascade_copy => $default_cascade, | ||||
49 | is_depends_on => 0, | ||||
50 | 144 | 7.61ms | 144 | 66.0ms | %{$attrs||{}} # spent 66.0ms making 144 calls to DBIx::Class::ResultSourceProxy::add_relationship, avg 459µs/call |
51 | }); | ||||
52 | } | ||||
53 | |||||
54 | 1 | 3µs | 1 | 119µs | 1; # spent 119µs making 1 call to B::Hooks::EndOfScope::XS::__ANON__ |