Skip to content

Commit 6561562

Browse files
authored
Merge pull request WebKit#142 from danleh/Dart-remove-unused-runner
Dart: Remove unused generated file, add comments
2 parents b3e3f76 + a0ae57b commit 6561562

File tree

5 files changed

+15
-433
lines changed

5 files changed

+15
-433
lines changed

Dart/benchmark.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
// Excerpt from `build/run_wasm.js` to add own task queue implementation, since
6-
// `setTimeout` and `queueMicrotask` are not always available in shells.
5+
// Excerpt from `wasm_gc_benchmarks/tools/run_wasm.js` to add own task queue
6+
// implementation, since `setTimeout` and `queueMicrotask` are not always
7+
// available in shells.
8+
// TODO: Now (2025-08-14) that all shells have `setTimeout` available, can we
9+
// remove this? Talk to Dart2wasm folks.
710
function addTaskQueue(self) {
811
"use strict";
912

Dart/build.log

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
-e Built on Wed Aug 13 13:03:46 CDT 2025
2-
Cloning into 'wasm_gc_benchmarks'...
3-
13951e1 Roll new version of flute and regenerate flute-based benchmarks
4-
Copying files from wasm_gc_benchmarks/ into build/
5-
Build success
1+
Built on Thu Aug 14 04:47:37 PM CEST 2025
2+
Cloning into 'wasm_gc_benchmarks'...
3+
13951e1 Roll new version of flute and regenerate flute-based benchmarks
4+
Copying files from wasm_gc_benchmarks/ into build/
5+
Build success

Dart/build.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ popd
1616

1717
echo "Copying files from wasm_gc_benchmarks/ into build/" | tee -a "$BUILD_LOG"
1818
mkdir -p build/ | tee -a "$BUILD_LOG"
19-
# Generic Dart2wasm runner.
20-
cp wasm_gc_benchmarks/tools/run_wasm.js build/ | tee -a "$BUILD_LOG"
2119
# Two Flute benchmark applications: complex and todomvc
2220
cp wasm_gc_benchmarks/benchmarks-out/flute.complex.dart2wasm.{mjs,wasm} build/ | tee -a "$BUILD_LOG"
2321
cp wasm_gc_benchmarks/benchmarks-out/flute.todomvc.dart2wasm.{mjs,wasm} build/ | tee -a "$BUILD_LOG"

0 commit comments

Comments
 (0)