code: def testSpeed(self):
      count = 100
  
      def run():
          for _ in range(count):
              with sw("name"):
                  pass
  
      sw = stopwatch.StopWatch()
      for _ in range(10):
          sw.enable()
          with sw("enabled"):
              run()
  
          sw.trace()
          with sw("trace"):
              run()
  
          sw.enable()  # To catch "disabled".
          with sw("disabled"):
              sw.disable()
              run()
  
      # No asserts. Succeed but print the timings.
      print(sw)
  
file_path: pysc2/pysc2/lib/stopwatch_test.py
imports: import os
  from absl.testing import absltest
  import mock
  from pysc2.lib import stopwatch
label_desc: Use image node_id 5 for calling the StopwatchTest obj's underlying member method code with example usage: obj.testSpeed() without return types