I tried to convert one of my apps to B4X Pages.
I was very excited. I think b4X Pages is really a great step forward, but I found a big problem in my rearranged application.
Running a Sub that basically inserts records to a local sql-lite db, the performance was really too slow.
For example Using the original standard B4A app 1000 records are inserted in about 20 secs.
Same routine in B4X Pages same inserts are executed in more then 100 secs.
The loop uses sleep(0) to update a progress bar. if i omit sleep(0) the routine executes real fast, but i would not feel very safe to run a for loop without a sleep(0)
Is there anything that can be done to reduce the performance gap ?
I was very excited. I think b4X Pages is really a great step forward, but I found a big problem in my rearranged application.
Running a Sub that basically inserts records to a local sql-lite db, the performance was really too slow.
For example Using the original standard B4A app 1000 records are inserted in about 20 secs.
Same routine in B4X Pages same inserts are executed in more then 100 secs.
The loop uses sleep(0) to update a progress bar. if i omit sleep(0) the routine executes real fast, but i would not feel very safe to run a for loop without a sleep(0)
Is there anything that can be done to reduce the performance gap ?