The Xilium.CefGlue provides some sample projects for showing web pages within a Chromium Embedded Framework container.
The sample WPF application, CefGlue.Samples.WpfOsr, loads pages very slowly. You can see in the debug window that it makes extremely slow progress reading the page resources (html, css, javscript) — more than an order of magnitude slower that loading the same page in a browser (i.e. about 10 seconds for my page that includes jquery & angularjs).
On the other hand, the sample Windows Forms application, CefGlue.Client, does not show that same problem.
Why is the WPF sample so slow, and is that a problem with WPF use of CEF in general, Xilium's CefGlue.WPF specifically, or something that can be fixed?
The slowdown is caused by the WPF sample using a more verbose logging setting than the Windows Forms sample.
In CefGlue.Samples.WpfOsr/Program.cs, line 45 looks like this:
LogSeverity = CefLogSeverity.Verbose,
You can speed up the page load performance by changing it to a less frequent logging level, e.g.
LogSeverity = CefLogSeverity.Warning,