WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Vista

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

WinBatch Benchmark on Vista

 Keywords: WinBatch Benchmark CPU Vista XP 32 64 bit 

Question:

I wrote a small program that allows me to test CPU speed (not complicated, it just give me an idea). I ran that program on a fresch new Dell machine having the last I7 intel processeur with Vista 64 bits installed, it took 72 seconds to complete. I removed vista and installed XP 32 bits, it took 62 seconds to complete. At your opinion, is it due to Vista, 32 bits emulation on 64 bits OS, both ? btw : Is there any plan to have Winbatch able to create 64 bits programs ? Here is my code :
start = GetTickCount()

#DefineFunction loop(real)
start = GetTickCount()
res = 0
For i = 1 To 500000
If real
Res = Int((Res + i) / 2.0)
Else
Res = (Res + i) / 2
EndIf
Next
endp = GetTickCount()
elapsed = (endp - start) / 1000

Return res : " / " : elapsed
#EndFunction

mess1 = loop(@TRUE)
mess2 = loop(@FALSE)

endp = GetTickCount()
elapsed = (endp - start) / 1000

Message("test", mess1 : @CR : mess2 : @CR : elapsed)
Exit

Answer:

Kind of like comparing apples to oranges when it comes to Vista versus XP. I think that there is general agreement in the industry (outside of Microsoft marketing and true believers) that you pay on average a 20% performance penalty when migrating from XP to Vista. It appears Microsoft addressed this in Windows 7 because it benchmarks out much better than Vista did at the same point in the release cycle.

The overhead for running a 32-bit application on 64-bit Windows is almost non-existent for most applications, including WinBatch. Until such time as software vendors, like Microsoft, start producing more 64-bit applications WinBatch is more capable as a 32-bit application on 64-bit Windows.

It would seem that a 64 bit version of WinBatch is not on the horizon. Unfortunately porting WinBatch code from 32-bit to 64-bit and it is a lot more complicated than you would imagine. Due to our limited resources we are focusing on continuing support only for 32 bit. We can only hope that someday WinBatch can be ported to a native 64 bit application.


Article ID:   W18433
Filename:   WinBatch Benchmark on Vista.txt
File Created: 2009:09:02:09:59:16
Last Updated: 2009:09:02:09:59:16