code: def catch_time() -> float:
      start = perf_counter()
      yield lambda: perf_counter() - start
  
imports: import io
  import os
  import random
  import string
  import tempfile
  from contextlib import contextmanager
  from datetime import datetime
  from math import sqrt
  from time import perf_counter
  import numpy
  from attr import dataclass
  from PIL import Image
  from PIL.PngImagePlugin import PngImageFile
  import neptune
  from neptune.internal.container_type import ContainerType
  from tests.e2e.exceptions import MissingEnvironmentVariable
label_desc: Use image node_id 11 for calling a global function with example usage: catch_time() without return types