advent2025

Advent of Code 2025 Solutions
git clone git://bsandro.tech/advent2025
Log | Files | Refs | README | LICENSE

commit 48281dd476e84b168ffad84c90aa1e9e6825f358
parent b029c9a2e8587915d8e24875f00dfb28c059c4d0
Author: bsandro <email@bsandro.tech>
Date:   Sun, 14 Dec 2025 10:43:56 +0200

added arm32 runtime info

Diffstat:
MREADME | 3+++
Mruntimes.plt | 2+-
Mruntimes.txt | 26+++++++++++++-------------
3 files changed, 17 insertions(+), 14 deletions(-)

diff --git a/README b/README @@ -11,6 +11,8 @@ GLPK=1 make day10 Day 11 built with clang v19.1.7 on NetBSD i386 crashes with memory error if built with -O2 or -O3 option. -O1 works fine. +Couldn't build day 10 on CM3+ because of missing GLPK library in my setup there. + Tested on different architectures and operating systems: - amd64: Ryzen 3900X with Fedora 43 @@ -18,6 +20,7 @@ Tested on different architectures and operating systems: - riscv64: Starfive VisionFive 2 board with Debian Bookworm/sid - ppc32: PowerPC G4 1.33GHz (iBook G4) with MacOS X 10.5.8 - arm64: Pinebook Pro with Manjaro-ARM 24.03 +- arm32: Raspberry Pi CM3+ Lite 1.2GHz with old raspbian I've used both gcc6 and gcc-mp-14 from ports on OSX; gcc6 binaries are slower. diff --git a/runtimes.plt b/runtimes.plt @@ -9,4 +9,4 @@ set style fill solid border -1 set logscale y set key top left outside -plot for [i=2:6] 'runtimes.txt' using i:xtic(1) title col +plot for [i=2:7] 'runtimes.txt' using i:xtic(1) title col diff --git a/runtimes.txt b/runtimes.txt @@ -1,13 +1,13 @@ -Day amd64 i386 powerpc riscv64 arm64 -01 0.0001 0.03 0.0025 0.0011 0.001 -02 0.14 3.53 4.74 9.6 4.83 -03 0.0002 0.05 0.0016 0.0017 0.001 -04 0.002 0.06 0.011 0.021 0.013 -05 0.003 0.06 0.003 0.0033 0.003 -06 0.0002 0.05 0.002 0.0022 0.001 -07 0.0001 0.09 0.0014 0.001 0.001 -08 0.45 29.6 8.9 3.04 2.62 -09 0.04 0.86 0.42 0.42 0.17 -10 0.12 2.19 0.40 0.80 0.46 -11 0.34 9.14 1.93 4.17 1.9 -12 0.0001 0.03 0.0037 0.0019 0.001 +Day amd64 i386 powerpc riscv64 arm64 arm32 +01 0.0001 0.03 0.0025 0.0011 0.001 0.001 +02 0.14 3.53 4.74 9.6 4.83 5.6 +03 0.0002 0.05 0.0016 0.0017 0.001 0.001 +04 0.002 0.06 0.011 0.021 0.013 0.012 +05 0.003 0.06 0.003 0.0033 0.003 0.003 +06 0.0002 0.05 0.002 0.0022 0.001 0.001 +07 0.0001 0.09 0.0014 0.001 0.001 0.001 +08 0.45 29.6 8.9 3.04 2.62 4.78 +09 0.04 0.86 0.42 0.42 0.17 0.72 +10 0.12 2.19 0.40 0.80 0.46 - +11 0.34 9.14 1.93 4.17 1.9 3.43 +12 0.0001 0.03 0.0037 0.0019 0.001 0.001