Skip to content

Commit 05de9bb

Browse files
authored
More top-level cleanup (#229)
- Move polyfills to utils - Move svg and css files to resources
1 parent ba6981f commit 05de9bb

File tree

11 files changed

+8
-8
lines changed

11 files changed

+8
-8
lines changed

JetStreamDriver.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if (!isInBrowser && JetStreamParams.prefetchResources) {
4040

4141
// Load a polyfill for TextEncoder/TextDecoder in shells. Used when
4242
// decompressing a prefetched resource and converting it to text.
43-
load("./polyfills/fast-text-encoding/1.0.3/text.js");
43+
load("./utils/polyfills/fast-text-encoding/1.0.3/text.js");
4444
}
4545

4646
// Used for the promise representing the current benchmark run.
@@ -2434,7 +2434,7 @@ let BENCHMARKS = [
24342434
new WasmEMCCBenchmark({
24352435
name: "sqlite3-wasm",
24362436
files: [
2437-
"./polyfills/fast-text-encoding/1.0.3/text.js",
2437+
"./utils/polyfills/fast-text-encoding/1.0.3/text.js",
24382438
"./sqlite3/benchmark.js",
24392439
"./sqlite3/build/jswasm/speedtest1.js",
24402440
],
@@ -2499,7 +2499,7 @@ let BENCHMARKS = [
24992499
new AsyncBenchmark({
25002500
name: "transformersjs-bert-wasm",
25012501
files: [
2502-
"./polyfills/fast-text-encoding/1.0.3/text.js",
2502+
"./utils/polyfills/fast-text-encoding/1.0.3/text.js",
25032503
"./transformersjs/benchmark.js",
25042504
"./transformersjs/task-bert.js",
25052505
],
@@ -2521,7 +2521,7 @@ let BENCHMARKS = [
25212521
new AsyncBenchmark({
25222522
name: "transformersjs-whisper-wasm",
25232523
files: [
2524-
"./polyfills/fast-text-encoding/1.0.3/text.js",
2524+
"./utils/polyfills/fast-text-encoding/1.0.3/text.js",
25252525
"./transformersjs/benchmark.js",
25262526
"./transformersjs/task-whisper.js",
25272527
],
@@ -2876,7 +2876,7 @@ let BENCHMARKS = [
28762876
new WasmEMCCBenchmark({
28772877
name: "8bitbench-wasm",
28782878
files: [
2879-
"./polyfills/fast-text-encoding/1.0.3/text.js",
2879+
"./utils/polyfills/fast-text-encoding/1.0.3/text.js",
28802880
"./8bitbench/build/rust/pkg/emu_bench.js",
28812881
"./8bitbench/benchmark.js",
28822882
],

in-depth.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
<title>JetStream 3 In-Depth Analysis</title>
3131

32-
<link rel="stylesheet" href="JetStream.css">
32+
<link rel="stylesheet" href="ressources/JetStream.css">
3333

3434
</head>
3535
<body class="overflow-scroll">

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
<title>JetStream 3</title>
3131

32-
<link rel="stylesheet" href="JetStream.css">
32+
<link rel="stylesheet" href="resources/JetStream.css">
3333
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes, viewport-fit=cover">
3434

3535
<script>
@@ -95,7 +95,7 @@ <h1 class="logo">
9595
</h1>
9696

9797
<main>
98-
<p class="summary">JetStream 3 is a JavaScript and WebAssembly benchmark suite focused on the most advanced web applications. It rewards browsers that start up quickly, execute code quickly, and run smoothly. For more information, read the <a href="in-depth.html">in-depth analysis</a>. Bigger scores are better.</p>
98+
<p class="summary">JetStream 3 is a JavaScript and WebAssembly benchmark suite focused on the most advanced web applications. It rewards browsers that start up quickly, execute code quickly, and run smoothly. For more information, read the <a href="resources/in-depth.html">in-depth analysis</a>. Bigger scores are better.</p>
9999
<div id="non-default-params">
100100
<h2>Non-standard Parameters</h2>
101101
<p>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)