Skip to content

Riceman2000/advent-of-code-2024

Repository files navigation

Advent of Code 2024

Mindset

This framework is meant to be easy to expand and iterate on without the overbearing design decisions of some other AOC frameworks.

Current benchmarks

These benchmarks were done without any true care for accuracy or attempting to control external variables so take them with a grain of salt:

Log scale benchmark results:

Usage

Run benchmarks with graphics and stats

cargo install cargo-criterion
cargo criterion

output will be in target/criterion/index.html

See the CLI help menu

cargo run -- --help

Run individual days

cargo run -- --target-day day01_0

Run days based on a glob

cargo run -- --target-day "day01_*"

Run all days with their outputs hidden

cargo run --release -- -o

Enable benchmarks

cargo run --release -- -b

Generate the benchmark results table

cargo run --release -- -B

Generate the benchmark results graph

cargo run --release -- -g