cefsharp / cefsharp/CefSharp

Winforms - Tab switch should reduce CPU utilisation

Aperta
#2,922 10 commenti 0 reazioni 1 assegnatario Rivendicata da @amaitland Vedi su GitHub
up-for-grabs winforms
Lingua principale
C#
Stelle
10.3k
Fork
2.9k
Merge medio
5g 22h
PR unite (30g)
4

Descrizione

**- What version of the product are you using?**

75.1.142

**-Are you using WinForms, WPF or OffScreen?**

WinForms

**- On what operating system?**

Win7, Win10

**- What steps will reproduce the problem?**
Run cefSharp.WinForms.Example and CefSharp.Wpf.Example, I'm testing the www.ezcarry.com site, which has animated effects on its home page, and cesharp.wpf occupies a very high cpu, nearly cefsharp Double the .winform; in the wpf example, I open the site and switch to the cpu-low tab, the cpu will go down; but the cpu in winform will not go down; and the same is true of the winform, but the wpf version will go down;

I tested it with cefclient.exe【cef_binary_76.1.13+gf19c584+chromium-76.0.3809.132_windows32_client】, and when I opened the above website, the cpu was around 20%, but when I minimized it, the cpu dropped to about 1%

cefsharp. Winform version program minimizes or switches to cpu-low tab, high CPU tab CPU usage has been maintained;

WPF version, if I switch from a high cpu tab to a cpu-low tab page or minimize the browser program, the cpu will immediately drop to nearly 0;

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.