Board logo

Subject: Speed improvement for Units and Forms list [Print This Page]

Author: AHUser    Time: 2005-11-25 06:12     Subject: Speed improvement for Units and Forms list

I have modified the ViewForms and ViewUnits formulars. They were a little bit too slow for about 300 files. First the content was filled twice and when you selected some items the dialogs became slower and slower because the statusbar/convert button update was execute for every single selected item.

Furthermore I added a faster FindFile() function to Utils/CnWizUtils.pas that improved the speed of these dialogs, too.

I have attached a patch against CVS (2005-11-24 23:00 GMT+0100)

Attachment: cnwizards_patch.zip (2005-11-25 06:12, 4.37 K) / Download count 1104
http://bbs.cnpack.org/attachment.php?aid=174
Author: Passion    Time: 2005-11-25 10:52

Nice! We've applied this patch, and found the speed has some improvment now.
Nevertheless, in our testing, we found that some units' structure of Unit/Form list have some problems. We plan to refactor them these days.

Thank you for your patching.
Author: Passion    Time: 2005-12-1 22:51

Now we've do some optimization about the units/forms List.
Would you please download our latest nightly version to test the performance of these list function?

http://www.cnpack.org/download/u ... .9.175_Unstable.exe
Author: AHUser    Time: 2005-12-14 10:30

Sorry for the late answer.

The dialogs have a good performance now. Only if the Forms-List is opened the first time it takes some time until Windows has cached the files. But that is acceptable.




Welcome to CnPack Forum (http://bbs.cnpack.org/) Powered by Discuz! 5.0.0