Skip to content

Commit 71e0778

Browse files
committed
chore: update profile script [skip ci]
1 parent b323844 commit 71e0778

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"clean": "shx rm -rf dist",
2222
"build.native": "dub build --config=executable",
2323
"build.native.release": "pnpm build.native -- --build release-nobounds --compiler=ldc2",
24-
"build.native.profile": "pnpm build.native -- --build profile --compiler=ldc2",
25-
"start.profile": "cd dist && minijson.exe --file ../test/fixtures/0.4.2.json && profdump.exe --dot trace.log trace.dot && dot -Tsvg trace.dot -o trace.svg && ./trace.svg",
24+
"build.native.profile": "pnpm build.native -- --build profile --compiler=ldc2 && node ./src/node/build.js",
25+
"start.profile": "npm run start.benchmark && profdump.exe --dot trace.log trace.dot && dot -Tsvg trace.dot -o trace.svg && ./trace.svg",
2626
"build.node": "npm run build.native.release && node ./src/node/build.js && (tsc -p ./src/node/tsconfig.json || echo done)",
2727
"build.wasm": "ldc2 ./src/wasm/wasm.d ./src/native/lib.d --od ./dist --O3 --mtriple=wasm32-unknown-unknown-wasm",
2828
"build.browser": "npm run build.wasm && parcel build --target browser ./src/browser/index.html",

0 commit comments

Comments
 (0)