Quote:
Originally Posted by Renate
This is crazy. It's a speed ratio of 500.
Ok, here's a boring test you can make to see if there is some threshold for when it gets slow.
I'm running it on my Poke3. I see that the "touch" file creation is pretty darn slow, but the "ls" seems fast (so far).
Here's the script. Copy paste it into alpha.sh
Code:
#!/system/bin/sh
for a in a b c d e f g h i j k l m n o p q r s t u v w x y z
do
i=0; while [ $((i)) -lt 1000 ]; do touch $a$i; i=$(($i+1)); done;
time ls -l | wc
done
Then:
Code:
C:\>adb push alpha.sh /data/local/tmp
C:\>adb shell
$ cd /sdcard
$ mkdir Test
$ cd Test
$ chmod 755 /data/local/tmp/alpha.sh
$ /data/local/tmp/alpha.sh
Then go and make breakfast.
|
Hmmmm:
Quote:
Originally Posted by Renate
This is really weird stuff. Whoever wants to report it to Onyx is welcome to include my script.
|
Code:
Microsoft Windows [Version 10.0.22621.963]
(c) Microsoft Corporation. Alle Rechte vorbehalten.
d:\_Reader-Smartphone\ADB>adb push alpha.sh /data/local/tmp
alpha.sh: 1 file pushed. 0.0 MB/s (178 bytes in 0.032s)
d:\_Reader-Smartphone\ADB>adb shell
BOOX:/ $ cd /sdcard
BOOX:/sdcard $ mkdir Test
BOOX:/sdcard $ chmod 755 /data/local/tmp/alpha.sh
BOOX:/sdcard $ /data/local/tmp/alpha.sh
/system/bin/sh: /data/local/tmp/alpha.sh: No such file or directory
1|BOOX:/sdcard $
alpha.sh
Code:
#!/system/bin/sh
for a in a b c d e f g h i j k l m n o p q r s t u v w x y z
do
i=0; while [ $((i)) -lt 1000 ]; do touch $a$i; i=$(($i+1)); done;
time ls -l | wc
done
/system/bin/sh: /data/local/tmp/alpha.sh: No such file or directory