Test case name | Result |
---|---|
new Date(dateTimeISO) | |
new Date(normalizeToLocalDate(dateTimeISO)) | |
new Date(dateOnlyISO) | |
new Date(normalizeToLocalDate(dateOnlyISO)) |
Test name | Executions per second |
---|---|
new Date(dateTimeISO) | 911994.1 Ops/sec |
new Date(normalizeToLocalDate(dateTimeISO)) | 858043.6 Ops/sec |
new Date(dateOnlyISO) | 1095093.0 Ops/sec |
new Date(normalizeToLocalDate(dateOnlyISO)) | 730371.9 Ops/sec |