fix ard performance display
This commit is contained in:
parent
6062094e6f
commit
aab2f5b014
@ -39,7 +39,7 @@
|
|||||||
Math.max(
|
Math.max(
|
||||||
(performanceData?.total?.averageTime ?? 0)
|
(performanceData?.total?.averageTime ?? 0)
|
||||||
- (performanceData?.imageDraw?.averageTime ?? 0)
|
- (performanceData?.imageDraw?.averageTime ?? 0)
|
||||||
- (performanceData?.imageDraw?.averageTime ?? 0),
|
- (performanceData?.blackFrame?.averageTime ?? 0),
|
||||||
0
|
0
|
||||||
).toFixed(1)
|
).toFixed(1)
|
||||||
}} ms
|
}} ms
|
||||||
@ -62,7 +62,7 @@
|
|||||||
'width': Math.max(
|
'width': Math.max(
|
||||||
(performanceData?.total?.averageTime ?? 0)
|
(performanceData?.total?.averageTime ?? 0)
|
||||||
- (performanceData?.imageDraw?.averageTime ?? 0)
|
- (performanceData?.imageDraw?.averageTime ?? 0)
|
||||||
- (performanceData?.imageDraw?.averageTime ?? 0),
|
- (performanceData?.blackFrame?.averageTime ?? 0),
|
||||||
0
|
0
|
||||||
) + '%'
|
) + '%'
|
||||||
}"
|
}"
|
||||||
@ -80,7 +80,7 @@
|
|||||||
Math.max(
|
Math.max(
|
||||||
(performanceData?.total?.worstTime ?? 0)
|
(performanceData?.total?.worstTime ?? 0)
|
||||||
- (performanceData?.imageDraw?.worstTime ?? 0)
|
- (performanceData?.imageDraw?.worstTime ?? 0)
|
||||||
- (performanceData?.blackFrameDraw?.worstTime ?? 0),
|
- (performanceData?.blackFrame?.worstTime ?? 0),
|
||||||
0
|
0
|
||||||
).toFixed(1)
|
).toFixed(1)
|
||||||
}} ms
|
}} ms
|
||||||
@ -94,7 +94,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="draw-blackframe"
|
class="draw-blackframe"
|
||||||
:style="{'width': (performanceData?.blackFrameDraw?.worstTime ?? 0) + '%'}"
|
:style="{'width': (performanceData?.blackFrame?.worstTime ?? 0) + '%'}"
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
@ -103,7 +103,7 @@
|
|||||||
'width': Math.max(
|
'width': Math.max(
|
||||||
(performanceData?.total?.worstTime ?? 0)
|
(performanceData?.total?.worstTime ?? 0)
|
||||||
- (performanceData?.imageDraw?.worstTime ?? 0)
|
- (performanceData?.imageDraw?.worstTime ?? 0)
|
||||||
- (performanceData?.blackFrameDraw?.worstTime ?? 0),
|
- (performanceData?.blackFrame?.worstTime ?? 0),
|
||||||
0
|
0
|
||||||
) + '%'
|
) + '%'
|
||||||
}"
|
}"
|
||||||
|
Loading…
Reference in New Issue
Block a user