Active Topics

 



Notices


Reply
Thread Tools
Posts: 27 | Thanked: 33 times | Joined on Oct 2017 @ Finland
#1
So it would be nice if there is some benchmark applications for sailfish os. Antutu benchmark would be great to see sailfish because then we can compare sailfish devices to android devices.

Maybe someone become inspired about this idea. There is no any benchmark for sailfish so that's missing application indeed. I'm currently don't have more thoughts about this subject.

I also know that this dream probably not come true.. We have thread for that at least. I hope I caused discussion about this subject, so ahoy sailors speak!
 

The Following 3 Users Say Thank You to Korkkiruuvi For This Useful 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:
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#3
Originally Posted by mosen View Post
~CPU speed
Code:
time $(i=0; while (( i < 999999 )); do (( i ++ )); done)
This only benchmarks the ALU of a CPU, which might introduce a misleading bias.

For example, the first Atom CPUs, while having a comparibly low clock rate, were actually not bad when it came to ALU operations. What made them feel so horribly slow was, that for every FPU operation they needed two clock cycles, effectively halving their nominal clock rate in these scenarios.

A more sophisticated, but still easy to use benchmark would be nbench [1][2]. There should also be some benchmarks for devices like the N900 in these forums.


[1] https://www.math.utah.edu/~mayer/linux/bmark.html
[2] https://en.wikipedia.org/wiki/NBench
 

The Following 6 Users Say Thank You to sulu For This Useful Post:
Posts: 1,288 | Thanked: 4,316 times | Joined on Oct 2014
#4
Well, there is sysbench like @mosen mentioned
https://openrepos.net/content/nieldk/sysbench
 

The Following 7 Users Say Thank You to nieldk For This Useful Post:
Reply

Tags
application, benchmark, developing, feature request, sailfish os

Thread Tools

 
Forum Jump


All times are GMT. The time now is 06:42.