$executionTime
$executionTime will return the execution time.
Usage
$executionTimeExample(s)
This will return the execution time of how long it took to execute this code:
1client.command({2    name: "executionTime",3    code: `4    This took: $executionTime MS5  `6});