[PATCH] D72775: [ELF] Optimization to LinkerScript::computeInputSections NFC

Andrew Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 16 05:55:08 PST 2020


andrewng added a comment.

In D72775#1822384 <https://reviews.llvm.org/D72775#1822384>, @MaskRay wrote:

> It'd be great if you can provide the exact numbers.


|         | No stack sizes | Stack Sizes | Overhead of stack sizes |
| Link 1  | 1.246s         | 2.127s      | 70.71%                  |
| Link 1* | 0.874s         | 0.995s      | 13.84%                  |
| Link 2  | 2.042s         | 3.885s      | 90.25%                  |
| Link 2* | 1.635s         | 1.933s      | 18.23%                  |
|

Where * = with this patch
Run with a release build with assertions enabled on Windows 10 with AMD Ryzen 3900X (12C/24T).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72775/new/

https://reviews.llvm.org/D72775





More information about the llvm-commits mailing list