Closed Bug 749113 Opened 12 years ago Closed 2 years ago

Long pauses on deviantart.com SVG due to spending a lot of time processing filters

Categories

(Core :: SVG, defect)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: unghost, Unassigned)

References

(Depends on 1 open bug, )

Details

(Keywords: hang, perf, Whiteboard: [comment 0 URL changed - use URL field] [in-the-wild] [external-report])

Attachments

(2 files)

STR:
Open http://www.deviantart.com/download/295899273/town_four_by_froshellin-d4w65c9.svg

Expected result:
Browser works fine

Actual result:
It takes 15-20 seconds to render http://www.deviantart.com/download/295899273/town_four_by_froshellin-d4w65c9.svg During this time browser is frozen
Switching to another tab from http://www.deviantart.com/download/295899273/town_four_by_froshellin-d4w65c9.svg or switching from another tab to http://www.deviantart.com/download/295899273/town_four_by_froshellin-d4w65c9.svg also takes 15-20 seconds and brings browser to halt.
Summary: Hang when opening and closing of http://www.deviantart.com/download/295899273/town_four_by_froshellin-d4w65c9.svg → Hang when opening and closing http://www.deviantart.com/download/295899273/town_four_by_froshellin-d4w65c9.svg
Renders in about 1 second for me on Firefox 12. What platform are you on and with what graphics?
I perform some test on my own with a MacBook Pro 13' (Early 2011) and the latest Nightly

The rendering is quite fast (a few second). However, when you open a new tab and load a page, if you switch back to the tab with the SVG image the UI hang for a few second.

An other case is if you already have a tab open then you open a new tab and load the SVG image, the all UI freeze during the rendering of the image. Because the image is quite heavy to render, this is easily noticeable for the user.
Keywords: perf
Firefox 11-15 is frozen... Chromium 20.0.1118.0 (133952), xxxterm, midori: OK

Linux ubuntu 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Radeon HD 4200 with open source driver:
xserver-xorg-video-ati_1:6.14.99~git20111219.aacbd629-0ubuntu2
(In reply to Robert Longson from comment #1)
> Renders in about 1 second for me on Firefox 12. What platform are you on and
> with what graphics?
Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120425 Firefox/15.0a1 on Ubuntu 12.04 with integrated i915 video.
I've tested on Windows XP SP3 with Firefox 11 and integrated i946 video - same issue.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120411 Firefox/14.0a1
Graphics: AMD Radeon 6930; Hardware Acceleration enabled.
Bug confirmed.
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120422 Firefox/14.0a1 - Build ID: 20120422030638
Freezy
Totally hangs browser for me.

Latest Nightly (v15@25.04.2012) 32bit, Win7SP1x64.
Adapter Description NVIDIA GeForce GTX 560
Vendor ID 0x10de
Device ID 0x1201
Adapter RAM 1024
Adapter Drivers nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
Driver Version 8.17.12.9573
Driver Date 2-9-2012
Direct2D Enabled true
DirectWrite Enabled true (6.1.7601.17776)
ClearType Parameters ClearType parameters not found
WebGL Renderer Google Inc. -- ANGLE (NVIDIA GeForce GTX 560 ) -- OpenGL ES 2.0 (ANGLE 1.0.0.1041)
GPU Accelerated Windows 1/1 Direct3D 10
AzureBackend direct2d
:::: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120425 Firefox/15.0a1

Adapter Description - ATI Radeon HD 2600 XT
Vendor ID - 0x1002
Device ID - 0x9588
Adapter RAM - 256
Adapter Drivers - atiumd64 atidxx64 atiumdag atidxx32 atiumdva atiumd6a atitmm64
Driver Version - 8.681.0.0
Driver Date - 11-24-2009
Direct2D Enabled - true
DirectWrite Enabled - true (6.1.7601.17776)
ClearType Parameters - Gamma: 2200; Pixel Structure: RGB; ClearType Level: 100; Enhanced Contrast: 100.
WebGL RendererGoogle Inc. -- ANGLE (ATI Radeon HD 2600 XT) -- OpenGL ES 2.0 (ANGLE 1.0.0.1041)
GPU Accelerated Windows - 1/1 Direct3D 10
AzureBackend - direct2d

Bug confirmed.

svg is loading ~20 seconds. interface is hangs. it's unable to do anything. windows task manager is my way. :(
Attached file WinDbg log
I don't see any problems any more on latest Nightly on OS X. It would be good to know what improved this, if anyone wants to find an un-regression range.
There's certainly no hang or even slowness for me switching away from or back to the tab.
(In reply to Jonathan Watt [:jwatt] from comment #10)
> I don't see any problems any more on latest Nightly on OS X. It would be
> good to know what improved this, if anyone wants to find an un-regression
> range.

Yes, it's WFM in latest nightly on 64-bit Linux.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Oh, the .svg URL now redirects to an HTML page embedding a big PNG image of the SVG. Thanks for catching that!
Status: RESOLVED → REOPENED
Keywords: hang
Resolution: WORKSFORME → ---
Summary: Hang when opening and closing http://www.deviantart.com/download/295899273/town_four_by_froshellin-d4w65c9.svg → Long pauses on deviantart.com SVG
Whiteboard: [comment 0 URL changed - use URL field]
More than half of the samples in the profile I took were under nsSVGFilterFrame::PaintFilteredFrame. Marking dependency on bug 869496.
Depends on: 869496
Summary: Long pauses on deviantart.com SVG → Long pauses on deviantart.com SVG due to spending a lot of time processing filters
Whiteboard: [comment 0 URL changed - use URL field] → [comment 0 URL changed - use URL field] [in-the-wild] [external-report]
Severity: normal → S3

The severity field for this bug is relatively low, S3. However, the bug has 15 votes.
:jwatt, could you consider increasing the bug severity?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jwatt)

The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.

Flags: needinfo?(jwatt)

I think this bug is WORKSFORME at this point.

All of the URLs here are 404 except for http://fc00.deviantart.net/fs70/f/2012/104/d/5/town_four_by_froshellin-d4w65c9.svg from comment 13. (This URL actually redirects to a file hosted on wixmp.com).

That file does take some time (feels like a quarter-second or a half-second) to render when I load it, and also when I switch tabs to it, but I see the same sort of delay in Chrome as well. (I'm testing on a fairly underpowered device, too; Microsoft Surface laptop that's nearly a decade old, Intel(R) Core(TM) i5-4300U CPU @ 1.90GHz.)

Definitely not seeing a hang or 15+ seconds of jank, like the badness reported in comment 0 here.

Status: REOPENED → RESOLVED
Closed: 11 years ago2 years ago
Resolution: --- → WORKSFORME

For archival purposes, since most of the testcases here have disappeared, here's a copy of the "try this" link from comment 13. (This is what I was looking at in my testing for comment 18.)

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: