mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-19 07:51:57 +09:00
[Docs] (Performance): glmark2 optimization handoff with the landed fixes, current numbers, remaining work and the bench scripts
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# pbprobe.sh <tag> - every 15 s while the run lasts: two screenshots 1 s apart; logs size and whether they differ
|
||||
D=/data/local/tmp/anl/pb; tag=$1; n=0
|
||||
sleep 10
|
||||
while [ ! -f $D/$tag.ended ]; do
|
||||
screencap -p $D/pr-a.png; sleep 1; screencap -p $D/pr-b.png
|
||||
a=$(md5sum $D/pr-a.png | cut -c1-8); b=$(md5sum $D/pr-b.png | cut -c1-8); s=$(stat -c %s $D/pr-a.png)
|
||||
st=ok; [ "$a" = "$b" ] && st=STATIC; [ $s -lt 200000 ] && st=BLACK
|
||||
echo "probe t=$n size=$s $st" >> $D/$tag.meta
|
||||
n=$((n+15)); sleep 13
|
||||
done
|
||||
Reference in New Issue
Block a user