I've posted a first run of the script but the post did not appear yet as it's being checked apparently.
Since then, I had to cancel and restart the script, and now had it running for up to 8'000
Code:
BOOX:/sdcard/Documents/tmp2 $ /data/local/tmp/alpha.sh
1001 8002 59901
0m13.54s real 0m00.07s user 0m00.62s system
2001 16002 119794
0m28.97s real 0m00.35s user 0m01.11s system
3001 24002 179687
0m44.88s real 0m00.34s user 0m01.68s system
4001 32002 239580
1m02.23s real 0m00.43s user 0m02.27s system
5001 40002 299473
1m20.48s real 0m00.42s user 0m02.92s system
6001 48002 359366
1m39.06s real 0m00.61s user 0m02.92s system
7001 56002 419259
1m59.83s real 0m00.70s user 0m03.86s system
8001 64002 479152
2m21.60s real 0m00.84s user 0m04.26s system
It seems to be roughly linear in that it takes around 15-20 seconds per thousand additional files. Which also is more ore less in line with the almost 6 minutes it took for 20'000 files in one of my last posts.
When I run a standard ls command in a folder, usually it hangs first without displaying anything and then after some time, the complete listing is shown