ENH Do not use placeholders by default for foreignIDFilter() #10904
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue #10887
Performance tests:
10,000 records
I didn't test
Member_GroupSet
due to not wanting to truncate myMember
andGroup
tables, though it's logical to expect that there would be performance gain since there was clearly a gain for all the others listsHasManyList
placeholders on - avg 0.3304s
0.3144
0.3712
0.3279
0.3091
0.3295
placeholders off - avg 0.1584s
0.1558
0.1545
0.1551
0.1634
0.1632
ManyManyList
placeholders on - avg 0.3119s
0.3105
0.3118
0.3066
0.3130
0.3178
placeholders off - avg 0.1529s
0.1511
0.1478
0.1563
0.1565
0.1526
ManyManyThroughList
placeholders on - avg 0.8766s
0.9052
0.8893
0.8608
0.8687
0.8588
placeholders off - avg 0.6901s
0.6974
0.6993
0.6881
0.6811
0.6844
Test setup:
MyDataObject.php
MySubDataObject.php
MyManyDataObject.php
MyManyThroughDataObject.php
MyThroughDataObject.php
PageController.php