Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Firefox 133
Windows
Desktop
one year ago
Benchmark.js
TextDecoder on Uint8Array
48K/s
String.fromCharCode on Array
47K/s
String.fromCodePoint on Array
41K/s
String.fromCharCode on Uint8Array
21K/s
String.fromCodePoint on Uint8Array
19K/s
View exact numbers
| Test name |
Executions per second |
|
✓
TextDecoder on Uint8Array
|
47,927 Ops/sec |
|
String.fromCharCode on Array
|
47,105 Ops/sec |
|
String.fromCodePoint on Array
|
40,818 Ops/sec |
|
String.fromCharCode on Uint8Array
|
20,650 Ops/sec |
|
String.fromCodePoint on Uint8Array
|
19,394 Ops/sec |
Tests:
-
TextDecoder on Uint8Array
-
String.fromCharCode on Uint8Array
-
String.fromCharCode on Array
-
String.fromCodePoint on Uint8Array
-
String.fromCodePoint on Array