Lodash template vs JS ReplaceFastest: JS Replace (30.9x faster)
1,239,812 ops/sec
40,146 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Lodash template | |
| JS Replace |
| Test name | Executions per second |
|---|---|
| ✓ JS Replace | 1,421,552 Ops/sec |
| Lodash template | 45,754 Ops/sec |