I'm happy to release B4i v5.00. This update includes significant performance improvements, in both debug mode and release mode, as well as other improvements.
Resumable subs in debug mode are optimized in the same way other subs are optimized. You can see the difference in this video (the video was taken with a B4A app, the improvement is the same in B4i):
Runtime performance improvements including: for loop optimizations, inlined methods, direct field access for properties and others.
These improvements can make a huge difference in processor intensive tasks.
As an example, the number of drawings per second with BitmapCreator:
V4.8:
Draw smilies from BitmapCreator (skip blending): 81,000 per second
Draw smilies from BitmapCreator (with blending): 700 per second
V5.0:
Draw smilies from BitmapCreator (skip blending): 620,000 per second (7.5x)
Draw smilies from BitmapCreator (with blending): 20,700 per second (30x)
In most cases the difference will not be so large but it will still help your programs run faster.
i can confirm that spritekit runs with about 20-25 fps on SIMULATOR!! in debug and release mode (they run almost the same 1-2 fps difference) i never get so many frames using spritekit on the simulator. now I can test my games on the simulator and not only on a physical device.
awesome job @Erel!
i can confirm that spritekit runs with about 20-25 fps on SIMULATOR!! in debug and release mode (they run almost the same 1-2 fps difference) i never get so many frames using spritekit on the simulator. now I can test my games on the simulator and not only on a physical device.
awesome job @Erel!