Tested again on B4J 7.32. It is faster than the previous test. As this is debug mode, perhaps this result is reasonable. And it is an indication that my code needs optimization.
B4X:
Waiting for debugger to connect...
Program started.
A3 Start
start time: 12:30:10
end time: 12:30:38
A3 End
There were many improvements to the debugger in the recent versions. Still, you should never test performance in debug mode. The results are meaningless.