Files
orca/tests/tools/benchmarks/spinner-rendering/index.html
T
aeddfa463d perf(renderer): avoid per-second spinner animation events (#19407)
* perf(renderer): avoid per-second spinner animation events

* fix(bench): ensure the Electron runtime before bench:spinners

The script launches Electron via Playwright but skipped ensure:electron-runtime,
which every other Electron-launching bench script runs first.

* docs(renderer): scope spinner pixel-tolerance claim to paused-animation checks

---------

Co-authored-by: m4air <m4air@m4airs-MacBook-Air.local>
Co-authored-by: pullfrog[bot] <226033991+pullfrog[bot]@users.noreply.github.com>
2026-09-07 19:29:53 -07:00

30 lines
656 B
HTML

<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<style>
body {
margin: 32px;
}
@keyframes spinner-benchmark-spin {
to {
transform: rotate(360deg);
}
}
.spinner-benchmark-baseline {
animation: spinner-benchmark-spin 1s steps(12, end) infinite;
}
@media (prefers-reduced-motion: reduce) {
.spinner-benchmark-baseline {
animation: none;
border-top-color: var(--color-yellow-500);
}
}
</style>
</head>
<body>
<div id="root"></div>
<script type="module" src="./fixture.tsx"></script>
</body>
</html>