Skip to content

LLVM readelf is slower than GNU readelf #186469

@robertkirkman

Description

@robertkirkman

Hi, LLVM readelf is slightly slower than GNU readelf on the same computers and inputs.

Average "real" time of 3 runs of time readelf -d /usr/bin/ls: 5.33 ms
Average "real" time of 3 runs of time llvm-readelf -d /usr/bin/ls: 10 ms

Computer specifications:

OS: Gentoo GNU/Linux
LLVM readelf version: 21.1.8
GNU readelf version: 2.45.1
CPU: AMD Ryzen 9 5950X
RAM: 80 GB DDR4-2133
SSD: Samsung 990 PRO NVMe

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions