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 | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Participants: | |||||||||
| Description |
|
There's a bunch of functions which take copies of NamespaceString objects for no reason, and in the hot path these add up. Use const references instead when it's safe to do so.
See: src/mongo/db/curop.h src/mongo/db/commands.cpp src/mongo/db/op_observer/op_observer_impl.h |
| Comments |
| Comment by Githook User [ 03/Apr/23 ] |
|
Author: {'name': 'Colin Stolley', 'email': 'ccstolley@github.com', 'username': 'ccstolley'}Message: |