Upgrade to Pro — share decks privately, control downloads, hide ads and more …

YUI 3.10.0 — Go Fast

YUI 3.10.0 — Go Fast

Some details and fancy charts showing the performance improvements coming in YUI 3.10.0.

Eric Ferraiuolo

April 12, 2013
Tweet

More Decks by Eric Ferraiuolo

Other Decks in Programming

Transcript

  1. Touching ATTRS Y.Foo = Y.Base.create('foo', Y.Base, [], {}, { ATTRS:

    { bar: {value: 'bar'} } }); var foo1 = new Y.Foo();
  2. Touching ATTRS Y.Foo = Y.Base.create('foo', Y.Base, [], {}, { ATTRS:

    { bar: {value: 'bar'} } }); var foo1 = new Y.Foo(); Y.Foo.ATTRS.baz = {value: 'baz'};
  3. Touching ATTRS Y.Foo = Y.Base.create('foo', Y.Base, [], {}, { ATTRS:

    { bar: {value: 'bar'} } }); var foo1 = new Y.Foo(); Y.Foo.ATTRS.baz = {value: 'baz'}; var foo2 = new Y.Foo();
  4. Touching ATTRS Y.Foo = Y.Base.create('foo', Y.Base, [], {}, { ATTRS:

    { bar: {value: 'bar'} } }); var foo1 = new Y.Foo(); Y.Foo.ATTRS.baz = {value: 'baz'}; var foo2 = new Y.Foo(); Y.log(foo2.get('baz')); // undefined
  5. Touching ATTRS Y.Foo = Y.Base.create('foo', Y.Base, [], {}, { ATTRS:

    { bar: {value: 'bar'} } }); var foo1 = new Y.Foo(); Y.Foo.ATTRS.baz = {value: 'baz'}; var foo2 = new Y.Foo(); Y.log(foo2.get('baz')); // undefined
  6. Touching ATTRS Y.Foo = Y.Base.create('foo', Y.Base, [], {}, { ATTRS:

    { bar: {value: 'bar'} } }); var foo1 = new Y.Foo(); Y.Foo.ATTRS.baz = {value: 'baz'}; var foo2 = new Y.Foo(); Y.log(foo2.get('baz')); // undefined
  7. Touching ATTRS Y.Foo = Y.Base.create('foo', Y.Base, [], {}, { ATTRS:

    { bar: {value: 'bar'} } }); var foo1 = new Y.Foo(); Y.Foo.modifyAttrs({ baz: {value: 'baz'} }); var foo2 = new Y.Foo(); Y.log(foo2.get('baz')); // undefined
  8. Touching ATTRS Y.Foo = Y.Base.create('foo', Y.Base, [], {}, { ATTRS:

    { bar: {value: 'bar'} } }); var foo1 = new Y.Foo(); Y.Foo.modifyAttrs({ baz: {value: 'baz'} }); var foo2 = new Y.Foo(); Y.log(foo2.get('baz')); // "baz"