cefsharp / cefsharp/CefSharp

Winforms - Tab switch should reduce CPU utilisation

Offen
#2,922 10 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @amaitland Auf GitHub ansehen
up-for-grabs winforms
Vorherrschende Sprache
C#
Sterne
10.3k
Forks
2.9k
Ø Merge
5 T. 22 Std.
Gemergte PRs (30 T.)
4

Beschreibung

**- 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;

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.