code: def test_reasonable_time(self):
      si = [
          si
          for si in Tensor([1, 2, 3, 4]).add(1).lazydata.schedule()
          if si.ast.op not in LoadOps
      ][0]
      rawbufs = [
          Buffer(Device.DEFAULT, si.out.st.real_size(), si.out.dtype)
      ] + [
          Buffer(Device.DEFAULT, x.st.real_size(), x.dtype)
          for x in si.inputs
      ]
      tm = time_linearizer(
          Linearizer(si.ast), rawbufs, allow_test_size=False, cnt=10
      )
      assert tm > 0 and tm != float("inf")
  
file_path: tinygrad/test/test_search.py
imports: import unittest
  from tinygrad.codegen.linearizer import Linearizer
  from tinygrad.features.search import time_linearizer
  from tinygrad.device import Compiled, Device, Buffer
  from tinygrad.ops import LoadOps
  from tinygrad.tensor import Tensor
label_desc: Use image node_id 2 for calling the TestTimeLinearizer obj's underlying member method code with example usage: obj.test_reasonable_time() without return types