code: def timing(name=None):
      t = now()
      yield
      t = now() - t
      print("%s: %0.06f s" % (name or "", t))
  
imports: import os.path
  import shutil
  import sys
  import tempfile
  from contextlib import contextmanager
  from whoosh.filedb.filestore import FileStorage
  from whoosh.util import now, random_name
label_desc: Use image node_id 3 for calling a global function with example usage: timing(name) without return types