nishantBabaria / svg-android

Automatically exported from code.google.com/p/svg-android
0 stars 0 forks source link

Very Slow Loading #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load an SVG file
2. Put time stamps around SVGParser.getSVGFrom*(...)
3. Run app

What is the expected output? What do you see instead?
The SVGs load correctly, but it can take up to a minute to parse them on some 
phones.

What version of the product are you using? On what operating system?
SVGParser 1.1 on HTC Wildfire (2.2.1) and Samsung gt-i5700 (2.1).

Please provide any additional information below.
Loads very quickly on my S3, but on a lot of older devices (Archos, Desire, 
i5700, wildfire) it can take between 20 and 40 seconds to load a single SVG.  
The SVG is fairly complex, a whole set of 52 cards including picture cards.  
Less complex SVGs load a lot quicker.
This has lead to load time of almost 2 minutes for a simple Klondike Solitaire 
game.

Original issue reported on code.google.com by rickyosw...@gmail.com on 4 Dec 2012 at 10:54