mongo execution time code example
Example: mongodb get execution time
<yourquery>.explain("executionStats") (doesn't work with all commands, for instance on findOne and count)
<yourquery>.explain("executionStats") (doesn't work with all commands, for instance on findOne and count)