18 Mar 2013 12:03 AM #51
18 Mar 2013 1:43 AM #52
that's basically my point. me = this is actually adding bytes in some cases and I believe it's just an unnecessary overhead for the developer to have to count bytes and decide either way.
My test checks the ST lib, so what you're saying is that Sencha used it in wrong places?
Not sure if I understand your comment completely.
18 Mar 2013 1:53 AM #53
18 Mar 2013 2:08 AM #54
26 Mar 2013 11:26 PM #55
The @mschwartz's and @yyjia's findings that using "var me = this;" leads to a performance boost are very interesting.
The @mschwartz's test produces the following results for me (+/- a few milliseconds) with Windows 7:
FireFox - 92 vs 74
Chrome - 30 vs 21
IE9 - 100 vs 87
The performance boost in Chrome is about 30%. I think it is very substantial.
Well, the performance is always actual. For Ext JS as well
27 Mar 2013 3:05 AM #56
Daniil, there's no performance again. I provided a link to an http://stackoverflow.com/ post which in turn linked to a jsPerf test showing that there's no performance gain.
27 Mar 2013 3:40 AM #57
Is this link you are talking about?
Could you, please, point me to a link to the jsPerf test?
27 Mar 2013 3:47 AM #58
27 Mar 2013 4:07 AM #59
Who knows, maybe, Chrome will be a single browser in the future
By MD in forum Ext 3.x: Help & DiscussionReplies: 5Last Post: 2 Jan 2014, 9:08 AM
By christopherbalz in forum Ext:BugsReplies: 4Last Post: 31 Mar 2011, 9:04 AM
By galdaka in forum Ext 3.x: BugsReplies: 3Last Post: 28 Oct 2009, 6:38 AM
By ealpha in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 18 May 2008, 8:28 PM