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 |
|
By passing some strings by const reference, we can avoid some string copies in src/mongo/db/stats/api_version_metrics.cpp and src/mongo/db/stats/api_version_metrics.h . Likewise, in _initiateCommand() we can avoid some string copies during lookups by using a StringDataSet instead of a StringMap. See src/mongo/db/service_entry_point_common.cpp |
| Comments |
| Comment by Githook User [ 28/Mar/23 ] |
|
Author: {'name': 'Colin Stolley', 'email': 'ccstolley@github.com', 'username': 'ccstolley'}Message: |