Details
-
Improvement
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
0
Description
QueryPlannerIXSelect::getFields() performs expensive string creation and concatenation operations. This can be avoided for queries that don't involve $elemMatch as the string returned is the same as stored in the MatchExpression.
Identified as a hotspot by running the Queries.RegexPrefixFindOne mongo-perf test (in read command mode) under VTune.