Project

General

Profile

Bug #955

Too many CPU consumed when my app does nothing

Added by Baptiste Pillot over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Target version:
Start date:
11/26/2022
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

When my app waits for a key input without animation, even when my program has ended and I keep my window opened : the app consumes too many CPU. But it should consume nothing.
The effect is immediate on my laptop which fan make a lot of noise when the CPU works. It's probably less visibles with a lot of computers, but we see it well with CPU monitoring.
Let's benchmark it !

A web page opened, but no AOZ app :

My AOZ app, which does nothing (UI waiting for keyboard, Curs Off), still opened :

My AOZ app, which does nothing (ended), still opened :

There is probably something to do to save the planet being more green with it.
If I program still apps, I don't want it to empty my users battery cells that fast.


Files

clipboard-202211261829-pl1dm.png (160 KB) clipboard-202211261829-pl1dm.png Baptiste Pillot, 11/26/2022 06:29 PM
clipboard-202211261830-tcxkf.png (233 KB) clipboard-202211261830-tcxkf.png Baptiste Pillot, 11/26/2022 06:30 PM
clipboard-202211261831-fdyva.png (213 KB) clipboard-202211261831-fdyva.png Baptiste Pillot, 11/26/2022 06:31 PM
#1

Updated by Baptiste Pillot over 1 year ago

  • File deleted (Capture d’écran_2022-11-26_18-25-35.png)
#3

Updated by Baptiste Pillot over 1 year ago

  • File deleted (clipboard-202211261830-3gtce.png)

Also available in: Atom PDF