Shell API calls lead to an event being emitted on the mongosh bus, which currently is a `nanobus` instance, which defaults to emitting a performance entry through the Node.js version of the web’s performance API.
These performance entries are never garbage collected, making the process fail with an OOM crash. E.g.:
Note that this does not reproduce if DISABLE_NANOTIMING=1 is set on the environment.