feat: push outputs to file
This commit is contained in:
11
Makefile
11
Makefile
@@ -5,16 +5,16 @@ it:
|
|||||||
@ chmod +x ${BINARY_NAME}
|
@ chmod +x ${BINARY_NAME}
|
||||||
|
|
||||||
simple: it
|
simple: it
|
||||||
@ ./lambda.exe - < ./samples/simple.txt
|
@ ./lambda.exe - < ./samples/simple.txt > program.out
|
||||||
|
|
||||||
thunk: it
|
thunk: it
|
||||||
@ ./lambda.exe - < ./samples/thunk.txt
|
@ ./lambda.exe - < ./samples/thunk.txt > program.out
|
||||||
|
|
||||||
saccharine: it
|
saccharine: it
|
||||||
@ ./lambda.exe - < ./samples/saccharine.txt
|
@ ./lambda.exe - < ./samples/saccharine.txt > program.out
|
||||||
|
|
||||||
church: it
|
church: it
|
||||||
@ ./lambda.exe - < ./samples/church.txt
|
@ ./lambda.exe - < ./samples/church.txt > program.out
|
||||||
|
|
||||||
prof:
|
prof:
|
||||||
@ go tool pprof -top profile/cpu.prof
|
@ go tool pprof -top profile/cpu.prof
|
||||||
@@ -23,6 +23,3 @@ graph:
|
|||||||
@ go tool pprof -raw -output=profile/cpu.raw profile/cpu.prof
|
@ go tool pprof -raw -output=profile/cpu.raw profile/cpu.prof
|
||||||
@ go tool pprof -svg profile/cpu.prof > profile/cpu.svg
|
@ go tool pprof -svg profile/cpu.prof > profile/cpu.svg
|
||||||
@ open profile/cpu.svg
|
@ open profile/cpu.svg
|
||||||
|
|
||||||
saccharineX: it
|
|
||||||
@ ./lambda.exe -x - < ./samples/saccharine.txt > saccharine.out
|
|
||||||
|
|||||||
Reference in New Issue
Block a user