Do iphone apps in development slower than when they are released?

I'm new to iPhone app development and testing on a simulator and on my second iPod. I see delay times in what I consider to be simple code. I know that the simulator will always run faster than the hardware, and I know that when I debug, the physical iPod must run the debugging program in the background, which can affect performance. My question is that after debugging, when I run the application on my iPod, it still seems sluggish. My program is in the initial stages and quite small, with only about 1000 lines of code, and I know that I release all the objects that I create. From the very beginning, the program is a bit sluggish, so I don’t think this is a memory leak problem.

Applications that are under development usually work slower than when they are completed and released, or that I am currently working with the overall speed of the application that will be released to the public? Any insight would be appreciated. Thank you for your time.

+3
source share
3 answers

Well, the optimized release build configuration is clearly faster than the Debug build style. The difference can be very large if your code does a lot of computation. If you only do the user interface, you probably won't see any difference.

There is no difference between the release version on your development machine and the application that you get from the store.

+3

. - , , NSLogs , , , , .

0

As others have said, the optimized release build on a device will run at the same speed as its release.

Use Tools to profile your application and see exactly what causes a slowdown.

0
source

Source: https://habr.com/ru/post/1730227/


All Articles