location.href vs location.assign (v8)

Revision 8 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
location.href
window.location.href = 'javascript:void(example=1)';
ready
location.assign
window.location.assign('javascript:void(example=1)');
ready

Revisions

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