High CPU usage by updating HTML

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

High CPU usage by updating HTML

Postby mvasile » Fri Jul 10, 2020 1:24 am

Hello,

I am using a "cef_binary_83.4.0+gfd6631b+chromium-83.0.4103.106_windows64" version and I am integrating it into my own project where sometimes is rendered and other times video (Off-Screen Rendering).
The problem I have is that when the application is painting and updating an html loader spiner, the use of the CPU and GPU is triggered.

I am caling the CefDoMessageLoopWork() function within a loop 30 times per second (I can not use a CefRunMessageLoop() becaouse I have my own message loop)


Can I do anything to reduce CPU usage when updating the spinner?

Thank you
mvasile
Newbie
 
Posts: 1
Joined: Fri Jul 10, 2020 12:59 am

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 36 guests