chromium-src-build/config/win
brucedawson 10ff84e992 Optimize yasm even in debug builds
Running yasm on highbd_sad4d_sse2.asm takes about ~33 seconds on debug
component builds on Windows - closer to 42 seconds when the system is
under load. This is partially because compiler optimizations are
disabled in debug builds (costs ~5 seconds) and partially because we
link with the debug CRT (costs ~15 seconds). This change makes it so
that we always enable optimizations and always link with the release
CRT, thus reducing the time to run yasm on highbd_sad4d_sse2.asm from
~33 seconds to ~13 seconds.

Further improvements could be obtained by only running yasm once on the
.asm files, but such a change is left for later.

The total CPU-time savings is tiny compared to the cost of a full build,
but on some goma builds this step ends up being the long pole which
serializes the build and costs an estimated 5% of elapsed build time.

BUG=722617

Review-Url: https://codereview.chromium.org/2885213002
Cr-Original-Commit-Position: refs/heads/master@{#473066}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9c90eb122f3327c8c03bbf2171a97cb157f89459
2017-05-19 03:45:28 +00:00
..
BUILD.gn Optimize yasm even in debug builds 2017-05-19 03:45:28 +00:00
console_app.gni Support win_console_app for content_shell. 2016-01-19 17:41:43 +00:00
manifest.gni Move gyp-win-tool to the GN Windows toolchain. 2016-08-29 22:09:00 +00:00
visual_studio_version.gni Reland of win: Remove unneeded references to visual_studio_version now that it's always 2015. (patchset #2 id:150001 of https://codereview.chromium.org/2531333004/ ) 2016-12-02 16:00:41 +00:00