From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id AF33B6FFC; Tue, 30 Sep 2025 09:24:28 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id 741067084; Tue, 30 Sep 2025 09:24:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DMARC_MISSING,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=4.0.1 Received: from fout-b1-smtp.messagingengine.com (fout-b1-smtp.messagingengine.com [202.12.124.144]) by atuin.qyliss.net (Postfix) with ESMTPS id 03E3F707C for ; Tue, 30 Sep 2025 09:24:22 +0000 (UTC) Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfout.stl.internal (Postfix) with ESMTP id 791FC1D000A3; Tue, 30 Sep 2025 05:24:21 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Tue, 30 Sep 2025 05:24:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:message-id:mime-version:reply-to :subject:subject:to:to; s=fm1; t=1759224261; x=1759310661; bh=iu 0d1o45yh5d8Zw057HlF6WJxuFkQ4SGOpRjvywlQoA=; b=CfDbE91LfJLYRF+2FO ieSQsXUQL880+S0+ZKETu5m/wjk5YB+3JSgYrmk82Qbkc0bfvyRnecHY0zMLOOmD VBV38IeUgD28JYUPMk5yRm+3oB2h6i2jSzWs9qkwf0+OtxB2dL178HdX8xxC0LTd RoMTNoWA65hlj2SDYwVb66PrLxgj1zP7VT/LXI/2gBFKI031NO7hAMI2pJwhdmYd KQR0u4QfUrW1c3/tmF9SsuQibpNhRI6OgHWIRYMj1i0FKP5vtwV4k+vi0n2dPRrf tLUjvLsdlW5N3gOwh2R2WboelnlW76/j1il9k9PFIfpuf3peqPZ2YYVNlkCpjB0A ADew== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1759224261; x=1759310661; bh=iu0d1o45yh5d8Zw057HlF6WJxuFk Q4SGOpRjvywlQoA=; b=PKulQTBcd4/WWqsCuahABwdt5PnfSZz7PH2FgQQ9LYoP FRBr/zk8BxOO1AWEY6L0iO2u99FuhuBjv0HJ4sLL+A07Xjn56hwjizdFB3oUxvku DZbi6GDj7LAojqbtlFxMI/3at5us4VOSQYJ+9yos55PAsezQM4t+jFhF9BIAQrub c6oJowKieKjLgOLshLM7tAeRICsoEAtrKkaAuuT3DCZQ/UotMWNEylUrJ3qWMjn/ Wlflqt5Xv/O/Eqbn4ZdgF323I/TmC9y1P9CcrJJZ3WLBOUh0GBjpf2TVFNDVNl7U /bjrGh+9x8h57tqXWtYIg/GXrv3VncMn4B1jAPF2VA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggdektdehtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvfevufffkffogggtgfesthekredtredtjeenucfhrhhomheptehlhihsshgrucft ohhsshcuoehhihesrghlhihsshgrrdhisheqnecuggftrfgrthhtvghrnhepkeetffehgf dvvdeitdduvdfhveetkeetledvjeeutedutdffkefhheevtedtuedvnecuffhomhgrihhn pehsphgvtghtrhhumhdqohhsrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomhephhhisegrlhihshhsrgdrihhspdhnsggprhgtphhtthho pedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopeguvghmihhosggvnhhouhhrse hgmhgrihhlrdgtohhmpdhrtghpthhtohepuggvvhgvlhesshhpvggtthhruhhmqdhoshdr ohhrgh X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 30 Sep 2025 05:24:20 -0400 (EDT) Received: by mbp.qyliss.net (Postfix, from userid 1000) id 098D35CA47E5; Tue, 30 Sep 2025 11:24:19 +0200 (CEST) From: Alyssa Ross To: devel@spectrum-os.org Subject: [PATCH 0/2] scripts/make-erofs.sh: run mkdir/chmod less Date: Tue, 30 Sep 2025 11:19:08 +0200 Message-ID: <20250930092249.571803-1-hi@alyssa.is> X-Mailer: git-send-email 2.51.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID-Hash: GH2CFO3LSDGW2WYBDIIOO6ZNGV4ZU33D X-Message-ID-Hash: GH2CFO3LSDGW2WYBDIIOO6ZNGV4ZU33D X-MailFrom: hi@alyssa.is X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-devel.spectrum-os.org-0; header-match-devel.spectrum-os.org-1; header-match-devel.spectrum-os.org-2; header-match-devel.spectrum-os.org-3; header-match-devel.spectrum-os.org-4; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Demi Marie Obenour X-Mailman-Version: 3.3.9 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: This is an alternative to Demi's proposal[1] to speed this up. This implementation has the advantage that it does not impose an ordering requirement on the inputs. Nevertheless, it runs just as fast, if not faster (first commit is main; second is Demi's patch; third is this series): | Command | Mean [s] | Min [s] | Max [s] | Relative | |---------------------------+----------------+---------+---------+-------------| | =make (commit = 2551f9e)= | 13.275 ± 0.853 | 11.881 | 16.074 | 1.18 ± 0.11 | | =make (commit = 28fc640)= | 11.467 ± 0.729 | 10.063 | 14.588 | 1.02 ± 0.09 | | =make (commit = 6c3d020)= | 11.215 ± 0.720 | 9.947 | 15.616 | 1.00 | Link: https://spectrum-os.org/lists/archives/spectrum-devel/20250919-less-dirname-v1-1-5df7ca617b9b@gmail.com [1] Alyssa Ross (2): scripts/make-erofs.sh: run chmod less scripts/make-erofs.sh: run mkdir less scripts/make-erofs.sh | 37 ++++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-) base-commit: 2551f9eb1a6c9245699ff5cf77f9957d1e2d14be -- 2.51.0