-
-
Notifications
You must be signed in to change notification settings - Fork 464
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ELF] Make riscv_resize_sections faster
We saw a significant performance improvement with this commit. Here is before and after numbers when cross-building mold for RV32 on a simulated 16-core machine: $ time ./mold.old @rsp real 0m45.216s user 0m0.016s sys 0m0.000s $ time ./mold.new @rsp real 0m0.240s user 0m0.014s sys 0m0.003s $ ls -lh mold -rwxrwxr-x 1 ruiu ruiu 152M Sep 4 17:16 mold
- Loading branch information
Showing
1 changed file
with
21 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters