Posted: Thu Mar 20, 2003 12:39 pm
Restored from previous forum. Originally posted by mdkrsta.
Since PB 3.61 should come with some speed improvements I had high expectations because I'm using a lot of arrays and integers in my current project. Some statements now run faster than before but unfortenately there are also some that got slower.
The simple statement f(a+b)=0 for example is about 25% slower on my P4 1.7GHz.
The following benchmark is some sort of killer app for PB because BB is twice as fast on it. The performance drop in PB from 3.51 to 3.61 is 20%.
OpenConsole()
ti=gettickcount_()
b=1000
c=123
d=12345
e=32000
f=70
For i=1 To 100000000
j=i+j
a=b+15-c+d
j=j+1
a=a-1
j=j+15
a=a-15
a=a+b
b=a-c
Next
Print(Str(gettickcount_() - ti))
Input()
Fred, when doing improvements please run some regression tests to be sure not to make other things worse.
Since PB 3.61 should come with some speed improvements I had high expectations because I'm using a lot of arrays and integers in my current project. Some statements now run faster than before but unfortenately there are also some that got slower.
The simple statement f(a+b)=0 for example is about 25% slower on my P4 1.7GHz.
The following benchmark is some sort of killer app for PB because BB is twice as fast on it. The performance drop in PB from 3.51 to 3.61 is 20%.
OpenConsole()
ti=gettickcount_()
b=1000
c=123
d=12345
e=32000
f=70
For i=1 To 100000000
j=i+j
a=b+15-c+d
j=j+1
a=a-1
j=j+15
a=a-15
a=a+b
b=a-c
Next
Print(Str(gettickcount_() - ti))
Input()
Fred, when doing improvements please run some regression tests to be sure not to make other things worse.