location.href vs. location.reload()

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
href
window.location.href = window.location.href;
ready
reload
window.location.reload();
ready

Revisions

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