feat: improve reduction algorithm with LIFO-based iterator #15

Merged
mvhutz merged 7 commits from feat/lifo-improvements into main 2026-01-12 02:16:07 +00:00
Showing only changes of commit 1dd62da39a - Show all commits

View File

@@ -21,13 +21,13 @@ build:
chmod +x ${BINARY_NAME} chmod +x ${BINARY_NAME}
run: build run: build
./${BINARY_NAME} -s -f ./samples/$(TEST).txt -o program.out ./${BINARY_NAME} -s -f ./tests/$(TEST).test -o program.out
profile: build profile: build
./${BINARY_NAME} -p profile/cpu.prof -f ./samples/$(TEST).txt -o program.out ./${BINARY_NAME} -p profile/cpu.prof -f ./tests/$(TEST).test -o program.out
explain: build explain: build
./${BINARY_NAME} -x -p profile/cpu.prof -f ./samples/$(TEST).txt -o program.out ./${BINARY_NAME} -x -p profile/cpu.prof -f ./tests/$(TEST).test -o program.out > explain.out
graph: graph:
go tool pprof -raw -output=profile/cpu.raw profile/cpu.prof go tool pprof -raw -output=profile/cpu.raw profile/cpu.prof