code: def test_timing_and_memory_logging():
      @timing_and_memory
      def mock_fcn(**kwargs):
          time.sleep(1.0)
  
      test_logs = {"MOCK_FCN": None}
      logs = {}
      mock_fcn(log=logs)
      assert logs.keys() == test_logs.keys()
  
imports: from ampligraph.utils.profiling import get_memory_size, get_human_readable_size, timing_and_memory
  import time
  import pytest
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: test_timing_and_memory_logging() without return types