Ashley
I think both my bug reports about Windows 10 performance are related, or have some common cause.
This delay with event dialogs also depends on windows uptime and/or the number of times C2 was launched.
That test where I opened/closed C2 many times for an hour - event dialogs became very slow after it too.
How come the same Windows API that creates icons works fast after reboot and becomes extremely slow an hour later after C2 application was launched a hundred times?
In that bat-file I don't just start Construct2.exe application, I open a test C2 project with ~90 objects.
So here is an uneducated speculation - maybe all these icons from every C2 session are cached or indexed or something like that, and this cache/index never gets reset?
R0J0hound
Thanks for the tip, I disabled the patches in registry, will see if this helps.
Update: I disabled Meltdown/Spectre updates as described here and tested again with versions r252 and r239.
For each version I rebooted Windows and ran that bat-file for an hour, and in both cases C2 slowed down considerably.
I didn't notice any improvement.