Ticket #7788 (closed defect: fixed)
[patch]Performance-regression in Dojo 1.2
| Reported by: | SteinM | Owned by: | toonetown |
|---|---|---|---|
| Priority: | high | Milestone: | 1.2.1 |
| Component: | Dijit | Version: | 1.2beta |
| Severity: | major | Keywords: | performance |
| Cc: |
Description
There is a performance-regression in Dojo 1.2 and it is manifesting itself in NumberTextBox? and I've attached a simple test to demonstrate the case.
The profiler in Firebug shows that the method buildGroupRE in RegEx?.js gets called over 15 000 times for this simpled test compared to around 1 000 in Dojo 1.1.1.
I've havent done any investigation any further than what Firebug tells me about number of calls and calltime-percentage.
The testcase demonstrates resetting fields and inserting values into som NumberTextFields? and ValidationTextBoxes? and in IE7 the task of inserting values into 20 NumberTextBox?-fields have increased from around 100 milliseconds in 1.1.1 to around 900 milliseconds in 1.2.