Addess recent performance regressions in mixed workloads
(SERVER-74848)
|
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0 |
| Type: | Sub-task | Priority: | Major - P3 |
| Reporter: | Colin Stolley | Assignee: | Colin Stolley |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
The constructor for ResourceId computes the hash of the entity each time. Here, we do this in the hot path over and over for the same Resource: This can be moved to a constant and save a lot of needless computation. xxhash might also speed up ResourceId, but it may not matter enough to bother with it. |
| Comments |
| Comment by Githook User [ 24/Mar/23 ] |
|
Author: {'name': 'Colin Stolley', 'email': 'ccstolley@github.com', 'username': 'ccstolley'}Message: |