Miguel de Benito Delgado 731bcc5664 🎉 Add playground renderer benchmark suite
Share seven deterministic fixtures with the playground pages and measure
renderer lifecycle, pan, and zoom through a prepared Playwright runner.
Retain raw attempts and failures with offline statistical comparisons.

Add focused tests and separate browser fault diagnostics. Full-suite
calibration and shadow GPU validation remain tracked follow-up work.

AI-assisted-by: GPT-6
2026-10-28 19:17:38 +01:00

48 lines
1.1 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Renderer playground: paths</title>
<style>
body {
margin: 0;
background: #111;
overflow: hidden;
}
canvas {
width: 100vw;
height: 100vh;
display: block;
touch-action: none;
}
#error {
position: fixed;
background: white;
color: #900;
padding: 1rem;
}
</style>
</head>
<body>
<canvas id="canvas"></canvas>
<script type="module">
import initModule from "/js/render-wasm.js";
import scenario from "./scenes/paths.js";
import { mountScenario } from "./js/lib.js";
mountScenario(
scenario,
initModule,
document.getElementById("canvas"),
).catch((error) => {
console.error(error);
const message = document.createElement("pre");
message.id = "error";
message.textContent = error.message;
document.body.append(message);
});
</script>
</body>
</html>