The next version of B4i (which is not far away) includes several significant performance improvements.
As demonstrated here the debugger can now optimize resumable subs in the same way that it optimizes other subs. This makes a huge difference when debugging projects with resumable subs. This improvement will also be applied to B4A and B4J.
It will also include runtime performance improvements that reduce the overhead of many common operations in release mode.
These improvements can make a huge difference with processor intensive tasks.
As an example you can see the difference in the number of drawings per second with BitmapCreator:
Current version:
Draw smilies from BitmapCreator (skip blending): 81,000 per second
Draw smilies from BitmapCreator (with blending): 700 per second
Next version:
Draw smilies from BitmapCreator (skip blending): 620,000 per second (7.5x)
Draw smilies from BitmapCreator (with blending): 20,700 per second (30x)
Note that BitmapCreator itself includes a few modifications to allow it to run as fast as possible with the new optimizations.
In this case the difference is very large. In most applications it will not be so dramatic however it will still help with building fast applications.
As demonstrated here the debugger can now optimize resumable subs in the same way that it optimizes other subs. This makes a huge difference when debugging projects with resumable subs. This improvement will also be applied to B4A and B4J.
It will also include runtime performance improvements that reduce the overhead of many common operations in release mode.
These improvements can make a huge difference with processor intensive tasks.
As an example you can see the difference in the number of drawings per second with BitmapCreator:
Current version:
Draw smilies from BitmapCreator (skip blending): 81,000 per second
Draw smilies from BitmapCreator (with blending): 700 per second
Next version:
Draw smilies from BitmapCreator (skip blending): 620,000 per second (7.5x)
Draw smilies from BitmapCreator (with blending): 20,700 per second (30x)
Note that BitmapCreator itself includes a few modifications to allow it to run as fast as possible with the new optimizations.
In this case the difference is very large. In most applications it will not be so dramatic however it will still help with building fast applications.
Last edited: