Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.84 Safari/537.36
Chrome 99
Windows
Desktop
20 days ago
Test name Executions per second
timestamp = Date.now(); 3145335.2 Ops/sec
timestamp = new Date().toISOString(); 748920.1 Ops/sec
Script Preparation code:
Tests:
  • timestamp = Date.now();

  • timestamp = new Date().toISOString();