[TYPO3-core] RFC #14808 tceforms.js slows down performance of IE dramatically

JoH asenau info at cybercraft.de
Mon Jun 21 17:15:09 CEST 2010


This is an SVN patch request.

Type: Bugfix/Code Cleanup

Bugtracker references:
http://bugs.typo3.org/view.php?id=14808

Branches:
TYPO3_4-3 & trunk

Problem:
The datepickers and resizable/flexible textareas added by tceform.js take 30+ seconds to get rendered in IE6. (VBox, 1CPU, 2GHz)

CPU load goes up to 100% and stays there blocking the whole system.

I didn't measure the exact values in milliseconds but with the attached patch the CPU load will drop to average about 4 times faster.

Solution:
The new version is just making more specific selects to get the input fields (datepicker) and textareas (resizable) and uses the "next" selector for the datepicker to avoid the whole code being searched again.

This is not a real blocker because the system will work if you just wait long enough, so I just marked it major.
But in fact the BE will not be useable at all unless you like waiting in front of the screen.

Since tceforms.js has been available for 4.3 I guess the patch will apply there as well.

Cheers

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tceforms.js.patch
Type: application/octet-stream
Size: 1173 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100621/461331a0/attachment-0001.obj>


More information about the TYPO3-team-core mailing list