Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
perfomance.now vs Date.now vs +new Date()
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Browser:
Chrome 128
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
Date.now();
3.6M/s
+new Date();
2.7M/s
performance.now();
2.7M/s
View exact numbers
Test name
Executions per second
✓
Date.now();
3,647,845 Ops/sec
+new Date();
2,652,194 Ops/sec
performance.now();
2,651,688 Ops/sec
Script Preparation code:
var timestamp = null;
Tests:
performance.now();
timestamp = performance.now();
Date.now();
timestamp = Date.now();
+new Date();
timestamp = +new Date();