input: from typing import List
  
  
  def compare_heuristics_performance(heuristics_names: List[str], data: List[float]) -> str:
      """ Compare the performance of two different heuristics algorithms using the given data.
      Calculate the running time for each algorithm and return which one is faster.
      >>> compare_heuristics_performance(['algorithm1', 'algorithm2'], [[1, 2, 3], [4, 5, 6]])
      'Algorithm 1 is faster than algorithm 2'
      >>> compare_heuristics_performance(['algorithm1', 'algorithm2'], [[10, 20, 30], [40, 50, 60]])
      'Algorithm 2 is faster than algorithm 1'
      """
output:     import time
  
      def algorithm1(data):
          time.sleep(0.1)
  
      def algorithm2(data):
          time.sleep(0.2)
  
      times = []
      for name in heuristics_names:
          start_time = time.time()
          if name == 'algorithm1':
              algorithm1(data)
          elif name == 'algorithm2':
              algorithm2(data)
          end_time = time.time()
          times.append(end_time - start_time)
  
      if times[0] < times[1]:
          return 'Algorithm 1 is faster than algorithm 2'
      else:
          return 'Algorithm 2 is faster than algorithm 1'