Skip to content

axseem/advent-of-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

Advent of Code

Solutions for the annual programming competition "Advent of Code"

Efficiency

All the benchmarks were executed on the MacBook Air M1.

The way I check the efficiency of the solutions:

cd go
go test -bench=. -count=10 ./... > bench.txt
benchstat bench.txt

2023

Go Part One Part Two
day 01 28 µs 40 μs
day 02 6.5 µs 8.5 μs
day 03 92 µs 92 μs
day 04 44 µs 46 μs
day 05 23 µs 42 μs
day 06 0.4 µs 0.4 μs
day 07 298 µs 305 μs
day 08 68 µs 233 μs
day 09 59 µs 59 μs