feat: observer pattern for statistics

This commit is contained in:
2025-12-29 00:51:50 -05:00
parent e9dc3fe171
commit c2b397a9f6
11 changed files with 165 additions and 70 deletions

View File

@@ -5,16 +5,16 @@ it:
@ chmod +x ${BINARY_NAME}
simple: it
@ ./lambda.exe -p profile/simple.prof - < ./samples/simple.txt > program.out
@ ./lambda.exe -p profile/cpu.prof - < ./samples/simple.txt > program.out
thunk: it
@ ./lambda.exe - < ./samples/thunk.txt > program.out
@ ./lambda.exe -p profile/cpu.prof - < ./samples/thunk.txt > program.out
saccharine: it
@ ./lambda.exe - < ./samples/saccharine.txt > program.out
@ ./lambda.exe -p profile/cpu.prof - < ./samples/saccharine.txt > program.out
church: it
@ ./lambda.exe - < ./samples/church.txt > program.out
@ ./lambda.exe -p profile/cpu.prof - < ./samples/church.txt > program.out
prof:
@ go tool pprof -top profile/cpu.prof