DNA sequence test with C++ source codes

tempestglen

Member
Dec 5, 2012
88
17
71
If anandtech doesn't give us SPEC06 test on iphone/ipad, we do the scientific test by ourselves.

I've compiled the C++ source code on my ipad with "THEOS", Clang 3.7, -O3 flag.

Runing 250,000,000, it cost A9X 51 sec to finish on single thread and 28 sec on dual threads.

You can modify the "const int THREADS_TO_USE = 1 " to make this test a single thread.

Source code is here.

http://benchmarksgame.alioth.debian.org/u64q/program.php?test=fasta&lang=gpp&id=6

Command line: date && ./youappname 250000000 > /dev/null && date

I also compiled on Macmini 2011 @2.3Ghz with lastest Xcode, -O3 optimization.
16 sec on 2core 4 threads,
46 sec on single thread.

My friend's skylake 4.6Ghz: 25 sec on single thread.

It seems A9X has similar perf/Mhz with desktop core in this kind of test.
 
Last edited: