You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve performance of linker symbol cache under high contention. NFC (#24029)
This drastically improves the performance of running the test suite even
though most users probably won't see any effect.
Prior to this change the symbol generation process itself always
happened with a global symbol list lock held. Now we use a
per-symbol-list lock which means that only linker processes with
identical linker flags with contend for the lock.
before:
- hot: 0m25.259s
- cold: 1m36.121s
after:
- hot: 0m21.371s
- cold: 0m20.350s
This also happens to fix#18622 since it avoids using `cache.get()`
which does logging.
0 commit comments