scourgen

24一/100

Firefox 3.6 性能测试,较Firefox 3.5 性能提高47%!

Firefox 3.6终于发布了,官方发布的Features集中在了宣传新的Personas换肤功能上.其实Personas在去年就开始在Mozilla Addons下载中心提供测试及下载了,Scourgen周围的很多Firefox使用者都用这个插件换了主题.可惜Personas还不支持换标题栏里更换背景图片,只能给标题栏换一个颜色.

而其实3.6最大的改进则提供了HTML5以及极大的增强了JavaScript的性能,而对此官方却没有做太大的介绍,只放了一个演示视频做对比,Scourgen花了点时间对Firefox3.6的JavaScript性能较上一版本(Firefox 3.5.7)做了一个对比,可以发现多数项目都有100%左右的提高,而平均性能提高则达到了47%

详细测试记录如下(需要Excel格式的请单独与我联系):

Firefox/3.6        Firefox/3.5.7        3.6 / 3.5.7
Gecko/20100115     Gecko/20091221

runs/s    ±    runs/s    ±
Performance Tests    83.51        56.77        147.10%

3D Mesh Transformation:    87.5        47.39        184.64%

Transforming the points of a matrix. No visual output.
Origin, Source, Tests: array, looping, math
1. Mesh Transform    87.5    2.22%    47.39    15.59%    184.64%

3D Raytrace:    91.23        55.09        165.60%

Rendering a scene using raytracing techniques. No visual output.
Origin, Source, Tests: array, functions, math
1. 3D Raytrace    63.14    22.13%    56.67    10.13%    111.42%
2. Convert pixels to canvas    131.81    14.24%    53.56    27.45%    246.10%

AES Encryption/Decryption:    64.08        55.98        114.47%

Encrypt a string and then decrypt it again using AES.
Origin, Source, Tests: looping, string, bitops
1. AES Encrypt    62.46    19.53%    53.45    42.33%    116.86%
2. AES Decrypt    65.74    13.96%    58.62    21.53%    112.15%

Arrays:    362.8        240.48        150.86%

Microtests of arrays (construction, methods, access).
Origin, Source, Tests: array, microtest
1. Array Construction, []    96.85    20.44%    70.19    35.46%    137.98%
2. Array Construction, new Array()    194.87    11.91%    112.68    22.03%    172.94%
3. Array Construction, unshift    1500.6    3.71%    1209.4    12.79%    124.08%
4. Array Construction, splice    450.14    15.67%    396.48    14.73%    113.53%
5. Array Deconstruction, shift    1833.8    4.84%    1187.4    16.71%    154.44%
6. Array Deconstruction, splice    429.37    9.77%    297.01    28.94%    144.56%
7. Array Construction, push    164.64    2.16%    104.29    7.76%    157.87%
8. Array Deconstruction, pop    181.63    5.45%    80.19    14.73%    226.50%

Base 64 Encoding and Decoding:    227.96        197.94        115.17%

Encode and decode a random string to base 64.
Origin, Source, Tests: string, array, looping, bitops
1. Convert String to Base 64    246.39    20.43%    230.84    25.11%    106.74%
2. Convert Base 64 to String    210.92    12.45%    169.73    35.80%    124.27%

Bitwise And:    1081.18        691.05        156.45%

Compute a number by using a series of 'and' bit operations.
Origin, Source, Tests: looping, bitops
1. Bitwise And    1081.18    2.83%    691.05    40.80%    156.45%

Code Evaluation:    186.86        153.59        121.66%

Microtests of code evaluation (eval, new Function).
Origin, Source, Tests: eval, microtest
1. Normal eval    116.12    2.49%    92.56    8.99%    125.45%
2. new Function    300.71    19.37%    254.84    28.87%    118%

Compute Bits in Byte:    1574        1453.4        108.30%

Compute the number of bits in a number using bitops.
Origin, Source, Tests: looping, bitops
1. 3bit bits in byte    1574    3.52%    1453.4    14.92%    108.30%

Compute Bits in Byte (2):    412.18        444.42        92.75%

Compute the number of bits in a number using bitops.
Origin, Source, Tests: looping, bitops
1. Bit in byte (2)    412.18    4.51%    444.42    7.04%    92.75%

DNA Sequence Alignment:    157.07        127.42        123.27%

Find DNA matches within a larger sequence.
Origin, Source, Tests: string, object, looping
1. Homo sapiens alu    189.05    15.49%    171.9    15.71%    109.98%
2. IUB ambiguity codes    208.52    16.98%    140.28    30.70%    148.65%
3. Homo sapiens frequency    98.3    23.10%    85.79    24.99%    114.58%

DNA Sequence Counting:    83.21        74.13        112.25%

Counts occurences in a DNA sequence.
Origin, Source, Tests: string, regexp
1. DNA Match (1)    134.21    6.35%    123.33    12.48%    108.82%
2. DNA Match (2)    210.7    5.64%    189.71    3.80%    111.06%
3. DNA Match (3)    150.93    2.07%    117.97    27.35%    127.94%
4. DNA Replace    11.23    5.81%    10.94    79.69%    102.65%

DOM Attributes:    105.23        52.44        200.67%

Setting and getting DOM node attributes.
Origin, Source, Tests: dom, attributes
1. getAttribute    92.08    47.89%    59.92    30.31%    153.67%
2. element.property    59.45    35.27%    38.31    24.93%    155.18%
3. setAttribute    197.98    7.37%    75.01    17.52%    263.94%
4. element.property = value    269    2.15%    84.69    10.28%    317.63%
5. element.expando = value    62.16    29.44%    35.83    68.83%    173.49%
6. element.expando    74.94    35.34%    39.8    49.57%    188.29%

DOM Attributes (Prototype):    85.67        54.2        158.06%

Setting and getting DOM node attributes using the Prototype JavaScript Library.
Origin, Source, Tests: dom, jslib, prototype, attributes
1. Prototype - addClassName    56.1    23.05%    37.31    18.98%    150.36%
2. Prototype - removeClassName    81.43    7.44%    45.3    31.81%    179.76%
3. Prototype - hasClassName    90.07    5.95%    59.31    27.09%    151.86%
4. Prototype - readAttribute    121.26    12.09%    83.64    9.66%    144.98%
5. Prototype - writeAttribute    92.5    12.37%    55.78    18.48%    165.83%

DOM Attributes (jQuery):    101.74        60.99        166.81%

Setting and getting DOM node attributes using the jQuery JavaScript Library.
Origin, Source, Tests: dom, jslib, jquery, attributes
1. jQuery - addClass    130.52    20.79%    87.09    27.99%    149.87%
2. jQuery - removeClass    123.98    27.03%    76.42    21.84%    162.24%
3. jQuery - hasClass x10    111.33    20.81%    56.5    41.91%    197.04%
4. jQuery - attr(class) x100    55.14    29.42%    39.22    27.28%    140.59%
5. jQuery - attr(class,test)    102.33    15.84%    60.76    15.76%    168.42%
6. jQuery - removeAttribute    109.1    3.54%    57.42    20.76%    190%

DOM Events (Prototype):    73.92        34.83        212.23%

Binding, removing, and triggering DOM events using the Prototype JavaScript Library.
Origin, Source, Tests: dom, jslib, prototype, events
1. Prototype - observe    72.28    37.30%    37.95    37.42%    190.46%
2. Prototype - fire    61.18    15.35%    22.22    29.81%    275.34%
3. Prototype - stopObserving    91.34    13.94%    50.1    19.27%    182.32%

DOM Events (jQuery):    60.55        40.6        149.14%

Binding, removing, and triggering DOM events using the jQuery JavaScript Library.
Origin, Source, Tests: dom, jslib, jquery, events
1. jQuery - bind    155.26    14.56%    82.5    21.04%    188.19%
2. jQuery - trigger    35.42    24.74%    32.58    10.88%    108.72%
3. jQuery - unbind x10    40.37    33.48%    24.9    20.91%    162.13%

DOM Modification:    94.34        51.03        184.87%

Creating and injecting DOM nodes into a document.
Origin, Source, Tests: dom, modify
1. createElement    177.91    7.08%    67.21    4.52%    264.71%
2. createTextNode    10.2    62.50%    7.42    59.53%    137.47%
3. innerHTML    65.49    17.75%    42.86    32.17%    152.80%
4. cloneNode    52    18.61%    32.61    9.02%    159.46%
5. appendChild    383.9    16.33%    179.15    7.94%    214.29%
6. insertBefore    297.15    8.83%    141.44    6.56%    210.09%

DOM Modification (Prototype):    71.88        55.67        129.12%

Creating and injecting DOM nodes into a document using the Prototype JavaScript Library.
Origin, Source, Tests: dom, jslib, prototype, modify
1. Prototype - update()    113.26    13.40%    75.91    45.86%    149.20%
2. Prototype - before    51.6    62.90%    54.69    10.43%    94.35%
3. Prototype - after    57.17    54.18%    51.28    11.22%    111.49%
4. Prototype - prepend    78.75    9.95%    50.67    14.96%    155.42%
5. Prototype - append    72.9    8.18%    49.55    1.66%    147.12%

DOM Modification (jQuery):    75.62        44.08        171.55%

Creating and injecting DOM nodes into a document using the jQuery JavaScript Library.
Origin, Source, Tests: dom, jslib, jquery, modify
1. jQuery - html()    61.01    7.93%    34.14    16.92%    178.71%
2. jQuery - before()    83.51    7.42%    48.86    14.74%    170.92%
3. jQuery - after()    84.9    8.60%    47.62    36.31%    178.29%
4. jQuery - prepend()    83.23    18.64%    51.65    23.27%    161.14%
5. jQuery - append()    68.69    16.55%    40.56    36.97%    169.35%

DOM Query:    792.78        354.22        223.81%

1. getElementById:    117.08    14.60%    42.27    41.26%    276.98%
2. getElementById (not in document):    384.62    5.60%    111.54    5.16%    344.83%
3. getElementsByTagName(div):    15295.4    4.44%    7049.01    8.99%    216.99%
4. getElementsByTagName(p):    15596    2.81%    7777.54    4.28%    200.53%
5. getElementsByTagName(a):    15728.16    5.93%    7523.87    4.14%    209.04%
6. getElementsByTagName(*):    16011.4    1.67%    7259.49    7.58%    220.56%
7. getElementsByTagName (not in document):    27408.6    2.07%    10072.4    3.19%    272.12%
8. getElementsByName:    1.52    4.73%    0.88    23.09%    172.73%
9. getElementsByName (not in document):    1.1    5.90%    0.7    5.30%    157.14%

DOM Style (Prototype):    73.39        42.16        174.07%

Getting and setting CSS information on DOM elements using the Prototype JavaScript Library.
Origin, Source, Tests: dom, jslib, prototype, style
1. Prototype - getStyle()    71.54    54.53%    49    5.75%    146%
2. Prototype - setStyle()    59.57    1.30%    27.08    40.02%    219.98%
3. Prototype - getHeight()    26.03    11.80%    14.6    10.58%    178.29%
4. Prototype - getWidth()    26.22    9.87%    14.63    18.93%    179.22%
5. Prototype - visible()    184.83    8.89%    114.81    20.02%    160.99%
6. Prototype - .show()    119.57    8.25%    66.77    28.02%    179.08%
7. Prototype - .hide()    137.33    6.75%    82.23    7.23%    167.01%
8. Prototype - .toggle() x10    95.4    6.47%    55.84    13.11%    170.85%

DOM Style (jQuery):    80.26        48.87        164.23%

Getting and setting CSS information on DOM elements using the jQuery JavaScript Library.
Origin, Source, Tests: dom, jslib, jquery, style
1. jQuery - css(color) x100    53.47    6.82%    30.44    31.59%    175.66%
2. jQuery - css(color,red)    77.85    7.83%    54.16    9.95%    143.74%
3. jQuery - height() x10    61.57    21.01%    34.51    22.29%    178.41%
4. jQuery - width() x10    67.66    8.50%    37.4    22.91%    180.91%
5. jQuery - .is(:visible)    54.79    14.77%    35.35    27.07%    154.99%
6. jQuery - .show()    60.08    9.81%    37.49    16.43%    160.26%
7. jQuery - .hide()    207.56    13.03%    132.83    22.89%    156.26%
8. jQuery - .toggle()    145.29    14.43%    86.89    21.37%    167.21%

DOM Traversal:    74.98        45.29        165.56%

Traversing a DOM structure.
Origin, Source, Tests: dom, traverse
1. firstChild    74.7    7.96%    33.38    4.69%    223.79%
2. lastChild    75.44    2.08%    30.69    11.72%    245.81%
3. nextSibling    162.11    4.87%    59.82    6.59%    271%
4. previousSibling    172.23    6.37%    57.8    6.14%    297.98%
5. childNodes    15.06    7.87%    53.78    15.32%    28%

DOM Traversal (Prototype):    87.83        56.14        156.45%

Traversing a DOM structure using the Prototype JavaScript Library.
Origin, Source, Tests: dom, jslib, prototype, traverse
1. Prototype - up    186.3    9.53%    155.39    14.38%    119.89%
2. Prototype - ancestors    73.59    28.80%    52.04    24.07%    141.41%
3. Prototype - previous    158    12.44%    134.5    18.27%    117.47%
4. Prototype - previousSiblings    73.76    11.86%    42.96    13.80%    171.69%
5. Prototype - next    156.41    11.63%    121.99    19.80%    128.22%
6. Prototype - nextSiblings    77.51    13.18%    34.12    54.17%    227.17%
7. Prototype - siblings    32.13    32.15%    16.98    27.90%    189.22%
8. Prototype - childElements    56.93    9.65%    29.88    19.76%    190.53%

DOM Traversal (jQuery):    78.56        36.01        218.16%

Traversing a DOM structure using the jQuery JavaScript Library.
Origin, Source, Tests: dom, jslib, jquery, traverse
1. jQuery - parent x10    160    16.26%    58.41    3.25%    273.93%
2. jQuery - parents x10    37.57    9.28%    19.23    27.26%    195.37%
3. jQuery - prev x10    40.57    14.51%    30.84    6.62%    131.55%
4. jQuery - prevAll    102.75    7.39%    41.84    35.89%    245.58%
5. jQuery - next x10    41.32    7.12%    25.04    29.96%    165.02%
6. jQuery - nextAll    114.43    7.72%    47.8    6.88%    239.39%
7. jQuery - siblings    68.66    9.30%    27.37    14.45%    250.86%
8. jQuery - children    178.34    3.44%    59.56    21.70%    299.43%

Date Formatting:    155.6        96.46        161.31%

Converting a date into a string representation.
Origin, Source, Tests: date, string
1. Date Format (2)    155.6    13.99%    96.46    51.66%    161.31%

Date Formatting (2):    126.95        96.86        131.07%

Converting a date into a string representation.
Origin, Source, Tests: date, string
1. Format Date    126.95    12.44%    96.86    32.58%    131.07%

DeltaBlue Constraint Solving:    21.02        14.51        144.87%

Computing a number of limitations on a set of values.
Origin, Source, Tests: looping, functions
1. Constraint Solving    21.02    14.93%    14.51    34.22%    144.87%

Fannkuch:    174.7        174.34        100.21%

Figure out the number of ways in which a set of numbers can be manipulated.
Origin, Source, Tests: array, looping
1. Pfannkuchen    174.7    2.34%    174.34    4.21%    100.21%

MD5 Hashing:    1051.8        962.41        109.29%

Hash a long string using MD5.
Origin, Source, Tests: looping, string
1. MD5    1051.8    4.42%    962.41    3.15%    109.29%

N-Body Rotation and Gravity:    94.56        97.61        96.88%

Compute the location of multiple planets based upon rotation and gravity.
Origin, Source, Tests: object, property, looping, math
1. N-Body    94.56    94.94%    97.61    96.69%    96.88%

Partial Sum Calculation:    971.2        863        112.54%

Calculate the partial sum of a few different number series.
Origin, Source, Tests: math, looping
1. Partial Sums    971.2    9.08%    863    40.08%    112.54%

Prime Number Computation:    95.02        77.75        122.21%

Compute the number of prime numbers in a specific range of numbers.
Origin, Source, Tests: looping, array
1. N-Sieve    95.02    22.48%    77.75    15.00%    122.21%

Prime Number Computation (2):    124.32        107.72        115.41%

Compute the number of prime numbers in a specific range of numbers using bit operations.
Origin, Source, Tests: looping, bitops, array
1. N-Sieve Bits    124.32    9.50%    107.72    18.35%    115.41%

RSA Encryption/Decryption:    32.54        28.86        112.75%

Encrypt a string and then decrypt it again using RSA.
Origin, Source, Tests: looping, string, bitops
1. RSA Encrypt    135.57    41.71%    118.72    33.72%    114.19%
2. RSA Decrypt    7.81    20.94%    7.02    40.14%    111.25%

RayTracer:    2.39        1.67        143.11%

Renders a scene using raytracing (no rendering done).
Origin, Source, Tests: looping, functions, object
1. RayTrace    2.39    35.62%    1.67    48.18%    143.11%

Recursive Number Calculation:    68.33        42.65        160.21%

Compute various numbers in a recursive manner.
Origin, Source, Tests: functions
1. Ack    78.66    7.20%    52.52    22.22%    149.77%
2. Fib    56.26    14.97%    30.61    18.79%    183.80%
3. Tak    72.11    49.14%    48.25    47.71%    149.45%

Regular Expressions:    27.94        20.39        137.03%

Microtests of regular expressions (construction, matching, replace).
Origin, Source, Tests: regexp, microtest
1. Compiled Object Empty Split    40.72    11.64%    91.52    5.12%    44.49%
2. Compiled Object Char Split    13.86    68.44%    12.47    27.45%    111.15%
3. Compiled Object Variable Split    29.67    32.95%    0.26    21.69%    11,411.54%
4. Compiled Match    45.25    24.56%    32.24    18.97%    140.35%
5. Compiled Test    50.61    7.05%    34.65    9.08%    146.06%
6. Compiled Empty Replace    100.47    7.05%    67.15    13.78%    149.62%
7. Compiled 12 Char Replace    107.9    7.77%    67.46    9.63%    159.95%
8. Compiled Object Match    50.41    14.42%    34.38    8.69%    146.63%
9. Compiled Object Test    35.9    56.94%    35.7    8.06%    100.56%
10. Compiled Object Empty Replace    98.17    39.61%    72.29    9.76%    135.80%
11. Compiled Object 12 Char Replace    125.04    7.11%    63.83    20.41%    195.90%
12. Compiled Object 12 Char Replace Function    109.82    12.74%    69.82    6.74%    157.29%
13. Compiled Variable Match    0.19    50.93%    0.23    5.51%    82.61%
14. Compiled Variable Test    0.27    9.10%    0.24    4.89%    112.50%
15. Compiled Variable Empty Replace    0.55    6.32%    0.47    4.93%    117.02%
16. Compiled Variable 12 Char Replace    0.56    7.55%    0.45    13.31%    124.44%
17. Compiled Variable Object Match    59.91    8.78%    30.29    31.91%    197.79%
18. Compiled Variable Object Test    60.75    3.77%    32.24    12.08%    188.43%
19. Compiled Variable Object Empty Replace    115.3    9.37%    69.88    8.34%    165%
20. Compiled Variable Object 12 Char Replace    118.33    3.63%    67.85    4.00%    174.40%
21. Compiled Variable Object 12 Char Replace Function    102.73    27.34%    68.65    9.64%    149.64%
22. Compiled Capture Match    13.62    7.23%    13.04    6.43%    104.45%
23. Compiled Capture Replace    27.25    20.59%    26.56    6.47%    102.60%
24. Compiled Capture Replace with Capture    26.34    25.27%    21.62    46.06%    121.83%
25. Compiled Capture Replace with Capture Function    18.13    50.80%    24.82    17.61%    73.05%
26. Compiled Capture Replace with Upperase Capture Function    21.96    31.33%    26.97    8.71%    81.42%
27. Uncompiled Match    37.53    24.90%    33.05    13.36%    113.56%
28. Uncompiled Test    30.65    14.49%    34.66    10.88%    88.43%
29. Uncompiled Empty Replace    61.84    16.15%    71.81    6.29%    86.12%
30. Uncompiled 12 Char Replace    66.54    8.01%    71.63    8.09%    92.89%
31. Uncompiled Object Match    32.51    37.34%    34.19    10.34%    95.09%
32. Uncompiled Object Test    32.18    51.05%    34.51    9.62%    93.25%
33. Uncompiled Object Empty Replace    93.76    12.48%    67.69    8.75%    138.51%
34. Uncompiled Object 12 Char Replace    105.25    8.59%    66.94    12.51%    157.23%

Richards Benchmarks:    371.38        308.43        120.41%

A series of benchmarks to test the quality of system implementation languages.
Origin, Source, Tests: functions, object
1. Richards    371.38    4.21%    308.43    3.16%    120.41%

Rotating 3D Cube:    87.54        101.45        86.29%

Rotating the individual pixels of a cube. No rendering done.
Origin, Source, Tests: object, array, property, math
1. Rotate 3D Cube    87.54    20.58%    101.45    11.83%    86.29%

SHA1 Hashing:    619.83        629.47        98.47%

Hash a long string using SHA1.
Origin, Source, Tests: looping, string
1. SHA1 Hashing    619.83    15.40%    629.47    7.48%    98.47%

Script Unpacking:    13.27        7.24        183.29%

Decompressing scripts run through Dean Edwards' Packer.
Origin, Source, Tests: regexp, string, looping
1. Unpack Code    13.27    27.92%    7.24    36.83%    183.29%

Spectral Norm of a Matrix:    841.04        675.86        124.44%

Calculate the spectral norm of a matrix of numbers.
Origin, Source, Tests: array, looping, math
1. Spectral Norm    841.04    10.35%    675.86    12.17%    124.44%

String Parsing and Searching:    3.71        3.23        114.86%

Tests for parsing languages and searching strings.
Origin, Source, Tests: looping, functions, string
1. Earley    9.02    51.22%    7.17    33.96%    125.80%
2. Boyer    1.52    31.09%    1.45    5.01%    104.83%

Strings:    85.1        72        118.19%

Microtests of strings (concatenation, methods).
Origin, Source, Tests: string, microtest
1. Concat String    792.77    4.02%    619.8    5.79%    127.91%
2. Concat String Object    683.96    21.73%    611.8    5.12%    111.79%
3. Concat String from charCode    722.67    62.44%    825.71    6.05%    87.52%
4. Array String Join    791.2    35.04%    762.8    30.73%    103.72%
5. String Split    35.12    117.81%    48.92    63.52%    71.79%
6. String Split on Char    2.11    44.07%    21.84    61.80%    9.66%
7. charAt    195.72    29.83%    84.77    4.33%    230.88%
8. [Number]    138.95    33.69%    106.63    7.96%    130.31%
9. charCodeAt    100.55    29.48%    73.46    5.89%    136.88%
10. indexOf    207.24    24.87%    78.49    5.30%    264.03%
11. lastIndexOf    224.98    6.52%    86.77    6.92%    259.28%
12. slice    0.08    77.44%    0.07    17.11%    114.29%
13. substr    41.06    96.77%    35.35    17.12%    116.15%
14. substring    119.92    11.28%    35.34    26.73%    339.33%
15. toLowerCase    83.35    43.90%    48.87    17.56%    170.55%
16. toUpperCase    42.96    15.05%    58.49    17.16%    73.45%
17. comparing    155.33    42.41%    137.55    8.36%    112.93%

Tag Cloud Creation:    22.66        37.63        60.22%

Convert a JSON structure into an HTML tag cloud.
Origin, Source, Tests: string, regexp
1. Parse JSON    19.23    66.47%    33.18    24.88%    57.96%
2. Make Tag Cloud    26.71    88.20%    42.67    42.92%    62.60%

Traversing Binary Trees:    27.58        28.85        95.60%

Moving through an object representation of a binary tree.
Origin, Source, Tests: object, recursion
1. Binary Trees    27.58    44.86%    28.85    16.71%    95.60%

Trigonometric Calculation:    181.62        230.44        78.81%

Calculate values from hyperbolic and trigonometric functions.
Origin, Source, Tests: math, looping
1. Cordic    181.62    22.62%    230.44    15.29%    78.81%

Validate User Input:    47.95        35        137%

Test user input against a series of rules.
Origin, Source, Tests: string, regexp
1. Validate Email Input    56.17    49.42%    39.95    34.08%    140.60%
2. Validate Zipcode Input    40.93    83.30%    30.67    73.50%    133.45%
13. substr    41.06    96.77%    35.35    17.12%    116.15%
14. substring    119.92    11.28%    35.34    26.73%    339.33%
15. toLowerCase    83.35    43.90%    48.87    17.56%    170.55%
16. toUpperCase    42.96    15.05%    58.49    17.16%    73.45%
17. comparing    155.33    42.41%    137.55    8.36%    112.93%

Tag Cloud Creation:    22.66        37.63        60.22%

Convert a JSON structure into an HTML tag cloud.
Origin, Source, Tests: string, regexp
1. Parse JSON    19.23    66.47%    33.18    24.88%    57.96%
2. Make Tag Cloud    26.71    88.20%    42.67    42.92%    62.60%

Traversing Binary Trees:    27.58        28.85        95.60%

Moving through an object representation of a binary tree.
Origin, Source, Tests: object, recursion
1. Binary Trees    27.58    44.86%    28.85    16.71%    95.60%

Trigonometric Calculation:    181.62        230.44        78.81%

Calculate values from hyperbolic and trigonometric functions.
Origin, Source, Tests: math, looping
1. Cordic    181.62    22.62%    230.44    15.29%    78.81%

Validate User Input:    47.95        35        137%

Test user input against a series of rules.
Origin, Source, Tests: string, regexp
1. Validate Email Input    56.17    49.42%    39.95    34.08%    140.60%
2. Validate Zipcode Input    40.93    83.30%    30.67    73.50%    133.45%

分类: IT 发表评论
评论 (0) 引用 (0)

还没有评论.


发表评论


还没有引用.