input: from typing import List
  
  def compare_heuristics(algorithms: List[str], data: List[dict]) -> str:
      """Evaluate and compare the performance of two different heuristics algorithms.
      The performance is measured by the time taken to execute each algorithm on the given data.
      Returns a string indicating which algorithm is faster or if they have the same performance time.
      >>> compare_heuristics(["algorithms.heuristics_algorithm1", "algorithms.heuristics_algorithm2"], [{"input": "data1"}, {"input": "data2"}])
      'Algorithm 1 is faster than algorithm 2'
      >>> compare_heuristics(["algorithms.heuristics_algorithm1", "algorithms.heuristics_algorithm2"], [{"input": "data1"}, {"input": "data1"}])
      'Both algorithms have the same performance time'
      """
      import time
  
      times = []
      for algo, input_data in zip(algorithms, data):
          start = time.time()
          result = globals()[algo.split('.')[-1]].run(input_data)
          end = time.time()
          times.append(end - start)
  
      if times[0] < times[1]:
          return "Algorithm 1 is faster than algorithm 2"
      elif times[1] < times[0]:
          return "Algorithm 2 is faster than algorithm 1"
      else:
          return "Both algorithms have the same performance time"
output:     import time
  
      times = []
      for algo, input_data in zip(algorithms, data):
          start = time.time()
          result = globals()[algo.split('.')[-1]].run(input_data)
          end = time.time()
          times.append(end - start)
  
      if times[0] < times[1]:
          return "Algorithm 1 is faster than algorithm 2"
      elif times[1] < times[0]:
          return "Algorithm 2 is faster than algorithm 1"
      else:
          return "Both algorithms have the same performance time"