Duration calculation (v2)

Revision 2 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
performance.now()
const start = window.performance.now()
const end = window.peformance.now() - start;
ready
Date.now()
const start = Date.now()
const end = Date.now() - start;
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.