I am using FPC 3.1.1 + Lazarus 1.9.0 running on windows 10 (64 bit) to
generate windows exe of 64 bit.
I logged the timestamps before and after parent assignment in my
constructor TMyFrame.CreateWith(aForm : TForm);
....
MyFrame.Parent := aForm (where aForm is the main application window).
......
In windows 10 (64 bit)
18-12-19 00:06:10.154 Before Set parent( old parent = nil )
18-12-19 00:06:23.983 After Set parent
it took 13.9 seconds
In windows 7 (64 bit)
18-12-19 00:07:45.916 Before Set parent( old parent = nil )
18-12-19 00:07:48.939 After Set parent
it only took 3 seconds.
what could possibly be the cause of the extra 10 seconds in windows 10 ?
The hardware is same. In fact, the windows 7 (64 bit) is a virtualbox
running on the windows 10, so it should be slower.
Dennis
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus