CEF PDF printing is slowing down on Windows

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

CEF PDF printing is slowing down on Windows

Postby pingu7931 » Mon May 14, 2018 6:35 am

Hi Guys

This isn't really a support request just an observation. We recently when to update the version of Chrome we were using for PDF rendering. We were using 59 so we updated to Chromium 66. Certain pages of local html files suddenly seemed to take between 30% to 500% times as long to render. So we decided to test every major release since and here are the results on a 1.5Mb html file containing only paragraphs. Tests were conducted on WIndows 10 using the 64 bit versions:

Code: Select all
cef_binary_C59_3.3071.1649.g98725e6 / Chromium 59:  4.25s
cef_binary_C60_3.3112.1659.gfef43e0 / Chromium 60:  4.24s
cef_binary_C61_3.3163.1671.g700dc25 / Chromium 61:  4.36s
cef_binary_C62_3.3202.1694.gf061c23 / Chromium 62:  4.24s
cef_binary_C63_3.3239.1723.g071d1c1 / Chromium 63:  4.50s
cef_binary_C64_3.3282.1742.g96f907e / Chromium 64:  5.37s
cef_binary_C65_3.3325.1758.g9aea513 / Chromium 65:  5.50s
cef_binary_C66_3.3359.1772.gd1df190 / Chromium 66: 22.00s


In the post 64 version we are seeing quite a few fixes - such as with repeated table header and footers.

Is anyone else seeing this? Any ideas why this would be?
Last edited by pingu7931 on Tue May 15, 2018 3:32 am, edited 1 time in total.
pingu7931
Techie
 
Posts: 21
Joined: Thu Dec 01, 2016 4:43 am

Re: CEF PDF printing is slowing down on Windows

Postby ndesktop » Mon May 14, 2018 7:08 am

Either is a /Qspectre compilation which slowed down everything overall, or maybe is related to CVE-2018-6120: Heap buffer overflow in PDFium.
ndesktop
Master
 
Posts: 756
Joined: Thu Dec 03, 2015 10:10 am

Re: CEF PDF printing is slowing down on Windows

Postby isittennant » Wed May 23, 2018 4:00 am

And consider that it could be Windows April Update issues as well - literally a big number of my software become lagging or just doesn't work after that
isittennant
Newbie
 
Posts: 1
Joined: Wed May 23, 2018 3:53 am

Re: CEF PDF printing is slowing down on Windows

Postby pingu7931 » Wed May 23, 2018 4:37 am

It is also equally evident on Windows 7
pingu7931
Techie
 
Posts: 21
Joined: Thu Dec 01, 2016 4:43 am

Re: CEF PDF printing is slowing down on Windows

Postby fddima » Wed May 23, 2018 4:42 am

Does page loading speed keep constant even if you reload page (for example by pressing F5)?
fddima
Master
 
Posts: 788
Joined: Tue Dec 07, 2010 6:10 am

Re: CEF PDF printing is slowing down on Windows

Postby pingu7931 » Wed May 23, 2018 5:54 am

Sorry I should have mentioned that we're using off-screen rendering
pingu7931
Techie
 
Posts: 21
Joined: Thu Dec 01, 2016 4:43 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 42 guests