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

Issue 659636 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

Long URLs make the MD downloads page load very slowly

Project Member Reported by alancutter@chromium.org, Oct 26 2016

Issue description

Version: Chrome 55

What steps will reproduce the problem?
(1) Visit: https://jsfiddle.net/5rfsn7mo/
(2) Download the 1MB data url link.
(3) Open MD downloads page.

What is the expected output?
Downloads page should load quickly.

What do you see instead?
Downloads page takes ~1 minute to load.

Please use labels and text to provide additional information.

Tracing shows that all the time is being spent in layout. The 1MB string for the URL is too much for layout to handle efficiently even though it's abbreviated.
The downloads page should pass URL text through its own truncation filter to prevent this excessive load time.

Though a 1MB data URL seems unlikely I came across this without trying. One of the images I had saved previously turned out to be a 2MB data URL PNG.
 
Cc: tbuck...@chromium.org
Labels: Proj-MaterialDesign-WebUI
Owner: dbeam@chromium.org
Status: Assigned (was: Available)

Comment 3 by dbeam@chromium.org, Oct 28 2016

Status: Started (was: Assigned)
totalll bummerrr

Comment 5 by dbeam@chromium.org, Oct 30 2016

Status: Fixed (was: Started)

Comment 6 by dbeam@chromium.org, Nov 16 2016

Cc: asanka@chromium.org dbeam@chromium.org
 Issue 666083  has been merged into this issue.
Cc: dschuyler@chromium.org
FYI, we are observing the same behavior in MD Settings, when the logged in user's name is too long. Suspecting the same rot cause. Will file a separate bug for it and we can talk there about the appropriate fix.

Sign in to add a comment