Post

Finally implemented some benchmarking into my #AdventOfCode runner to see how well my Ada implementations are doing. Longest (part 2) solution this year has been day 4 with about 1850 μs. Current day 7 comes in around 85 μs. (Depending on CPU temperature...)

That's after enabling -O2 optimization, which I didn't notice wasn't enabled before. My benchmarking runs the solutions in a loop until at least 2 seconds of run time accumulates and shows the average of all runs.

0 reposts2 likes

No replies yet.