简体   繁体   中英

Bad Xcode iPhone simulator performance - Python Kivy app

I'm running a application that I created using Python and KivyMD in the iPhone Simulator of Xcode. So far I do have a really bad performance. The animations, transistions, opening/ widgets just perform very bad and laggy. It results in a delay of mouse click and instruction performance of about 1s. The app I developed is yet pretty simple, does contain several basic widgets like a button, textinput, spinners and does have a connection to a postgreSQL database. Not the functions in the app (select data from the database etc) cause the lag, it's just the performance in total.

Is there anything that has to be set up in Xcode to make it run smooth? Already checked if I had accidentally enabled the slow-animations but didn't. Also curious if it is just the simulator or if it would also run as bad on my actual device.

The iPhone simulator is runs super heavy on a system. I've experienced something similar and was able to fix it by closing applications running in the background to free up some CPU and RAM. You could also try the obvious restarting xcode.

I've used Kivy to develop a number of iOS apps. The iPhone simulator from Xcode is just tremendously slow no matter what. Your program likely runs just fine on a physical device!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM