new vs Ext.create

Benchmark created on


Preparation HTML

<script type="text/javascript" src="http://damnslow.com/new_vs_ext.create/ext-foundation.js"></script>
<script>
  Ext.define('Some.pretty.random.dummy.Class', {});
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
create
Ext.create('Some.pretty.random.dummy.Class', true, 1.2, [], {}, function() {}, null);
ready
new
new Some.pretty.random.dummy.Class(true, 1.2, [], {}, function() {}, null);
ready

Revisions

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