module v module

JavaScript performance comparison

Test case created

Test runner

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

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
use var
var PRODIGY = (function(){
  return {
    frontController: (document.location.pathname.match(/app_dev\.php/) ? '/app_dev.php' : '')
  };
})();
pending…
set window
;(function(window){
  window.PRODIGY = {
    frontController: (document.location.pathname.match(/app_dev\.php/) ? '/app_dev.php' : '')
  };
})(window);
pending…
set window no pass window
;(function(){
  window.PRODIGY = {
    frontController: (document.location.pathname.match(/app_dev\.php/) ? '/app_dev.php' : '')
  };
})();
pending…
use var strict
var PRODIGY = (function(){
  'use strict';
  return {
    frontController: (document.location.pathname.match(/app_dev\.php/) ? '/app_dev.php' : '')
  };
})();
pending…

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

Compare results of other browsers

0 comments

Add a comment