Run details:
Mozilla/5.0 (Android 15; Mobile; rv:148.0) Gecko/148.0 Firefox/148.0
Firefox Mobile 148
Android
Mobile
6 months ago
Benchmark.js
String.fromCharCode on Array
41K/s
String.fromCodePoint on Array
19K/s
TextDecoder on Uint8Array
17K/s
String.fromCharCode on Uint8Array
11K/s
String.fromCodePoint on Uint8Array
8K/s
View exact numbers
| Test name |
Executions per second |
|
✓
String.fromCharCode on Array
|
40,660 Ops/sec |
|
String.fromCodePoint on Array
|
18,693 Ops/sec |
|
TextDecoder on Uint8Array
|
16,904 Ops/sec |
|
String.fromCharCode on Uint8Array
|
11,276 Ops/sec |
|
String.fromCodePoint on Uint8Array
|
8,015 Ops/sec |
Tests:
-
TextDecoder on Uint8Array
-
String.fromCharCode on Uint8Array
-
String.fromCharCode on Array
-
String.fromCodePoint on Uint8Array
-
String.fromCodePoint on Array