T-Mobile HTC One M8 Gets Selfie-Friendly Android 4.4.4 OTA

The T-Mobie variant of HTC One (M8) just now received an over-the-air update … more

Android L is for Lockdown

Root is, without a doubt, the (un)holy grail of the Android world. Those wonderful permissions that allow you as … more

XDA Xposed Tuesday: XHangouts Will Improve Your Hangouts

Ever since Google started supporting text messaging in Hangouts many people have … more

Shattered Screen? Turn Your Broken Device into a Complete Media Center!

A cracked screen usually means you’ll have to spend a hefty … more
Post Reply

[App] Cpu Performance Tester

OP rootfan

30th March 2014, 01:26 AM   |  #1  
rootfan's Avatar
OP Senior Member
Flag Idaho Falls
Thanks Meter: 122
 
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:	2271
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 01:55 AM.
The Following 5 Users Say Thank You to rootfan For This Useful Post: [ View ]
31st March 2014, 07:25 AM   |  #2  
Recognized Developer
Flag Seattle
Thanks Meter: 2,708
 
5,731 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, 01:49 AM   |  #3  
rootfan's Avatar
OP Senior Member
Flag Idaho Falls
Thanks Meter: 122
 
173 posts
Join Date:Joined: Jul 2011
More
Of course. I will just post it above for now.
1st April 2014, 01:53 AM   |  #4  
Recognized Developer
Flag Seattle
Thanks Meter: 2,708
 
5,731 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, 02:24 PM   |  #5  
Senior Member
Flag Thurrock
Thanks Meter: 17
 
100 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 02:49 PM.
9th April 2014, 03:38 PM   |  #6  
T.E.C.H.N.O's Avatar
Member
Flag Hamburg
Thanks Meter: 33
 
94 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, 05:54 PM   |  #7  
vbetts's Avatar
Senior Member
Flag Toledo Ohio
Thanks Meter: 54
 
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, 06:44 PM   |  #8  
Recognized Developer
Flag Seattle
Thanks Meter: 2,708
 
5,731 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, 10: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, 10:08 PM   |  #10  
Senior Member
Thanks Meter: 324
 
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


Top Threads in Windows 8 Development and Hacking by ThreadRank