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 15
15
with :
16
16
node-version : 15
17
17
- run : npm ci
18
- - run : npm run asbuild:untouched
18
+ - run : npm run asbuild
19
19
# Run benchmark with `go test -bench` and stores the output to a file
20
20
- name : Run benchmark
21
21
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");
6
6
const suite = new Benchmark . Suite ( ) ;
7
7
8
8
wasmModule = loader . instantiateSync (
9
- fs . readFileSync ( "./build/debug /assemblyscript-regex.wasm" ) ,
9
+ fs . readFileSync ( "./build/release /assemblyscript-regex.wasm" ) ,
10
10
{
11
11
env : {
12
12
log : ( ) => {
Original file line number Diff line number Diff line change 12
12
"prettier:write" : " prettier --write ." ,
13
13
"eslint:write" : " npm run eslint -- --fix " ,
14
14
"asbuild:untouched" : " asb --target debug" ,
15
- "asbuild:optimized" : " asb" ,
15
+ "asbuild:optimized" : " asb --exportRuntime " ,
16
16
"asbuild" : " npm run asbuild:untouched && npm run asbuild:optimized" ,
17
17
"tsrun" : " ts-node ts/index.ts" ,
18
18
"benchmark" : " node benchmark/benchmark.js" ,
You can’t perform that action at this time.
0 commit comments