string-interpolation vs string-concatenation vs string-join vs string-appebdFastest: string-interpolation (1.6x faster)
8,212,260 ops/sec
8,197,804 ops/sec
7,219,387 ops/sec
5,249,162 ops/sec
Fastest: string-concatenation (30.7x faster)
397,157,728 ops/sec
110,009,568 ops/sec
44,083,072 ops/sec
12,924,029 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| string-interpolation | |
| string-concatenation | |
| string-join | |
| string-appebd |
| Test name | Executions per second |
|---|---|
| ✓ string-interpolation | 16,015,872 Ops/sec |
| string-concatenation | 14,498,458 Ops/sec |
| string-appebd | 13,852,171 Ops/sec |
| string-join | 10,211,573 Ops/sec |