Correctness improvements to day 2 #3

Merged
mpwb merged 1 commit from improvements/day/2 into main 2025-12-03 17:44:18 +00:00
Owner
No description provided.
Correctness improvements to day 2
All checks were successful
ci/woodpecker/pr/main Pipeline was successful
9483586687
Author
Owner

Benchee Results


17:41:48.264 [info] Beginning benchmark for AoC 2...

17:41:48.455 [info] Loaded input!
Operating System: Linux
CPU Information: Intel(R) Core(TM) Ultra 5 225
Number of Available Cores: 10
Available memory: 62.07 GB
Elixir 1.19.3
Erlang 28.2
JIT enabled: true

Benchmark suite executing with the following configuration:
warmup: 2 s
time: 5 s
memory time: 0 ns
reduction time: 0 ns
parallel: 1
inputs: none specified
Estimated total run time: 14 s
Excluding outliers: false

Benchmarking Day 2, part a ...
Benchmarking Day 2, part b ...
Calculating statistics...
Formatting results...

Name                    ips        average  deviation         median         99th %
Day 2, part a       24.47 K       40.86 μs    ±10.22%       40.48 μs       45.60 μs
Day 2, part b        4.82 K      207.50 μs     ±9.86%      203.49 μs      253.49 μs

Comparison: 
Day 2, part a       24.47 K
Day 2, part b        4.82 K - 5.08x slower +166.64 μs
# Benchee Results ``` 17:41:48.264 [info] Beginning benchmark for AoC 2... 17:41:48.455 [info] Loaded input! Operating System: Linux CPU Information: Intel(R) Core(TM) Ultra 5 225 Number of Available Cores: 10 Available memory: 62.07 GB Elixir 1.19.3 Erlang 28.2 JIT enabled: true Benchmark suite executing with the following configuration: warmup: 2 s time: 5 s memory time: 0 ns reduction time: 0 ns parallel: 1 inputs: none specified Estimated total run time: 14 s Excluding outliers: false Benchmarking Day 2, part a ... Benchmarking Day 2, part b ... Calculating statistics... Formatting results... Name ips average deviation median 99th % Day 2, part a 24.47 K 40.86 μs ±10.22% 40.48 μs 45.60 μs Day 2, part b 4.82 K 207.50 μs ±9.86% 203.49 μs 253.49 μs Comparison: Day 2, part a 24.47 K Day 2, part b 4.82 K - 5.08x slower +166.64 μs ``` <!-- id: Benchmark Results -->
mpwb merged commit 88a7e7ddf4 into main 2025-12-03 17:44:18 +00:00
mpwb referenced this pull request from a commit 2025-12-03 17:44:19 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mpwb/aoc25!3
No description provided.