From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 659833858C66; Fri, 1 Mar 2024 00:12:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 659833858C66 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709251944; bh=xBRbMSNoO7OmoTUAWsfkB58Jdc8MRXOX1N02gUjf/8s=; h=From:To:Subject:Date:In-Reply-To:References:From; b=aHIQLwdudgQjTkWUmyOXSuqEbHJfurK878mkytJY5WDK7ZTLu3uZp2Jas0ZibEH6s GuBBRXwpa3ieUyqD6QSKa2iAIdyuZ8l54Im8a/5+La//GlUuUFDMuwfSZ5tp7O7L5a uxrjv+DRP4wmolnAPncN9dDJ6LLQnaTIk2vVZ2H0= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/111523] Unexpected performance regression with -ftrivial-auto-var-init=zero for e.g. systemctl unmask Date: Fri, 01 Mar 2024 00:12:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111523 --- Comment #3 from Sam James --- There's some trace output at https://github.com/systemd/systemd/issues/26950#issue-1637752077 but it's n= ot quite the same as perf output. But they do identify some bad functions: """ Observations: manager_clear_jobs_and_units takes ~2s instead of ~1s manager_enumerate takes ~6s instead of ~0.8s (!!) manager_deserialize takes ~1s instead of ~0.2s """=