Closed Bug 333617 Opened 19 years ago Closed 19 years ago

SVG Slow Performance on dense paths

Categories

(Core :: SVG, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 332413

People

(Reporter: bugzilla, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20060411 Firefox/2.0a1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20060411 Firefox/2.0a1 When using a large number of paths that use a large number of points, the SVG rendering performance degrades. This would be expected behaviour, since larger number of data points requires more computation. However, when compared to the great performance obtained in ASV, it is perplexing to watch the comparison. This is a difficult problem to report. I have been trying to tailor a test case to pin point the reason for the issue. However, as I make the test sample smaller by removing objects, the performance improves. Reproducible: Always
Possibly the same as bug 332413? cairo's current tesselator has poor scaling behavior, so if your paths are complicated that might be the cause of your performance problems.
The test case is too large to be accepted in Bugzilla, so I put a link to it here: http://devel0.gcrc.carleton.ca/jpfiset/bugzilla/antarctic_treaty_signatories.svg This is a map developed by Peter Pulsifer. I am submitting it, with his approval, as a test case. I have been trying to figure out, besides the sheer number of objects, the reason why it is rendered slowly in Mozilla. Yet, in ASV, the performance is good enough to make the rendered content useable. If anyone can make this test case simpler to show the problem, or if someone as a trick to make this document render faster, than it would be appreciated.
(In reply to comment #1) > Possibly the same as bug 332413? > > cairo's current tesselator has poor scaling behavior, so if your paths are > complicated that might be the cause of your performance problems. > It could be. I missed out on that bug when searching for similar ones. I tested the sample given in bug 332413 on Bon Echo, and it gave me poor results. I could not test it on ASV (I'll have to look into it). But, it looks like a similar document.
*** This bug has been marked as a duplicate of 332413 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.