1 <script type="text/javascript">
4 // slice() is a little faster than concat() except on Chrome
5 // This clone() is slower on FF & IE but takes 50% on Safari & Chrome
10 var arr = new Array(SIZE);
11 for ( var i=arr.length-1; i >= 0; --i )
15 for ( i=0; i < LOOPS; i++ )
17 var tslice = new Date - t;
20 for ( i=0; i < LOOPS; i++ )
22 var tconcat = new Date - t;
24 // clone() is just to see how fast built-ins are
26 for ( i=0; i < LOOPS; i++ )
28 var tclone = new Date - t;