Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Is your code on git? I'm new to rust and yours runs so much faster than mine :( Same cpu too https://github.com/RyanCarrier/advent-of-code-2021
Repo: https://github.com/gereons/AoC2021
I try to go fast as well! Here's my repo, there's criterion benchmarks on every commit run by github actions. I think I'm at a few milliseconds for the first 11 days
https://github.com/viceroypenguin/adventofcode - specifically the 2021 branch. All previous years are in there as well.
Sorry I forgot to say. Language is java. Here's the repo.
My repo is here: https://github.com/KT421/2021-advent-of-code
Same here $ cargo run --release -- --skip-output Finished release [optimized + debuginfo] target(s) in 0.02s Running target/release/aoc21 --skip-output Day 01 took 10.008µs to compute (with i/o: 146.55µs) Day 02 took 9.355µs to compute (with i/o: 87.184µs) Day 03 took 82.134µs to compute (with i/o: 155.095µs) Day 04 took 52.834µs to compute (with i/o: 240.457µs) Day 05 took 673.742µs to compute (with i/o: 776.801µs) Day 06 took 1.306µs to compute (with i/o: 7.122µs) Day 07 took 33.248µs to compute (with i/o: 55.737µs) Day 08 took 984.71µs to compute (with i/o: 1.00838ms) Day 09 took 883.739µs to compute (with i/o: 922.913µs) Day 10 took 19.062µs to compute (with i/o: 126.791µs) Day 11 took 398.191µs to compute (with i/o: 400.35µs)
repo
Yeah. https://github.com/gissleh/aoc2021. I used the 'cold' time from my benchmarking setup in the table above, which is the first before it does multiple runs and average the time.
I have no idea how I would benchmark everything without going into each file and benchmarking them individually. This is my repo. I have a folder in the root folder (where the link takes you) and I wanted to add a `benchmark.py` into the `2021` folder. But when I execute the files, I get a `FileNotFoundError` error.