Page 1 of 1
Different CPU usage comparing CefSimple and Chrome browser
Posted:
Tue Jul 15, 2014 5:09 pm
by jericho
Greetings!
I have a simple client code with few bindings and regular data exchange every 10 msecs.
The problem is that I have a different CPU usage while executing the same application comparing CefSimple and Chrome browser (the first one uses ~1.8 times more resources).
I've checked all CefSettings of CEF, all js-flags of V8 and didn't find any solution of the problem.
Could you please advise me on the right direction?
Thank you!
Re: Different CPU usage comparing CefSimple and Chrome brows
Posted:
Tue Jul 15, 2014 7:09 pm
by magreenblatt
What OS, what CEF version and what Chrome version? Are you using a release build of CEF? Can you share a URL or html/js content that reproduces the problem?
Re: Different CPU usage comparing CefSimple and Chrome brows
Posted:
Wed Jul 16, 2014 5:02 am
by jericho
magreenblatt wrote:What OS, what CEF version and what Chrome version? Are you using a release build of CEF? Can you share a URL or html/js content that reproduces the problem?
And I use CEF 3.2078.1772. Sorry, forgot to mention this in previous message.
Re: Different CPU usage comparing CefSimple and Chrome brows
Posted:
Wed Jul 16, 2014 6:02 am
by jericho
Looks like previous message wasn't sent. I mentioned that I have Win 8.1 x64 and CEF release build configuration.
The application file to test the mentioned problem you can find here:
https://drive.google.com/file/d/0B0Q9Gp ... sp=sharing
Re: Different CPU usage comparing CefSimple and Chrome brows
Posted:
Wed Jul 16, 2014 2:49 pm
by magreenblatt
What Google Chrome version are you comparing against? You should compare CEF and Chrome at the same version. You can also try using a release branch of CEF (1750 or 1916) instead of trunk.
Re: Different CPU usage comparing CefSimple and Chrome brows
Posted:
Thu Jul 17, 2014 1:36 pm
by jericho
magreenblatt wrote:What Google Chrome version are you comparing against? You should compare CEF and Chrome at the same version. You can also try using a release branch of CEF (1750 or 1916) instead of trunk.
I have Chrome with ver. 36.0.1985.125 m;
Comparing Chrome and CEF, I have ~14% and 6% of CPU usage.
Re: Different CPU usage comparing CefSimple and Chrome brows
Posted:
Fri Jul 18, 2014 10:42 am
by magreenblatt
Try disabling whatever customizations you've made to CefSimple so that the comparison between CEF and Chrome is as close as possible. Also, try running with a release build of the CEF 1750 or 1916 branch instead of trunk.