Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:145.0) Gecko/20100101 Firefox/145.0
Firefox 145
Windows
Desktop
10 months ago
Benchmark.js
String.fromCharCode on Array
60K/s
String.fromCodePoint on Array
26K/s
TextDecoder on Uint8Array
24K/s
String.fromCharCode on Uint8Array
15K/s
String.fromCodePoint on Uint8Array
10K/s
View exact numbers
| Test name |
Executions per second |
|
✓
String.fromCharCode on Array
|
60,380 Ops/sec |
|
String.fromCodePoint on Array
|
26,406 Ops/sec |
|
TextDecoder on Uint8Array
|
23,954 Ops/sec |
|
String.fromCharCode on Uint8Array
|
15,175 Ops/sec |
|
String.fromCodePoint on Uint8Array
|
10,450 Ops/sec |
Tests:
-
TextDecoder on Uint8Array
-
String.fromCharCode on Uint8Array
-
String.fromCharCode on Array
-
String.fromCodePoint on Uint8Array
-
String.fromCodePoint on Array