mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
feat: average shell reload
This commit is contained in:
1 parent
0a41ee15ed
commit
5b4c3119dd
1 file changed
+5
-1
@@ -278,7 +278,11 @@ export default function Page() {
|
||||
<Row
|
||||
name="Reload"
|
||||
deltaType="lowerIsBetter"
|
||||
value={(stats) => stats.shellReload}
|
||||
value={(stats) =>
|
||||
stats.shellReload ??
|
||||
stats.shellReloads!.reduce((a, b) => a + b, 0) /
|
||||
stats.shellReloads!.length
|
||||
}
|
||||
display={(stats) =>
|
||||
stats.shellReload?.toFixed(2) ??
|
||||
stats
|
||||
|
||||
Reference in new issue
Block a user