Welcome Guest Search | Active Topics | Sign In | Register

WebBrowser CPU utlization Options
ruk
Posted: Tuesday, May 16, 2017 3:12:07 PM
Rank: Advanced Member
Groups: Member

Joined: 5/15/2017
Posts: 48
I'm evaluating EO WebBrowser for our WPF application. I'm noticing higher CPU utilization compared to Chrome, especially we notice this on 4K monitors.

On 4K monitor, open the Wpf TabbedBrowser sample application. Open 4 tabs and load a url (we used www.wonderware.com) on each tabs. And notice the CPU usage which is peaks up to 90% every few seconds.

On the same monitor, open Chrome with 4 tabs pointing to same url and notice the CPU stays less than 10%.

Are there any known issues or any tweaks that can be done to reduce the CPU utilization?
eo_support
Posted: Tuesday, May 16, 2017 3:42:29 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

We tested this and we do not see any such problems here. Which process do you see to have the CPU spike? The TabbedBrowser main process or some other process?

Thanks!
ruk
Posted: Tuesday, May 16, 2017 4:43:07 PM
Rank: Advanced Member
Groups: Member

Joined: 5/15/2017
Posts: 48
We are looking at overall system performance. Nothing else running in the system that takes noticeable CPU and it is under 2%. Then run the TabbedBrowser and see the spikes when four tabs are opened with the url. Close the TabbedBrowser and the CPU usage returns to under 2%.

We see this high CPU utilization only when running the TabbedBrowser maximized to full screen on 4k monitor. CPU usage when running the TabbedBrowser on 1080p monitors looks fine and no issues.
eo_support
Posted: Tuesday, May 16, 2017 5:02:14 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

First you will have to find out which process is consuming the CPU. A number of things can cause CPU to spike. Obviously if the CPU spike is someone's process, then we have no way to troubleshoot it even if it is possible that somehow we did something that triggered it. In that case you will have to contact the vendor of that process in order to find out.

If the CPU spike is in the TabbedBrowser main process, try to create a simple Windows Forms application to use our product to display the same page and see if it happens. TabbedBrowser uses WPF, which uses DirectX for rendering and it can complicate things quite a bit. Using a Windows Form application would eliminate that part.

Also make sure you use TabbedBrowser sample application exactly as is without modification in the test --- do not use WPF full screen or top most features. EO.WebBrowser does not support topmost (Chromium engine does not support that and you will have problems with drop down boxes if you use top most).

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.