Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2020-08

GTK2 app starts faster

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

AlexeyT

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

Regards, Alexey

Reply by email

Juha Manninen
to AlexeyT
PM AlexeyT wrote 7 lines
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

Reply by email