parry / static /spike /latency.html
Jainamshahhh's picture
deploy parry
5fc018c verified
Raw
History Blame Contribute Delete
2.36 kB
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>PARRY — §9.1 latency spike</title>
<style>
body { background: #0b0e14; color: #d8dee9; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; margin: 2rem; max-width: 900px; }
h1 { font-size: 1.1rem; color: #88c0d0; }
select, button { background: #1b222e; color: #d8dee9; border: 1px solid #3b4252; padding: .5rem .8rem; font: inherit; border-radius: 6px; margin-right: .5rem; }
button:disabled { opacity: .4; }
#log { white-space: pre-wrap; background: #11151d; border: 1px solid #2a3140; border-radius: 8px; padding: 1rem; margin-top: 1rem; min-height: 8rem; font-size: .85rem; }
#verdict { font-weight: bold; padding: .8rem 1rem; border-radius: 8px; margin-top: 1rem; display: none; }
.pass { background: #14331f; color: #a3be8c; border: 1px solid #a3be8c; }
.fail { background: #33141a; color: #bf616a; border: 1px solid #bf616a; }
#json { white-space: pre-wrap; background: #11151d; border: 1px dashed #2a3140; border-radius: 8px; padding: 1rem; margin-top: 1rem; font-size: .75rem; max-height: 18rem; overflow: auto; }
progress { width: 100%; }
</style>
<script type="module" crossorigin src="../assets/spike-BPCTWSB0.js"></script>
<link rel="modulepreload" crossorigin href="../assets/action_set-C6mnKwO1.js">
<link rel="modulepreload" crossorigin href="../assets/index-K8o-xskJ.js">
</head>
<body>
<h1>PARRY latency spike — gate G1 (§9.1): can the Tactician tick inside the budget?</h1>
<p>
Measures the full <b>prefill+decode</b> op on a production-length prompt (plan-string included),
grammar-constrained, end-to-end through the Web Worker. PASS on this machine:
<b>warm median ≤ 25ms · p95 ≤ 40ms · first-op-after-Analyst ≤ 60ms</b>.
</p>
<div>
<select id="model"></select>
<button id="load">1 · Load model</button>
<button id="run" disabled>2 · Run spike</button>
<button id="copy" disabled>Copy results JSON</button>
</div>
<progress id="dl" value="0" max="1" style="display:none"></progress>
<div id="verdict"></div>
<div id="log">idle.</div>
<div id="json" style="display:none"></div>
</body>
</html>