fix profile git target

This commit is contained in:
2026-04-04 20:14:26 -07:00
parent 5f721e455d
commit 2643620a98

View File

@@ -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/*