Home - Forums-.NET - FlyGrid.Net (Windows Forms) - FlyGrid constructor

FlyGrid.Net (Windows Forms)

.NET Datagrid - Fast, highly customizable, industry standards .NET data grid control for WinForms

This forum related to following products: FlyGrid.Net

FlyGrid constructor
Link Posted: 21-Mar-2007 01:29
Hello, I'm looking for a really fast tree control and FlyGrid seems almost right.

You guys are great: I have read the other threads in this forum and I'm delighted by your responsiveness and attention to performance.

I confess: I'm a performance freak - I like to test everything...  

I have just created a form and dropped FlyGrid from the toolbox. No items, no options.
The startup time of the project is slow by my standards (even zeroing out the time lost in the eval dialog).

I profile my app with dotTrace and it seems that ~200ms are lost in FlyGrid's public constructor and in this constructor 95% of the time is spent calling SplitViews() constuctor. This happens only the first time I instantiate the class.

Do you have some advice on reducing this time or can you optimize FlyGrid even further?
Link Posted: 21-Mar-2007 06:33
Yes, the first instantiation of FlyGrid is takes about 200ms, because FlyGrid checks the license. Try to create FlyGrid more than one time to measure speed of FlyGrid constructor.
Don't forget that .Net assemblies takes some time to initialize, we're imrpving speed and performance of FlyGrid constantly, and thanks for the message - we'll try to increase speed of FlyGrid initialization again.
Link Posted: 21-Mar-2007 09:33
Now I understand and I'm sure you will be able to speed it up further.

Let me say that I tried a product from another company, but regarding flexibility and performance (and cost!) FlyGrid has no rivals around.

Keep up squeezing performance from every line of code and thanks for bringing us such a great control!
Link Posted: 01-Apr-2007 23:26
Hello,

further analysis with dotTrace on my system evidences that during construction FlyGrid is spending most of the time in DragHelper..ctor and in that constructor most of the time is spent trying to set Visible=true on some DragHelper inner control.

This seems to be the cause of the slow initialization time of FlyGrid here.

Does the same thing happen on your systems too?
Link Posted: 02-Apr-2007 04:09
Yes, we're preparing complex solution of FlyGrid.Net initialization and this factor has been taken into account