| 1 |
notes: |
| 2 |
reference: |
| 3 |
Run with 100 words, 1000 iterations and overhead of 2 |
| 4 |
62 - concatOnce |
| 5 |
73 - joinExisting |
| 6 |
241 - plusForAlias |
| 7 |
261 - plusFor |
| 8 |
360 - concatFor |
| 9 |
391 - joinForAlias |
| 10 |
398 - concatForAlias |
| 11 |
408 - joinFor |
| 12 |
636 - plusForEach |
| 13 |
763 - concatForEach |
| 14 |
851 - joinForEach |
| 15 |
4188 - builderReusedFor |
| 16 |
4319 - builderFor |
| 17 |
5155 - builderForEach |
| 18 |
|
| 19 |
switch to for loop in append and ditch arraylike for array(r9607) |
| 20 |
Run with 100 words, 1000 iterations and overhead of 3 |
| 21 |
62 - concatOnce |
| 22 |
72 - joinExisting |
| 23 |
235 - concatForAlias |
| 24 |
242 - plusForAlias |
| 25 |
263 - plusFor |
| 26 |
361 - concatFor |
| 27 |
394 - joinForAlias |
| 28 |
414 - joinFor |
| 29 |
635 - plusForEach |
| 30 |
757 - concatForEach |
| 31 |
855 - joinForEach |
| 32 |
2005 - builderReusedFor |
| 33 |
2073 - builderFor |
| 34 |
2830 - builderForEach |
| 35 |
|
| 36 |
|
| 37 |
inline append for array, remove string check |
| 38 |
Run with 100 words, 1000 iterations and overhead of 4 |
| 39 |
55 - concatOnce |
| 40 |
75 - joinExisting |
| 41 |
243 - plusForAlias |
| 42 |
263 - plusFor |
| 43 |
363 - concatFor |
| 44 |
382 - concatForAlias |
| 45 |
398 - joinForAlias |
| 46 |
410 - joinFor |
| 47 |
629 - plusForEach |
| 48 |
754 - concatForEach |
| 49 |
857 - joinForEach |
| 50 |
1854 - builderReusedFor |
| 51 |
1922 - builderFor |
| 52 |
2714 - builderForEach |
| 53 |
|
| 54 |
add string check back in using typeof |
| 55 |
Run with 100 words, 1000 iterations and overhead of 3 |
| 56 |
63 - concatOnce |
| 57 |
72 - joinExisting |
| 58 |
242 - plusForAlias |
| 59 |
262 - plusFor |
| 60 |
363 - concatFor |
| 61 |
381 - concatForAlias |
| 62 |
394 - joinForAlias |
| 63 |
410 - joinFor |
| 64 |
633 - plusForEach |
| 65 |
773 - concatForEach |
| 66 |
862 - joinForEach |
| 67 |
1870 - builderReusedFor |
| 68 |
1937 - builderFor |
| 69 |
2702 - builderForEach |
| 70 |
|
| 71 |
first cut less complex isArray |
| 72 |
Run with 100 words, 1000 iterations and overhead of 3 |
| 73 |
63 - concatOnce |
| 74 |
73 - joinExisting |
| 75 |
184 - plusFor |
| 76 |
251 - plusForAlias |
| 77 |
282 - concatFor |
| 78 |
381 - concatForAlias |
| 79 |
395 - joinForAlias |
| 80 |
412 - joinFor |
| 81 |
629 - plusForEach |
| 82 |
770 - concatForEach |
| 83 |
851 - joinForEach |
| 84 |
2027 - builderReusedFor |
| 85 |
2129 - builderFor |
| 86 |
2898 - builderForEach |
| 87 |
|
| 88 |
switch to typeof for array, put string check back in using typeof (r9610) |
| 89 |
Run with 100 words, 1000 iterations and overhead of 2 |
| 90 |
63 - concatOnce |
| 91 |
77 - joinExisting |
| 92 |
251 - plusForAlias |
| 93 |
272 - plusFor |
| 94 |
282 - concatFor |
| 95 |
364 - concatForAlias |
| 96 |
404 - joinForAlias |
| 97 |
415 - joinFor |
| 98 |
630 - plusForEach |
| 99 |
766 - concatForEach |
| 100 |
850 - joinForEach |
| 101 |
1274 - builderReusedFor |
| 102 |
1510 - builderFor |
| 103 |
2108 - builderForEach |
| 104 |
|
| 105 |
remove arguments-style array support. only support an explicit array. |
| 106 |
Run with 100 words, 1000 iterations and overhead of 2 |
| 107 |
63 - concatOnce |
| 108 |
75 - joinExisting |
| 109 |
186 - plusFor |
| 110 |
207 - builderReusedOnce |
| 111 |
255 - plusForAlias |
| 112 |
283 - concatFor |
| 113 |
306 - builderOnce |
| 114 |
367 - concatForAlias |
| 115 |
408 - joinForAlias |
| 116 |
419 - joinFor |
| 117 |
639 - plusForEach |
| 118 |
767 - concatForEach |
| 119 |
817 - builderReusedFor |
| 120 |
865 - joinForEach |
| 121 |
975 - builderFor |
| 122 |
1562 - builderForEach |
| 123 |
|
| 124 |
just running for tests |
| 125 |
Run with 100 words, 1000 iterations and overhead of 3 |
| 126 |
63 - concatOnce |
| 127 |
203 - plusFor |
| 128 |
204 - builderReusedOnce |
| 129 |
303 - builderOnce |
| 130 |
330 - joinFor |
| 131 |
385 - concatFor |
| 132 |
748 - builderFor |
| 133 |
748 - builderReusedFor |
| 134 |
|
| 135 |
remove array support in append |
| 136 |
Run with 1000 words, 1000 iterations and overhead of 2 |
| 137 |
382 - concatOnce |
| 138 |
1951 - plusFor |
| 139 |
2779 - builderFor |
| 140 |
2883 - builderReusedFor |
| 141 |
3038 - concatFor |
| 142 |
3549 - joinFor |
| 143 |
|
| 144 |
add in appendArray support to match once, use += for append |
| 145 |
Run with 1000 words, 1000 iterations and overhead of 3 |
| 146 |
379 - concatOnce |
| 147 |
381 - builderReusedOnce |
| 148 |
393 - builderOnce |
| 149 |
2022 - plusFor |
| 150 |
2862 - builderFor |
| 151 |
2973 - builderReusedFor |
| 152 |
3128 - concatFor |
| 153 |
3548 - joinFor |