input: 
  def compare_heuristics(heuristics_algorithm1, heuristics_algorithm2, data1, data2):
      """Evaluates and compares the performance of two different heuristics algorithms by measuring their execution time. Returns a string indicating which algorithm is faster.
      
      >>> compare_heuristics(lib1.run, lib2.run, [1, 2, 3], [4, 5, 6])
      'Algorithm 1 is faster than algorithm 2'
      >>> compare_heuristics(lib1.run, lib2.run, [1, 2, 3, 4], [4, 5, 6, 7])
      'Both algorithms have the same performance time'
      """
      start = time.time()
      result1 = heuristics_algorithm1(data1)
      end = time.time()
      time1 = end - start
  
      start = time.time()
      result2 = heuristics_algorithm2(data2)
      end = time.time()
      time2 = end - start
  
      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"
  
output:     
      import time
  