chore: Makefile improvements and cleanup #2
2
Makefile
2
Makefile
@@ -29,7 +29,7 @@ explain: it
|
||||
@ mkdir -p profile
|
||||
@ ./lambda -x -p profile/cpu.prof - < ./samples/$(TEST).txt > program.out
|
||||
|
||||
graph:
|
||||
graph: profile
|
||||
@ go tool pprof -raw -output=profile/cpu.raw profile/cpu.prof
|
||||
@ go tool pprof -svg profile/cpu.prof > profile/cpu.svg
|
||||
@ echo "Profile graph saved to 'file://profile/cpu.svg'"
|
||||
|
||||
Reference in New Issue
Block a user