aSurgingRiver / WebView

Efficient UE browser uses CEF open source kernel; When the frame rate is 60 per second and the resolution is 4K, a single GPU is rendered, and the UE and browser will not lose frames. 8K frame rate does not decrease under multi GPU binding.
296 stars 80 forks source link

Resources usage in the background #28

Open kubalobo opened 21 hours ago

kubalobo commented 21 hours ago

Hi!

Thank you for the fantastic plugin. \ Two things concern me about the way the plugin works in the background.

1) Constant CPU usage: When the plugin is disabled and Unreal Editor minimalized, it uses about 0% of CPU resources. image

When the plugin is enabled and Unreal Editor minimalized, it constantly uses about 10% of CPU resources. image

2) Spawning a lot of cefbrowser-related background processes which are not killed after disabling Unreal Editor: image They do not consume resources, so are unharming but still, it would be nice not to leave them working ;)

Are these behaviours expected? \ Is there anything I can do about that?

Best regards!

aSurgingRiver commented 8 hours ago
  1. The WebView plug-in has very low CPU usage in the editor.
  2. All embedded browsers that rely on the CEF kernel will generate related working processes in the background, which are required for CEF to run.
  3. The background process names shown in the third picture are not the background processes of our plug-in.

The screenshots provided in the attachment are the CPU usage of WebView and the background processes.

image