Ticket Q482201
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

Performance regression when creating certain toolbar layouts

TdxBarManager.LoadFromIniFile slow after upgrade

created 12 years ago
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

Show previous comments (3)
DevExpress Support Team 12 years ago

    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.

    VU VU
    Vladimir Ulchenko 12 years ago

      sure, I'll try to play with that demo in order to make up something useful. thanks for your efforts

      VU VU
      Vladimir Ulchenko 12 years ago

        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

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.