Filename | /usr/share/perl5/DBIx/Class/Relationship/HasMany.pm |
Statements | Executed 586 statements in 3.18ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
144 | 144 | 44 | 2.26ms | 46.1ms | has_many | DBIx::Class::Relationship::HasMany::
1 | 1 | 1 | 22µs | 36µs | BEGIN@4 | DBIx::Class::Relationship::HasMany::
1 | 1 | 1 | 13µs | 17µs | BEGIN@5 | DBIx::Class::Relationship::HasMany::
1 | 1 | 1 | 12µs | 46µs | BEGIN@6 | DBIx::Class::Relationship::HasMany::
1 | 1 | 1 | 10µs | 131µs | BEGIN@7 | 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 | 51µs | 2 | 51µs | # spent 36µs (22+15) within DBIx::Class::Relationship::HasMany::BEGIN@4 which was called:
# once (22µs+15µs) by Class::C3::Componentised::ensure_class_loaded at line 4 # spent 36µs making 1 call to DBIx::Class::Relationship::HasMany::BEGIN@4
# spent 15µs making 1 call to strict::import |
5 | 2 | 37µs | 2 | 21µs | # spent 17µs (13+4) within DBIx::Class::Relationship::HasMany::BEGIN@5 which was called:
# once (13µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 5 # spent 17µs making 1 call to DBIx::Class::Relationship::HasMany::BEGIN@5
# spent 4µs making 1 call to warnings::import |
6 | 2 | 65µs | 2 | 81µs | # spent 46µs (12+34) within DBIx::Class::Relationship::HasMany::BEGIN@6 which was called:
# once (12µs+34µs) by Class::C3::Componentised::ensure_class_loaded at line 6 # spent 46µs making 1 call to DBIx::Class::Relationship::HasMany::BEGIN@6
# spent 34µs making 1 call to Exporter::import |
7 | 2 | 488µs | 2 | 252µs | # spent 131µs (10+121) within DBIx::Class::Relationship::HasMany::BEGIN@7 which was called:
# once (10µs+121µs) by Class::C3::Componentised::ensure_class_loaded at line 7 # spent 131µs making 1 call to DBIx::Class::Relationship::HasMany::BEGIN@7
# spent 121µ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 46.1ms (2.26+43.8) within DBIx::Class::Relationship::HasMany::has_many which was called 144 times, avg 320µs/call:
# once (11µs+3.89ms) by Class::C3::Componentised::ensure_class_loaded at line 298 of Koha/Schema/Result/Biblio.pm
# once (7µs+1.33ms) by Class::C3::Componentised::ensure_class_loaded at line 1086 of Koha/Schema/Result/Borrower.pm
# once (44µs+780µs) by Class::C3::Componentised::ensure_class_loaded at line 86 of Koha/Schema/Result/Matchpoint.pm
# once (468µs+222µs) by Class::C3::Componentised::ensure_class_loaded at line 223 of Koha/Schema/Result/Aqbudget.pm
# once (27µs+644µs) by Class::C3::Componentised::ensure_class_loaded at line 87 of Koha/Schema/Result/AuthType.pm
# once (47µs+615µs) by Class::C3::Componentised::ensure_class_loaded at line 100 of Koha/Schema/Result/Aqcontract.pm
# once (20µs+628µs) by Class::C3::Componentised::ensure_class_loaded at line 101 of Koha/Schema/Result/Matchpoint.pm
# once (16µs+528µs) by Class::C3::Componentised::ensure_class_loaded at line 146 of Koha/Schema/Result/Matchpoint.pm
# once (27µs+503µs) by Class::C3::Componentised::ensure_class_loaded at line 337 of Koha/Schema/Result/Aqorder.pm
# once (24µs+460µs) by Class::C3::Componentised::ensure_class_loaded at line 103 of Koha/Schema/Result/SubscriptionFrequency.pm
# once (25µs+413µs) by Class::C3::Componentised::ensure_class_loaded at line 421 of Koha/Schema/Result/Item.pm
# once (36µs+364µs) by Class::C3::Componentised::ensure_class_loaded at line 198 of Koha/Schema/Result/Branch.pm
# once (17µs+379µs) by Class::C3::Componentised::ensure_class_loaded at line 131 of Koha/Schema/Result/Matchpoint.pm
# once (24µs+369µs) by Class::C3::Componentised::ensure_class_loaded at line 107 of Koha/Schema/Result/Currency.pm
# once (23µs+368µs) by Class::C3::Componentised::ensure_class_loaded at line 68 of Koha/Schema/Result/MarcModificationTemplate.pm
# once (26µs+362µs) by Class::C3::Componentised::ensure_class_loaded at line 188 of Koha/Schema/Result/Category.pm
# once (24µs+363µs) by Class::C3::Componentised::ensure_class_loaded at line 121 of Koha/Schema/Result/AdditionalField.pm
# once (23µs+347µs) by Class::C3::Componentised::ensure_class_loaded at line 101 of Koha/Schema/Result/Permission.pm
# once (24µs+345µs) by Class::C3::Componentised::ensure_class_loaded at line 205 of Koha/Schema/Result/ImportRecord.pm
# once (26µs+341µs) by Class::C3::Componentised::ensure_class_loaded at line 142 of Koha/Schema/Result/BorrowerAttributeType.pm
# once (27µs+339µs) by Class::C3::Componentised::ensure_class_loaded at line 223 of Koha/Schema/Result/SubscriptionNumberpattern.pm
# once (9µs+355µs) by Class::C3::Componentised::ensure_class_loaded at line 208 of Koha/Schema/Result/Biblio.pm
# once (34µs+330µs) by Class::C3::Componentised::ensure_class_loaded at line 151 of Koha/Schema/Result/Course.pm
# once (25µs+336µs) by Class::C3::Componentised::ensure_class_loaded at line 169 of Koha/Schema/Result/Aqbasket.pm
# once (26µs+334µs) by Class::C3::Componentised::ensure_class_loaded at line 230 of Koha/Schema/Result/ImportBatch.pm
# once (23µs+334µs) by Class::C3::Componentised::ensure_class_loaded at line 148 of Koha/Schema/Result/Biblio.pm
# once (33µs+320µs) by Class::C3::Componentised::ensure_class_loaded at line 247 of Koha/Schema/Result/Aqbookseller.pm
# once (28µs+324µs) by Class::C3::Componentised::ensure_class_loaded at line 171 of Koha/Schema/Result/Virtualshelve.pm
# once (24µs+326µs) by Class::C3::Componentised::ensure_class_loaded at line 166 of Koha/Schema/Result/Overduerule.pm
# once (26µs+324µs) by Class::C3::Componentised::ensure_class_loaded at line 621 of Koha/Schema/Result/Borrower.pm
# once (24µs+325µs) by Class::C3::Componentised::ensure_class_loaded at line 369 of Koha/Schema/Result/Subscription.pm
# once (25µs+322µs) by Class::C3::Componentised::ensure_class_loaded at line 115 of Koha/Schema/Result/Aqbasketgroup.pm
# once (21µs+326µs) by Class::C3::Componentised::ensure_class_loaded at line 92 of Koha/Schema/Result/MessageAttribute.pm
# once (24µs+324µs) by Class::C3::Componentised::ensure_class_loaded at line 145 of Koha/Schema/Result/Itemtype.pm
# once (22µs+324µs) by Class::C3::Componentised::ensure_class_loaded at line 93 of Koha/Schema/Result/Branchcategory.pm
# once (9µs+334µs) by Class::C3::Componentised::ensure_class_loaded at line 223 of Koha/Schema/Result/Biblio.pm
# once (24µs+318µs) by Class::C3::Componentised::ensure_class_loaded at line 103 of Koha/Schema/Result/AuthorisedValue.pm
# once (23µs+318µs) by Class::C3::Componentised::ensure_class_loaded at line 193 of Koha/Schema/Result/Aqbudget.pm
# once (23µs+318µs) by Class::C3::Componentised::ensure_class_loaded at line 61 of Koha/Schema/Result/MessageTransportType.pm
# once (25µs+315µs) by Class::C3::Componentised::ensure_class_loaded at line 84 of Koha/Schema/Result/Userflag.pm
# once (24µs+317µs) by Class::C3::Componentised::ensure_class_loaded at line 116 of Koha/Schema/Result/Aqinvoice.pm
# once (26µs+314µs) by Class::C3::Componentised::ensure_class_loaded at line 101 of Koha/Schema/Result/MarcMatcher.pm
# once (26µs+313µs) by Class::C3::Componentised::ensure_class_loaded at line 174 of Koha/Schema/Result/Serial.pm
# once (23µs+315µs) by Class::C3::Componentised::ensure_class_loaded at line 144 of Koha/Schema/Result/CourseItem.pm
# once (9µs+328µs) by Class::C3::Componentised::ensure_class_loaded at line 951 of Koha/Schema/Result/Borrower.pm
# once (23µs+303µs) by Class::C3::Componentised::ensure_class_loaded at line 78 of Koha/Schema/Result/ClassSortRule.pm
# once (19µs+303µs) by Class::C3::Componentised::ensure_class_loaded at line 424 of Koha/Schema/Result/Subscription.pm
# once (22µs+296µs) by Class::C3::Componentised::ensure_class_loaded at line 108 of Koha/Schema/Result/BorrowerMessagePreference.pm
# once (22µs+290µs) by Class::C3::Componentised::ensure_class_loaded at line 91 of Koha/Schema/Result/OaiSet.pm
# once (8µs+303µs) by Class::C3::Componentised::ensure_class_loaded at line 129 of Koha/Schema/Result/MessageTransportType.pm
# once (23µs+286µs) by Class::C3::Componentised::ensure_class_loaded at line 117 of Koha/Schema/Result/TagsApproval.pm
# once (7µs+300µs) by Class::C3::Componentised::ensure_class_loaded at line 238 of Koha/Schema/Result/Biblio.pm
# once (9µs+270µs) by Class::C3::Componentised::ensure_class_loaded at line 1101 of Koha/Schema/Result/Borrower.pm
# once (7µs+272µs) by Class::C3::Componentised::ensure_class_loaded at line 112 of Koha/Schema/Result/MessageTransportType.pm
# once (11µs+265µs) by Class::C3::Componentised::ensure_class_loaded at line 336 of Koha/Schema/Result/Biblioitem.pm
# once (10µs+264µs) by Class::C3::Componentised::ensure_class_loaded at line 150 of Koha/Schema/Result/Letter.pm
# once (21µs+246µs) by Class::C3::Componentised::ensure_class_loaded at line 451 of Koha/Schema/Result/Item.pm
# once (6µs+261µs) by Class::C3::Componentised::ensure_class_loaded at line 178 of Koha/Schema/Result/Biblio.pm
# once (6µs+257µs) by Class::C3::Componentised::ensure_class_loaded at line 233 of Koha/Schema/Result/Category.pm
# once (7µs+255µs) by Class::C3::Componentised::ensure_class_loaded at line 193 of Koha/Schema/Result/Biblio.pm
# once (10µs+252µs) by Class::C3::Componentised::ensure_class_loaded at line 95 of Koha/Schema/Result/MessageTransportType.pm
# once (7µs+253µs) by Class::C3::Componentised::ensure_class_loaded at line 203 of Koha/Schema/Result/Category.pm
# once (6µs+248µs) by Class::C3::Componentised::ensure_class_loaded at line 816 of Koha/Schema/Result/Borrower.pm
# once (6µs+246µs) by Class::C3::Componentised::ensure_class_loaded at line 265 of Koha/Schema/Result/ImportRecord.pm
# once (13µs+235µs) by Class::C3::Componentised::ensure_class_loaded at line 184 of Koha/Schema/Result/Aqbasket.pm
# once (7µs+241µs) by Class::C3::Componentised::ensure_class_loaded at line 218 of Koha/Schema/Result/Category.pm
# once (6µs+240µs) by Class::C3::Componentised::ensure_class_loaded at line 1116 of Koha/Schema/Result/Borrower.pm
# once (17µs+228µs) by Class::C3::Componentised::ensure_class_loaded at line 250 of Koha/Schema/Result/ImportRecord.pm
# once (7µs+238µs) by Class::C3::Componentised::ensure_class_loaded at line 936 of Koha/Schema/Result/Borrower.pm
# once (9µs+235µs) by Class::C3::Componentised::ensure_class_loaded at line 1041 of Koha/Schema/Result/Borrower.pm
# once (6µs+235µs) by Class::C3::Componentised::ensure_class_loaded at line 122 of Koha/Schema/Result/Currency.pm
# once (9µs+232µs) by Class::C3::Componentised::ensure_class_loaded at line 238 of Koha/Schema/Result/Aqbudget.pm
# once (8µs+232µs) by Class::C3::Componentised::ensure_class_loaded at line 92 of Koha/Schema/Result/PatronList.pm
# once (11µs+228µs) by Class::C3::Componentised::ensure_class_loaded at line 213 of Koha/Schema/Result/Branch.pm
# once (5µs+232µs) by Class::C3::Componentised::ensure_class_loaded at line 348 of Koha/Schema/Result/Branch.pm
# once (5µs+229µs) by Class::C3::Componentised::ensure_class_loaded at line 468 of Koha/Schema/Result/Branch.pm
# once (6µs+228µs) by Class::C3::Componentised::ensure_class_loaded at line 666 of Koha/Schema/Result/Borrower.pm
# once (6µs+227µs) by Class::C3::Componentised::ensure_class_loaded at line 157 of Koha/Schema/Result/BorrowerAttributeType.pm
# once (7µs+225µs) by Class::C3::Componentised::ensure_class_loaded at line 78 of Koha/Schema/Result/MessageTransportType.pm
# once (6µs+227µs) by Class::C3::Componentised::ensure_class_loaded at line 726 of Koha/Schema/Result/Borrower.pm
# once (10µs+222µs) by Class::C3::Componentised::ensure_class_loaded at line 243 of Koha/Schema/Result/Branch.pm
# once (7µs+225µs) by Class::C3::Componentised::ensure_class_loaded at line 352 of Koha/Schema/Result/Aqorder.pm
# once (6µs+225µs) by Class::C3::Componentised::ensure_class_loaded at line 116 of Koha/Schema/Result/MarcMatcher.pm
# once (6µs+224µs) by Class::C3::Componentised::ensure_class_loaded at line 235 of Koha/Schema/Result/ImportRecord.pm
# once (8µs+222µs) by Class::C3::Componentised::ensure_class_loaded at line 102 of Koha/Schema/Result/AuthType.pm
# once (9µs+221µs) by Class::C3::Componentised::ensure_class_loaded at line 132 of Koha/Schema/Result/MatchpointComponent.pm
# once (7µs+222µs) by Class::C3::Componentised::ensure_class_loaded at line 481 of Koha/Schema/Result/Item.pm
# once (6µs+223µs) by Class::C3::Componentised::ensure_class_loaded at line 378 of Koha/Schema/Result/Branch.pm
# once (6µs+223µs) by Class::C3::Componentised::ensure_class_loaded at line 756 of Koha/Schema/Result/Borrower.pm
# once (5µs+222µs) by Class::C3::Componentised::ensure_class_loaded at line 1071 of Koha/Schema/Result/Borrower.pm
# once (6µs+220µs) by Class::C3::Componentised::ensure_class_loaded at line 876 of Koha/Schema/Result/Borrower.pm
# once (6µs+219µs) by Class::C3::Componentised::ensure_class_loaded at line 966 of Koha/Schema/Result/Borrower.pm
# once (6µs+219µs) by Class::C3::Componentised::ensure_class_loaded at line 253 of Koha/Schema/Result/Biblio.pm
# once (6µs+219µs) by Class::C3::Componentised::ensure_class_loaded at line 208 of Koha/Schema/Result/Aqbudget.pm
# once (6µs+217µs) by Class::C3::Componentised::ensure_class_loaded at line 408 of Koha/Schema/Result/Branch.pm
# once (5µs+217µs) by Class::C3::Componentised::ensure_class_loaded at line 283 of Koha/Schema/Result/Biblio.pm
# once (6µs+216µs) by Class::C3::Componentised::ensure_class_loaded at line 1131 of Koha/Schema/Result/Borrower.pm
# once (6µs+215µs) by Class::C3::Componentised::ensure_class_loaded at line 921 of Koha/Schema/Result/Borrower.pm
# once (8µs+213µs) by Class::C3::Componentised::ensure_class_loaded at line 1011 of Koha/Schema/Result/Borrower.pm
# once (6µs+214µs) by Class::C3::Componentised::ensure_class_loaded at line 163 of Koha/Schema/Result/Biblio.pm
# once (5µs+215µs) by Class::C3::Componentised::ensure_class_loaded at line 483 of Koha/Schema/Result/Branch.pm
# once (6µs+214µs) by Class::C3::Componentised::ensure_class_loaded at line 498 of Koha/Schema/Result/Branch.pm
# once (5µs+214µs) by Class::C3::Componentised::ensure_class_loaded at line 363 of Koha/Schema/Result/Branch.pm
# once (6µs+212µs) by Class::C3::Componentised::ensure_class_loaded at line 118 of Koha/Schema/Result/AuthorisedValue.pm
# once (7µs+212µs) by Class::C3::Componentised::ensure_class_loaded at line 186 of Koha/Schema/Result/Virtualshelve.pm
# once (6µs+213µs) by Class::C3::Componentised::ensure_class_loaded at line 861 of Koha/Schema/Result/Borrower.pm
# once (6µs+212µs) by Class::C3::Componentised::ensure_class_loaded at line 1056 of Koha/Schema/Result/Borrower.pm
# once (6µs+212µs) by Class::C3::Componentised::ensure_class_loaded at line 741 of Koha/Schema/Result/Borrower.pm
# once (5µs+212µs) by Class::C3::Componentised::ensure_class_loaded at line 611 of Koha/Schema/Result/Item.pm
# once (6µs+211µs) by Class::C3::Componentised::ensure_class_loaded at line 996 of Koha/Schema/Result/Borrower.pm
# once (6µs+211µs) by Class::C3::Componentised::ensure_class_loaded at line 166 of Koha/Schema/Result/Course.pm
# once (6µs+210µs) by Class::C3::Componentised::ensure_class_loaded at line 262 of Koha/Schema/Result/Aqbookseller.pm
# once (6µs+211µs) by Class::C3::Componentised::ensure_class_loaded at line 307 of Koha/Schema/Result/Aqbookseller.pm
# once (6µs+211µs) by Class::C3::Componentised::ensure_class_loaded at line 596 of Koha/Schema/Result/Item.pm
# once (6µs+210µs) by Class::C3::Componentised::ensure_class_loaded at line 831 of Koha/Schema/Result/Borrower.pm
# once (6µs+210µs) by Class::C3::Componentised::ensure_class_loaded at line 253 of Koha/Schema/Result/Aqbudget.pm
# once (6µs+210µs) by Class::C3::Componentised::ensure_class_loaded at line 107 of Koha/Schema/Result/MessageAttribute.pm
# once (5µs+210µs) by Class::C3::Componentised::ensure_class_loaded at line 453 of Koha/Schema/Result/Branch.pm
# once (6µs+209µs) by Class::C3::Componentised::ensure_class_loaded at line 106 of Koha/Schema/Result/OaiSet.pm
# once (6µs+209µs) by Class::C3::Componentised::ensure_class_loaded at line 292 of Koha/Schema/Result/Aqbookseller.pm
# once (6µs+208µs) by Class::C3::Componentised::ensure_class_loaded at line 303 of Koha/Schema/Result/Branch.pm
# once (6µs+208µs) by Class::C3::Componentised::ensure_class_loaded at line 423 of Koha/Schema/Result/Branch.pm
# once (6µs+208µs) by Class::C3::Componentised::ensure_class_loaded at line 891 of Koha/Schema/Result/Borrower.pm
# once (6µs+208µs) by Class::C3::Componentised::ensure_class_loaded at line 258 of Koha/Schema/Result/Branch.pm
# once (6µs+207µs) by Class::C3::Componentised::ensure_class_loaded at line 228 of Koha/Schema/Result/Branch.pm
# once (5µs+207µs) by Class::C3::Componentised::ensure_class_loaded at line 288 of Koha/Schema/Result/Branch.pm
# once (6µs+206µs) by Class::C3::Componentised::ensure_class_loaded at line 906 of Koha/Schema/Result/Borrower.pm
# once (6µs+205µs) by Class::C3::Componentised::ensure_class_loaded at line 1026 of Koha/Schema/Result/Borrower.pm
# once (8µs+203µs) by Class::C3::Componentised::ensure_class_loaded at line 581 of Koha/Schema/Result/Item.pm
# once (6µs+206µs) by Class::C3::Componentised::ensure_class_loaded at line 696 of Koha/Schema/Result/Borrower.pm
# once (6µs+206µs) by Class::C3::Componentised::ensure_class_loaded at line 681 of Koha/Schema/Result/Borrower.pm
# once (5µs+206µs) by Class::C3::Componentised::ensure_class_loaded at line 273 of Koha/Schema/Result/Branch.pm
# once (6µs+205µs) by Class::C3::Componentised::ensure_class_loaded at line 801 of Koha/Schema/Result/Borrower.pm
# once (6µs+204µs) by Class::C3::Componentised::ensure_class_loaded at line 636 of Koha/Schema/Result/Borrower.pm
# once (6µs+204µs) by Class::C3::Componentised::ensure_class_loaded at line 277 of Koha/Schema/Result/Aqbookseller.pm
# once (6µs+203µs) by Class::C3::Componentised::ensure_class_loaded at line 651 of Koha/Schema/Result/Borrower.pm
# once (8µs+201µs) by Class::C3::Componentised::ensure_class_loaded at line 438 of Koha/Schema/Result/Branch.pm
# once (5µs+204µs) by Class::C3::Componentised::ensure_class_loaded at line 318 of Koha/Schema/Result/Branch.pm
# once (6µs+202µs) by Class::C3::Componentised::ensure_class_loaded at line 846 of Koha/Schema/Result/Borrower.pm
# once (6µs+200µs) by Class::C3::Componentised::ensure_class_loaded at line 131 of Koha/Schema/Result/MarcMatcher.pm
# once (5µs+200µs) by Class::C3::Componentised::ensure_class_loaded at line 333 of Koha/Schema/Result/Branch.pm
# once (5µs+198µs) by Class::C3::Componentised::ensure_class_loaded at line 121 of Koha/Schema/Result/OaiSet.pm
# once (5µs+198µs) by Class::C3::Componentised::ensure_class_loaded at line 711 of Koha/Schema/Result/Borrower.pm
# once (5µs+198µs) by Class::C3::Componentised::ensure_class_loaded at line 268 of Koha/Schema/Result/Biblio.pm | ||||
15 | 144 | 85µs | my ($class, $rel, $f_class, $cond, $attrs) = @_; | ||
16 | |||||
17 | 144 | 63µ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 | 2.31ms | 144 | 43.8ms | %{$attrs||{}} # spent 43.8ms making 144 calls to DBIx::Class::ResultSourceProxy::add_relationship, avg 304µs/call |
51 | }); | ||||
52 | } | ||||
53 | |||||
54 | 1 | 3µs | 1 | 95µs | 1; # spent 95µs making 1 call to B::Hooks::EndOfScope::XS::__ANON__ |