Bug Tracker

Changes between Initial Version and Version 1 of Ticket #7211, comment 1


Ignore:
Timestamp:
Oct 16, 2010, 10:46:26 AM (12 years ago)
Author:
addyosmani
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7211, comment 1

    initial v1  
    11Here are multiple results for your test in Chrome (Core 2 Duo 3.06GHz 4096MB)
    22
    3 jQuery 1.4.3:
     3jQuery 1.4.3:[[BR]]
    44
    5 trim 12:      $.trim:
    6 1329          483
    7 932           468
    8 949           467
    9 953           471
    10 945           471
    115
    12 jQuery 1.4.2:
     6trim 12:      $.trim:[[BR]]
    137
    14 trim 12:    $.trim
    15 932          64
    16 1026         75
    17 958          66
    18 1368         81
    19 950          65
     81329          483[[BR]]
     9
     10932           468[[BR]]
     11
     12949           467[[BR]]
     13
     14953           471[[BR]]
     15
     16945           471[[BR]]
     17
     18
     19jQuery 1.4.2:[[BR]]
     20
     21
     22trim 12:    $.trim[[BR]]
     23
     24932          64[[BR]]
     25
     261026         75[[BR]]
     27
     28958          66[[BR]]
     29
     301368         81[[BR]]
     31
     32950          65[[BR]]
     33
    2034
    2135While the trim12 results are unsurprisingly roughly the same, the internal $.trim results are quite starkly different.
     
    2337I should however mention that when you compare this to the FireFox results they do tend to vary. For example, in FireFox the average result with jQuery 1.4.3 was:
    2438
    25 trim12      $.trim
    26 2965         1043
     39trim12      $.trim[[BR]]
    2740
    28 and for jQuery 1.4.2
    29 2961         4549
     412965         1043[[BR]]
     42[[BR]]
     43
     44
     45and for jQuery 1.4.2[[BR]]
     46
     472961         4549[[BR]]
     48
    3049
    3150Leaving open in case further test results or comments wish to be contributed.