Skip to content

Commit c3dce11

Browse files
committed
Compress all wasm files
1 parent f9e5b43 commit c3dce11

File tree

97 files changed

+161
-42
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+161
-42
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ node_modules
88

99
# v8.log is generated by the d8-shell if profiling is enabled
1010
v8.log
11+
12+
__pycache__/
-60.4 KB
Binary file not shown.
23.8 KB
Binary file not shown.
-1.3 MB
Binary file not shown.
447 KB
Binary file not shown.
-1.59 MB
Binary file not shown.
543 KB
Binary file not shown.

JetStreamDriver.js

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1693,23 +1693,23 @@ function dotnetPreloads(type)
16931693
dotnetUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/dotnet.js`,
16941694
dotnetNativeUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/dotnet.native.js`,
16951695
dotnetRuntimeUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/dotnet.runtime.js`,
1696-
wasmBinaryUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/dotnet.native.wasm`,
1696+
wasmBinaryUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/dotnet.native.wasm.z`,
16971697
icuCustomUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/icudt_CJK.dat`,
1698-
dllCollectionsConcurrentUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.Collections.Concurrent.wasm`,
1699-
dllCollectionsUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.Collections.wasm`,
1700-
dllComponentModelPrimitivesUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.ComponentModel.Primitives.wasm`,
1701-
dllComponentModelTypeConverterUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.ComponentModel.TypeConverter.wasm`,
1702-
dllDrawingPrimitivesUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.Drawing.Primitives.wasm`,
1703-
dllDrawingUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.Drawing.wasm`,
1704-
dllIOPipelinesUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.IO.Pipelines.wasm`,
1705-
dllLinqUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.Linq.wasm`,
1706-
dllMemoryUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.Memory.wasm`,
1707-
dllObjectModelUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.ObjectModel.wasm`,
1708-
dllPrivateCorelibUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.Private.CoreLib.wasm`,
1709-
dllRuntimeInteropServicesJavaScriptUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.Runtime.InteropServices.JavaScript.wasm`,
1710-
dllTextEncodingsWebUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.Text.Encodings.Web.wasm`,
1711-
dllTextJsonUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.Text.Json.wasm`,
1712-
dllAppUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/dotnet.wasm`,
1698+
dllCollectionsConcurrentUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.Collections.Concurrent.wasm.z`,
1699+
dllCollectionsUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.Collections.wasm.z`,
1700+
dllComponentModelPrimitivesUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.ComponentModel.Primitives.wasm.z`,
1701+
dllComponentModelTypeConverterUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.ComponentModel.TypeConverter.wasm.z`,
1702+
dllDrawingPrimitivesUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.Drawing.Primitives.wasm.z`,
1703+
dllDrawingUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.Drawing.wasm.z`,
1704+
dllIOPipelinesUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.IO.Pipelines.wasm.z`,
1705+
dllLinqUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.Linq.wasm.z`,
1706+
dllMemoryUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.Memory.wasm.z`,
1707+
dllObjectModelUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.ObjectModel.wasm.z`,
1708+
dllPrivateCorelibUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.Private.CoreLib.wasm.z`,
1709+
dllRuntimeInteropServicesJavaScriptUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.Runtime.InteropServices.JavaScript.wasm.z`,
1710+
dllTextEncodingsWebUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.Text.Encodings.Web.wasm.z`,
1711+
dllTextJsonUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/System.Text.Json.wasm.z`,
1712+
dllAppUrl: `./wasm/dotnet/build-${type}/wwwroot/_framework/dotnet.wasm.z`,
17131713
}
17141714
}
17151715

@@ -2208,7 +2208,7 @@ let BENCHMARKS = [
22082208
"./wasm/HashSet/benchmark.js",
22092209
],
22102210
preload: {
2211-
wasmBinary: "./wasm/HashSet/build/HashSet.wasm",
2211+
wasmBinary: "./wasm/HashSet/build/HashSet.wasm.z",
22122212
},
22132213
iterations: 50,
22142214
// No longer run by-default: We have more realistic Wasm workloads by
@@ -2222,7 +2222,7 @@ let BENCHMARKS = [
22222222
"./wasm/TSF/benchmark.js",
22232223
],
22242224
preload: {
2225-
wasmBinary: "./wasm/TSF/build/tsf.wasm",
2225+
wasmBinary: "./wasm/TSF/build/tsf.wasm.z",
22262226
},
22272227
iterations: 50,
22282228
tags: ["Default", "Wasm"],
@@ -2234,7 +2234,7 @@ let BENCHMARKS = [
22342234
"./wasm/quicksort/benchmark.js",
22352235
],
22362236
preload: {
2237-
wasmBinary: "./wasm/quicksort/build/quicksort.wasm",
2237+
wasmBinary: "./wasm/quicksort/build/quicksort.wasm.z",
22382238
},
22392239
iterations: 50,
22402240
tags: ["Default", "Wasm"],
@@ -2246,7 +2246,7 @@ let BENCHMARKS = [
22462246
"./wasm/gcc-loops/benchmark.js",
22472247
],
22482248
preload: {
2249-
wasmBinary: "./wasm/gcc-loops/build/gcc-loops.wasm",
2249+
wasmBinary: "./wasm/gcc-loops/build/gcc-loops.wasm.z",
22502250
},
22512251
iterations: 50,
22522252
tags: ["Default", "Wasm"],
@@ -2258,7 +2258,7 @@ let BENCHMARKS = [
22582258
"./wasm/richards/benchmark.js",
22592259
],
22602260
preload: {
2261-
wasmBinary: "./wasm/richards/build/richards.wasm",
2261+
wasmBinary: "./wasm/richards/build/richards.wasm.z",
22622262
},
22632263
iterations: 50,
22642264
tags: ["Default", "Wasm"],
@@ -2270,7 +2270,7 @@ let BENCHMARKS = [
22702270
"./sqlite3/build/jswasm/speedtest1.js",
22712271
],
22722272
preload: {
2273-
wasmBinary: "./sqlite3/build/jswasm/speedtest1.wasm",
2273+
wasmBinary: "./sqlite3/build/jswasm/speedtest1.wasm.z",
22742274
},
22752275
iterations: 30,
22762276
worstCaseCount: 2,
@@ -2283,7 +2283,7 @@ let BENCHMARKS = [
22832283
],
22842284
preload: {
22852285
jsModule: "./Dart/build/flute.complex.dart2wasm.mjs",
2286-
wasmBinary: "./Dart/build/flute.complex.dart2wasm.wasm",
2286+
wasmBinary: "./Dart/build/flute.complex.dart2wasm.wasm.z",
22872287
},
22882288
iterations: 15,
22892289
worstCaseCount: 2,
@@ -2301,7 +2301,7 @@ let BENCHMARKS = [
23012301
],
23022302
preload: {
23032303
jsModule: "./Dart/build/flute.todomvc.dart2wasm.mjs",
2304-
wasmBinary: "./Dart/build/flute.todomvc.dart2wasm.wasm",
2304+
wasmBinary: "./Dart/build/flute.todomvc.dart2wasm.wasm.z",
23052305
},
23062306
iterations: 30,
23072307
worstCaseCount: 2,
@@ -2314,9 +2314,9 @@ let BENCHMARKS = [
23142314
],
23152315
preload: {
23162316
skikoJsModule: "./Kotlin-compose/build/skiko.mjs",
2317-
skikoWasmBinary: "./Kotlin-compose/build/skiko.wasm",
2317+
skikoWasmBinary: "./Kotlin-compose/build/skiko.wasm.z",
23182318
composeJsModule: "./Kotlin-compose/build/compose-benchmarks-benchmarks.uninstantiated.mjs",
2319-
composeWasmBinary: "./Kotlin-compose/build/compose-benchmarks-benchmarks.wasm",
2319+
composeWasmBinary: "./Kotlin-compose/build/compose-benchmarks-benchmarks.wasm.z",
23202320
inputImageCompose: "./Kotlin-compose/build/compose-multiplatform.png",
23212321
inputImageCat: "./Kotlin-compose/build/example1_cat.jpg",
23222322
inputImageComposeCommunity: "./Kotlin-compose/build/example1_compose-community-primary.png",
@@ -2341,7 +2341,7 @@ let BENCHMARKS = [
23412341
"./wasm/tfjs-benchmark.js",
23422342
],
23432343
preload: {
2344-
tfjsBackendWasmBlob: "./wasm/tfjs-backend-wasm.wasm",
2344+
tfjsBackendWasmBlob: "./wasm/tfjs-backend-wasm.wasm.z",
23452345
},
23462346
async: true,
23472347
deterministicRandom: true,
@@ -2363,7 +2363,7 @@ let BENCHMARKS = [
23632363
"./wasm/tfjs-benchmark.js",
23642364
],
23652365
preload: {
2366-
tfjsBackendWasmSimdBlob: "./wasm/tfjs-backend-wasm-simd.wasm",
2366+
tfjsBackendWasmSimdBlob: "./wasm/tfjs-backend-wasm-simd.wasm.z",
23672367
},
23682368
async: true,
23692369
deterministicRandom: true,
@@ -2600,7 +2600,7 @@ let BENCHMARKS = [
26002600
"./8bitbench/benchmark.js",
26012601
],
26022602
preload: {
2603-
wasmBinary: "./8bitbench/build/rust/pkg/emu_bench_bg.wasm",
2603+
wasmBinary: "./8bitbench/build/rust/pkg/emu_bench_bg.wasm.z",
26042604
romBinary: "./8bitbench/build/assets/program.bin",
26052605
},
26062606
iterations: 15,
@@ -2615,7 +2615,7 @@ let BENCHMARKS = [
26152615
"./wasm/zlib/benchmark.js",
26162616
],
26172617
preload: {
2618-
wasmBinary: "./wasm/zlib/build/zlib.wasm",
2618+
wasmBinary: "./wasm/zlib/build/zlib.wasm.z",
26192619
},
26202620
iterations: 40,
26212621
tags: ["Default", "Wasm"],
-5.32 MB
Binary file not shown.
1.38 MB
Binary file not shown.

0 commit comments

Comments
 (0)