new Intl.DateTimeFormat.format() vs Intl.DateTimeFormat.format() vs new Intl.DateTimeFormat.formatToParts vs Intl.DateTimeFormat.formatToParts| Test case name | Result |
|---|---|
| new Intl.DateTimeFormat.format() | |
| Intl.DateTimeFormat.format() | |
| new Intl.DateTimeFormat.formatToParts | |
| Intl.DateTimeFormat.formatToParts |
| Test name | Executions per second |
|---|---|
| ✓ new Intl.DateTimeFormat.format() | 17,908 Ops/sec |
| Intl.DateTimeFormat.formatToParts | 17,882 Ops/sec |
| new Intl.DateTimeFormat.formatToParts | 17,824 Ops/sec |
| Intl.DateTimeFormat.format() | 17,730 Ops/sec |