-
Type: Sub-task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
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
- related to
-
SERVER-75529 Revisit memory layout for TenantId, DatabaseName, and NamespaceString to address performance regression
- Closed