ExtJs store vs Mixed Collection (v9)

Revision 9 of this benchmark created on


Preparation HTML

<script type='text/javascript' src="http://docs.sencha.com/extjs/4.2.2/extjs/ext-all.js">
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
mixedcollection
var coll = new Ext.util.MixedCollection();
coll.add('key1', 'val1');
ready
store
a = Ext.create('Ext.data.Store', {
  fields: ["key1"],
  data: [{
    key1: 'val1'
  }]
});
 
ready
store add
a = Ext.create('Ext.data.Store', {
  fields: ["key1"]
});

a.add({
   key1: 'val1'
});
 
ready

Revisions

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