input: Write a function to evaluate and compare the performance of two different heuristics algorithms by measuring the time each algorithm takes to process given input data. If the first algorithm is faster, return "Algorithm 1 is faster than algorithm 2". If the second algorithm is faster, return "Algorithm 2 is faster than algorithm 1". If both algorithms have the same performance time, return "Both algorithms have the same performance time". The function should take two inputs, data1 for algorithm 1 and data2 for algorithm 2.
  
  assert compare_heuristic_performance(data1, data2, heuristics_algorithm1.run, heuristics_algorithm2.run)=="Algorithm 1 is faster than algorithm 2"
  assert compare_heuristic_performance(data2, data1, heuristics_algorithm1.run, heuristics_algorithm2.run)=="Algorithm 2 is faster than algorithm 1"
  assert compare_heuristic_performance(data1, data1, heuristics_algorithm1.run, heuristics_algorithm2.run)=="Both algorithms have the same performance time"
output: def compare_heuristic_performance(data1, data2, algorithm1, algorithm2):
      import time
      start_time = time.time()
      algorithm1(data1)
      time1 = time.time() - start_time
      
      start_time = time.time()
      algorithm2(data2)
      time2 = time.time() - start_time
      
      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"