commit 8c88aa2a450636202d328bd697d0d2a6e6b7b0d9 parent 9939e5c982a6a56338831a5c28fc58408c32106e Author: Andrew Laack <andrew@laack.co> Date: Wed, 16 Sep 2026 16:41:37 -0500 Some benchmarking work Diffstat:
7 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile @@ -2,11 +2,9 @@ include config.mk # building actual program - debug-build: ${DCOMMAND_P} src/main.cpp ${DCOMMAND_S} -o abg.out - release-build: ${COMMAND_P} src/main.cpp ${COMMAND_S} -o abg.out man: diff --git a/benchmarking/bench.sh b/benchmarking/bench.sh @@ -0,0 +1,5 @@ +while [ 1 ]; do + /usr/bin/time -o out -f '%S,%U,%e' ./abg.out -s 0 --edges 10000 --vertices 1000 >/dev/null 2>&1 + cat out | tee -a benchmarking/fg_render_v_1000_e_10000_s_0/out.csv + sleep 10 +done diff --git a/benchmarking/fg_render_v_1000_e_10000_s_0/out.csv b/benchmarking/fg_render_v_1000_e_10000_s_0/out.csv @@ -0,0 +1,19 @@ +0.30,10.66,37.98 +0.30,10.90,34.43 +0.28,10.69,33.44 +0.30,10.92,33.93 +0.28,10.96,33.60 +0.33,10.72,34.13 +0.31,10.93,33.51 +0.30,10.90,33.46 +0.27,11.20,33.65 +0.34,10.88,33.20 +0.30,10.76,33.85 +0.28,11.03,33.01 +0.30,11.26,32.74 +0.26,10.78,33.41 +0.29,10.82,33.78 +0.29,10.75,33.48 +0.31,10.89,34.00 +0.29,10.87,33.54 +0.27,11.56,34.69 diff --git a/benchmarking/rlib-no-render.txt b/benchmarking/micro-sampling/rlib-no-render.txt diff --git a/benchmarking/rlib-no-vertex.txt b/benchmarking/micro-sampling/rlib-no-vertex.txt diff --git a/benchmarking/rlib-optimized-edge.txt b/benchmarking/micro-sampling/rlib-optimized-edge.txt diff --git a/benchmarking/rlib-prim.txt b/benchmarking/micro-sampling/rlib-prim.txt