input: def compare_heuristics_performance():
      """Compare the performance of two different heuristics algorithms by measuring the time taken to execute each.
      The algorithm with the lower execution time is considered faster.
      >>> compare_heuristics_performance()
      Algorithm 2 is faster than algorithm 1
      """
output:     import time
  
      def algorithm_1():
          time.sleep(1)  # Simulate algorithm 1 taking 1 second
  
      def algorithm_2():
          time.sleep(0.5)  # Simulate algorithm 2 taking 0.5 seconds
  
      start_time_1 = time.time()
      algorithm_1()
      end_time_1 = time.time()
      time_taken_1 = end_time_1 - start_time_1
  
      start_time_2 = time.time()
      algorithm_2()
      end_time_2 = time.time()
      time_taken_2 = end_time_2 - start_time_2
  
      if time_taken_1 < time_taken_2:
          print("Algorithm 1 is faster than algorithm 2")
      else:
          print("Algorithm 2 is faster than algorithm 1")