input: 
  def compare_heuristics(data1, data2):
      """Evaluates and compares the performance of two different heuristics algorithms.
      It measures the time taken by each algorithm to run and returns a string indicating 
      which algorithm is faster or if they have the same performance time.
  
      >>> compare_heuristics(data1, data2)
      'Algorithm 1 is faster than algorithm 2'
      >>> compare_heuristics(data1, data2)
      'Algorithm 2 is faster than algorithm 1'
      >>> compare_heuristics(data1, data2)
      'Both algorithms have the same performance time'
      """
  
output:     import time
  
      start_time1 = time.time()
      heuristic1(data1)
      end_time1 = time.time()
      time_taken1 = end_time1 - start_time1
  
      start_time2 = time.time()
      heuristic2(data2)
      end_time2 = time.time()
      time_taken2 = end_time2 - start_time2
  
      if time_taken1 < time_taken2:
          return 'Algorithm 1 is faster than algorithm 2'
      elif time_taken1 > time_taken2:
          return 'Algorithm 2 is faster than algorithm 1'
      else:
          return 'Both algorithms have the same performance time'