fix profile git target
This commit is contained in:
10
Makefile
10
Makefile
@@ -27,10 +27,12 @@ vscode-lsp vscode: lsp
|
|||||||
playground: .PHONY
|
playground: .PHONY
|
||||||
cd playground && ./build
|
cd playground && ./build
|
||||||
|
|
||||||
profile: .PHONY
|
# prettify newt2 (the version built by latest newt) and run a profile on it
|
||||||
rm isolate* build/*
|
profile: .PHONY build/newt.js build/newt2.js
|
||||||
node --prof build/newt.js -o build/newt2.js src/Main.newt
|
rm -f isolate*
|
||||||
node --prof-process isolate* > profile.txt
|
prettier -w build/newt2.js --ignore-path junk.js
|
||||||
|
node --prof build/newt2.js -o build/newt3.js src/Main.newt
|
||||||
|
node --prof-process isolate* > build/profile.txt
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm build/*
|
rm build/*
|
||||||
|
|||||||
Reference in New Issue
Block a user