Skip to content

Commit a712634

Browse files
committed
[automated] Apply ESLint and Oxfmt fixes
1 parent b2d31dc commit a712634

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

scripts/perf-stats.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,8 @@ export function trendDirection(values: number[]): TrendDirection {
9090
const firstHalf = values.slice(0, half)
9191
const secondHalf = values.slice(-half)
9292

93-
const firstMean =
94-
firstHalf.reduce((a, b) => a + b, 0) / firstHalf.length
95-
const secondMean =
96-
secondHalf.reduce((a, b) => a + b, 0) / secondHalf.length
93+
const firstMean = firstHalf.reduce((a, b) => a + b, 0) / firstHalf.length
94+
const secondMean = secondHalf.reduce((a, b) => a + b, 0) / secondHalf.length
9795

9896
if (firstMean === 0) return 'stable'
9997
const changePct = ((secondMean - firstMean) / firstMean) * 100

0 commit comments

Comments
 (0)