Commit 5acd5a6
committed
feat(operations): Display average speed in performance graph
Change the performance graph marker to show average speed instead of current speed
from the last sample, providing a better overall view of transfer performance.
Changes:
- Calculate average speed across all samples using arithmetic mean
- Update string resource to workspace_operation_performance_avg_speed_label
- More accurately represents overall operation performance
This aligns with user expectations for performance metrics where average throughput
is more meaningful than instantaneous final speed.1 parent 51d70c4 commit 5acd5a6
2 files changed
Lines changed: 9 additions & 6 deletions
File tree
- app-workspace/src/main
- java/eu/darken/butler/workspace/ui/operations/details
- res/values
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
217 | 220 | | |
218 | 221 | | |
219 | | - | |
| 222 | + | |
220 | 223 | | |
221 | 224 | | |
222 | 225 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
0 commit comments