Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0
Opera 114
Mac OS X 10.15.7
Desktop
12 days ago
Test name Executions per second
Date().toDateString() 3305190.0 Ops/sec
Date().toLocaleDateString() 1422163.0 Ops/sec
Tests:
  • Date().toDateString()

  • Date().toLocaleDateString()