C/C++StartOperation();
BarManager->LoadFromIniFile(dmMain->IniFileName());
dmMain->LogEvent(NewFmtStr(_T("Настройки панелей инструментов восстановлены за %s"),ElapsedTime()));
the code above always completed in less than a half of second in 11.2.4
now that I rebuilt the project with the latest devex it takes more than 2.5 seconds
there are other perceivable slowdowns (and I guess I'll file other reports) but at the first glance this one looks like the most noticeable and annoying
I tried to reproduce the problem using our BackgroundDemo demo with v2011 vol 2.4 and VCL 12.2.4 installations but did not see any significant increase in the processing time of the LoadFromIniFile method (the difference is 35 milliseconds). Would you please provide us with a sample project so we can precisely replicate your scenario on our side?
I can attach real-world dfm if you willing to use it in your test. as usually feel free to remove any non-related third-party stuff and replace TVClientDataSet with TClientDataSet. are you ok with this?
Yes.
Hello Vladimir,
Thank you for providing your .dfm files. I have created a sample project based on your main form to test performance of the LoadFromIniFile method on my side (with VCL 12.2.4). Attached is the resulting application demonstrating my efforts. The loading operation takes approximately 170 milliseconds on my side. It is much less than in your tests, so I think that I have missed something. Perhaps, I should also include data modules you provided or emulate data loading somehow. I kindly ask you to examine the attached project and check whether or not I am on the right track.
Thanks in advance. Waiting for your reply.
sure, I'll try to play with that demo in order to make up something useful. thanks for your efforts
now that I applied the fix provided in Q372756 it only takes less than 200 ms to load bar manager settings from ini file so I guess my take on the common roots and that it's just another manifestation of the same bug was right