[automated] Apply ESLint and Oxfmt fixes

This commit is contained in:
GitHub Action
2026-03-27 20:44:02 +00:00
parent 8d67d75f90
commit 6e82584130

View File

@@ -106,9 +106,7 @@ export class PerformanceHelper {
* Measure individual frame durations via rAF timing over a sample window.
* Returns all per-frame durations so callers can compute avg, p95, etc.
*/
private async measureFrameDurations(
sampleFrames = 30
): Promise<number[]> {
private async measureFrameDurations(sampleFrames = 30): Promise<number[]> {
return this.page.evaluate((frames) => {
return new Promise<number[]>((resolve) => {
const timeout = setTimeout(() => resolve([]), 5000)
@@ -197,9 +195,7 @@ export class PerformanceHelper {
const sorted = [...allFrameDurationsMs].sort((a, b) => a - b)
const p95FrameDurationMs =
sorted.length > 0
? sorted[Math.ceil(sorted.length * 0.95) - 1]
: 0
sorted.length > 0 ? sorted[Math.ceil(sorted.length * 0.95) - 1] : 0
return {
name,