From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by sourceware.org (Postfix) with ESMTPS id 89A503858C27 for ; Tue, 8 Feb 2022 17:45:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 89A503858C27 Received: by mail-lj1-x234.google.com with SMTP id a25so25527118lji.9 for ; Tue, 08 Feb 2022 09:45:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=XhR/BOabJfDPD57249eoiHJMfmKjtd2kX1g9CWAK8w4=; b=E9e1/NLtOpDjTSQSgTroeh/AI/gOq3I/GYzr/modLyEge/4uMt/BDmzcb0x5Y8+4v0 qC0zqqjx62R/nSlszGVO3XuZRM/JDoGR0eKqxdKQ0UxGZYe9S4+/JKOuaRL2a2eyifp0 pKbyZ4NS65keikNCskefKajUoiw5XblOPROvfu6ZZJimbMHgoQiEJIDVXXFjXNCDj8ss aRoxVFl6QVFl2itECX70ZVnTlZs7y80A/ntz4mjlDoxBnX/th1z1JUwF5Nw64OL65aGI skpi75DFZ/euRhZhotZdculLkceoW1HnqGqS2iS6Bavfxvi2xybeH7+NVdCOiOexdmyU XZsQ== X-Gm-Message-State: AOAM533zoESdaMGGpHkg0XylWN0DLAe6so5II8ydR5wIl9s/1fKBdBsE kniieOSESECzZi8xshRnw6Npv4zMa0oti7MGCdlteXSZkPE= X-Google-Smtp-Source: ABdhPJxc9vi9iPfMcWx/5t1Jgm48QFdVpNK9n4+pfRgleIjoy19ADjfwXK7ZlFUIQXKqdMfw5Y+MEZwH029Fj0F9vj0= X-Received: by 2002:a05:651c:b09:: with SMTP id b9mr3600458ljr.475.1644342310126; Tue, 08 Feb 2022 09:45:10 -0800 (PST) MIME-Version: 1.0 From: Alexander Lindsay Date: Tue, 8 Feb 2022 09:44:58 -0800 Message-ID: Subject: Noted slowness in profile loading with binutils 2.37 To: binutils@sourceware.org X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HTML_MESSAGE, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2022 17:45:12 -0000 Hi all, I recently experienced a slow-down in profile loading by the tool pprof, and I believe I've boiled it down to changing from previous versions of binutils to binutils version 2.37. Timings of profile loading are documented on the pprof ticket I originally opened here: https://github.com/google/pprof/issues/680#issuecomment-1032174210. I reproduce them below: - binutils version 2.29.1: 1.1 seconds - binutils version 2.33.1: 1.1 seconds - binutils version 2.35.2: 6.8 seconds - binutils version 2.36.1: 6.5 seconds - binutils version 2.37: Still not loaded at 6 minutes I think the relevant binutil tool here is addr2line. Does anyone have a quick idea for what may have caused the slow-down? I was thinking about doing a git bisect, but I figured it is probably way more efficient to contact the experts! Alex