Reorganize workloads into a top-level workloads/ directory - #318
harini9803 wants to merge 3 commits into
Conversation
Pure cleanup/reorg; no workload changed materially. - Move every workload under workloads/. - Each workload gets its own subdirectory named exactly after its registered name, except closely-related workloads that share files (ARES-6, Octane, RexBench, SeaMonster, SunSpider, bigint, proxy, code-load, babylonjs, prismjs, transformersjs, Dart, dotnet, tfjs-wasm, intl, web-tooling-benchmark). - Drop the wasm/ grouping; Wasm workloads now sit next to the JS ones. Renamed to match workload names: wasm/HashSet -> HashSet-wasm, wasm/TSF -> tsf-wasm, wasm/quicksort -> quicksort-wasm, wasm/gcc-loops -> gcc-loops-wasm, wasm/richards -> richards-wasm, wasm/argon2 -> argon2-wasm, wasm/zlib -> zlib-wasm, wasm/j2cl-box2d -> j2cl-box2d-wasm, wasm/dotnet -> dotnet, sqlite3 -> sqlite3-wasm, 8bitbench -> 8bitbench-wasm, Kotlin-compose -> Kotlin-compose-wasm, mobx -> mobx-startup, TypeScript -> typescript-lib, ARES-6/ml -> ARES-6/ML. Split directories whose workloads shared no files: simple/, generators/, class-fields/, worker/. Updated path references in JetStreamDriver.js, in-depth.html, .prettierignore, .gitignore, tests/run-license.mjs, four webpack.config.mjs files (../utils -> ../../utils), and the root-relative paths hardcoded inside workload sources: transformersjs/benchmark.js (localModelPath, onnx mjs prefix), tfjs-wasm/tfjs.js (WASM_TFJS_DIR), zlib-wasm/shell.js.
✅ Deploy Preview for webkit-jetstream-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
@danleh Pushed a fix for the Test Build failure -Verified the build locally. Needs your approval again to run the workflows. |
|
(Sorry for the late reply.) Review is WIP but a first status update: Of the 926 changed files, only 15 are non-trivial (i.e., not just file renames, but also some content changes, see
Missed things during the reorganiziation/renaming:AI tells me that a few
Can you fix those? |
There was a problem hiding this comment.
I looked at all modified files and LGTM modulo the small missed things in the patch files (see comment above). As a double-check I am also locally comparing scores before and after (still running...) but no reason to expect any changes... @eqrion @kmiller68 Feel free to review as well or locally benchmark, I'm happy to merge this after you give the OK.
|
Compared scores before and after, looking good as well (as expected,
|
|
Fixed in 5f76c1a - all four patch files now use workloads/-prefixed paths in their diff headers. Worth flagging that these were failing silently: git apply run from a subdirectory ignores patches whose paths fall outside that directory and still exits 0, so the builds would have skipped the patches with no error. Verified with git apply --reverse --check --verbose - the old headers processed 0 patches, the new ones process 1 each and reverse-apply cleanly against the committed build outputs. Left empty-main-function.patch and use-beta-toolchain.patch alone since those apply inside the cloned compose-multiplatform repo. |
Fixes #276.
Pure cleanup/reorg — no workload was changed materially.
workloads/.name, except closely-related workloads that share files (ARES-6, Octane,
RexBench, SeaMonster, SunSpider, bigint, proxy, code-load, babylonjs,
prismjs, transformersjs, Dart, dotnet, tfjs-wasm, intl,
web-tooling-benchmark).
wasm/grouping is gone; Wasm workloads sit next to the JS ones.simple/,generators/,class-fields/andworker/were split, sincetheir workloads shared no files.
912 of the 926 changed files are pure renames. Content edits are limited to
five root files (
JetStreamDriver.js,in-depth.html,.prettierignore,.gitignore,tests/run-license.mjs) and nine workload files: fourwebpack.config.mjs(../utils->../../utils), three sources withhardcoded root-relative paths (below), plus a stale comment in
argon2-wasm/benchmark.jsand a stale link indotnet/README.md.Testing
test:chrome -- default— 77 benchmarks, 0 failurestest:chrome -- disabled— 17 benchmarks, 0 failurestest:in-depth— 4/4, incl. the relative-link checktest:license— passes; verified no files silently dropped from checkingprettier— unchanged (same pre-existing warnings asmain)proxy-mobx, groupedSunSpider,and
argon2-wasm— the last one exercises the compressed-resource path thatloads
zlib-wasm/shell.js.Firefox/Safari, and the jsc/spidermonkey shells, are left to CI.
Notes for review
paths hardcoded inside them — invisible to the driver's
files/preloadlists:
transformersjs/benchmark.js(localModelPathand the ONNXmjsprefix),
tfjs-wasm/tfjs.js(WASM_TFJS_DIR), andzlib-wasm/shell.js(shell-only zlib polyfill).
test:buildtriggers on changed directories, and every workload directorymoved, so CI will rebuild all 8 buildable workloads — expect a long run.
wasm/tsf.js/wasm/tsf.wasmare unreferenced leftovers from the initialWebKit import, superseded by
tsf-wasm/build/. I moved rather than deletedthem — happy to drop them in a follow-up if you'd prefer.
RexBench/sunspider_benchmark.jsreferencesSunSpider/...; it's a legacystandalone harness not registered in
BENCHMARKS, and that path was alreadybroken before this change, so I left it alone.