Day 12: Hill Climbing Algorithm

Puzzle Description

Advent of Code 2022, Day 12

Scala Center Advent of Code 2022, Day 12

Benchmark

Part 1

Mean

Error

JVM

17.608 ms

+/- 2.236 ms

JS

71.675 ms

+/- 1.261 ms

Native

26.019 ms

+/- 0.448 ms

Part 2

Mean

Error

JVM

1947.895 ms

+/- 3.399 ms

JS

11660.182 ms

+/- 61.680 ms

Native

4224.683 ms

+/- 2.588 ms

Run it in the browser!