In Genny’s RepeatedPathTraversal we have a number of queries with a filter of fields with common path prefix of length 2, and collection size of 1M.
We will need
- Extend the benchmark with deeper fields with longer common prefixes, e.g. find({“a.b.c.d.e”: 1, “a.b.c.d.f”: 1}), find({$or: [\{"a.b.c.d.e": 1\}, \{"a.b.c.d.f": 1\} ]})
- Possibly run the same queries over smaller collection sizes (100 and 10K documents).