From nobody Sat Jun 8 06:24:42 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vx7Mb33SKz5NTV1 for ; Sat, 08 Jun 2024 06:24:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vx7Mb0MFhz4SPH for ; Sat, 8 Jun 2024 06:24:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717827883; a=rsa-sha256; cv=none; b=F0ya67bb/VlP2eqYXosYFIEBwQccqjuPETD+QhmGJOKMxpGL0xhkXVPWALfKLScUkQC4An wAaXTE6lRyICgGkMz2SCkDsnCnAPHink0pzwscHtIsLiMEo4LTv7stLCCFfskNUlMeMhUr EysabVvsPnze8t9UGUi7LSfqUIa/pHOTAjSBCxrrW8IvZjy9Hf1sqKXm9VQ4A/2mYXBUFX sMHwHnk1+vkoqYiocl6WGivd68KKwPL3K+vpxRgY8+B9FwgIA42uEv4v4UoFE+GyNxgVlX WzNaP5tP4ciS61Vibp+z4FeGp6vCpxI0lrBy4XUAYuwtueEmOiP2jtYIbsSnvg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717827883; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qMvmdUfc3LGEA6KFW/XWf/xcdLM9sE4u02h7lV5THRg=; b=n9o304NPoPTuEZYMBLvToiUuvSuwR8QgipxTB3hvdoUDWlpCYO2NhiovhNZVA/tVwVQ5VD GFyRIIW6XYUMqzOV8pF3FCm2gZ18CVPsIk0MjHVsr307Q1VwuIuF1R832bcwgyWCdvkUjK ZeqfVEiDi6hWdaxIZBu15Vbm7S8aYTQLHawW8LmYdl6Zj3VwxFSW+pTQ0PICdJSxfclprm 1Y27SGLwg4gtSpNPW4zNBM35DFVsh+8m7JATxPQBw9rm2pEK5EHGGs7EM0cA9eIengKu14 gmQ0+cCThfwU1hfuJkzgaBL8ePFQSAC/nxfkFtMEGiRpTqY6V3levVNp6gOVcw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Vx7MZ5xrdzncK for ; Sat, 8 Jun 2024 06:24:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4586Ogfw072294 for ; Sat, 8 Jun 2024 06:24:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4586OgLP072292 for ports-bugs@FreeBSD.org; Sat, 8 Jun 2024 06:24:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 279585] lang/python311: Improve build times Date: Sat, 08 Jun 2024 06:24:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: diizzy@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279585 Bug ID: 279585 Summary: lang/python311: Improve build times Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: python@FreeBSD.org Reporter: diizzy@FreeBSD.org CC: fuz@FreeBSD.org, mandree@FreeBSD.org, pkubaj@FreeBSD.org, wen@FreeBSD.org Flags: maintainer-feedback?(python@FreeBSD.org) Assignee: python@FreeBSD.org Created attachment 251284 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D251284&action= =3Dedit Patch for python311 - Don't build with debug symbols by default, we discard these anyway and it reduces build time with roughly 1/4th (real) on my Tigerlake laptop with LTO enabled. If debug symbols are needed use our framework's WITH_DEBUG switch Tested on 14.0-RELEASE (amd64) With debug symbols (default) 4m29.16s real 6m38.66s user 17.27s sys Without debug symbols (-g) 3m13.45s real 5m9.13s user 16.24s sys - Switch from -flto=3Dthin to lto, there's no parallization so it's actually slower and produces larger binaries With -flto=3Dthin (default) 3m13.45s real 5m9.13s user 16.24s sys -rw-r--r-- 1 root wheel 6332792 Jun 8 07:29 libpython3.11.so.1.0 With -flto 2m42.62s real 4m48.13s user 16.68s sys -rw-r--r-- 1 root wheel 6224104 Jun 8 07:51 libpython3.11.so.1.0 --=20 You are receiving this mail because: You are the assignee for the bug.=