[PB4.31_x86] .APP needs more processor time than .EXE
Posted: Thu Sep 24, 2009 9:35 am
I have a computer with dual boot : Windows XP and Osx.
I compiled an executable file with the following source code for each operating system:
Under Osx, the executable file (.app) requires twice more processor time than the executable file (.exe) under Windows XP.
I am wondering if this is normal because Osx basically requires more processor time than Windows XP, or could we say "such basic source code should take same processor time on same computer, whatever is the operating system" ?
I compiled an executable file with the following source code for each operating system:
Code: Select all
OpenWindow(0, 100, 100, 300, 200, "1")
Repeat
event = WaitWindowEvent(25)
If Event = 0
For k = 1 To 1200000
n = 555;
n = k * n
n = k / n
Next k
EndIf
Until Event = #PB_Event_CloseWindow
I am wondering if this is normal because Osx basically requires more processor time than Windows XP, or could we say "such basic source code should take same processor time on same computer, whatever is the operating system" ?