input: from typing import Tuple
  
  def compare_heuristics_performance(data1, data2) -> Tuple[float, float]:
      """Compare the performance of two different heuristics algorithms by measuring
      the time taken to run each algorithm on the given input data. Return a tuple
      with the time taken by each algorithm.
  
      Example:
      >>> compare_heuristics_performance(data1, data2)
      (0.5, 0.3)
      >>> compare_heuristics_performance(data1, data2)
      (0.2, 0.2)
      """
      import time
      import heuristics_algorithm1
      import heuristic_algorithm2
  
      start = time.time()
      result1 = heuristics_algorithm1.run(data1)
      end = time.time()
      time1 = end - start
  
      start = time.time()
      result2 = heuristic_algorithm2.run(data2)
      end = time.time()
      time2 = end - start
  
      return (time1, time2)
output:     import time
      import heuristics_algorithm1
      import heuristic_algorithm2
  
      start = time.time()
      result1 = heuristics_algorithm1.run(data1)
      end = time.time()
      time1 = end - start
  
      start = time.time()
      result2 = heuristic_algorithm2.run(data2)
      end = time.time()
      time2 = end - start
  
      return (time1, time2)