Native vs decimal.jsFastest: Native (115.3x faster)
164,045,680 ops/sec
1,422,282 ops/sec
Fastest: Native (848.4x faster)
1,583,817,472 ops/sec
1,866,833 ops/sec
Fastest: Native (126.4x faster)
98,930,472 ops/sec
782,907 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Native | |
| decimal.js |
| Test name | Executions per second |
|---|---|
| ✓ Native | 185,213,760 Ops/sec |
| decimal.js | 1,343,010 Ops/sec |