Home

Awesome

Rust

Advent of Code solutions 2022

Day 01 took   490.0ns to compute (rsum   490.0ns) (with i/o:    63.4µs, rsum    63.4µs)
Day 02 took    12.4µs to compute (rsum    12.9µs) (with i/o:   270.2µs, rsum   333.6µs)
Day 03 took    37.1µs to compute (rsum    50.1µs) (with i/o:    70.9µs, rsum   404.4µs)
Day 04 took     4.5µs to compute (rsum    54.5µs) (with i/o:   249.3µs, rsum   653.7µs)
Day 05 took    16.5µs to compute (rsum    71.0µs) (with i/o:    71.5µs, rsum   725.2µs)
Day 06 took    14.0µs to compute (rsum    85.0µs) (with i/o:    19.1µs, rsum   744.3µs)
Day 07 took   117.1µs to compute (rsum   202.0µs) (with i/o:   146.0µs, rsum   890.3µs)
Day 08 took   300.1µs to compute (rsum   502.2µs) (with i/o:   325.5µs, rsum     1.2ms)
Day 09 took   528.1µs to compute (rsum     1.0ms) (with i/o:   780.7µs, rsum     2.0ms)
Day 10 took   872.0ns to compute (rsum     1.0ms) (with i/o:    10.2µs, rsum     2.0ms)
Day 11 took    18.8ms to compute (rsum    19.8ms) (with i/o:    18.8ms, rsum    20.8ms)
Day 12 took   313.1µs to compute (rsum    20.1ms) (with i/o:   326.2µs, rsum    21.1ms)
Day 13 took   149.4µs to compute (rsum    20.2ms) (with i/o:   580.4µs, rsum    21.7ms)
Day 14 took   209.4µs to compute (rsum    20.5ms) (with i/o:   334.1µs, rsum    22.0ms)
Day 15 took    77.9ms to compute (rsum    98.4ms) (with i/o:    78.0ms, rsum   100.0ms)
Day 16 took     69.8s to compute (rsum     69.9s) (with i/o:     69.8s, rsum     69.9s)
Day 17 took     5.7ms to compute (rsum     69.9s) (with i/o:     5.7ms, rsum     69.9s)
Day 18 took     1.2ms to compute (rsum     69.9s) (with i/o:     1.4ms, rsum     70.0s)
Day 19 took    164.6s to compute (rsum    234.5s) (with i/o:    164.6s, rsum    234.5s)
Day 20 took    93.9ms to compute (rsum    234.6s) (with i/o:    94.0ms, rsum    234.6s)
Day 21 took   262.2µs to compute (rsum    234.6s) (with i/o:   491.4µs, rsum    234.6s)
Day 22 took     1.8ms to compute (rsum    234.6s) (with i/o:     2.0ms, rsum    234.6s)
Day 23 took   169.2ms to compute (rsum    234.8s) (with i/o:   169.3ms, rsum    234.8s)
Day 24 took    53.2ms to compute (rsum    234.9s) (with i/o:    63.3ms, rsum    234.9s)
Day 25 took   822.0ns to compute (rsum    234.9s) (with i/o:    33.0µs, rsum    234.9s)

         Total time for 25 days:    234.9s (avg per day      9.4s, med:   300.1µs, min:   490.0ns, max:    164.6s)
Total time with i/o for 25 days:    234.9s (avg per day      9.4s, med:   491.4µs, min:    10.2µs, max:    164.6s)

previous solutions

2021: https://github.com/tumdum/aoc2021

2020: https://github.com/tumdum/aoc2020

2019: https://git.sr.ht/~ttt/aoc2019/tree

2018: https://git.sr.ht/~ttt/aoc18/tree

2017: https://github.com/tumdum/aoc2017

2016: https://bitbucket.org/tumdum/adventofcode2016/src/master/

2015: https://git.sr.ht/~ttt/aoc2015/tree