mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +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
|
<Row
|
||||||
name="Reload"
|
name="Reload"
|
||||||
deltaType="lowerIsBetter"
|
deltaType="lowerIsBetter"
|
||||||
value={(stats) => stats.shellReload}
|
value={(stats) =>
|
||||||
|
stats.shellReload ??
|
||||||
|
stats.shellReloads!.reduce((a, b) => a + b, 0) /
|
||||||
|
stats.shellReloads!.length
|
||||||
|
}
|
||||||
display={(stats) =>
|
display={(stats) =>
|
||||||
stats.shellReload?.toFixed(2) ??
|
stats.shellReload?.toFixed(2) ??
|
||||||
stats
|
stats
|
||||||
|
|||||||
Reference in new issue
Block a user