Day 2: Rock Paper Scissors

Puzzle Description

Advent of Code 2022, Day 2

Scala Center Advent of Code 2022, Day 2

Benchmark

Part 1

Mean

Error

JVM

2.019 ms

+/- 0.194 ms

JS

8.540 ms

+/- 0.955 ms

Native

6.871 ms

+/- 0.020 ms

Part 2

Mean

Error

JVM

2.053 ms

+/- 0.236 ms

JS

8.702 ms

+/- 0.890 ms

Native

6.711 ms

+/- 0.083 ms

Run it in the browser!