-
Notifications
You must be signed in to change notification settings - Fork 639
Description
previous lighthouse ticket #3574
by Fabien Ménager
We noticed strong performance issues after upgrading from Prototype 1.7 to 1.7.1, and finally found that it was due to the new getUniqueElementID_IE function, which replaces getUniqueElementID by using the IE's uniqueID property.
It looks like a good idea at first sight except when updating an element containing thousands of elements, on which purgeElement is called, which calls stopObserving, etc finally accessing the uniqueID property which seems to be created when accessed, so it's a lot slower than a simple UID++.
Keeping the original code from getUniqueElementID changes nearly everything, by going drom 80s of purge to 1.2s.
I see no regression to do this, but would like to know if anybody noticed this problem before me.