From 1d27128b97af78a0503b6bd6eb11a777b3dc7c5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20A=C4=9Facan?= Date: Fri, 22 Aug 2025 11:56:51 +0100 Subject: [PATCH] Update benchmark builder to use -O2 with dart2wasm, add output dir to gitignore --- benchmarks/.gitignore | 1 + benchmarks/tool/compile_benchmarks.dart | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/benchmarks/.gitignore b/benchmarks/.gitignore index a6779a9f..c51934f7 100644 --- a/benchmarks/.gitignore +++ b/benchmarks/.gitignore @@ -3,3 +3,4 @@ pubspec.lock lib/generated/ +out/ diff --git a/benchmarks/tool/compile_benchmarks.dart b/benchmarks/tool/compile_benchmarks.dart index 443dc890..267a207a 100755 --- a/benchmarks/tool/compile_benchmarks.dart +++ b/benchmarks/tool/compile_benchmarks.dart @@ -215,7 +215,7 @@ List wasmProcessArgs(String sourceFile) { 'compile', 'wasm', sourceFile, - '-O4', + '-O2', '-o', 'out/$baseNameNoExt.wasm', ];