Explain::getPlanSummary generates a new std::string of moderate size, and the heap allocation and freeing around the lifetime of that string are an unnecessary performance hit on hot code paths such as CRUD operations. If we're going to keep doing it, we need to make it closer to free. Better might be not to generate the summary string in the common case.
- is related to
-
SERVER-16517 Secondary on 2.8.0rc2 cannot keep up (insert-heavy, mmapv1) (mms-prod-queues)
- Closed