Filename | /usr/share/perl5/DBIx/Class/ResultSourceProxy.pm |
Statements | Executed 0 statements in 0s |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
174 | 174 | 174 | 49.9ms | 873ms | add_columns | DBIx::Class::ResultSourceProxy::
319 | 3 | 3 | 5.50ms | 163ms | add_relationship | DBIx::Class::ResultSourceProxy::
1 | 1 | 1 | 26µs | 36µs | BEGIN@4 | DBIx::Class::ResultSourceProxy::
1 | 1 | 1 | 18µs | 64µs | BEGIN@9 | DBIx::Class::ResultSourceProxy::
1 | 1 | 1 | 16µs | 208µs | BEGIN@11 | DBIx::Class::ResultSourceProxy::
1 | 1 | 1 | 16µs | 44µs | BEGIN@10 | DBIx::Class::ResultSourceProxy::
1 | 1 | 1 | 14µs | 84µs | BEGIN@7 | DBIx::Class::ResultSourceProxy::
1 | 1 | 1 | 12µs | 19µs | BEGIN@5 | DBIx::Class::ResultSourceProxy::
0 | 0 | 0 | 0s | 0s | add_column | DBIx::Class::ResultSourceProxy::
0 | 0 | 0 | 0s | 0s | get_inherited_ro_instance | DBIx::Class::ResultSourceProxy::
0 | 0 | 0 | 0s | 0s | iterator_class | DBIx::Class::ResultSourceProxy::
0 | 0 | 0 | 0s | 0s | set_inherited_ro_instance | DBIx::Class::ResultSourceProxy::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package # hide from PAUSE | ||||
2 | DBIx::Class::ResultSourceProxy; | ||||
3 | |||||
4 | 2 | 46µs | # spent 36µs (26+10) within DBIx::Class::ResultSourceProxy::BEGIN@4 which was called:
# once (26µs+10µs) by base::import at line 4 # spent 36µs making 1 call to DBIx::Class::ResultSourceProxy::BEGIN@4
# spent 10µs making 1 call to strict::import | ||
5 | 2 | 26µs | # spent 19µs (12+7) within DBIx::Class::ResultSourceProxy::BEGIN@5 which was called:
# once (12µs+7µs) by base::import at line 5 # spent 19µs making 1 call to DBIx::Class::ResultSourceProxy::BEGIN@5
# spent 7µs making 1 call to warnings::import | ||
6 | |||||
7 | 2 | 84µs | # spent 84µs (14+70) within DBIx::Class::ResultSourceProxy::BEGIN@7 which was called:
# once (14µs+70µs) by base::import at line 7 # spent 84µs making 1 call to DBIx::Class::ResultSourceProxy::BEGIN@7
# spent 70µs making 1 call to base::import, recursion: max depth 2, sum of overlapping time 70µs | ||
8 | |||||
9 | 2 | 111µs | # spent 64µs (18+47) within DBIx::Class::ResultSourceProxy::BEGIN@9 which was called:
# once (18µs+47µs) by base::import at line 9 # spent 64µs making 1 call to DBIx::Class::ResultSourceProxy::BEGIN@9
# spent 47µs making 1 call to Exporter::import | ||
10 | 2 | 73µs | # spent 44µs (16+28) within DBIx::Class::ResultSourceProxy::BEGIN@10 which was called:
# once (16µs+28µs) by base::import at line 10 # spent 44µs making 1 call to DBIx::Class::ResultSourceProxy::BEGIN@10
# spent 28µs making 1 call to Exporter::import | ||
11 | 2 | 399µs | # spent 208µs (16+191) within DBIx::Class::ResultSourceProxy::BEGIN@11 which was called:
# once (16µs+191µs) by base::import at line 11 # spent 208µs making 1 call to DBIx::Class::ResultSourceProxy::BEGIN@11
# spent 191µs making 1 call to namespace::clean::import | ||
12 | |||||
13 | 1 | 480µs | __PACKAGE__->mk_group_accessors('inherited_ro_instance' => 'source_name'); # spent 480µs making 1 call to Class::Accessor::Grouped::mk_group_accessors | ||
14 | |||||
15 | sub get_inherited_ro_instance { shift->get_inherited(@_) } | ||||
16 | |||||
17 | sub set_inherited_ro_instance { | ||||
18 | my $self = shift; | ||||
19 | |||||
20 | $self->throw_exception ("Cannot set @{[shift]} on an instance") | ||||
21 | if blessed $self; | ||||
22 | |||||
23 | $self->set_inherited(@_); | ||||
24 | } | ||||
25 | |||||
26 | |||||
27 | # spent 873ms (49.9+823) within DBIx::Class::ResultSourceProxy::add_columns which was called 174 times, avg 5.01ms/call:
# once (670µs+46.1ms) by Class::C3::Componentised::ensure_class_loaded at line 196 of Koha/Schema/Result/Issuingrule.pm
# once (605µs+44.6ms) by Class::C3::Componentised::ensure_class_loaded at line 152 of Koha/Schema/Result/SubscriptionNumberpattern.pm
# once (532µs+33.2ms) by Class::C3::Componentised::ensure_class_loaded at line 133 of Koha/Schema/Result/Branch.pm
# once (1.22ms+30.6ms) by Class::C3::Componentised::ensure_class_loaded at line 406 of Koha/Schema/Result/Borrower.pm
# once (1.04ms+22.5ms) by Class::C3::Componentised::ensure_class_loaded at line 264 of Koha/Schema/Result/Subscription.pm
# once (294µs+22.8ms) by Class::C3::Componentised::ensure_class_loaded at line 101 of Koha/Schema/Result/Overduerule.pm
# once (445µs+22.0ms) by Class::C3::Componentised::ensure_class_loaded at line 139 of Koha/Schema/Result/CreatorTemplate.pm
# once (337µs+20.1ms) by Class::C3::Componentised::ensure_class_loaded at line 118 of Koha/Schema/Result/Aqbudget.pm
# once (482µs+18.7ms) by Class::C3::Componentised::ensure_class_loaded at line 404 of Koha/Schema/Result/Deletedborrower.pm
# once (742µs+18.2ms) by Class::C3::Componentised::ensure_class_loaded at line 275 of Koha/Schema/Result/Deleteditem.pm
# once (619µs+16.9ms) by Class::C3::Componentised::ensure_class_loaded at line 232 of Koha/Schema/Result/Aqorder.pm
# once (228µs+15.6ms) by Class::C3::Componentised::ensure_class_loaded at line 106 of Koha/Schema/Result/Issue.pm
# once (131µs+15.6ms) by Class::C3::Componentised::ensure_class_loaded at line 55 of Koha/Schema/Result/Browser.pm
# once (97µs+14.9ms) by Class::C3::Componentised::ensure_class_loaded at line 57 of Koha/Schema/Result/Localization.pm
# once (352µs+14.3ms) by Class::C3::Componentised::ensure_class_loaded at line 122 of Koha/Schema/Result/Accountline.pm
# once (197µs+14.2ms) by Class::C3::Componentised::ensure_class_loaded at line 70 of Koha/Schema/Result/BorrowerSync.pm
# once (81µs+14.3ms) by Class::C3::Componentised::ensure_class_loaded at line 54 of Koha/Schema/Result/ClassSource.pm
# once (107µs+13.9ms) by Class::C3::Componentised::ensure_class_loaded at line 71 of Koha/Schema/Result/MessageTransport.pm
# once (105µs+13.3ms) by Class::C3::Componentised::ensure_class_loaded at line 52 of Koha/Schema/Result/Matchcheck.pm
# once (240µs+11.4ms) by Class::C3::Componentised::ensure_class_loaded at line 95 of Koha/Schema/Result/BorrowerAttributeType.pm
# once (10.0ms+1.59ms) by Class::C3::Componentised::ensure_class_loaded at line 34 of Koha/Schema/Result/Stopword.pm
# once (538µs+11.0ms) by Class::C3::Componentised::ensure_class_loaded at line 218 of Koha/Schema/Result/Biblioitem.pm
# once (143µs+11.2ms) by Class::C3::Componentised::ensure_class_loaded at line 62 of Koha/Schema/Result/SubscriptionFrequency.pm
# once (385µs+10.9ms) by Class::C3::Componentised::ensure_class_loaded at line 121 of Koha/Schema/Result/Category.pm
# once (427µs+10.1ms) by Class::C3::Componentised::ensure_class_loaded at line 207 of Koha/Schema/Result/Suggestion.pm
# once (418µs+10.1ms) by Class::C3::Componentised::ensure_class_loaded at line 144 of Koha/Schema/Result/MarcModificationTemplateAction.pm
# once (333µs+8.59ms) by Class::C3::Componentised::ensure_class_loaded at line 125 of Koha/Schema/Result/CreatorLayout.pm
# once (4.13ms+4.45ms) by Class::C3::Componentised::ensure_class_loaded at line 94 of Koha/Schema/Result/Biblio.pm
# once (381µs+7.87ms) by Class::C3::Componentised::ensure_class_loaded at line 170 of Koha/Schema/Result/Aqbookseller.pm
# once (177µs+7.16ms) by Class::C3::Componentised::ensure_class_loaded at line 66 of Koha/Schema/Result/AuthorisedValue.pm
# once (264µs+7.07ms) by Class::C3::Componentised::ensure_class_loaded at line 278 of Koha/Schema/Result/Item.pm
# once (110µs+7.02ms) by Class::C3::Componentised::ensure_class_loaded at line 58 of Koha/Schema/Result/Branchcategory.pm
# once (4.31ms+2.66ms) by Class::C3::Componentised::ensure_class_loaded at line 63 of Koha/Schema/Result/Aqcontract.pm
# once (173µs+6.59ms) by Class::C3::Componentised::ensure_class_loaded at line 66 of Koha/Schema/Result/SocialData.pm
# once (458µs+6.29ms) by Class::C3::Componentised::ensure_class_loaded at line 409 of Koha/Schema/Result/BorrowerModification.pm
# once (141µs+6.42ms) by Class::C3::Componentised::ensure_class_loaded at line 68 of Koha/Schema/Result/AdditionalField.pm
# once (108µs+6.43ms) by Class::C3::Componentised::ensure_class_loaded at line 68 of Koha/Schema/Result/RepeatableHoliday.pm
# once (224µs+6.23ms) by Class::C3::Componentised::ensure_class_loaded at line 97 of Koha/Schema/Result/MessageQueue.pm
# once (152µs+6.27ms) by Class::C3::Componentised::ensure_class_loaded at line 64 of Koha/Schema/Result/ColumnsSetting.pm
# once (332µs+5.99ms) by Class::C3::Componentised::ensure_class_loaded at line 135 of Koha/Schema/Result/AuthSubfieldStructure.pm
# once (313µs+5.90ms) by Class::C3::Componentised::ensure_class_loaded at line 138 of Koha/Schema/Result/Reserve.pm
# once (354µs+5.71ms) by Class::C3::Componentised::ensure_class_loaded at line 125 of Koha/Schema/Result/Z3950server.pm
# once (76µs+5.96ms) by Class::C3::Componentised::ensure_class_loaded at line 42 of Koha/Schema/Result/BiblioFramework.pm
# once (221µs+5.56ms) by Class::C3::Componentised::ensure_class_loaded at line 92 of Koha/Schema/Result/PrintersProfile.pm
# once (232µs+5.47ms) by Class::C3::Componentised::ensure_class_loaded at line 122 of Koha/Schema/Result/ImportBatch.pm
# once (263µs+5.27ms) by Class::C3::Componentised::ensure_class_loaded at line 119 of Koha/Schema/Result/Serial.pm
# once (210µs+5.18ms) by Class::C3::Componentised::ensure_class_loaded at line 105 of Koha/Schema/Result/Aqcontact.pm
# once (232µs+5.02ms) by Class::C3::Componentised::ensure_class_loaded at line 110 of Koha/Schema/Result/SavedSql.pm
# once (4.18ms+932µs) by Class::C3::Componentised::ensure_class_loaded at line 43 of Koha/Schema/Result/BorrowerMessageTransportPreference.pm
# once (232µs+4.61ms) by Class::C3::Componentised::ensure_class_loaded at line 111 of Koha/Schema/Result/Aqbasket.pm
# once (181µs+4.55ms) by Class::C3::Componentised::ensure_class_loaded at line 82 of Koha/Schema/Result/UploadedFile.pm
# once (169µs+4.40ms) by Class::C3::Componentised::ensure_class_loaded at line 74 of Koha/Schema/Result/CreatorBatch.pm
# once (210µs+4.04ms) by Class::C3::Componentised::ensure_class_loaded at line 94 of Koha/Schema/Result/Course.pm
# once (174µs+4.04ms) by Class::C3::Componentised::ensure_class_loaded at line 81 of Koha/Schema/Result/ExportFormat.pm
# once (144µs+4.00ms) by Class::C3::Componentised::ensure_class_loaded at line 76 of Koha/Schema/Result/BorrowerDebarment.pm
# once (206µs+3.89ms) by Class::C3::Componentised::ensure_class_loaded at line 119 of Koha/Schema/Result/ImportRecord.pm
# once (139µs+3.90ms) by Class::C3::Componentised::ensure_class_loaded at line 59 of Koha/Schema/Result/City.pm
# once (203µs+3.78ms) by Class::C3::Componentised::ensure_class_loaded at line 93 of Koha/Schema/Result/Itemtype.pm
# once (145µs+3.47ms) by Class::C3::Componentised::ensure_class_loaded at line 75 of Koha/Schema/Result/Aqinvoice.pm
# once (181µs+3.40ms) by Class::C3::Componentised::ensure_class_loaded at line 80 of Koha/Schema/Result/Aqbudgetperiod.pm
# once (160µs+3.40ms) by Class::C3::Componentised::ensure_class_loaded at line 81 of Koha/Schema/Result/AuthHeader.pm
# once (123µs+3.42ms) by Class::C3::Componentised::ensure_class_loaded at line 71 of Koha/Schema/Result/Notify.pm
# once (109µs+3.43ms) by Class::C3::Componentised::ensure_class_loaded at line 60 of Koha/Schema/Result/Accountoffset.pm
# once (130µs+3.41ms) by Class::C3::Componentised::ensure_class_loaded at line 68 of Koha/Schema/Result/Zebraqueue.pm
# once (191µs+3.20ms) by Class::C3::Componentised::ensure_class_loaded at line 96 of Koha/Schema/Result/Statistic.pm
# once (167µs+3.19ms) by Class::C3::Componentised::ensure_class_loaded at line 75 of Koha/Schema/Result/MiscFile.pm
# once (224µs+3.09ms) by Class::C3::Componentised::ensure_class_loaded at line 91 of Koha/Schema/Result/Virtualshelve.pm
# once (126µs+3.06ms) by Class::C3::Componentised::ensure_class_loaded at line 69 of Koha/Schema/Result/AqbudgetsPlanning.pm
# once (157µs+2.93ms) by Class::C3::Componentised::ensure_class_loaded at line 77 of Koha/Schema/Result/SpecialHoliday.pm
# once (135µs+2.89ms) by Class::C3::Componentised::ensure_class_loaded at line 75 of Koha/Schema/Result/SearchHistory.pm
# once (182µs+2.76ms) by Class::C3::Componentised::ensure_class_loaded at line 58 of Koha/Schema/Result/TagsApproval.pm
# once (146µs+2.69ms) by Class::C3::Componentised::ensure_class_loaded at line 67 of Koha/Schema/Result/ActionLog.pm
# once (131µs+2.68ms) by Class::C3::Componentised::ensure_class_loaded at line 76 of Koha/Schema/Result/Subscriptionhistory.pm
# once (159µs+2.56ms) by Class::C3::Componentised::ensure_class_loaded at line 74 of Koha/Schema/Result/Aqbasketgroup.pm
# once (111µs+2.56ms) by Class::C3::Componentised::ensure_class_loaded at line 52 of Koha/Schema/Result/AudioAlert.pm
# once (121µs+2.47ms) by Class::C3::Componentised::ensure_class_loaded at line 81 of Koha/Schema/Result/ImportBiblio.pm
# once (213µs+2.36ms) by Class::C3::Componentised::ensure_class_loaded at line 217 of Koha/Schema/Result/Deletedbiblioitem.pm
# once (128µs+2.39ms) by Class::C3::Componentised::ensure_class_loaded at line 63 of Koha/Schema/Result/TagAll.pm
# once (125µs+2.35ms) by Class::C3::Componentised::ensure_class_loaded at line 86 of Koha/Schema/Result/OpacNews.pm
# once (91µs+2.27ms) by Class::C3::Componentised::ensure_class_loaded at line 52 of Koha/Schema/Result/Discharge.pm
# once (72µs+2.23ms) by Class::C3::Componentised::ensure_class_loaded at line 47 of Koha/Schema/Result/Printer.pm
# once (114µs+2.19ms) by Class::C3::Componentised::ensure_class_loaded at line 68 of Koha/Schema/Result/Branchtransfer.pm
# once (126µs+2.11ms) by Class::C3::Componentised::ensure_class_loaded at line 73 of Koha/Schema/Result/MatchpointComponent.pm
# once (107µs+2.07ms) by Class::C3::Componentised::ensure_class_loaded at line 65 of Koha/Schema/Result/Currency.pm
# once (88µs+2.09ms) by Class::C3::Componentised::ensure_class_loaded at line 54 of Koha/Schema/Result/TransportCost.pm
# once (99µs+2.06ms) by Class::C3::Componentised::ensure_class_loaded at line 77 of Koha/Schema/Result/PendingOfflineOperation.pm
# once (75µs+2.08ms) by Class::C3::Componentised::ensure_class_loaded at line 54 of Koha/Schema/Result/Alert.pm
# once (106µs+2.03ms) by Class::C3::Componentised::ensure_class_loaded at line 68 of Koha/Schema/Result/ReportsDictionary.pm
# once (114µs+2.01ms) by Class::C3::Componentised::ensure_class_loaded at line 56 of Koha/Schema/Result/Biblioimage.pm
# once (97µs+2.01ms) by Class::C3::Componentised::ensure_class_loaded at line 61 of Koha/Schema/Result/BranchTransferLimit.pm
# once (90µs+2.01ms) by Class::C3::Componentised::ensure_class_loaded at line 59 of Koha/Schema/Result/OaiSetsMapping.pm
# once (98µs+1.92ms) by Class::C3::Componentised::ensure_class_loaded at line 66 of Koha/Schema/Result/BorrowerMessagePreference.pm
# once (131µs+1.88ms) by Class::C3::Componentised::ensure_class_loaded at line 137 of Koha/Schema/Result/MarcSubfieldStructure.pm
# once (65µs+1.94ms) by Class::C3::Componentised::ensure_class_loaded at line 41 of Koha/Schema/Result/ServicesThrottle.pm
# once (102µs+1.86ms) by Class::C3::Componentised::ensure_class_loaded at line 56 of Koha/Schema/Result/Systempreference.pm
# once (85µs+1.87ms) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/LanguageScriptMapping.pm
# once (108µs+1.83ms) by Class::C3::Componentised::ensure_class_loaded at line 51 of Koha/Schema/Result/Subscriptionroutinglist.pm
# once (111µs+1.82ms) by Class::C3::Componentised::ensure_class_loaded at line 57 of Koha/Schema/Result/ImportAuth.pm
# once (91µs+1.79ms) by Class::C3::Componentised::ensure_class_loaded at line 50 of Koha/Schema/Result/Quote.pm
# once (106µs+1.76ms) by Class::C3::Componentised::ensure_class_loaded at line 63 of Koha/Schema/Result/Message.pm
# once (103µs+1.74ms) by Class::C3::Componentised::ensure_class_loaded at line 54 of Koha/Schema/Result/AuthType.pm
# once (86µs+1.73ms) by Class::C3::Componentised::ensure_class_loaded at line 47 of Koha/Schema/Result/AqordersTransfer.pm
# once (103µs+1.69ms) by Class::C3::Componentised::ensure_class_loaded at line 82 of Koha/Schema/Result/Letter.pm
# once (129µs+1.62ms) by Class::C3::Componentised::ensure_class_loaded at line 110 of Koha/Schema/Result/TmpHoldsqueue.pm
# once (103µs+1.63ms) by Class::C3::Componentised::ensure_class_loaded at line 62 of Koha/Schema/Result/Review.pm
# once (86µs+1.59ms) by Class::C3::Componentised::ensure_class_loaded at line 51 of Koha/Schema/Result/Userflag.pm
# once (78µs+1.57ms) by Class::C3::Componentised::ensure_class_loaded at line 50 of Koha/Schema/Result/SavedReport.pm
# once (96µs+1.55ms) by Class::C3::Componentised::ensure_class_loaded at line 58 of Koha/Schema/Result/LanguageSubtagRegistry.pm
# once (70µs+1.54ms) by Class::C3::Componentised::ensure_class_loaded at line 47 of Koha/Schema/Result/MessageAttribute.pm
# once (67µs+1.54ms) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/LanguageScriptBidi.pm
# once (75µs+1.52ms) by Class::C3::Componentised::ensure_class_loaded at line 57 of Koha/Schema/Result/Collection.pm
# once (80µs+1.50ms) by Class::C3::Componentised::ensure_class_loaded at line 61 of Koha/Schema/Result/MarcMatcher.pm
# once (76µs+1.48ms) by Class::C3::Componentised::ensure_class_loaded at line 45 of Koha/Schema/Result/PluginData.pm
# once (70µs+1.45ms) by Class::C3::Componentised::ensure_class_loaded at line 59 of Koha/Schema/Result/HoldFillTarget.pm
# once (81µs+1.43ms) by Class::C3::Componentised::ensure_class_loaded at line 59 of Koha/Schema/Result/Fieldmapping.pm
# once (73µs+1.41ms) by Class::C3::Componentised::ensure_class_loaded at line 59 of Koha/Schema/Result/ItemsSearchField.pm
# once (109µs+1.37ms) by Class::C3::Componentised::ensure_class_loaded at line 68 of Koha/Schema/Result/ImportItem.pm
# once (72µs+1.39ms) by Class::C3::Componentised::ensure_class_loaded at line 60 of Koha/Schema/Result/Linktracker.pm
# once (96µs+1.32ms) by Class::C3::Componentised::ensure_class_loaded at line 63 of Koha/Schema/Result/CourseReserve.pm
# once (109µs+1.30ms) by Class::C3::Componentised::ensure_class_loaded at line 58 of Koha/Schema/Result/ItemCirculationAlertPreference.pm
# once (65µs+1.33ms) by Class::C3::Componentised::ensure_class_loaded at line 45 of Koha/Schema/Result/NeedMergeAuthority.pm
# once (144µs+1.24ms) by Class::C3::Componentised::ensure_class_loaded at line 134 of Koha/Schema/Result/OldReserve.pm
# once (98µs+1.26ms) by Class::C3::Componentised::ensure_class_loaded at line 79 of Koha/Schema/Result/CourseItem.pm
# once (79µs+1.28ms) by Class::C3::Componentised::ensure_class_loaded at line 58 of Koha/Schema/Result/Virtualshelfshare.pm
# once (88µs+1.25ms) by Class::C3::Componentised::ensure_class_loaded at line 51 of Koha/Schema/Result/CollectionsTracking.pm
# once (71µs+1.24ms) by Class::C3::Componentised::ensure_class_loaded at line 46 of Koha/Schema/Result/PatronListPatron.pm
# once (50µs+1.18ms) by Class::C3::Componentised::ensure_class_loaded at line 47 of Koha/Schema/Result/ClassSortRule.pm
# once (149µs+1.08ms) by Class::C3::Componentised::ensure_class_loaded at line 105 of Koha/Schema/Result/OldIssue.pm
# once (64µs+1.14ms) by Class::C3::Componentised::ensure_class_loaded at line 52 of Koha/Schema/Result/BranchBorrowerCircRule.pm
# once (60µs+1.13ms) by Class::C3::Componentised::ensure_class_loaded at line 46 of Koha/Schema/Result/CreatorImage.pm
# once (69µs+1.11ms) by Class::C3::Componentised::ensure_class_loaded at line 45 of Koha/Schema/Result/ImportRecordMatch.pm
# once (75µs+1.09ms) by Class::C3::Componentised::ensure_class_loaded at line 52 of Koha/Schema/Result/AdditionalFieldValue.pm
# once (70µs+1.09ms) by Class::C3::Componentised::ensure_class_loaded at line 46 of Koha/Schema/Result/LanguageRfc4646ToIso639.pm
# once (64µs+1.09ms) by Class::C3::Componentised::ensure_class_loaded at line 53 of Koha/Schema/Result/BranchItemRule.pm
# once (46µs+1.09ms) by Class::C3::Componentised::ensure_class_loaded at line 39 of Koha/Schema/Result/Session.pm
# once (52µs+1.01ms) by Class::C3::Componentised::ensure_class_loaded at line 48 of Koha/Schema/Result/OverduerulesTransportType.pm
# once (75µs+949µs) by Class::C3::Componentised::ensure_class_loaded at line 60 of Koha/Schema/Result/Virtualshelfcontent.pm
# once (118µs+898µs) by Class::C3::Componentised::ensure_class_loaded at line 70 of Koha/Schema/Result/BorrowerFile.pm
# once (74µs+942µs) by Class::C3::Componentised::ensure_class_loaded at line 56 of Koha/Schema/Result/DefaultCircRule.pm
# once (100µs+876µs) by Class::C3::Componentised::ensure_class_loaded at line 94 of Koha/Schema/Result/Deletedbiblio.pm
# once (72µs+901µs) by Class::C3::Componentised::ensure_class_loaded at line 52 of Koha/Schema/Result/Rating.pm
# once (63µs+906µs) by Class::C3::Componentised::ensure_class_loaded at line 46 of Koha/Schema/Result/OaiSet.pm
# once (63µs+889µs) by Class::C3::Componentised::ensure_class_loaded at line 41 of Koha/Schema/Result/Tag.pm
# once (64µs+851µs) by Class::C3::Componentised::ensure_class_loaded at line 53 of Koha/Schema/Result/Matchpoint.pm
# once (51µs+837µs) by Class::C3::Componentised::ensure_class_loaded at line 42 of Koha/Schema/Result/BorrowerAttributeTypesBranch.pm
# once (67µs+760µs) by Class::C3::Componentised::ensure_class_loaded at line 53 of Koha/Schema/Result/BorrowerAttribute.pm
# once (62µs+760µs) by Class::C3::Componentised::ensure_class_loaded at line 41 of Koha/Schema/Result/AuthorisedValuesBranch.pm
# once (60µs+723µs) by Class::C3::Componentised::ensure_class_loaded at line 48 of Koha/Schema/Result/Permission.pm
# once (48µs+704µs) by Class::C3::Componentised::ensure_class_loaded at line 47 of Koha/Schema/Result/TagsIndex.pm
# once (47µs+697µs) by Class::C3::Componentised::ensure_class_loaded at line 48 of Koha/Schema/Result/MatchpointComponentNorm.pm
# once (50µs+692µs) by Class::C3::Componentised::ensure_class_loaded at line 53 of Koha/Schema/Result/ItemsLastBorrower.pm
# once (53µs+644µs) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/OaiSetsDescription.pm
# once (56µs+601µs) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/CourseInstructor.pm
# once (36µs+579µs) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/MatcherMatchpoint.pm
# once (72µs+537µs) by Class::C3::Componentised::ensure_class_loaded at line 62 of Koha/Schema/Result/ActionLogs.pm
# once (70µs+528µs) by Class::C3::Componentised::ensure_class_loaded at line 74 of Koha/Schema/Result/MarcTagStructure.pm
# once (70µs+527µs) by Class::C3::Componentised::ensure_class_loaded at line 75 of Koha/Schema/Result/AuthTagStructure.pm
# once (53µs+543µs) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/AqorderUser.pm
# once (49µs+503µs) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/Aqbudgetborrower.pm
# once (39µs+509µs) by Class::C3::Componentised::ensure_class_loaded at line 44 of Koha/Schema/Result/Branchrelation.pm
# once (60µs+404µs) by Class::C3::Componentised::ensure_class_loaded at line 56 of Koha/Schema/Result/DefaultBranchCircRule.pm
# once (60µs+388µs) by Class::C3::Componentised::ensure_class_loaded at line 58 of Koha/Schema/Result/LanguageDescription.pm
# once (54µs+306µs) by Class::C3::Componentised::ensure_class_loaded at line 46 of Koha/Schema/Result/DefaultBranchItemRule.pm
# once (50µs+244µs) by Class::C3::Componentised::ensure_class_loaded at line 45 of Koha/Schema/Result/DefaultBorrowerCircRule.pm
# once (49µs+232µs) by Class::C3::Componentised::ensure_class_loaded at line 46 of Koha/Schema/Result/PatronList.pm
# once (48µs+231µs) by Class::C3::Componentised::ensure_class_loaded at line 46 of Koha/Schema/Result/AqordersItem.pm
# once (46µs+232µs) by Class::C3::Componentised::ensure_class_loaded at line 45 of Koha/Schema/Result/Patronimage.pm
# once (45µs+233µs) by Class::C3::Componentised::ensure_class_loaded at line 49 of Koha/Schema/Result/UserPermission.pm
# once (43µs+187µs) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/Aqbasketuser.pm
# once (48µs+177µs) by Class::C3::Componentised::ensure_class_loaded at line 42 of Koha/Schema/Result/CategoriesBranch.pm
# once (46µs+170µs) by Class::C3::Componentised::ensure_class_loaded at line 40 of Koha/Schema/Result/Serialitem.pm
# once (42µs+172µs) by Class::C3::Componentised::ensure_class_loaded at line 39 of Koha/Schema/Result/OaiSetsBiblio.pm
# once (42µs+169µs) by Class::C3::Componentised::ensure_class_loaded at line 39 of Koha/Schema/Result/MarcModificationTemplate.pm
# once (38µs+110µs) by Class::C3::Componentised::ensure_class_loaded at line 34 of Koha/Schema/Result/MessageTransportType.pm | ||||
28 | my ($class, @cols) = @_; | ||||
29 | 174 | 1.09ms | my $source = $class->result_source_instance; # spent 13µs making 1 call to Koha::Schema::Result::BorrowerFile::result_source_instance
# spent 12µs making 1 call to Koha::Schema::Result::Aqbookseller::result_source_instance
# spent 11µs making 1 call to Koha::Schema::Result::OldReserve::result_source_instance
# spent 11µs making 1 call to Koha::Schema::Result::Biblio::result_source_instance
# spent 10µs making 1 call to Koha::Schema::Result::Subscription::result_source_instance
# spent 10µs making 1 call to Koha::Schema::Result::Branch::result_source_instance
# spent 9µs making 1 call to Koha::Schema::Result::OldIssue::result_source_instance
# spent 9µs making 1 call to Koha::Schema::Result::Borrower::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::AuthType::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::BorrowerModification::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Deletedborrower::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::PrintersProfile::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Z3950server::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Deleteditem::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::SubscriptionNumberpattern::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Suggestion::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AdditionalField::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BorrowerAttributeTypesBranch::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Stopword::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::CourseItem::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Item::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ImportRecord::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Issuingrule::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqorder::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BorrowerAttribute::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::CollectionsTracking::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Overduerule::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqbasketgroup::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BorrowerDebarment::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ImportBatch::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MarcModificationTemplateAction::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MatchpointComponent::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Quote::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Aqbasket::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Aqbudget::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Deletedbiblio::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Deletedbiblioitem::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MiscFile::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::OaiSetsMapping::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::PendingOfflineOperation::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Aqbudgetperiod::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AqbudgetsPlanning::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Biblioitem::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::CreatorLayout::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Fieldmapping::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MarcMatcher::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MatchpointComponentNorm::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::CategoriesBranch::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::DefaultCircRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ExportFormat::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Virtualshelve::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AuthorisedValuesBranch::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BorrowerMessagePreference::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Category::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Issue::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::SearchHistory::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::SubscriptionFrequency::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Subscriptionhistory::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Subscriptionroutinglist::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Accountline::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ActionLog::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Biblioimage::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BorrowerMessageTransportPreference::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::CreatorBatch::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::CreatorImage::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::DefaultBranchCircRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ItemCirculationAlertPreference::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MarcTagStructure::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MessageQueue::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Statistic::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Accountoffset::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ActionLogs::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::DefaultBorrowerCircRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Itemtype::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::LanguageRfc4646ToIso639::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MarcSubfieldStructure::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::OaiSetsDescription::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::OpacNews::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Reserve::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::SavedSql::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::SpecialHoliday::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Zebraqueue::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AdditionalFieldValue::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Aqcontact::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Aqcontract::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Aqinvoice::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AudioAlert::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BorrowerAttributeType::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BorrowerSync::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BranchTransferLimit::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Browser::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Course::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::CourseReserve::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::CreatorTemplate::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::DefaultBranchItemRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ImportAuth::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ImportBiblio::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ImportItem::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::LanguageScriptBidi::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::LanguageScriptMapping::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Linktracker::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MatcherMatchpoint::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MessageAttribute::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MessageTransport::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MessageTransportType::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Notify::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::OverduerulesTransportType::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::RepeatableHoliday::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ReportsDictionary::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ServicesThrottle::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::SocialData::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::TransportCost::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::UploadedFile::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::UserPermission::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AuthHeader::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AuthSubfieldStructure::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AuthTagStructure::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AuthorisedValue::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BranchItemRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Branchcategory::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Branchtransfer::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ClassSource::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Collection::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ColumnsSetting::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::CourseInstructor::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::HoldFillTarget::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ItemsSearchField::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::LanguageDescription::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Letter::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::PatronList::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Session::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::TagAll::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::TmpHoldsqueue::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Virtualshelfcontent::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Aqbasketuser::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AqorderUser::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AqordersTransfer::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BiblioFramework::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BranchBorrowerCircRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ClassSortRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ItemsLastBorrower::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Matchcheck::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Matchpoint::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::NeedMergeAuthority::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Permission::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Rating::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::SavedReport::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Systempreference::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Virtualshelfshare::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AqordersItem::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::City::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Currency::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Discharge::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Localization::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MarcModificationTemplate::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::PatronListPatron::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Serialitem::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Tag::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::TagsIndex::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Aqbudgetborrower::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ImportRecordMatch::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::OaiSetsBiblio::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::PluginData::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Printer::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Review::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::TagsApproval::result_source_instance
# spent 5µs making 1 call to Koha::Schema::Result::Alert::result_source_instance
# spent 5µs making 1 call to Koha::Schema::Result::Branchrelation::result_source_instance
# spent 5µs making 1 call to Koha::Schema::Result::OaiSet::result_source_instance
# spent 5µs making 1 call to Koha::Schema::Result::Serial::result_source_instance
# spent 5µs making 1 call to Koha::Schema::Result::Message::result_source_instance
# spent 5µs making 1 call to Koha::Schema::Result::Userflag::result_source_instance
# spent 5µs making 1 call to Koha::Schema::Result::Patronimage::result_source_instance
# spent 100ns making 1 call to Koha::Schema::Result::LanguageSubtagRegistry::result_source_instance | ||
30 | 174 | 22.0ms | $source->add_columns(@cols); # spent 22.0ms making 174 calls to DBIx::Class::ResultSource::add_columns, avg 127µs/call | ||
31 | foreach my $c (grep { !ref } @cols) { | ||||
32 | # If this is an augment definition get the real colname. | ||||
33 | 1602 | 1.58ms | $c =~ s/^\+//; # spent 1.58ms making 1602 calls to DBIx::Class::ResultSourceProxy::CORE:subst, avg 986ns/call | ||
34 | |||||
35 | 3204 | 798ms | $class->register_column($c => $source->column_info($c)); # spent 792ms making 1602 calls to DBIx::Class::Row::register_column, avg 494µs/call
# spent 6.28ms making 1602 calls to DBIx::Class::ResultSource::column_info, avg 4µs/call | ||
36 | } | ||||
37 | } | ||||
38 | |||||
39 | sub add_column { shift->add_columns(@_) } | ||||
40 | |||||
41 | |||||
42 | # spent 163ms (5.50+158) within DBIx::Class::ResultSourceProxy::add_relationship which was called 319 times, avg 512µs/call:
# 164 times (3.19ms+101ms) by DBIx::Class::Relationship::BelongsTo::belongs_to at line 97 of DBIx/Class/Relationship/BelongsTo.pm, avg 638µs/call
# 144 times (2.18ms+54.8ms) by DBIx::Class::Relationship::HasMany::has_many at line 50 of DBIx/Class/Relationship/HasMany.pm, avg 396µs/call
# 11 times (133µs+1.38ms) by DBIx::Class::Relationship::HasOne::_has_one at line 82 of DBIx/Class/Relationship/HasOne.pm, avg 138µs/call | ||||
43 | my ($class, $rel, @rest) = @_; | ||||
44 | 319 | 2.21ms | my $source = $class->result_source_instance; # spent 252µs making 36 calls to Koha::Schema::Result::Borrower::result_source_instance, avg 7µs/call
# spent 174µs making 21 calls to Koha::Schema::Result::Branch::result_source_instance, avg 8µs/call
# spent 107µs making 16 calls to Koha::Schema::Result::Item::result_source_instance, avg 7µs/call
# spent 83µs making 2 calls to Koha::Schema::Result::BranchItemRule::result_source_instance, avg 41µs/call
# spent 83µs making 11 calls to Koha::Schema::Result::Biblio::result_source_instance, avg 8µs/call
# spent 57µs making 9 calls to Koha::Schema::Result::Aqorder::result_source_instance, avg 6µs/call
# spent 45µs making 7 calls to Koha::Schema::Result::Aqbookseller::result_source_instance, avg 6µs/call
# spent 39µs making 6 calls to Koha::Schema::Result::Aqbasket::result_source_instance, avg 6µs/call
# spent 36µs making 5 calls to Koha::Schema::Result::Matchpoint::result_source_instance, avg 7µs/call
# spent 36µs making 5 calls to Koha::Schema::Result::Category::result_source_instance, avg 7µs/call
# spent 35µs making 5 calls to Koha::Schema::Result::Aqbudget::result_source_instance, avg 7µs/call
# spent 34µs making 5 calls to Koha::Schema::Result::MessageTransportType::result_source_instance, avg 7µs/call
# spent 33µs making 5 calls to Koha::Schema::Result::ImportRecord::result_source_instance, avg 7µs/call
# spent 32µs making 6 calls to Koha::Schema::Result::Reserve::result_source_instance, avg 5µs/call
# spent 30µs making 4 calls to Koha::Schema::Result::Subscription::result_source_instance, avg 8µs/call
# spent 29µs making 5 calls to Koha::Schema::Result::Issue::result_source_instance, avg 6µs/call
# spent 28µs making 2 calls to Koha::Schema::Result::TagsApproval::result_source_instance, avg 14µs/call
# spent 27µs making 3 calls to Koha::Schema::Result::MessageTransport::result_source_instance, avg 9µs/call
# spent 27µs making 3 calls to Koha::Schema::Result::MarcMatcher::result_source_instance, avg 9µs/call
# spent 26µs making 3 calls to Koha::Schema::Result::OaiSet::result_source_instance, avg 9µs/call
# spent 24µs making 4 calls to Koha::Schema::Result::BorrowerMessagePreference::result_source_instance, avg 6µs/call
# spent 24µs making 3 calls to Koha::Schema::Result::Virtualshelve::result_source_instance, avg 8µs/call
# spent 21µs making 4 calls to Koha::Schema::Result::HoldFillTarget::result_source_instance, avg 5µs/call
# spent 21µs making 2 calls to Koha::Schema::Result::BorrowerAttributeTypesBranch::result_source_instance, avg 10µs/call
# spent 18µs making 2 calls to Koha::Schema::Result::Permission::result_source_instance, avg 9µs/call
# spent 18µs making 3 calls to Koha::Schema::Result::Aqinvoice::result_source_instance, avg 6µs/call
# spent 18µs making 3 calls to Koha::Schema::Result::CreatorBatch::result_source_instance, avg 6µs/call
# spent 18µs making 3 calls to Koha::Schema::Result::Matchcheck::result_source_instance, avg 6µs/call
# spent 17µs making 3 calls to Koha::Schema::Result::Branchtransfer::result_source_instance, avg 6µs/call
# spent 17µs making 2 calls to Koha::Schema::Result::AuthType::result_source_instance, avg 8µs/call
# spent 17µs making 3 calls to Koha::Schema::Result::CourseItem::result_source_instance, avg 6µs/call
# spent 16µs making 3 calls to Koha::Schema::Result::Virtualshelfcontent::result_source_instance, avg 5µs/call
# spent 16µs making 3 calls to Koha::Schema::Result::OldReserve::result_source_instance, avg 5µs/call
# spent 16µs making 2 calls to Koha::Schema::Result::AuthorisedValue::result_source_instance, avg 8µs/call
# spent 15µs making 2 calls to Koha::Schema::Result::BorrowerAttributeType::result_source_instance, avg 8µs/call
# spent 15µs making 2 calls to Koha::Schema::Result::Itemtype::result_source_instance, avg 7µs/call
# spent 15µs making 2 calls to Koha::Schema::Result::MessageAttribute::result_source_instance, avg 7µs/call
# spent 14µs making 3 calls to Koha::Schema::Result::Biblioitem::result_source_instance, avg 5µs/call
# spent 14µs making 2 calls to Koha::Schema::Result::Course::result_source_instance, avg 7µs/call
# spent 14µs making 2 calls to Koha::Schema::Result::UserPermission::result_source_instance, avg 7µs/call
# spent 14µs making 2 calls to Koha::Schema::Result::TagAll::result_source_instance, avg 7µs/call
# spent 13µs making 2 calls to Koha::Schema::Result::BranchBorrowerCircRule::result_source_instance, avg 7µs/call
# spent 13µs making 2 calls to Koha::Schema::Result::Aqbasketgroup::result_source_instance, avg 6µs/call
# spent 13µs making 2 calls to Koha::Schema::Result::Letter::result_source_instance, avg 6µs/call
# spent 13µs making 2 calls to Koha::Schema::Result::MatchpointComponent::result_source_instance, avg 6µs/call
# spent 13µs making 2 calls to Koha::Schema::Result::PatronList::result_source_instance, avg 6µs/call
# spent 13µs making 2 calls to Koha::Schema::Result::Aqcontract::result_source_instance, avg 6µs/call
# spent 13µs making 2 calls to Koha::Schema::Result::PatronListPatron::result_source_instance, avg 6µs/call
# spent 13µs making 2 calls to Koha::Schema::Result::Serialitem::result_source_instance, avg 6µs/call
# spent 12µs making 2 calls to Koha::Schema::Result::BorrowerMessageTransportPreference::result_source_instance, avg 6µs/call
# spent 12µs making 2 calls to Koha::Schema::Result::CourseReserve::result_source_instance, avg 6µs/call
# spent 12µs making 2 calls to Koha::Schema::Result::MatcherMatchpoint::result_source_instance, avg 6µs/call
# spent 12µs making 2 calls to Koha::Schema::Result::OverduerulesTransportType::result_source_instance, avg 6µs/call
# spent 12µs making 2 calls to Koha::Schema::Result::AqordersTransfer::result_source_instance, avg 6µs/call
# spent 12µs making 2 calls to Koha::Schema::Result::AuthorisedValuesBranch::result_source_instance, avg 6µs/call
# spent 12µs making 2 calls to Koha::Schema::Result::Accountline::result_source_instance, avg 6µs/call
# spent 12µs making 2 calls to Koha::Schema::Result::TransportCost::result_source_instance, avg 6µs/call
# spent 12µs making 2 calls to Koha::Schema::Result::Aqbudgetborrower::result_source_instance, avg 6µs/call
# spent 12µs making 2 calls to Koha::Schema::Result::Virtualshelfshare::result_source_instance, avg 6µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::Subscriptionroutinglist::result_source_instance, avg 6µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::CategoriesBranch::result_source_instance, avg 6µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::CourseInstructor::result_source_instance, avg 6µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::MessageQueue::result_source_instance, avg 6µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::OldIssue::result_source_instance, avg 6µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::Branchrelation::result_source_instance, avg 6µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::OpacNews::result_source_instance, avg 6µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::TagsIndex::result_source_instance, avg 5µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::BorrowerAttribute::result_source_instance, avg 5µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::ItemsLastBorrower::result_source_instance, avg 5µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::Rating::result_source_instance, avg 5µs/call
# spent 11µs making 2 calls to Koha::Schema::Result::Aqbasketuser::result_source_instance, avg 5µs/call
# spent 10µs making 2 calls to Koha::Schema::Result::Review::result_source_instance, avg 5µs/call
# spent 10µs making 2 calls to Koha::Schema::Result::AqorderUser::result_source_instance, avg 5µs/call
# spent 8µs making 1 call to Koha::Schema::Result::SubscriptionNumberpattern::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::OaiSetsDescription::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Branchcategory::result_source_instance
# spent 7µs making 2 calls to Koha::Schema::Result::Currency::result_source_instance, avg 4µs/call
# spent 7µs making 1 call to Koha::Schema::Result::ImportBatch::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::SubscriptionFrequency::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ClassSortRule::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ImportBiblio::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MarcModificationTemplate::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MatchpointComponentNorm::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::OaiSetsMapping::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Userflag::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AdditionalField::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AdditionalFieldValue::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MarcModificationTemplateAction::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AqbudgetsPlanning::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Overduerule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Collection::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Accountoffset::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ImportAuth::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Serial::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BorrowerSync::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ClassSource::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::DefaultBranchCircRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ImportItem::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Suggestion::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Discharge::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::OaiSetsBiblio::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BorrowerDebarment::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::DefaultBranchItemRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ImportRecordMatch::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AqordersItem::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AuthTagStructure::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Biblioimage::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BorrowerFile::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::DefaultBorrowerCircRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Aqcontact::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AuthSubfieldStructure::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ItemsSearchField::result_source_instance
# spent 5µs making 1 call to Koha::Schema::Result::Patronimage::result_source_instance | ||
45 | 319 | 6.69ms | $source->add_relationship($rel => @rest); # spent 6.69ms making 319 calls to DBIx::Class::ResultSource::add_relationship, avg 21µs/call | ||
46 | 638 | 149ms | $class->register_relationship($rel => $source->relationship_info($rel)); # spent 148ms making 319 calls to DBIx::Class::Relationship::Accessor::register_relationship, avg 465µs/call
# spent 566µs making 319 calls to DBIx::Class::ResultSource::relationship_info, avg 2µs/call | ||
47 | } | ||||
48 | |||||
49 | |||||
50 | # legacy resultset_class accessor, seems to be used by cdbi only | ||||
51 | sub iterator_class { shift->result_source_instance->resultset_class(@_) } | ||||
52 | |||||
53 | for my $method_to_proxy (qw/ | ||||
54 | source_info | ||||
55 | result_class | ||||
56 | resultset_class | ||||
57 | resultset_attributes | ||||
58 | |||||
59 | columns | ||||
60 | has_column | ||||
61 | |||||
62 | remove_column | ||||
63 | remove_columns | ||||
64 | |||||
65 | column_info | ||||
66 | columns_info | ||||
67 | column_info_from_storage | ||||
68 | |||||
69 | set_primary_key | ||||
70 | primary_columns | ||||
71 | sequence | ||||
72 | |||||
73 | add_unique_constraint | ||||
74 | add_unique_constraints | ||||
75 | |||||
76 | unique_constraints | ||||
77 | unique_constraint_names | ||||
78 | unique_constraint_columns | ||||
79 | |||||
80 | relationships | ||||
81 | relationship_info | ||||
82 | has_relationship | ||||
83 | /) { | ||||
84 | 22 | 1.14ms | quote_sub __PACKAGE__."::$method_to_proxy", sprintf( <<'EOC', $method_to_proxy ); # spent 1.14ms making 22 calls to Sub::Quote::quote_sub, avg 52µs/call | ||
85 | DBIx::Class::_ENV_::ASSERT_NO_INTERNAL_INDIRECT_CALLS and DBIx::Class::_Util::fail_on_internal_call; | ||||
86 | shift->result_source_instance->%s (@_); | ||||
87 | EOC | ||||
88 | |||||
89 | } | ||||
90 | |||||
91 | 1 | 104µs | 1; # spent 104µs making 1 call to B::Hooks::EndOfScope::XS::__ANON__ |