input: Write a function to evaluate and compare the performance of two different heuristic algorithms. The function should take two data inputs, one for each algorithm, and compare the execution time of both algorithms. If the first algorithm is faster, it should print "Algorithm 1 is faster than algorithm 2". If the second algorithm is faster, it should print "Algorithm 2 is faster than algorithm 1". If both algorithms have the same performance time, it should print "Both algorithms have the same performance time". The function should use the imported heuristics_algorithm1 and heuristics_algorithm2 modules to run the algorithms.
  assert compare_heuristics([1, 2, 3], [4, 5, 6])=="Algorithm 1 is faster than algorithm 2"
  assert compare_heuristics([10, 20, 30], [40, 50, 60])=="Algorithm 2 is faster than algorithm 1"
  assert compare_heuristics([1, 2, 3, 4, 5], [5, 4])=="Algorithm 1 is faster than algorithm 2"
  assert compare_heuristics([7, 8, 9], [10])=="Algorithm 2 is faster than algorithm 1"
  assert compare_heuristics([], [])=="Both algorithms have the same performance time"
output: def compare_heuristics(data1, data2):
      import time
      start_time = time.time()
      heuristics_algorithm1(data1)
      time1 = time.time() - start_time
      
      start_time = time.time()
      heuristics_algorithm2(data2)
      time2 = time.time() - start_time
      
      if time1 < time2:
          print("Algorithm 1 is faster than algorithm 2")
      elif time2 < time1:
          print("Algorithm 2 is faster than algorithm 1")
      else:
          print("Both algorithms have the same performance time")