[Lazarus] GTK2 app starts faster

Juha Manninen juha.manninen62 at gmail.com
Sun Aug 9 11:53:47 CEST 2020


On Sat, Aug 8, 2020 at 3:58 PM AlexeyT via lazarus
<lazarus at lists.lazarus-ide.org> wrote:
>
> With last changes (may-june-july 2020) in Laz, CudaText gtk2 starts faster-
>
> before with small window: 220ms, with big window: 330ms (BoundsRect
> change was SLOW)
>
> now with small window: 220ms, with big window: 260ms

I applied some patches about BoundsRect in GTK2, but I didn't realize
they made such a big speed difference.
Which revision exactly made it?

Note, LCL component registration (TLCLComponent.NewInstance) was also
optimized recently.
It affects all widgetsets and apparently was not the reason for your
faster startup.

Regards,
Juha


More information about the lazarus mailing list