Skip to content

Latest commit

 

History

History

y2023

Advent of Code 2023

My Elixir solutions for Advent of Code 2023.

44 stars

Benchmarks

If you're curious how long each of my solutions roughly takes to run.

You can check out the code yourself and run the benchmarks with mix bench 2023!

(Benchmarking results sorted manually for ease of read)

Name                     ips        average  deviation         median         99th %
day 01, part 1        116.93        8.55 ms     ±0.41%        8.55 ms        8.71 ms
day 01, part 2         85.22       11.73 ms     ±1.09%       11.68 ms       12.32 ms
day 02, part 1       1516.23        0.66 ms     ±2.63%        0.66 ms        0.72 ms
day 02, part 2       1463.31        0.68 ms     ±2.75%        0.68 ms        0.75 ms
day 03, part 1         31.96       31.29 ms     ±1.09%       31.26 ms       33.59 ms
day 03, part 2         14.31       69.90 ms     ±0.36%       69.88 ms       70.44 ms
day 04, part 1        290.58        3.44 ms     ±1.11%        3.42 ms        3.54 ms
day 04, part 2        280.02        3.57 ms     ±1.29%        3.58 ms        3.71 ms
day 05, part 1       6799.76       0.147 ms     ±4.18%       0.147 ms       0.168 ms
day 05, part 1       6884.62       0.145 ms     ±4.56%       0.145 ms       0.170 ms
day 05, part 2         11.58       86.37 ms     ±0.41%       86.31 ms       87.38 ms
day 06, part 1     402851.59     0.00248 ms   ±546.75%     0.00233 ms     0.00279 ms
day 06, part 2          3.37      296.95 ms     ±0.27%      296.70 ms      299.32 ms
day 07, part 1        419.18        2.39 ms    ±31.20%        2.29 ms        5.81 ms
day 07, part 2        132.16        7.57 ms    ±10.95%        7.44 ms       10.69 ms
day 08, part 1        548.96        1.82 ms    ±13.11%        1.80 ms        2.12 ms
day 08, part 2        246.36        4.06 ms     ±4.48%        4.02 ms        4.64 ms
day 09, part 1       1618.02        0.62 ms    ±81.29%        0.55 ms        2.27 ms
day 09, part 2       1603.46        0.62 ms    ±70.45%        0.56 ms        2.45 ms
day 10, part 1          0.89     1124.28 ms     ±2.76%     1128.01 ms     1152.94 ms
day 10, part 2          0.63     1593.22 ms     ±7.67%     1555.84 ms     1769.60 ms
day 11, part 1          1.64      608.83 ms     ±2.08%      611.34 ms      626.85 ms
day 11, part 2          1.64      610.60 ms     ±1.93%      612.94 ms      626.95 ms
day 12, part 1         59.77       16.73 ms    ±14.09%       16.04 ms       26.38 ms
day 12, part 2          7.65      130.79 ms     ±3.83%      129.05 ms      142.34 ms
day 13, part 1        150.89        6.63 ms     ±5.72%        6.62 ms        7.63 ms
day 13, part 2          3.68      271.37 ms     ±1.28%      270.72 ms      283.72 ms
day 14, part 1         18.61       53.73 ms     ±9.41%       53.71 ms       67.81 ms
day 14, part 2          0.63     1575.73 ms     ±3.34%     1569.17 ms     1644.07 ms
day 15, part 1        1.97 K        0.51 ms    ±58.77%        0.47 ms        1.38 ms
day 15, part 2        0.39 K        2.57 ms     ±9.13%        2.56 ms        3.05 ms
day 16, part 1         97.00       10.31 ms    ±14.20%       10.08 ms       13.65 ms
day 16, part 2          2.07      483.12 ms     ±2.51%      482.96 ms      503.06 ms
day 17, part 1          1.28      782.35 ms     ±3.06%      789.96 ms      811.18 ms
day 17, part 2          0.30     3345.17 ms     ±2.14%     3345.17 ms     3395.69 ms
day 18, part 1        977.01        1.02 ms    ±38.28%        0.97 ms        2.78 ms
day 18, part 2        848.64        1.18 ms    ±36.31%        1.13 ms        3.13 ms
day 19, part 1        395.99        2.53 ms     ±4.59%        2.51 ms        2.81 ms
day 19, part 2        333.72        3.00 ms     ±7.48%        2.96 ms        3.40 ms
day 20, part 1         82.86       12.07 ms     ±2.61%       12.03 ms       13.48 ms
day 20, part 2         20.86       47.93 ms     ±0.68%       47.93 ms       48.90 ms
day 21, part 1          3.48      287.13 ms     ±9.94%      282.88 ms      337.19 ms
day 22, part 1          0.28         3.57 s     ±0.13%         3.57 s         3.57 s
day 22, part 2          0.28         3.62 s     ±1.69%         3.62 s         3.67 s
day 23, part 1          3.81      262.60 ms     ±8.05%      261.90 ms      308.00 ms