code: def do_time(self, params):
          
          start = time.time()
          for cmd in params.cmds:
              try:
                  self.onecmd(cmd)
              except Exception as ex:
                  self.show_output("Command failed: %s.", ex)
  
          elapsed = "{0:.5f}".format(time.time() - start)
          self.show_output("Took %s seconds" % elapsed)
docs: \x1b[1mNAME\x1b[0m
          time - Measures elapsed seconds after running commands
  
  \x1b[1mSYNOPSIS\x1b[0m
          time <cmd1> <cmd2> ... <cmdN>
  
  \x1b[1mEXAMPLES\x1b[0m
          > time 'loop 10 0 "create /foo_ bar ephemeral=false sequence=true"'
          Took 0.05585 seconds