mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
2b32ec36db
Profiling of tcampbell's React benchmark [1] using DHAT shows that about 20000 of a total of 195000 C++ heap allocated blocks are clones of C string literals, created by JS_smprintf. This patch removes those allocations entirely. This problem was alluded to some time back in [2]. [1] https://github.com/mozilla-spidermonkey/matrix-react-bench [2] https://phabricator.services.mozilla.com/D148035#inline-815309 Differential Revision: https://phabricator.services.mozilla.com/D159586 |
||
---|---|---|
.. | ||
examples | ||
loader | ||
public | ||
src | ||
xpconnect | ||
app.mozbuild | ||
ffi.configure | ||
moz.build | ||
moz.configure | ||
sub.configure |