Significant reduction in performance after upgrading to 0.21
#145 (closed) proposes a set of changes to improve battery life, which was then implemented in !176 (merged). The claim is an increase in battery life, without sacrificing performance.
After upgrading to 0.21, it appears this change in fact causes a significant performance reduction on my X1 Carbon Gen 7. The culprit is the change to use balance_power
instead of balance_performance
.
For example, running time toolbox run --container fedora true
takes about 400 milliseconds when using balance_performance
, while taking 1.3 seconds when using balance_power
. In both cases I'm running on battery, and the power-profiles-daemon mode is set to "balanced" (i.e. there's enough battery left to not trigger the power saving mode).
Based on this, it seems the change isn't as clear of a win as originally thought, and it might be worth either reverting the change or perhaps offering a way to opt-out (short of ditching power-profiles-daemon entirely).