forked from mirrors/gecko-dev
In my local macOS arm64 `--enable-release` non-PGO builds, this fix speeds AppendElement up by a small amount. In official Nightlies, PGO appears to inline the full EnsureCapacity method, so this fix may not make a difference in practice. I noticed this out-of-line call in profiles of querySelectorAll, in the append loop in Gecko_ContentList_AppendAll. Before: https://share.firefox.dev/444f581 After: https://share.firefox.dev/3NAvuf9 Differential Revision: https://phabricator.services.mozilla.com/D181350 |
||
|---|---|---|
| .. | ||
| base | ||
| build | ||
| components | ||
| docs | ||
| ds | ||
| geckoprocesstypes_generator | ||
| glue | ||
| idl-parser | ||
| io | ||
| reflect | ||
| rust | ||
| string | ||
| system | ||
| tests | ||
| threads | ||
| windbgdlg | ||
| xpidl | ||
| metrics.yaml | ||
| moz.build | ||
| xpcom-config.h.in | ||