Quo Vadis, Open {Source, Standards, World}? w/ Jan Wildeboer – XDA:DevCon 2014

Open Source was a big topic at this years XDA:DevCon … more

Android 5.0 Leaked for the Samsung Galaxy Note 3

Android Lollipop is still making its way to many new devices. Firmware updates have been … more

Learn to Sync Files Between Android And PC with Unison

Dropbox and similar cloud services are great if youre planning to keep your files … more

OnePlus Indian Ban Lifted, Android One Expanding – XDA TV

Android 5.0.1 Lollipop is available for the Nvidia SHIELD Tablet! That and … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[App] Cpu Performance Tester

OP rootfan

30th March 2014, 02:26 AM   |  #1  
rootfan's Avatar
OP Senior Member
Flag Idaho Falls
Thanks Meter: 123
 
173 posts
Join Date:Joined: Jul 2011
More
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:	2320
Size:	28.8 KB
ID:	2658030  
Attached Files
File Type: txt performance.txt - [Click for QR Code] (13.3 KB, 144 views)
Last edited by rootfan; 1st April 2014 at 02:55 AM.
The Following 5 Users Say Thank You to rootfan For This Useful Post: [ View ]
31st March 2014, 08:25 AM   |  #2  
Recognized Developer
Flag Seattle
Thanks Meter: 2,791
 
5,877 posts
Join Date:Joined: Jan 2011
More
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).
1st April 2014, 02:49 AM   |  #3  
rootfan's Avatar
OP Senior Member
Flag Idaho Falls
Thanks Meter: 123
 
173 posts
Join Date:Joined: Jul 2011
More
Of course. I will just post it above for now.
1st April 2014, 02:53 AM   |  #4  
Recognized Developer
Flag Seattle
Thanks Meter: 2,791
 
5,877 posts
Join Date:Joined: Jan 2011
More
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.
9th April 2014, 03:24 PM   |  #5  
Senior Member
Flag Thurrock
Thanks Meter: 17
 
105 posts
Join Date:Joined: Nov 2005
More
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
Last edited by chazam; 9th April 2014 at 03:49 PM.
9th April 2014, 04:38 PM   |  #6  
T.E.C.H.N.O's Avatar
Senior Member
Flag Hamburg
Thanks Meter: 34
 
100 posts
Join Date:Joined: Dec 2012
More
On Windows 8 (64 bit) it gives me the following error:

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

9th April 2014, 06:54 PM   |  #7  
vbetts's Avatar
Senior Member
Flag Toledo Ohio
Thanks Meter: 55
 
992 posts
Join Date:Joined: Jun 2010
More
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.
9th April 2014, 07:44 PM   |  #8  
Recognized Developer
Flag Seattle
Thanks Meter: 2,791
 
5,877 posts
Join Date:Joined: Jan 2011
More
@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.
9th April 2014, 11:03 PM   |  #9  
Member
Flag Bordeaux
Thanks Meter: 14
 
34 posts
Join Date:Joined: Feb 2011
More
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 ?
9th April 2014, 11:08 PM   |  #10  
Senior Member
Thanks Meter: 325
 
1,620 posts
Join Date:Joined: Dec 2012
Quote:
Originally Posted by GoodDayToDie

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?

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes