GitHub Actions commited on
Commit
86d8a2e
Β·
1 Parent(s): 6df9ed0

sync from abhijitramesh/webgpu-bench@30603a615d

Browse files
build/asyncify/bench.js CHANGED
The diff for this file is too large to render. See raw diff
 
build/jspi/bench.js CHANGED
The diff for this file is too large to render. See raw diff
 
js/data.js CHANGED
@@ -29,8 +29,7 @@ export async function loadData() {
29
  }
30
  cachedData = empty;
31
  writeSessionCache(cachedData);
32
- } catch (err) {
33
- console.warn(`Live dataset load failed: ${err.message}`);
34
  cachedData = empty;
35
  }
36
  return cachedData;
 
29
  }
30
  cachedData = empty;
31
  writeSessionCache(cachedData);
32
+ } catch {
 
33
  cachedData = empty;
34
  }
35
  return cachedData;
js/run/controller.js CHANGED
@@ -588,8 +588,7 @@ function escapeText(s) {
588
  }
589
  function escapeAttr(s) { return escapeText(s).replace(/"/g, '"'); }
590
  function cssEscape(s) {
591
- if (window.CSS?.escape) return CSS.escape(s);
592
- return String(s).replace(/[^\w-]/g, ch => `\\${ch}`);
593
  }
594
 
595
  // ──────────────── selection / filters ────────────────
@@ -2243,8 +2242,3 @@ function restoreSavedResults() {
2243
  }
2244
  }
2245
 
2246
- export function teardownRunSection() {
2247
- // Placeholder β€” no explicit teardown today. Future: abort in-flight runs,
2248
- // detach listeners. For now the Run tab just sits idle.
2249
- state.aborted = true;
2250
- }
 
588
  }
589
  function escapeAttr(s) { return escapeText(s).replace(/"/g, '"'); }
590
  function cssEscape(s) {
591
+ return CSS.escape(s);
 
592
  }
593
 
594
  // ──────────────── selection / filters ────────────────
 
2242
  }
2243
  }
2244