[Bug 234949] Strip is enormously slow when operating on Haskell binaries

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun May 26 22:35:04 UTC 2019


--- Comment #11 from Mark Johnston <markj at FreeBSD.org> ---
(In reply to Mark Johnston from comment #10)
Hmm, GNU strip seems to do something similar, but manages to be much faster.

Some profiling points at nested loops in create_scn->is_remove_reloc_scn(). 
Changing is_remove_reloc_scn() to use elf_getscn() instead of searching the
section list gets me down to 38s.

Profiling also points at insert_to_sec_list(), which would appear to benefit
from a binary search tree as well.

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list