In the function `removeFromListener` in the EmberJS-TodoMVC benchmark, we spend 3080 samples inside `Array.prototype.splice` versus V8's 23 samples. To reproduce, run `index.js` inside https://github.com/mozilla/Speedometer/tree/ab0e3b8406bbc0356244f8cd430900e9a346737b/resources/todomvc/architecture-examples/emberjs/dist in the JS shell. Profiles (focused on `removeFromListener`'s "JS-only self time"): Spidermonkey: https://share.firefox.dev/3mGyBXK V8: https://share.firefox.dev/3L3hKsx
Bug 1821108 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
In the function `removeFromListener` in the EmberJS-TodoMVC benchmark, we spend 3080 samples inside `Array.prototype.splice` versus V8's 739 samples. To reproduce, run `index.js` inside https://github.com/mozilla/Speedometer/tree/ab0e3b8406bbc0356244f8cd430900e9a346737b/resources/todomvc/architecture-examples/emberjs/dist in the JS shell. Profiles (focused on `removeFromListener`'s "JS-only self time"): Spidermonkey: https://share.firefox.dev/3mGyBXK V8: https://share.firefox.dev/3ylHwR0