MMX performance on Delphi Berlin

MMX performance on Delphi Berlin

Please check by opening the Winapi.Windows.pas. Delphi Seattle IDE hangs on 20 minutes. Berlin too?

Comments

  1. I was able to reproduce it and actually found a workaround:

    - open the registry and export the key Known Packages
    - delete all entries in that registry key
    - edit the reg file and move madExcept_.bpl before madExceptIde_.bpl
    - import the reg file

    Works at least for my installations XE2, Seattle and Berlin (others not tested yet).

    ReplyDelete
  2. Sadly, I'm not using madExcept so that will not help me :(

    ReplyDelete
  3. Primož Gabrijelčič Yes, that's a pity! Nevertheless, as the problem vanishes in a vanilla Delphi installation, I just kicked out all Experts and Known Packages leaving only the stock ones in. After checking that no expert is causing it, I re-registered the first half of the non-standard Known Packages, then the first half of the rest. When the delay occurs, I removed the last bunch and used the first half of it (you guessed it: binary search). That pointed me to the madExcept packages and from that moment it was a matter of minutes to figure out what change made it work again. I don't know about your packages, but a similar approach might work for you, too. I am sure it is a combination of addons for the IDE that produces this issue.
    BTW, for checking the issue in each iteration I used System.Sysutils.pas. It shows a similar performance issue, but not that much as WinApi.Windows.pas. If Sysutils parses almost instantly I double checked with Windows.

    ReplyDelete

Post a Comment