Skip to content

How to improve the perfomence when load a complicate web? #3543

Answered by amaitland
marderary asked this question in Q&A
Discussion options

You must be logged in to vote

The WPF version is slower than the WinForms or CefSharp.Wpf.HwndHost versions as it is an actual WPF control rather than a WindowsFormsHost/HwndHost. See https://github.com/cefsharp/CefSharp/wiki/General-Usage#offscreen-rendering-osr

If raw performance is all you care about then switch to the CefSharp.Wpf.HwndHost version (doesn't support transparency etc).

By default Site Isolation Trials are currently disabled (issue #2967), so websites that have lots of frames of different origins will load slower.

You can remove this command line arg, look something like:

var cefSettings = new CefSettings();
settings.CefCommandLineArgs.Remove("disable-site-isolation-trials");

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@marderary
Comment options

Answer selected by marderary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants