The c-code output has changed somewhat.marcoagpinto wrote: Sun Sep 10, 2023 10:59 am @Fred,
Sorry to sound bad, but the code generated (executable) has the same size as beta 5 and it has the same speed (if not slower).
Am I missing something?
Thanks!
EDIT: I am referring to the C backend, of course.
PureBasic 6.03 LTS is released !
Re: PureBasic 6.03 LTS beta 6 is ready to test !
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: PureBasic 6.03 LTS beta 6 is ready to test !
Thanks for all your work squashing those pesky bugs, Fred! 

- marcoagpinto
- Addict
- Posts: 1039
- Joined: Sun Mar 10, 2013 3:01 pm
- Location: Portugal
- Contact:
Re: PureBasic 6.03 LTS beta 6 is ready to test !
Buaaaaaaaaaaaaaaaa
Beta 6 is slower than beta 5, even with all the optimisations I have been doing in the source-code of my software.
Windows 11, C-backend, PureBasic x64.

Beta 6 is slower than beta 5, even with all the optimisations I have been doing in the source-code of my software.
Windows 11, C-backend, PureBasic x64.
















- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
Re: PureBasic 6.03 LTS beta 6 is ready to test !
@marcoagpinto
That's very scary
I hope it is solved.
That's very scary


I hope it is solved.
Re: PureBasic 6.03 LTS beta 6 is ready to test !
Test this beta ide
Link: viewtopic.php?p=607026#p607026
Link: viewtopic.php?p=607026#p607026
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: PureBasic 6.03 LTS beta 6 is ready to test !
We didn't changed anything with code generation between beta 5 and 6, if you can see where it is slower please post a bug report.marcoagpinto wrote: Mon Sep 11, 2023 8:32 am Buaaaaaaaaaaaaaaaa
Beta 6 is slower than beta 5, even with all the optimisations I have been doing in the source-code of my software.
Windows 11, C-backend, PureBasic x64.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
- marcoagpinto
- Addict
- Posts: 1039
- Joined: Sun Mar 10, 2013 3:01 pm
- Location: Portugal
- Contact:
Re: PureBasic 6.03 LTS beta 6 is ready to test !
@FredFred wrote: Mon Sep 11, 2023 10:07 amWe didn't changed anything with code generation between beta 5 and 6, if you can see where it is slower please post a bug report.marcoagpinto wrote: Mon Sep 11, 2023 8:32 am Buaaaaaaaaaaaaaaaa
Beta 6 is slower than beta 5, even with all the optimisations I have been doing in the source-code of my software.
Windows 11, C-backend, PureBasic x64.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
I had made an optimisation of my PhD software in beta 5 that made 20 runs of it to take less 40 seconds.
Now, I compiled with beta 6, and it takes longer than with the change above, more 5 seconds in 20 runs.
I know 5 seconds doesn't sound much, but I have to generate data of many thousands of runs and 5 seconds more in each 20 runs produces a huge difference in all these runs.
Re: PureBasic 6.03 LTS beta 6 is ready to test !
Are you able to give a code sample?
marcoagpinto wrote: Mon Sep 11, 2023 11:20 am@FredFred wrote: Mon Sep 11, 2023 10:07 amWe didn't changed anything with code generation between beta 5 and 6, if you can see where it is slower please post a bug report.marcoagpinto wrote: Mon Sep 11, 2023 8:32 am Buaaaaaaaaaaaaaaaa
Beta 6 is slower than beta 5, even with all the optimisations I have been doing in the source-code of my software.
Windows 11, C-backend, PureBasic x64.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
I had made an optimisation of my PhD software in beta 5 that made 20 runs of it to take less 40 seconds.
Now, I compiled with beta 6, and it takes longer than with the change above, more 5 seconds in 20 runs.
I know 5 seconds doesn't sound much, but I have to generate data of many thousands of runs and 5 seconds more in each 20 runs produces a huge difference in all these runs.
- marcoagpinto
- Addict
- Posts: 1039
- Joined: Sun Mar 10, 2013 3:01 pm
- Location: Portugal
- Contact:
Re: PureBasic 6.03 LTS beta 6 is ready to test !
How? The source-code is around 340K (340 000) lines with endless calculations and equations, it is impossible for me to know where in it is the speed loss.
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
Re: PureBasic 6.03 LTS beta 6 is ready to test !
@marco
if you want to demonstrate your experience, then you should put to work imagination to show the issue.
if you want to demonstrate your experience, then you should put to work imagination to show the issue.
Re: PureBasic 6.03 LTS beta 6 is ready to test !
Code: Select all
StartTime = ElapsedMilliseconds()
Delay(1000) ; code under test
Debug ElapsedMilliseconds() - StartTime
Delay(1000) ; code under test
Debug ElapsedMilliseconds() - StartTime
Re: PureBasic 6.03 LTS beta 7 is ready to test !
Code: Select all
- Added #PB_String_NoCaseAscii support for CompareMemoryString() to have much faster string comparison when only ascii characters are involved
Re: PureBasic 6.03 LTS beta 7 is ready to test !
Very nice, thanks!
Good morning, that's a nice tnetennba!
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
- marcoagpinto
- Addict
- Posts: 1039
- Joined: Sun Mar 10, 2013 3:01 pm
- Location: Portugal
- Contact:
Re: PureBasic 6.03 LTS beta 7 is ready to test !
Thank you, Fred!







- skinkairewalker
- Enthusiast
- Posts: 772
- Joined: Fri Dec 04, 2015 9:26 pm
Re: PureBasic 6.03 LTS beta 7 is ready to test !
awesome, Fred !
thanks
thanks