commit | 3cad68fa83de357d25a1554f568b3482e21d519c | [log] [tgz] |
---|---|---|
author | Bruce Dawson <brucedawson@chromium.org> | Thu Apr 18 20:30:17 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Apr 18 20:30:17 2019 |
tree | 1ba8744c651d039f6fa31522164620b3ed7a3e2d | |
parent | 0246317501a51d4a4441d9f85f94ea3b5f8220ec [diff] |
Remove cfi_linker from tests Windows 10's implementation of Control Flow Guard costs about 300 ms per process-create call with unit_tests.exe and other huge executables. Since process creation is serialized this adds about 300 s to the test run time of unit_tests.exe (10,000 tests divided by ten tests per process times 0.3 s), which means it takes significantly longer to run than it would otherwise. There have been reports that this causes unit_tests.exe to take 4-5x as long to run as when CFG is disabled. CFG is not needed for these tests, so disabling it is fine. unit_tests.exe, for example, has about 180,000 CFG functions, which is a lot, but it's not clear why it costs so much to set a bit for each function in the ~1.5 MB CFG bitmap. That is a problem for Microsoft to figure out and this is being discussed with them. The underlying issue and this change do not affect chrome.exe. See http://www.alex-ionescu.com/?p=246 for more information on CFG. Bug: 950923 Change-Id: I660ef68ca33141e54cfe895efaa3e7c11bc7118a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1570694 Reviewed-by: Dirk Pranke <dpranke@chromium.org> Commit-Queue: Bruce Dawson <brucedawson@chromium.org> Cr-Commit-Position: refs/heads/master@{#652279}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .