mirror of
https://github.com/stablyai/orca.git
synced 2026-09-22 00:02:31 +00:00
* 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>
30 lines
656 B
HTML
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>
|