input: Write a function to evaluate and compare the performance of two different heuristics algorithms. The function should take in two data sets and run them through two heuristic algorithms, measuring the time taken for each run. It should then compare the times and print which algorithm is faster or if they have the same performance time. If both algorithms have the same performance time, it should print "Both algorithms have the same performance time".
  assert compare_heuristics(data1, data2) == "Algorithm 1 is faster than algorithm 2"
  assert compare_heuristics(data2, data1) == "Algorithm 2 is faster than algorithm 1"
  assert compare_heuristics(data1, data1) == "Both algorithms have the same performance time"
output: import time
  
  def compare_heuristics(data1, data2):
      start_time1 = time.time()
      heuristic_algorithm1(data1)
      time1 = time.time() - start_time1
      
      start_time2 = time.time()
      heuristic_algorithm2(data2)
      time2 = time.time() - start_time2
      
      if time1 < time2:
          return "Algorithm 1 is faster than algorithm 2"
      elif time2 < time1:
          return "Algorithm 2 is faster than algorithm 1"
      else:
          return "Both algorithms have the same performance time"