File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1515 with :
1616 node-version : 15
1717 - run : npm ci
18- - run : npm run asbuild:untouched
18+ - run : npm run asbuild
1919 # Run benchmark with `go test -bench` and stores the output to a file
2020 - name : Run benchmark
2121 run : npm run benchmark | tee benchmark/output.txt
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const Benchmark = require("benchmark");
66const suite = new Benchmark . Suite ( ) ;
77
88wasmModule = loader . instantiateSync (
9- fs . readFileSync ( "./build/debug /assemblyscript-regex.wasm" ) ,
9+ fs . readFileSync ( "./build/release /assemblyscript-regex.wasm" ) ,
1010 {
1111 env : {
1212 log : ( ) => {
Original file line number Diff line number Diff line change 1212 "prettier:write" : " prettier --write ." ,
1313 "eslint:write" : " npm run eslint -- --fix " ,
1414 "asbuild:untouched" : " asb --target debug" ,
15- "asbuild:optimized" : " asb" ,
15+ "asbuild:optimized" : " asb --exportRuntime " ,
1616 "asbuild" : " npm run asbuild:untouched && npm run asbuild:optimized" ,
1717 "tsrun" : " ts-node ts/index.ts" ,
1818 "benchmark" : " node benchmark/benchmark.js" ,
You can’t perform that action at this time.
0 commit comments