New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 594257 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , All , Chrome , Mac
Pri: 3
Type: Bug

Blocked on:
issue pdfium:11



Sign in to add a comment

display PDF multiformat use 100% core CPU

Reported by bau...@gmail.com, Mar 11 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36

Steps to reproduce the problem:
1. open http://www.brother.fr/~/media/downloads/brother%20fr/brochures/brochure_brother_mfc-j5720dw.pdf
2. scroll down

What is the expected behavior?
page scroll

What went wrong?
tab hang, and Plugin:Chrome PDF Viewer use 100% one core CPU (25%CPU with intel core i5) for more 15secondes.

Did this work before? N/A 

Chrome version: 49.0.2623.75  Channel: n/a
OS Version: 6.3
Flash Version: disabled
 
chromepdf.png
6.6 KB View Download
example-pdf.png
644 KB View Download
Components: -UI Internals>Plugins>PDF
Cc: caryclark@chromium.org
Labels: -OS-Windows -Pri-2 -Arch-x86_64 OS-All Pri-3
Status: Untriaged (was: Unconfirmed)
There's other PDF bugs already filed for dealing with slow scrolling and redrawing. Part of the problem here is that simply rendering the PDF takes a long time.

Doing some quick profiling shows 16% of the time spent in _CompositeRow_Argb2Argb(), and various AGG functions taking up more than 30% of the time.

+caryclark FYI. Maybe Skia will render this a lot quicker?
Skia's basic blits are faster -- they can take advantage of SIMD instructions and the GPU.

I'll check that Skia can handle this PDF today and see where the time goes. It will be interesting to see why it is compositing bitmaps and if that indicates a more systemic problem with PDFium.
Status: Available (was: Untriaged)
Project Member

Comment 5 by sheriffbot@chromium.org, Oct 18 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: OS-Chrome OS-Linux OS-Mac OS-Windows
Status: Available (was: Untriaged)
The document is a bit heavy, but our viewer takes ~10s to load the second page while others (Adobe Reader, Evince) take under a second. I think there's a legitimate bug in this case.
Project Member

Comment 7 by sheriffbot@chromium.org, Oct 18

Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Blockedon: pdfium:11
Labels: -Hotlist-Recharge-Cold
Status: Available (was: Untriaged)
Skia does this render this much quicker. Less than 1 second vs 10+ seconds.

Sign in to add a comment