Really slow call to getBBox on svg document with many paths in Mobile Safari

Number:rdar://9921690 Date Originated:09-Aug-2011 05:55 PM
Status:Open Resolved:
Product:Safari Product Version:5.0.2 / 6533.18.5
Classification:Performance Reproducible:Always
In a svg document with many paths with a stroke defined, doing a getBBox call on a single path takes around a full second, in Mobile Safari. It should be near zero.

Steps to Reproduce:
Open testcase.

Expected Results:
Near 0 ms getBBox call, displayed on tc.

Actual Results:
Around 1 full second getBBox call, on an iPad.

User Agent: Mozilla/5.0 (iPad; U; CPU OS 4_3_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J3 Safari/6533.18.5

Testcase is several hundred kilobytes big, so it's not posted here. When attachments are implemented, the tc will be attached.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!