[SERVER-60245] Reduce RecordId copying in hot code paths Created: 27/Sep/21 Updated: 29/Oct/23 Resolved: 15/Oct/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Louis Williams | Assignee: | Louis Williams |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Execution Team 2021-10-18, Execution Team 2021-11-01 | ||||
| Participants: | |||||
| Linked BF Score: | 100 | ||||
| Description |
|
This caused some performance regressions in hot code paths. Reduce the number of RecordId copies required in these code paths by passing references and moving where able. These hot paths include, but are not limited to: validation, index builds, and collection scans |
| Comments |
| Comment by Githook User [ 15/Oct/21 ] |
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: |