現在時刻取得のパフォーマンス比較

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
performance.now() - 1
performance.timing.navigationStart + performance.now();
ready
performance.now() - 2
performance.timeOrigin + performance.now();
ready
new Date().getTime()
new Date().getTime();
ready
Date.now()
Date.now()
ready

Revisions

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