input: Write a function to evaluate and compare the performance of two heuristic algorithms, algorithm1 and algorithm2. The function should run both algorithms on given input data, measure the time each takes, and print which algorithm is faster. If both take the same amount of time, it should print that both have the same performance time. The function should return None.
  import time
  import heuristics_algorithm1
  import heuristics_algorithm2
  
  assert evaluate_heuristics_performance(data1, data2) is None
  assert evaluate_heuristics_performance(data3, data4) is None
  assert evaluate_heuristics_performance(data5, data6) is None
  assert evaluate_heuristics_performance(data7, data7) is None
  assert evaluate_heuristics_performance(data8, data8) is None
output: def evaluate_heuristics_performance(input_data1, input_data2):
      start_time1 = time.time()
      heuristics_algorithm1.run(input_data1)
      time1 = time.time() - start_time1
  
      start_time2 = time.time()
      heuristics_algorithm2.run(input_data2)
      time2 = time.time() - start_time2
  
      if time1 < time2:
          print("algorithm1 is faster")
      elif time1 > time2:
          print("algorithm2 is faster")
      else:
          print("Both have the same performance time")
      return None