input: from typing import List
  
  
  def compare_algorithm_performance(data1: List, data2: List) -> str:
      """ Compare the performance of two heuristics algorithms based on their execution time.
      The function will evaluate both algorithms using provided data and return a string
      indicating which algorithm is faster. If both take the same amount of time, it will
      indicate that they have the same performance.
      >>> compare_algorithm_performance(data1=[...], data2=[...])
      "Algorithm 1 is faster than algorithm 2"
      >>> compare_algorithm_performance(data1=[...], data2=[...])
      "Both algorithms have the same performance time"
      """
      import time
      import heuristics_algorithm1
      import heuristics_algorithm2
  
      # Evaluate and compare the performance of two different heuristics algorithms
      start = time.time()
      result1 = heuristics_algorithm1.run(data1)
      end = time.time()
      time1 = end - start
  
      start = time.time()
      result2 = heuristics_algorithm2.run(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
      import heuristics_algorithm1
      import heuristics_algorithm2
  
      # Evaluate and compare the performance of two different heuristics algorithms
      start = time.time()
      result1 = heuristics_algorithm1.run(data1)
      end = time.time()
      time1 = end - start
  
      start = time.time()
      result2 = heuristics_algorithm2.run(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"