Skip to content

Commit 213268c

Browse files
committed
Add comment on tinygo leaking gc selection
1 parent bc1738b commit 213268c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

benchmarks/tinygo/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ for dir in */; do
2323

2424
cd "$dir"
2525

26-
# Build with TinyGo
26+
# Build with TinyGo; gc is disabled (leaking gc) to reduce noise and match common usage
27+
# in some serverless environments.
2728
"$TINYGO" build -o "$OUTPUT_DIR/tinygo-$benchmark.wasm" -target=wasi -opt=2 -gc=leaking .
2829

2930
cd "$SCRIPT_DIR"

0 commit comments

Comments
 (0)