[Webkit-unassigned] [Bug 172439] Figure out why Firefox's score goes up by 40% on Speedometer 2 compared to 1
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 31 07:44:37 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=172439
Jan de Mooij <jdemooij at mozilla.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jdemooij at mozilla.com
--- Comment #12 from Jan de Mooij <jdemooij at mozilla.com> ---
(In reply to Ryosuke Niwa from comment #11)
> For example, Ember JS's runtime went up from 535ms to 1236ms in Safari
One thing I noticed while profiling EmberJS in Firefox is that we spend quite a lot of time in debug code, stuff like this in addObserverForContentKey:
_emberMetalDebug.assert('When using @each to observe the array ' + content + ', the array must return an object', typeof item === 'object');
Here they concatenate an array of objects to a string, so we end up with a string containing "[object Object],[object Object],[object Object]...".
We can all optimize this in our engines, but it seems pretty silly to have this kind of code in these benchmarks/frameworks. Similar issues have been fixed upstream (in Ember) as it came up in other Ember benchmarks too.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170531/32605748/attachment.html>
More information about the webkit-unassigned
mailing list