jsPerf.app is an online JavaScript performance benchmark test runner & jsperf.com mirror. It is a complete rewrite in homage to the once excellent jsperf.com now with hopefully a more modern & maintainable codebase.
jsperf.com URLs are mirrored at the same path, e.g:
https://jsperf.com/negative-modulo/2
Can be accessed at:
https://jsperf.app/negative-modulo/2
What kind of overhead does extend have.
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>
<div id="dropdown" class="headerTopLinks fltrt">
<form method="post" action="">
<div>
<a class="button" href="">Don't log me in</a>
<input type="text" value="Username" name="username" style="width:210px;" />
<br/>
<input type="password" name="password" style="width:168px;margin-right:-3px;" />
<input type="hidden" name="testcookies" value="1" />
<input type="submit" value="Login" />
</div>
</form>
</div>
Ready to run.
Test | Ops/sec | |
---|---|---|
without extend |
| ready |
With 1 extend |
| ready |
With 2 extends |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.