input: from typing import List, Tuple
  
  def compare_heuristics_performance(algorithm1: callable, algorithm2: callable, data1: List, data2: List) -> Tuple[str, float, float]:
      """ Compare the performance time of two heuristics algorithms given input data.
      Return a tuple consisting of:
      - A string stating which algorithm is faster or if they are equally fast.
      - Time taken for the first algorithm.
      - Time taken for the second algorithm.
      >>> compare_heuristics_performance(lambda x: sum(x), lambda x: sorted(x), [4, 2, 1], [3, 1, 2])
      ("Both algorithms have the same performance time", 0.0, 0.0)
      >>> def slower_algorithm(x):
      ...     time.sleep(1)
      ...     return sum(x)
      >>> compare_heuristics_performance(slower_algorithm, lambda x: sum(x), [4, 2, 1], [3, 1, 2])
      ("Algorithm 2 is faster than algorithm 1", 1.0, 0.0)
      """
      import time
      
      start = time.time()
      result1 = algorithm1(data1)
      end = time.time()
      time1 = end - start
      
      start = time.time()
      result2 = algorithm2(data2)
      end = time.time()
      time2 = end - start
      
      if time1 < time2:
          return "Algorithm 1 is faster than algorithm 2", time1, time2
      elif time2 < time1:
          return "Algorithm 2 is faster than algorithm 1", time1, time2
      else:
          return "Both algorithms have the same performance time", time1, time2
output:     import time