test-mangling

JavaScript performance comparison

Test case created

Info

Tests whether jsPerf correctly mangles different runs with different UID

Preparation code

<script>
var SOURCE = null;
</script>
<script>
Benchmark.prototype.setup = function() {
    var src = arguments.callee.toString();
    if (SOURCE === src) {
      throw new Error("Doing a run with the same mangling");
    }
    SOURCE = src;
};
</script>

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
nop
var nop;
pending…
other nop
var nopnop;
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. Here’s a list of current revisions for this page:

0 comments

Add a comment