Vanilla vs Math.min
JavaScript performance comparison
Preparation code
<script>
Benchmark.prototype.setup = function() {
var a = 15000;
var b = 1328;
};
</script>
Test runner
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
Test | Ops/sec | |
---|---|---|
Math.min
|
|
pending… |
Vanilla JS
|
|
pending… |
Compare results of other browsers
Revisions
You can edit these tests or add even more tests to this page by appending /edit
to the URL.
- Revision 1: published c0bra
- Revision 2: published SanSYS
0 Comments