@@ -4,9 +4,9 @@ export NO_COLOR=1
44echo " ## Example file ` demo.ts`
55
66<details>
7- <summary>Output </summary>
7+ <summary>Content </summary>
88
9- \`\`\`
9+ \`\`\` ts
1010$( cat demo.ts)
1111\`\`\`
1212</details>
@@ -41,27 +41,15 @@ echo "::group::Run benchmarks"
4141
4242echo " ## Benchmark files" >> $GITHUB_STEP_SUMMARY
4343
44- ./tsc-go/built/local/tsgo --help
45- ./tsc-go/built/local/tsgo tsc --help
46-
47- hyperfine -i \
48- ' ./ezno/target/release/ezno check ./demo.ts' \
49- ' ./tsc-go/built/local/tsgo tsc -skipLibCheck ./demo.ts' \
50- ' tsc --pretty --skipLibCheck --noEmit --jsx preserve ./demo.ts'
51-
52- hyperfine -i \
53- ' ./ezno/target/release/ezno check ./large.ts' \
54- ' ./tsc-go/built/local/tsgo tsc -skipLibCheck ./large.ts' \
55- ' tsc --pretty --skipLibCheck --noEmit --jsx preserve ./large.ts'
56-
5744# Ezno and TSC
5845echo " ##### ` demo.ts`
5946
6047\`\`\`
6148$( hyperfine -i \
6249 ' ./ezno/target/release/ezno check ./demo.ts' \
63- ' ./tsc-go/built/local/tsgo tsc -skipLibCheck ./demo.ts' \
64- ' tsc --pretty --skipLibCheck --noEmit --jsx preserve ./demo.ts'
50+ ' ./tsc-go/built/local/tsgo tsc -skipLibCheck -pretty -noEmit ./demo.ts' \
51+ ' ./tsc-go/built/local/tsgo tsc -skipLibCheck -pretty -noEmit -singleThreaded ./demo.ts' \
52+ ' tsc --pretty --skipLibCheck --noEmit ./demo.ts'
6553)
6654\`\`\`
6755
@@ -70,19 +58,32 @@ $(hyperfine -i \
7058\`\`\`
7159$( hyperfine -i \
7260 ' ./ezno/target/release/ezno check ./large.ts' \
73- ' ./tsc-go/built/local/tsgo tsc -skipLibCheck ./large.ts' \
74- ' tsc --pretty --skipLibCheck --noEmit --jsx preserve ./large.ts'
61+ ' ./tsc-go/built/local/tsgo tsc -skipLibCheck -pretty -noEmit ./large.ts' \
62+ ' ./tsc-go/built/local/tsgo tsc -skipLibCheck -pretty -noEmit -singleThreaded ./large.ts' \
63+ ' tsc --pretty --skipLibCheck --noEmit ./large.ts'
7564)
7665\`\`\`
7766" >> $GITHUB_STEP_SUMMARY
7867
7968# ## Valgrind
8069valgrind --log-file=" ezno-mem.txt" ./ezno/target/release/ezno check ./demo.ts
8170valgrind --log-file=" tsc-go-mem.txt" ./tsc-go/built/local/tsgo tsc -skipLibCheck ./demo.ts
82- valgrind --log-file=" tsc-mem.txt" tsc --pretty --skipLibCheck --noEmit --jsx preserve ./demo.ts
71+ valgrind --log-file=" tsc-mem.txt" tsc --pretty --skipLibCheck --noEmit ./demo.ts
8372
8473echo " ## Memory usage
8574
75+ <details>
76+ <summary>Comparison</summary>
77+
78+ \`\`\`
79+ $( ./incredible-serious-memory-benchmark-tool ' ./ezno/target/release/ezno check ./large.ts' \
80+ ' ./tsc-go/built/local/tsgo tsc -skipLibCheck ./large.ts' \
81+ ' tsc --pretty --skipLibCheck --noEmit ./large.ts' )
82+ \`\`\`
83+ </details>
84+
85+ Valgrind
86+
8687<details>
8788<summary>ezno memory</summary>
8889
0 commit comments