https://sourceware.org/bugzilla/show_bug.cgi?id=33062

            Bug ID: 33062
           Summary: speed up readelf default (not -N) symbol resolution
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tools
          Assignee: unassigned at sourceware dot org
          Reporter: fche at redhat dot com
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

elfutils readelf defaults to symbol resolution of addresses found in dwarf
references; binutils readelf doesn't.  The performance implication of this
default is stark.  Operating on a large c++ binary (stap):

    - binutils readelf -w    || 7.24s user 0.17s system 99% cpu 7.432 total     
    - stock eu-readelf -w    || 582.05s user 0.09s system 99% cpu 9:43.47 total 
    - stock eu-readelf -w -N || 3.88s user 0.04s system 99% cpu 3.930 total     

i.e. a factor of ~200 slowdown.  Surely it can be made faster.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to