[SERVER-83633] Collapse size counting loop in WiredTigerRecordStore::_insertRecords Created: 28/Nov/23 Updated: 11/Dec/23 Resolved: 11/Dec/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Matt Kneiser | Assignee: | Gregory Wlodarek |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | storex-shortlist | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Execution Team 2023-12-25 |
| Participants: |
| Description |
|
This separate loop (code link) over the data is not needed, it can be done inline with another one of the many loops in this code path to improve cache locality and avoid needlessly thrashing the cache on large multi-inserts.
Two options:
|
| Comments |
| Comment by Githook User [ 11/Dec/23 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: GitOrigin-RevId: a4670c62f4e7fe7d0ee9d1436c6276bab1da2878 |