(value: number)
| 24 | } |
| 25 | |
| 26 | function getDeltaClass(value: number) { |
| 27 | if (value < 0) { |
| 28 | return styles.positive |
| 29 | } |
| 30 | if (value > 0) { |
| 31 | return styles.negative |
| 32 | } |
| 33 | return styles.muted |
| 34 | } |
| 35 | |
| 36 | export default function BenchmarkPage(): React.JSX.Element { |
| 37 | const largestRow = benchmarkSnapshot.rows[benchmarkSnapshot.rows.length - 1] |