Repository navigation
Conversation
Rebuild tsf-wasm, zlib-wasm, richards-wasm, argon2-wasm, HashSet-wasm, quicksort-wasm and gcc-loops-wasm with Emscripten 6.0.13 (Clang 24, Binaryen v133). The previous builds used emcc 3.1.73, 4.0.0 (argon2) and 4.0.15 (HashSet). The benchmark sources are unchanged. Build script changes: - Pass -sINCOMING_MODULE_JS_API=wasmBinary,print,printErr,preRun,postRun, noInitialRun. Emscripten 6.0.2 removed wasmBinary from the default list, and setting the list replaces the default. - gcc-loops: use em++. Emscripten 6.0.6 turned off DEFAULT_TO_CXX, so C++ programs must link with em++. - argon2: add HEAPU32 to EXPORTED_RUNTIME_METHODS. benchmark.js writes the salt through it, and Emscripten 4.0.7 stopped exporting the heap views by default. - zlib: build.sh downloads src/zpipe.c from zlib.net, now version 1.5, which changes only Windows code. Emscripten's zlib port moved from 1.2.13 to 1.3.2. Since Emscripten 4.0 the default browser targets include bulk memory and nontrapping float-to-int, so memcpy/memset compile to memory.copy and memory.fill, and float-to-int conversions use trunc_sat. Since 4.0.10, Wasm exports are called without JS trampolines. Score change, d8 15.9.60 / jsc 325217 / SpiderMonkey 160.0b3 (each test alone in a fresh shell, 6 rounds; higher is better): tsf-wasm +8.7% / -0.7% / -0.9% zlib-wasm +2.2% / +0.2% / +5.1% richards-wasm +1.7% / -0.5% / -1.0% argon2-wasm -2.4% / +3.3% / +0.1% HashSet-wasm +2.4% / +3.0% / +1.7% quicksort-wasm -3.1% / +0.8% / -2.8% gcc-loops-wasm +27.7% / +36.8% / +32.4% Geomean +4.9% / +5.5% / +4.4% Part of WebKit#277.
✅ Deploy Preview for webkit-jetstream-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #277.
Rebuild
tsf-wasm,zlib-wasm,richards-wasm,argon2-wasm,HashSet-wasm,quicksort-wasmandgcc-loops-wasmwith Emscripten 6.0.13 (Clang 24, Binaryen v133). The current builds use emcc 3.1.73, 4.0.0 (argon2) and 4.0.15 (HashSet). The benchmark sources do not change.To review (8 files, +13/−5; the other 28 files are
build.shoutput, and eachbuild.logrecords the emcc version):build.sh: pass-sINCOMING_MODULE_JS_API=wasmBinary,print,printErr,preRun,postRun,noInitialRun. Emscripten 6.0.2 droppedwasmBinaryfrom the default list, and setting the list replaces the default.gcc-loops-wasm/build.sh: link withem++. Emscripten 6.0.6 turned offDEFAULT_TO_CXX.argon2-wasm/build.sh: exportHEAPU32, whichbenchmark.jsuses to write the salt. Emscripten 4.0.7 stopped exporting the heap views by default.zlib-wasm/src/zpipe.c:build.shdownloads it from zlib.net, and version 1.5 changes only Windows code. Emscripten's zlib port moved from 1.2.13 to 1.3.2.Binaries: since Emscripten 4.0 the default targets include bulk memory and non-trapping float-to-int, so
memcpyandmemsetcompile tomemory.copyandmemory.fill. The seven workloads shrink by 88 KB in total (quicksort −23%, richards −20%, gcc-loops −10%).Engine requirements: bulk memory, non-trapping float-to-int, sign extension and BigInt integration, all shipped since Safari 15, Firefox 79 and Chrome 85.
Scores (measured on a Linux x64 workstation with
jsvushells, each test alone in a fresh shell, 6 rounds; change of the mean score, rounds won in parentheses, bold = statistically significant at 95% confidence; @kmiller68 may want to check on macOS / arm64):d8(15.9.60)jsc(325217)tsf-wasmzlib-wasmrichards-wasmargon2-wasmHashSet-wasmquicksort-wasmgcc-loops-wasmFirst and Average subscores
d8First / AveragejscFirst / Averagetsf-wasmzlib-wasmrichards-wasmargon2-wasmHashSet-wasmquicksort-wasmgcc-loops-wasmReproduce:
cd workloads/<name> && ./build.shwith emsdk 6.0.13 active. A rebuild reproduces all committed files bit for bit; only the date inbuild.logchanges.