commit | 8617b3bb3e7b95c27f3ffa7220a2b7754d918adb | [log] [tgz] |
---|---|---|
author | Rui Ueyama <ruiu@google.com> | Fri Mar 06 06:07:32 2015 +0000 |
committer | Rui Ueyama <ruiu@google.com> | Fri Mar 06 06:07:32 2015 +0000 |
tree | a563fc22d38d9b8e97d52cd377618350733d1c8e | |
parent | 517e68fe7b4d16bc635ae75333641c16a8c595fa [diff] |
Support: Improve performance of FileOutputBuffer on Windows We extend an underlying file before mmap'ing it, but it's not needed on Windows. Extending file is slow on Windows, so we should avoid doing that. The difference gets larger as the size of an output file gets larger. It shove off 2 seconds out of 25 seconds when linking chrome.dll with LLD, for example. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231452 91177308-0d34-0410-b5e6-96231b3b80d8