Test name | Executions per second |
---|---|
Array.from + join + fromCodePoint | 47.0 Ops/sec |
Array.from + join + fromCharCode | 43.7 Ops/sec |
Array.reduce + fromCodePoint | 62.6 Ops/sec |
Array.reduce + fromCharCode | 62.9 Ops/sec |
String concatenation + fromCodePoint | 58.2 Ops/sec |
String concatenation + fromCharCode | 60.0 Ops/sec |
Function.apply + Array.reduce+ fromCodePoint (chunked) | 553.7 Ops/sec |
Function.apply + Array.reduce + fromCharCode (chunked) | 950.6 Ops/sec |
Function.apply + String concatenation + fromCodePoint (chunked) | 517.6 Ops/sec |
Function.apply + String concatenation + fromCharCode (chunked) | 868.5 Ops/sec |
Function.apply + Array.reduce+ fromCodePoint (small chunks) | 399.1 Ops/sec |
Function.apply + Array.reduce + fromCharCode (small chunks) | 543.9 Ops/sec |
Function.apply + String concatenation + fromCodePoint (small chunks) | 372.8 Ops/sec |
Function.apply + String concatenation + fromCharCode (small chunks) | 542.3 Ops/sec |
utf-16 TextDecoder | 1745.5 Ops/sec |