An open API service indexing awesome lists of open source software.

https://github.com/tsatke/aoc2024

AoC 2024 in Rust. Focus is performance (again).
https://github.com/tsatke/aoc2024

Last synced: 2 months ago
JSON representation

AoC 2024 in Rust. Focus is performance (again).

Awesome Lists containing this project

README

        

# Advent of Code 2024

Rust. Performance.

Rules:

* no input pre-processing
* portable rust (if you're reading this, you can probably execute it on your machine)
* measured with criterion (avg time)
* unstable features allowed

## Benchmarks

Criterion, MacBook Air M2 2022.

| Day | Part 1 | Part 2 | Combined | Time |
|-----|--------|--------|----------|------------|
| 1 | 20µs | 14µs | - | **34µs** |
| 2 | 35µs | 61µs | - | **96µs** |
| 3 | 9µs | 13µs | - | **22µs** |
| 4 | 37µs | 17µs | - | **54µs** |
| 5 | 47µs | 72µs | - | **119µs** |
| 6 | 18µs | 6000µs | - | **6018µs** |
| 7 | 94µs | 205µs | - | **299µs** |
| 8 | 4µs | 5µs | - | **9µs** |
| 9 | 30µs | - | - | |