Andrey Epifancev efa537e008 perf: каркас замеров фронта
Refs #202

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 22:12:36 +04:00

9 lines
329 B
HTML

<!doctype html>
<meta charset="utf-8">
<title>busy</title>
<button id="busy">busy</button>
<script>
window.busyLoop = (ms) => { const t = performance.now(); while (performance.now() - t < ms) {} return performance.now() - t; };
document.getElementById('busy').addEventListener('click', () => window.busyLoop(120));
</script>