Jump to content

CPU Benchmark


sandin
 Share

Recommended Posts

love the GUI, looks awome :)

Test:   Dual/Quad Core optimization
Your time:   18.5283 sec
π (pi) result:   3.14159265358979
Your CPU:   AMD Athlon(tm) 64 X2 Dual Core Processor 6000+

[font="Impact"]Never fear, I is here.[/font]

Link to comment
Share on other sites

Thank you very much for this beautiful script. Hope you don't mind I modified some of your code and used it in another one of my scripts.

Not Compiled:

Test: Dual/Quad Core optimization

Your time: 65.1522 sec

π (pi) result: 3.14159265358979

Your CPU: Intel® Pentium® D CPU 2.80GHz

Compiled:

Test: Dual/Quad Core optimization

Your time: 60.6 sec

π (pi) result: 3.14159265358979

Your CPU: Intel® Pentium® D CPU 2.80GHz

Link to comment
Share on other sites

that was single core test (which is slower for single and multi core CPUs), and it was updated today to use the same formula as Super Pi program. So in order to compare to others au3scr should do the test again with dual/quad core optimization.

btw my results for single core:

Test:   Single Core optimization
Your time:   41.488 sec
π (pi) result:   3.14159265358979
Your CPU:   AMD Athlon(tm) 64 X2 Dual Core Processor 4200+

and my dual/quad core results you can find in 1st post, 1st picture.

Link to comment
Share on other sites

Test: Single Core optimization

Your time: 43.4618 sec

π (pi) result: 3.14159265358979

Your CPU: Intel® Core2 Quad CPU Q6600 @ 2.40GHz

Test: Dual/Quad Core optimization

Your time: 35.02 sec

π (pi) result: 3.14159265358979

Your CPU: Intel® Core2 Quad CPU Q6600 @ 2.40GHz

A lot different now. I can't calculate pi by subtracting them any more :)

Giggity

Link to comment
Share on other sites

How about to implement more functions like these ones?

n!:

0! = 1

if n > 0 then n! = n * (n - 1)!

Fibonnaci Numbers:

A1 = 0, A2 = 1,

An = An-1 + An-2

Number e:

e = lim n-> infinity (1 + (1 / n)) ^n = sum ( 1 / n!) where n = 0 to infinity

e = 2.71828...

Or Mandelbrot -> click me!

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

with dual/quad core

Test: Dual/Quad Core optimization

Your time: 62.0742 sec

π (pi) result: 3.14159265358979

Your CPU: AMD Sempron Processor 2800+

system properties shows 1604 MHz

Edited by au3scr
Link to comment
Share on other sites

You can add e.g. this function to get real max. CPU speed:

Func CPU_Speed($system)
    Local $objWMIService = ObjGet("winmgmts:{impersonationLevel=impersonate}!\\" & $system & "\root\cimv2")
    Local $colItems = $objWMIService.ExecQuery("Select MaxClockSpeed from Win32_Processor", "WQL", 0x30)
    Local $HW_Processor_MaxClockSpeed
    If IsObj($colItems) Then
        For $objItem In $colItems
            $HW_Processor_MaxClockSpeed = Round($objItem.MaxClockSpeed, 0) & " Hz"
        Next
        Return $HW_Processor_MaxClockSpeed
    Else
        Return "n.a."
    EndIf
EndFunc

UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

Almost same results as before :

Test:   Dual/Quad Core optimization
Your time:   12.2534 sec
π (pi) result:   3.14159265358979
Your CPU:   Intel(R) Core(TM)2 Extreme Quad CPU QX9770 @ 3.2 GHz

Cheers, FireFox.

Edited by FireFox
Link to comment
Share on other sites

Hi All,

too bad the WMI is not accurate when retrieving the processor name My Dual Xeon QuadCore is detected as a Pentium III Xeon, i believe the best way is to do it through the registry..

The following example will retrieve the processorname for 32 bits and 64 bits os

$HKCU = "HKEY_CURRENT_USER"
$HKLM = "HKEY_LOCAL_MACHINE"

If @OSArch = "X64" Then ; Or @ProcessorArch depends on AutoIt version
    $HKCU &= "64"
    $HKLM &= "64"
EndIf

$ProName = StringStripWS(RegRead($HKLM & "\HARDWARE\DESCRIPTION\System\CentralProcessor\0", "ProcessorNameString"), 4)
$TotalCores = EnvGet("NUMBER_OF_PROCESSORS") ;

Msgbox (0, "Information", "ProcesorName = " & $ProName & " TotalCores in your System = " & $TotalCores)

Best regards,Emiel Wieldraaijer

Link to comment
Share on other sites

  • 1 month later...

ha nice tools, working also on Atom CPU on my AOA150 with Vista :)

Test:   Dual/Quad Core optimization
Your time:   92.7899 sec
π (pi) result:   3.14159265358979
Your CPU:   Intel(R) Atom(TM) CPU N270 @ 1.60GHz
CPU cores:   2
Link to comment
Share on other sites

  • 2 months later...

Test: Dual/Quad Core optimization

Your time: 18.5598 sec

π (pi) result: 3.14159265358979

Your CPU: Intel® Core2 Quad CPU Q6600 @ 2.40GHz

I'm a winnerrrrrr

Not any longer :(

Test:   Dual/Quad Core optimization
Your time:   18.0244 sec
π (pi) result:   3.14159265358979
Your CPU:   AMD Athlon(tm) 7750 Dual-Core Processor
CPU cores:   2

Now I'm the one ^^ with 56 processes running ;)

LDer.

Edit1: Now, OK, FireFox' CPU was faster^^ but... I doubt he can do that again with 2*Delphi IDE open, Firefox, Thunderbird and AutoIt also running...

That's just unfair, he's got a QUADcore... nice, man ^_^

Regards,

The LDer

Edited by LDericher
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...