Tests:
-
Custom function using getFullYear(), getMonth(), and getDate() equality check
-
toDateString() equality check
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
8 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Chrome 142 on Mac OS X 10.15.7
View result in a separate tab
Custom function using getFullYear(), getMonth(), and getDate() equality check
18.3M/s
toDateString() equality check
2.7M/s
View exact numbers
| Test name |
Executions per second |
|
✓
Custom function using getFullYear(), getMonth(), and getDate() equality check
|
18,311,238 Ops/sec |
|
toDateString() equality check
|
2,701,705 Ops/sec |
Do you really want to delete benchmark?