class_docstr: Test case. 
docstr: Test frame signal processing. 
docstr_tok: ["Test","frame","signal","processing","."]
code: def test_frame_sig(self):
      """Test frame signal processing."""
      n = 10000124
      frame_len = 37
      frame_step = 13
      x = np.random.rand(n)
      t0 = time.time()
      y_old = sigproc.framesig(
          x,
          frame_len=frame_len,
          frame_step=frame_step,
          stride_trick=False,
      )
      t1 = time.time()
      y_new = sigproc.framesig(
          x,
          frame_len=frame_len,
          frame_step=frame_step,
          stride_trick=True,
      )
      t_new = time.time() - t1
      t_old = t1 - t0
      self.assertTupleEqual(y_old.shape, y_new.shape)
      np.testing.assert_array_equal(y_old, y_new)
      self.assertLess(t_new, t_old)
      print("new run time %3.2f < %3.2f sec" % (t_new, t_old))
  
file_path: delta/delta/data/feat/python_speech_features/test/test_sigproc.py
imports: import time
  import unittest
  import numpy
  import sigproc
label_desc: Use image node_id 1 for calling the test_case obj's underlying member method code with example usage: obj.test_frame_sig() without return types