Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,805,688 Members 40,840 Now Online
XDA Developers Android and Mobile Development Forum

[App] Cpu Performance Tester

Tip us?
 
rootfan
Old
(Last edited by rootfan; 1st April 2014 at 01:55 AM.)
#1  
rootfan's Avatar
Senior Member - OP
Thanks Meter 122
Posts: 173
Join Date: Jul 2011
Location: Idaho Falls
Default [App] Cpu Performance Tester

This application simply does large amounts of mathematical operations on one, two, three, four, or eight threads (which corresponds to the number of cores used) and measures the amount of time it takes to complete. It makes it easy to see the cpu power of one computer compared to another. Enjoy

Some devices for comparison
Intel i7-3770 @ 3.4 ghz (quad core ht) -
1 Thread - 23 seconds
2 Threads - 23 seconds
4 Threads - 24 seconds
8 Threads - 27 seconds

Intel i5-3317U @ 1.7 ghz (dual core ht) -
1 Thread - 35 seconds
2 Threads - 36 seconds
4 threads - 40 seconds
8 threads - 1 minute 16 seconds

Intel Atom-Z3740D @ 1.33 ghz (bay-trail, quad core no ht)
1 Thread - 1 minute 24 seconds
2 Threads - 1 minute 24 seconds
4 Threads - 1 minute 25 seconds
8 Threads - 2 minutes 35 seconds


Source code can be found in the text file bellow.

Performance Tester:
https://dl.dropboxusercontent.com/u/...erformance.exe - For X86

https://dl.dropboxusercontent.com/u/...ormance-RT.exe - Windows RT edition
Attached Thumbnails
Click image for larger version

Name:	perfpic.jpg
Views:	2253
Size:	28.8 KB
ID:	2658030  
Attached Files
File Type: txt performance.txt - [Click for QR Code] (13.3 KB, 143 views)
The Following 5 Users Say Thank You to rootfan For This Useful Post: [ Click to Expand ]
 
GoodDayToDie
Old
#2  
Recognized Developer
Thanks Meter 2,699
Posts: 5,680
Join Date: Jan 2011
Location: Seattle
Cool. Looks easy to port to jailbroken RT; and chance of an ARM build? (I'd do it myself but I'm away from my dev machine at present).
Win8/Windows RT projects:
List of desktop apps for hacked RT devices

WP8 projects:
Native Access WebServer and Libraries
WP8 Interop Unlocks
Storage Cleanup tool

WP7 projects:
XapHandler, Root Webserver, OEM Marketplace XAPs, Bookmarklets collection (Find On Page), Interop-unlock hacks.


Do not private message me with questions that should have been posted on the forum! Not only are you wasting your time - I'm not going to bother writing an answer to such a question for only one person - but I will probably block you from PMing me in the future as well.
 
rootfan
Old
#3  
rootfan's Avatar
Senior Member - OP
Thanks Meter 122
Posts: 173
Join Date: Jul 2011
Location: Idaho Falls
Of course. I will just post it above for now.
 
GoodDayToDie
Old
#4  
Recognized Developer
Thanks Meter 2,699
Posts: 5,680
Join Date: Jan 2011
Location: Seattle
That would be great, thanks.

I'm somewhat amused by somebody with a C# logo in their profile image posting a C++ app but that does make sense for performance testing programs.
Win8/Windows RT projects:
List of desktop apps for hacked RT devices

WP8 projects:
Native Access WebServer and Libraries
WP8 Interop Unlocks
Storage Cleanup tool

WP7 projects:
XapHandler, Root Webserver, OEM Marketplace XAPs, Bookmarklets collection (Find On Page), Interop-unlock hacks.


Do not private message me with questions that should have been posted on the forum! Not only are you wasting your time - I'm not going to bother writing an answer to such a question for only one person - but I will probably block you from PMing me in the future as well.
 
chazam
Old
(Last edited by chazam; 9th April 2014 at 02:49 PM.)
#5  
Senior Member
Thanks Meter 17
Posts: 100
Join Date: Nov 2005
Location: Thurrock
Scores for my AMD FX-8350 (stock @ 4.0GHz):
1 Thread: 26 seconds
2 Thread: 27 Seconds
3 Thread: 27 seconds
4 Thread: 27 Seconds
8 thread: 29 seconds.

Will give it a whirl on my Q6600 machine in a sec!

Q6600 (stock 2.4GHz):
1 thread: 47 seconds
2 threads: 47 seconds
3 threads: 47 seconds
4 threads: 48 seconds
8 threads: 1 minute 26
Xperia SP - CyanogenMod 11 - Locked Bootloader
 
T.E.C.H.N.O
Old
#6  
T.E.C.H.N.O's Avatar
Member
Thanks Meter 33
Posts: 81
Join Date: Dec 2012
Location: Hamburg
On Windows 8 (64 bit) it gives me the following error:

The program cannot be started, because MSVCP110.dll it missing.

 
vbetts
Old
#7  
vbetts's Avatar
Senior Member
Thanks Meter 53
Posts: 979
Join Date: Jun 2010
Location: Toledo Ohio
You need .net framework or Visual c++.

http://www.microsoft.com/en-au/downl....aspx?id=30679

Works on 7, my work machine which has a core 2 duo 4600(yup running one of these old guys!) scored 56 seconds on 2 threads.
xdadevelopers
Samsung Galaxy S3 i747
-AOSB 1.3.1 Kitkat 4.4.2
-3.4.79 cyanogenmod kernel
 
GoodDayToDie
Old
#8  
Recognized Developer
Thanks Meter 2,699
Posts: 5,680
Join Date: Jan 2011
Location: Seattle
@chazram: Cool (though not surprising) to see that the clock cycles per (arithmetic) instruction are basically the same between Intel and AMD (which allows the AMD's greater clock rate to smoke the Intel). Also interesting to see the difference between actually having eight integer cores (AMD) and having eight hardware pipelines but only four ALUs (Intel). It *is* actually a bit surprising to see how close the AMD is on 4 threads and 8, given the 8350 only has 4 floating-point ALUs and a good bit of the computation is FP. On the other hand, repeating the same operation over and over again can easily be optimized, possibly even my microcode.

Of course, real-world usage is a lot more than just crunching numbers over and over, but it's a pretty good set of ALU benchmarks.
Win8/Windows RT projects:
List of desktop apps for hacked RT devices

WP8 projects:
Native Access WebServer and Libraries
WP8 Interop Unlocks
Storage Cleanup tool

WP7 projects:
XapHandler, Root Webserver, OEM Marketplace XAPs, Bookmarklets collection (Find On Page), Interop-unlock hacks.


Do not private message me with questions that should have been posted on the forum! Not only are you wasting your time - I'm not going to bother writing an answer to such a question for only one person - but I will probably block you from PMing me in the future as well.
 
ldFxl
Old
#9  
Member
Thanks Meter 14
Posts: 34
Join Date: Feb 2011
Location: Bordeaux
Is the test loop doing floating point or integer calculation ?
shouldn't thread priority be high ?
Like memory consumption exceed the simple CPU Cache, how to be sure that results aren't influenced by ram quality ?
 
SixSixSevenSeven
Old
#10  
Senior Member
Thanks Meter 324
Posts: 1,620
Join Date: Dec 2012
Quote:
Originally Posted by GoodDayToDie View Post
given the 8350 only has 4 floating-point ALUs and a good bit of the computation is FP. On the other hand, repeating the same operation over and over again can easily be optimized, possibly even my microcode.
Should also be mentioned that the AMD floating point units consist of 2 128 bit FPU's which can be addressed by each half of a module independently or the 2 128 bit units can be ganged together to form a single 256 bit FPU. I think intel utilise a near identical unit. But I should think the effective 8 128 bit FPU's of the 8350 should suffice?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes