@threadedstack/wmd-web 0.1.66 → 0.1.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/RELEASE.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wmd-web",
3
3
  "version": "0.5.1",
4
- "commit": "27e6ef5f3614eda546dfb666d5ec44ae1bdd2e15",
4
+ "commit": "2b8b34ec9bbd4a90bd74021c090e4c4bb957030e",
5
5
  "previous": null,
6
6
  "decisions": [
7
7
  "D-388",
@@ -86,7 +86,9 @@
86
86
  "D-690",
87
87
  "D-691",
88
88
  "D-692",
89
- "D-697"
89
+ "D-697",
90
+ "D-700",
91
+ "D-701"
90
92
  ],
91
93
  "vmSources": "9ce8e5780fdf400f0c6529f1d06e2d97a0d82fed",
92
94
  "guest": {
@@ -188,7 +190,7 @@
188
190
  "package.json": "6de9aa9fabdb395651d39997c17e094f01a574f54a36f0af31bd3ffaae53cda1",
189
191
  "src/base.js": "c79df2c3d4a6519fb9a6ef5cda39d66a5b9bc1a6dd009d21e7455e141943079f",
190
192
  "src/blob.js": "bb2a2f0d87ce236280a7be2f246c926010dfe07f649c27da5e70d8eb5eaf7061",
191
- "src/boot.js": "1aa22abf041e02bac5f4edb34d749b02d2eb2fdb175786be28b8aae856d7ca55",
193
+ "src/boot.js": "4fc602d67967b3ffe85f1c251d8d6717ce50f6451f8dccb54fde10b6c73816a5",
192
194
  "src/build/builder.js": "57a8436acc00147d031a42cccffe508f8deb3735b0ab4f9efcc2aa1cf7c6859c",
193
195
  "src/build/context.js": "d38097c61dbdadc4d41290c010425a4422f499aba473fa2b83f2a5c41e543571",
194
196
  "src/build/dockerfile.js": "5957fe3d4ac8ff8b312f980ee04bd1d98ad4373a61f9a33e02f1ff1108b6ea53",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@threadedstack/wmd-web",
3
- "version": "0.1.66",
3
+ "version": "0.1.67",
4
4
  "license": "MIT",
5
5
  "homepage": "https://github.com/threadedstack/wmd-releases",
6
6
  "repository": {
@@ -9,8 +9,8 @@
9
9
  },
10
10
  "description": "Browser host for wmd's guest vm.wasm (Web Workers + shared memory + WASI preview1)",
11
11
  "wmd": {
12
- "tag": "v0.1.66",
13
- "commit": "27e6ef5f3614eda546dfb666d5ec44ae1bdd2e15",
12
+ "tag": "v0.1.67",
13
+ "commit": "2b8b34ec9bbd4a90bd74021c090e4c4bb957030e",
14
14
  "web": "0.5.1"
15
15
  },
16
16
  "type": "module",
package/src/boot.js CHANGED
@@ -753,8 +753,8 @@ export function fmaFuses() {
753
753
  * W32: the environment vm.wasm starts with in this browser: vmEnv's, plus
754
754
  * WMD_JIT_THRESHOLD=WEBKIT_JIT_THRESHOLD and D-551's WMD_MIRROR_DEPTH=WEBKIT_MIRROR_DEPTH in WebKit, W30's WMD_TRACE_MAX for the engine and
755
755
  * W33's WMD_RESCUE_MS, D-539's WMD_FMA_FUSED=1 where the engine fuses relaxed_madd (fmaFuses) and, in
756
- * Chromium, D-542's WMD_RGN_DUP=1 (regions copy sampled-hot compiled blocks of their page; Firefox's go ran
757
- * slower with it, WebKit did not move), each unless the caller sets it. Kept out of the boot key (bootKeyOf hashes vmEnv's list), so a checkpoint or base
756
+ * Chromium and Firefox, D-542's WMD_RGN_DUP=1 (regions copy sampled-hot compiled blocks of their page; Firefox's go no
757
+ * longer runs slower with it, D-701; WebKit did not move), each unless the caller sets it. Kept out of the boot key (bootKeyOf hashes vmEnv's list), so a checkpoint or base
758
758
  * snapshot made in one engine restores in another; a restored machine keeps the settings it started with, but
759
759
  * its FMA follows the restoring page (machine_fma_env). A checkpoint taken with WMD_FMA_FUSED=1 records
760
760
  * fmaFused, and an engine that does not fuse refuses it (checkCheckpointFits), as its blocks may hold
@@ -769,7 +769,7 @@ export function browserEnv(env, nav = globalThis.navigator, fused = fmaFuses())
769
769
  if (!has('WMD_TAIL') && !BROWSER_TAIL[engineOf(nav)]) add.push('WMD_TAIL=0') // S7.2
770
770
  if (!has('WMD_RESCUE_MS')) add.push(`WMD_RESCUE_MS=${BROWSER_RESCUE_MS}`)
771
771
  if (!has('WMD_FMA_FUSED') && fused) add.push('WMD_FMA_FUSED=1') // D-539
772
- if (engineOf(nav) === 'blink' && !has('WMD_RGN_DUP')) add.push('WMD_RGN_DUP=1') // D-542: proven in Chromium only
772
+ if (engineOf(nav) !== 'webkit' && !has('WMD_RGN_DUP')) add.push('WMD_RGN_DUP=1') // D-542 (Chromium), D-701 (Firefox: lua -7 to -9% in 2 of 3 pairs, nothing slower); WebKit did not move
773
773
  if (engineOf(nav) === 'blink' && !has('WMD_I32ADDR')) add.push('WMD_I32ADDR=1') // D-697: faster in Chromium only
774
774
  return add.length ? [...env, ...add] : env
775
775
  }
@@ -2,7 +2,7 @@
2
2
  // The files of node in the sandboxed frame: the path under a source (the option edge: { sources } of bootWmd), the role the frame gives the file, its
3
3
  // sha256 and its size. The page accepts a file only when it has exactly this sha256 and size. The notice files travel with the rest.
4
4
  // EDGE_PACKAGE is the package that holds these files, for the {name} {version} {file} of a registry source's url (null: none named).
5
- export const EDGE_PACKAGE = { name: '@threadedstack/wmd-node', version: '0.1.66' }
5
+ export const EDGE_PACKAGE = { name: '@threadedstack/wmd-node', version: '0.1.67' }
6
6
  export const EDGE_PINS = [
7
7
  { path: 'wmd_browser_bg.wasm', role: 'wasm', sha256: '1e3db7f2c5f4be0ee44e5f2c0205cf8ca11f906d9addd5512915fad4821661c2', size: 6334959 },
8
8
  { path: 'wmd_browser.js', role: 'glue', sha256: 'b389b072096881ba39b22cd705d3a230af02acc5409c61fb4f997d1081c4df6f', size: 75647 },
package/wmdpack.wasm CHANGED
Binary file