English
Forum

speed XPIA only The installed Procedur-ASM-command or The normalen Profanbefehle?

 

funkheld
so my I, whether too The Whileschleife etc or rechenintensive items speed go? or only The ASM-pieces The in a Procedur stand ?

greeting
 
09/06/12  
 



XPIA speed nothing, the was always task and performance the XPSE

The speed whom XProfan-code and bid additional native Profan by nProcs. The are correctly. quick.

You can the slight too self testing. Schreib time one beliebigen einfachen ASM in a nProc z.B.:
CompileMarkSeparation
and teste The Number of Aufrufe within of/ one second:
CompileMarkSeparation
cls
var tme&=&getTickCount+1000
var cnt&=0

while &getTickCount<tme&

    Test()
    add cnt&,1

wend

print cnt&,"Aufrufe within 1000ms"
waitInput
end

nProc Test

    push eax
    push ebx
    push ecx
    push edx
    pop edx
    pop ecx
    pop ebx
    pop eax

endproc


by me z.B. come there 39.222 Aufrufe within 1.000ms out.

how much comes there with you out and how much, if you The function Test with xpia aufrufst?

yet plenty faster ists if you self The Aufrufe and the Loop into nProc ablegst:
CompileMarkSeparation
 {$cleq}
cls
print Test2(),"Aufrufe within 1000ms"
waitInput
end

nProc Test

    push eax
    push ebx
    push ecx
    push edx
    pop edx
    pop ecx
    pop ebx
    pop eax

endproc

nProc Test2

    var tme&=&getTickCount+1000
    var cnt&=0

    while &getTickCount<tme&

        Test()
        add cnt&,1

    wend

    return cnt&

endproc


then sustain I instead of 39.222 Aufrufe even satte 13.565.528 Aufrufe in 1.000ms.

nProcs are very so quick How z.B. APIs self The of OS provided go
and this is the fastest what the OS at all can for normal processes.

too normal Profan-code becomes of XPSE over many different modes
away speed. moreover belong z.B. the API-Aufrufe always into fastest
Calls konvertiert and be syntaktische Optimierungen and and...

already 2005 get these properties recognized:  [...]  The to date explicit weiterentwickelt get.
 
09/06/12  
 




funkheld
Jup, everything recognized.

Thank you.

greeting
 
09/06/12  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.699 Views

Untitledvor 0 min.
Sven Bader08/20/21
p.specht03/04/18
Matthias Arlt02/18/16
iF12/29/15
More...

Themeninformationen

this Topic has 2 subscriber:

funkheld (2x)
iF (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie