input: from typing import List
  
  def compare_heuristics_performance(heuristics1, heuristics2, data1, data2) -> str:
      """
      Evaluate and compare the performance of two different heuristics algorithms.
      The performance is measured by the time taken to run each algorithm on the given data.
      >>> compare_heuristics_performance(heuristics_algorithm1, heuristics_algorithm2, data1, data2)
      'Algorithm 1 is faster than algorithm 2'
      """
output:     import time
  
      start_time1 = time.time()
      heuristics1(data1)
      end_time1 = time.time()
      time_taken1 = end_time1 - start_time1
  
      start_time2 = time.time()
      heuristics2(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'