Changes between Version 1 and Version 2 of Ticket #7381, comment 6


Ignore:
Timestamp:
Nov 10, 2012, 3:09:19 AM (8 years ago)
Author:
bill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7381, comment 6

    v1 v2  
     1'''Performance:'''
     2
    13I suppose the other issue is performance.    I assume that most widget properties have falsy default values, and most properties are not specified to the constructor, so it would mean an order of magnitude increase in the number of setters called during page construction.
    24
     
    1113
    1214It's interesting that Stateful only calls the custom setters for parameters passed to the constructor, and never for properties with default values.
     15
     16Some performance results, running dijit/tests/benchTool.html, creating widgets programatically
     17
     18||browser||before||after||
     19||FF 16 (1000 widgets)||730||930||
     20||IE8 (100 widgets)||200-1000||300||
     21||Chrome (1000 widgets)||530||680||
     22
     23IE is all over the place, not sure what that means, although it's not unusual for me to see random benchmark results like that.