View Single Post
mosen's Avatar
Community Council | Posts: 1,669 | Thanked: 10,225 times | Joined on Nov 2014 @ Lower Rhine
#2
I benchmarked sailfish devices 2 years ago.

Some common linux commands could indeed be utilized by an application and have a nice front end.

~CPU speed
Code:
time $(i=0; while (( i < 999999 )); do (( i ++ )); done)
write speed
Code:
dd bs=16k count=102400 oflag=direct if=/dev/zero of=test_data
read speed
Code:
dd bs=16K count=102400 iflag=direct if=test_data of=/dev/null
service startup e.g.
Code:
time systemctl start aliendalvik.service
Application startup, e.g.
Code:
time xdg-open /usr/share/applications/jolla-camera.desktop
If sysbench is installed even nicer things are possible like:
Multicore/thread cpu test
Code:
sysbench --test=cpu --cpu-max-prime=2000 --num-threads=2 run
Mem test
Code:
sysbench --test=memory --memory-total-size=512Mb run
 

The Following 9 Users Say Thank You to mosen For This Useful Post: