Some example of optimizations

19 views
Skip to first unread message

Andrew Vet

unread,
Aug 22, 2017, 12:41:04 PM8/22/17
to Kivy users support
Hello! Our app is growing and starts so long time now, 14-20 secs.

May I ask some examples of project optimizations, most for python-for-android version?

Doc says so small about it...

Undertstand, that 1 second cant be, but maybe a little less than 14, o dream))...

Thanks!

Alexander Taylor

unread,
Aug 22, 2017, 1:30:45 PM8/22/17
to Kivy users support
If you build an app with nothing in it except a trivial Kivy App that doesn't display anything, how long does the startup take? It would be useful to know this to get a benchmark for how much time you might be able to save.

Any delay beyond this basic time is caused by your own code somehow, with things like creating widgets. Reducing the delay ultimately comes down to doing fewer of these things, so anywhere you can avoid immediately instantiating widgets, you want to look at doing so.

ZenCODE

unread,
Aug 22, 2017, 1:31:33 PM8/22/17
to kivy-...@googlegroups.com
Our guess would be that everything is loaded on startup? Perhaps consider a better App design, or post a runn-able example of the problem...
Reply all
Reply to author
Forward
0 new messages