Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
now() vs Date() vs Random()
(version: 1)
Comparing performance of:
random vs performance now vs Date now
Created:
5 months ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<!--your preparation HTML code goes here-->
Tests:
random
Math.random()
performance now
performance.now()
Date now
Date.now()
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (3)
Previous results
Fork
Test case name
Result
random
performance now
Date now
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
5 months ago
)
User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Browser/OS:
Chrome 142 on Linux
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
random
109094440.0 Ops/sec
performance now
9213155.0 Ops/sec
Date now
33998188.0 Ops/sec
Related benchmarks:
Date.now(); vs new Date()
Date.now() vs performance.now()
Date.now() vs performance.now()324234
new Date() vs Date.now()
new Date vs Date.now
getTime() vs now()
new Date() vs Date.now() bis
Date.now() vs new Date
+new Date() vs Date.now()
Comments
Confirm delete:
Do you really want to delete benchmark?