[Lazarus] In windows 10 (64bit) Assigning TFrame.parent to a TForm took 10 more seconds than Windows 7 (64 bit)
Dennis
dec12 at avidsoft.com.hk
Tue Dec 18 17:15:57 CET 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20181219/cf7f9250/attachment.html>
More information about the Lazarus
mailing list