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
CoffeeScript is understandably better than augment
when it comes to a single class without inheritance, but how much faster is augment
when there's inheritance?
<script src="https://raw.github.com/javascript/augment/master/augment.js"></script>
<script>
var __hasProp = {}.hasOwnProperty,
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
CoffeeScript |
| ready |
augment |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.