Page 1 of 1
PB 6.40 beta 1 - Speed
Posted: Fri Jan 23, 2026 4:46 pm
by threedslider
This version PB 6.40 beta 1 is best for speed again !! Really ? Test by yourself with my Raytracing in one week (
viewtopic.php?p=623357#p623357) and then compare from PB 6.30 and PB 6.40 b1, what give you the result ?
Mine is PB 6.30 : 4969 and PB 6.40 b1 : 4225 ms
Difference : 775 ms
Have a nice day !
Re: PB 6.40 beta 1 - Speed
Posted: Fri Jan 23, 2026 5:00 pm
by User_Russian
The result is the same.
Perhaps you forgot to disable the debugger and select the C backend compiler in PB 6.30.
If you want to compare speed.
PB
Code: Select all
DisableDebugger
t = ElapsedMilliseconds()
s.s
For i=0 To 200000
s + i
Next
MessageRequester("", Str(ElapsedMilliseconds()-t))
AutoIt
Code: Select all
$t = TimerInit()
$s=""
For $i=0 To 200000
$s &= $i
Next
MsgBox(0, "", TimerDiff($t))
PB 6.40 - 8300 millisecond.
AutoIt - 60 millisecond.
Re: PB 6.40 beta 1 - Speed
Posted: Fri Jan 23, 2026 9:44 pm
by threedslider
My result is without debugger...
Otherwise your comparison to PB and Autoit are impressive, I am sure Fred can improve this speed as well, he has a lot of options

Re: PB 6.40 beta 1 - Speed
Posted: Fri Jan 23, 2026 9:51 pm
by jacdelad
You are doing 200000 type conversions which are not directly related to the string library.
Re: PB 6.40 beta 1 - Speed
Posted: Fri Jan 23, 2026 11:51 pm
by User_Russian
jacdelad wrote: Fri Jan 23, 2026 9:51 pmnot directly related to the string library.
But the string library converts a number to a string.
OK, this code runs in one second.
Code: Select all
DisableDebugger
t = ElapsedMilliseconds()
s.s
For i=0 To 200000
s + " "
Next
MessageRequester("", Str(ElapsedMilliseconds()-t))