chore: update snapshots

This commit is contained in:
magic-akari 2024-01-30 20:14:26 +08:00
parent 3dbbe2fe1b
commit d2d8053446
No known key found for this signature in database
GPG Key ID: EC005B1159285BDD
4 changed files with 50 additions and 41 deletions

View File

@ -324,13 +324,16 @@ module.exports = __webpack_require__.v(exports, module.id, "ffe21e855d11d22ab54f
/******/ return req.then((res) => {
/******/ if (typeof WebAssembly.instantiateStreaming === "function") {
/******/ return WebAssembly.instantiateStreaming(res, importsObj)
/******/ .catch((e) => {
/******/ if(res.headers.get("Content-Type") !== "application/wasm") {
/******/ console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
/******/ return fallback();
/******/ .then(
/******/ (res) => (Object.assign(exports, res.instance.exports)),
/******/ (e) => {
/******/ if(res.headers.get("Content-Type") !== "application/wasm") {
/******/ console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
/******/ return fallback();
/******/ }
/******/ throw e;
/******/ }
/******/ throw e;
/******/ });
/******/ );
/******/ }
/******/ return fallback();
/******/ });
@ -364,10 +367,10 @@ module.exports = __webpack_require__.v(exports, module.id, "ffe21e855d11d22ab54f
```
asset ffe21e855d11d22ab54f.wasm 14.8 KiB [emitted] [immutable] (auxiliary name: main)
asset output.js 13.3 KiB [emitted] (name: main)
chunk (runtime: main) output.js (main) 3.03 KiB (javascript) 14.8 KiB (webassembly) 3.61 KiB (runtime) [entry] [rendered]
asset output.js 13.4 KiB [emitted] (name: main)
chunk (runtime: main) output.js (main) 3.03 KiB (javascript) 14.8 KiB (webassembly) 3.68 KiB (runtime) [entry] [rendered]
> ./example.js main
runtime modules 3.61 KiB 6 modules
runtime modules 3.68 KiB 6 modules
dependent modules 2.97 KiB (javascript) 14.8 KiB (webassembly) [dependent] 2 modules
./example.js 69 bytes [built] [code generated]
[no exports]
@ -380,10 +383,10 @@ webpack 5.90.0 compiled successfully
```
asset f7199313c1125f249cd6.wasm 14.8 KiB [emitted] [immutable] (auxiliary name: main)
asset output.js 3.37 KiB [emitted] [minimized] (name: main)
chunk (runtime: main) output.js (main) 3.03 KiB (javascript) 14.8 KiB (webassembly) 3.34 KiB (runtime) [entry] [rendered]
asset output.js 3.41 KiB [emitted] [minimized] (name: main)
chunk (runtime: main) output.js (main) 3.03 KiB (javascript) 14.8 KiB (webassembly) 3.42 KiB (runtime) [entry] [rendered]
> ./example.js main
runtime modules 3.34 KiB 5 modules
runtime modules 3.42 KiB 5 modules
dependent modules 2.97 KiB (javascript) 14.8 KiB (webassembly) [dependent] 2 modules
./example.js 69 bytes [built] [code generated]
[no exports]

View File

@ -368,13 +368,16 @@ function getRandomNumber() {
/******/ return req.then((res) => {
/******/ if (typeof WebAssembly.instantiateStreaming === "function") {
/******/ return WebAssembly.instantiateStreaming(res, importsObj)
/******/ .catch((e) => {
/******/ if(res.headers.get("Content-Type") !== "application/wasm") {
/******/ console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
/******/ return fallback();
/******/ .then(
/******/ (res) => (Object.assign(exports, res.instance.exports)),
/******/ (e) => {
/******/ if(res.headers.get("Content-Type") !== "application/wasm") {
/******/ console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
/******/ return fallback();
/******/ }
/******/ throw e;
/******/ }
/******/ throw e;
/******/ });
/******/ );
/******/ }
/******/ return fallback();
/******/ });
@ -407,11 +410,11 @@ function getRandomNumber() {
## Unoptimized
```
asset output.js 13.7 KiB [emitted] (name: main)
asset output.js 13.8 KiB [emitted] (name: main)
asset daa529a2a650ee3943a9.module.wasm 139 bytes [emitted] [immutable] (auxiliary name: main)
chunk (runtime: main) output.js (main) 696 bytes (javascript) 139 bytes (webassembly) 3.61 KiB (runtime) [entry] [rendered]
chunk (runtime: main) output.js (main) 696 bytes (javascript) 139 bytes (webassembly) 3.69 KiB (runtime) [entry] [rendered]
> ./example.js main
runtime modules 3.61 KiB 6 modules
runtime modules 3.69 KiB 6 modules
dependent modules 449 bytes (javascript) 139 bytes (webassembly) [dependent] 4 modules
./example.js 247 bytes [built] [code generated]
[no exports]
@ -423,11 +426,11 @@ webpack 5.90.0 compiled successfully
## Production mode
```
asset output.js 2.77 KiB [emitted] [minimized] (name: main)
asset output.js 2.81 KiB [emitted] [minimized] (name: main)
asset 05aa07f6a3836ded50d1.module.wasm 139 bytes [emitted] [immutable] (auxiliary name: main)
chunk (runtime: main) output.js (main) 696 bytes (javascript) 139 bytes (webassembly) 3.35 KiB (runtime) [entry] [rendered]
chunk (runtime: main) output.js (main) 696 bytes (javascript) 139 bytes (webassembly) 3.42 KiB (runtime) [entry] [rendered]
> ./example.js main
runtime modules 3.35 KiB 5 modules
runtime modules 3.42 KiB 5 modules
dependent modules 449 bytes (javascript) 139 bytes (webassembly) [dependent] 4 modules
./example.js 247 bytes [built] [code generated]
[no exports]

View File

@ -331,13 +331,16 @@ module.exports = __webpack_require__.v(exports, module.id, "5a6637e8d63cdf9c72da
/******/ return req.then((res) => {
/******/ if (typeof WebAssembly.instantiateStreaming === "function") {
/******/ return WebAssembly.instantiateStreaming(res, importsObj)
/******/ .catch((e) => {
/******/ if(res.headers.get("Content-Type") !== "application/wasm") {
/******/ console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
/******/ return fallback();
/******/ .then(
/******/ (res) => (Object.assign(exports, res.instance.exports)),
/******/ (e) => {
/******/ if(res.headers.get("Content-Type") !== "application/wasm") {
/******/ console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
/******/ return fallback();
/******/ }
/******/ throw e;
/******/ }
/******/ throw e;
/******/ });
/******/ );
/******/ }
/******/ return fallback();
/******/ });
@ -370,13 +373,13 @@ module.exports = __webpack_require__.v(exports, module.id, "5a6637e8d63cdf9c72da
## Unoptimized
```
asset output.js 13.1 KiB [emitted] (name: main)
asset output.js 13.2 KiB [emitted] (name: main)
asset 5a6637e8d63cdf9c72da.wasm 67 bytes [emitted] [immutable] (auxiliary name: main)
asset 35a58b7c95860d720a3c.wasm 62 bytes [emitted] [immutable] (auxiliary name: main)
asset 0eaeab8b9fa3cef100d1.wasm 41 bytes [emitted] [immutable] (auxiliary name: main)
chunk (runtime: main) output.js (main) 1.27 KiB (javascript) 170 bytes (webassembly) 3.61 KiB (runtime) [entry] [rendered]
chunk (runtime: main) output.js (main) 1.27 KiB (javascript) 170 bytes (webassembly) 3.68 KiB (runtime) [entry] [rendered]
> ./example.js main
runtime modules 3.61 KiB 6 modules
runtime modules 3.68 KiB 6 modules
dependent modules 552 bytes (javascript) 170 bytes (webassembly) [dependent] 4 modules
./example.js 753 bytes [built] [code generated]
[no exports]
@ -388,13 +391,13 @@ webpack 5.90.0 compiled successfully
## Production mode
```
asset output.js 2.85 KiB [emitted] [minimized] (name: main)
asset output.js 2.89 KiB [emitted] [minimized] (name: main)
asset 67aca7a09456080b5120.wasm 67 bytes [emitted] [immutable] (auxiliary name: main)
asset 36825f9224dde8d88de0.wasm 62 bytes [emitted] [immutable] (auxiliary name: main)
asset 10cff76bc58b7aa8f9cb.wasm 41 bytes [emitted] [immutable] (auxiliary name: main)
chunk (runtime: main) output.js (main) 1.27 KiB (javascript) 170 bytes (webassembly) 3.34 KiB (runtime) [entry] [rendered]
chunk (runtime: main) output.js (main) 1.27 KiB (javascript) 170 bytes (webassembly) 3.42 KiB (runtime) [entry] [rendered]
> ./example.js main
runtime modules 3.34 KiB 5 modules
runtime modules 3.42 KiB 5 modules
dependent modules 552 bytes (javascript) 170 bytes (webassembly) [dependent] 4 modules
./example.js 753 bytes [built] [code generated]
[no exports]

View File

@ -4758,8 +4758,8 @@ webpack x.x.x compiled with 1 warning in X ms"
`;
exports[`StatsTestCases should print correct stats for wasm-explorer-examples-sync 1`] = `
"assets by path *.js 22.2 KiB
asset bundle.js 16.7 KiB [emitted] (name: main)
"assets by path *.js 22.3 KiB
asset bundle.js 16.8 KiB [emitted] (name: main)
asset 325.bundle.js 3.89 KiB [emitted]
asset 795.bundle.js 557 bytes [emitted]
asset 526.bundle.js 364 bytes [emitted] (id hint: vendors)
@ -4775,8 +4775,8 @@ assets by path *.wasm 1.37 KiB
asset 0301cb3f9f4151b567f5.module.wasm 120 bytes [emitted] [immutable]
chunk (runtime: main) 20.bundle.js 50 bytes (javascript) 531 bytes (webassembly) [rendered]
./duff.wasm 50 bytes (javascript) 531 bytes (webassembly) [built] [code generated]
chunk (runtime: main) bundle.js (main) 586 bytes (javascript) 9.52 KiB (runtime) [entry] [rendered]
runtime modules 9.52 KiB 11 modules
chunk (runtime: main) bundle.js (main) 586 bytes (javascript) 9.59 KiB (runtime) [entry] [rendered]
runtime modules 9.59 KiB 11 modules
./index.js 586 bytes [built] [code generated]
chunk (runtime: main) 189.bundle.js 50 bytes (javascript) 156 bytes (webassembly) [rendered]
./Q_rsqrt.wasm 50 bytes (javascript) 156 bytes (webassembly) [built] [code generated]
@ -4790,7 +4790,7 @@ chunk (runtime: main) 526.bundle.js (id hint: vendors) 34 bytes [rendered] split
chunk (runtime: main) 795.bundle.js 110 bytes (javascript) 444 bytes (webassembly) [rendered]
./fact.wasm 50 bytes (javascript) 154 bytes (webassembly) [built] [code generated]
./fast-math.wasm 60 bytes (javascript) 290 bytes (webassembly) [built] [code generated]
runtime modules 9.52 KiB 11 modules
runtime modules 9.59 KiB 11 modules
cacheable modules 2.31 KiB (javascript) 1.37 KiB (webassembly)
webassembly modules 310 bytes (javascript) 1.37 KiB (webassembly)
./Q_rsqrt.wasm 50 bytes (javascript) 156 bytes (webassembly) [built] [code generated]