doT-speed-up

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
test 1
(function(){
  var doT = {};
  var global = (function(){ return this || (0,eval)('this'); }());

        if (typeof module !== 'undefined' && module.exports) {
                module.exports = doT;
        } else if (typeof define === 'function' && define.amd) {
                define(function(){return doT;});
        } else {
                global.doT = doT;
        }
}());
ready
test 2
(function(){
  var doT = {};
  var global = (function(){ return this || (0,eval)('this'); }());      
  global.doT = doT;
}());
ready

Revisions

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