Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 893A972617 for ; Thu, 4 Jun 2026 22:40:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780612806; cv=none; b=AwVnMR2NKAGXrbYORSl5rpPPIUorszfZaFsW3zUl0ExdBir50TmGPftP6MedRjdfdnIbjY1BBlXzw6JftqFzVmIZjdWKmll0PTHkEmzSIs//78vP0A/9h88TwU2yA2Pc0ajxf/w3z4XnwOiMIQizo1wBMm6Rox9Jj1rI3XIBr14= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780612806; c=relaxed/simple; bh=ZMromN7JKDIPrlqYgRmCSinVQwQCd2jk8RjqBeqexdo=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=KwVZqr5zauDdWsCbJXgQKmeAAwl8EnYwYKOQjRayz6peKAdlEdSK9LbYuANTM6bqqMGkyRHEwOrvAh1EpH/EGQXX47s7hIj8OcfJqEXxDpXZ5e/1XQ+Jyzkt5+fP4IithP38QU+WDYITiSlxZP7ypclZ577ppqpNBNLlehpFus4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lPpCfpYj; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lPpCfpYj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24DF91F00893; Thu, 4 Jun 2026 22:40:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1780612805; bh=XTBZlNbx02T3OEi+tUiCJX9XVBdedILx6fMxUo+caDA=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=lPpCfpYjbGP4fJWwM4LTkdrpvs93HWUbYOYqMMZxWhWk8Hp2sUVgm71sd0EQhJYiL MgV4kd7IIUFf6ihJ2KFGNuUgfN5sdgfGdn7FDdtLGOGP/z6l6ssg/Wvbeu8Cy9XaIe DaEevqpv3OI3OtkEV9MX9dRLeJ0ARSheVTQxnPxY4eOptWM0gtGEFjePDJe9dEM8mY HEcGjF9bTXCq3muKX7IMOPY457Yg1cu0PzAbqGrDwyIupypLl2NQN0XnBGrwyKawB+ +ChibIcb0M/wRb1SJ9lH5XLwGmdCimORKjI9V4U4hUMIm8n5zkrguy5A30FFNQnf92 sU8ysYFMpHJ2g== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 198743930A83; Thu, 4 Jun 2026 22:40:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net-next] tools: ynl: try to avoid the very slow YAML loader From: patchwork-bot+netdevbpf@kernel.org Message-Id: <178061280565.3052321.1262053609207627326.git-patchwork-notify@kernel.org> Date: Thu, 04 Jun 2026 22:40:05 +0000 References: <20260603210810.2636193-1-kuba@kernel.org> In-Reply-To: <20260603210810.2636193-1-kuba@kernel.org> To: Jakub Kicinski Cc: davem@davemloft.net, netdev@vger.kernel.org, edumazet@google.com, pabeni@redhat.com, andrew+netdev@lunn.ch, horms@kernel.org, donald.hunter@gmail.com Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Wed, 3 Jun 2026 14:08:10 -0700 you wrote: > Turns out Python YAML defaults to a pure Python loader for YAML > files which is a lot slower than the C loader (using libyaml). > Try to use the C one whenever possible. > > The avg time to run: > $ tools/net/ynl/pyynl/cli.py --family tc --no-schema > drops from 300+ ms to 115 ms with this change (40 samples). > > [...] Here is the summary with links: - [net-next] tools: ynl: try to avoid the very slow YAML loader https://git.kernel.org/netdev/net-next/c/07c4bca9d92e You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html