Quantcast
Channel: OxyPlot (moved to GitHub)
Viewing all articles
Browse latest Browse all 2061

Closed Unassigned: iOS CoreText Slowing Down Plot Render on First Draw [10162]

$
0
0
See discussion - [https://oxyplot.codeplex.com/discussions/538545](https://oxyplot.codeplex.com/discussions/538545)

Latest OxyPlot where CoreText is now being used for the text...everything looks great, but it feels like we lost a good deal of speed while rendering the plots. I have a noticeable lag from launching the application to first render on 5s and iPad 3.

Hooking up Instruments, I can dig down and see all of the time is being spent in CoreText inside OxyPlot.

This is noticeable on the simulator, and becomes in your face on the device.

In the example OxyPlot program check out the 'LineSeries' examples. Pick a plot, any plot, and you'll have a bit of a pause, and then the graph draws. After this, pick any other LineSeries and you won't have the lag, and it draws fine. Same thing happens on device and in the simulator. Using Instruments to profile I see the same results, a lot of time spent down in CoreText.

If you kill the application, start it up again, and pick a different plot you'll see the same results, long pause, draw plot, and then any other plot after that will draw fine.

Viewing all articles
Browse latest Browse all 2061

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>