[Gambas-user] Fwd: More speed for you... again.
Benoît Minisini
benoit.minisini at gambas-basic.org
Fri Oct 6 17:31:12 CEST 2023
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!
--
Benoît Minisini.
More information about the User
mailing list