[Gambas-user] Fwd: More speed for you... again.

BB adamnt42 at gmail.com
Sat Oct 7 08:12:26 CEST 2023


On 7/10/23 2:01 am, Benoît Minisini wrote:
> Le 06/10/2023 à 16:02, Benoît Minisini a écrit :
>> Le 06/10/2023 à 12:44, BB a écrit :
>>> Then again, I just ran a few projects through the IDE with the 
>>> profiler both off and on. These projects I selected have reasonably 
>>> complex datasets that are read from text files, parsed and displayed 
>>> in a tree. Without the profiler I would say that they "feel" quicker 
>>> but with the profiler turned on they are much slower than previously 
>>> when run with the profiler. So I assume that the profiler is not 
>>> very "optimized" as yet.
>>>
>>> In these projects, I read and parse about 2800 text files that 
>>> represent "configurations" which results in about 5400 actual 
>>> objects over 30 or so classes. The time to load previously was about 
>>> 6 seconds, most of which was as said above the time taken to execute 
>>> the "new" methods (actual or implied). Now the load time (without 
>>> the profiler) appears to be about 2 secs, but with the profiler it 
>>> is over 15 secs. Whereas running them previously with the profiler 
>>> turned on was about 8 seconds.
>>>
>>> I admit that these "times" are subjective but hmmmm maybe the 
>>> profiling code, which is a long lamented (and neglected?) Gambas 
>>> utility could take a bit of looking at?
>>>
>>> regards
>>>
>>> b
>>>
>>
>> I didn't touch to the profiling code at all. But the gcc compiler can 
>> do really strange things... Do you recover the speed if you use the 
>> stable version of Gambas?
>>
>
> I don't see the profiler being especially slower as before... You need 
> to send me a project that reproduces the problem!
>
Well, I went back to the stable and the execution times for the profiler 
are about the same. So I went back a way earlier and 😅 the profiler 
times are about the same. I guess it was a subjective "think".

sorry

b




More information about the User mailing list