[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <174007597483.1790567.5712005674301381670.b4-ty@kernel.org>
Date: Thu, 20 Feb 2025 10:26:14 -0800
From: Namhyung Kim <namhyung@...nel.org>
To: acme@...nel.org, irogers@...gle.com,
Krzysztof Łopatowski <krzysztof.m.lopatowski@...il.com>
Cc: linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] perf: Improve startup time by reducing unnecessary
stat() calls
On Thu, 06 Feb 2025 12:33:15 +0100, Krzysztof Łopatowski wrote:
> When testing perf trace on NixOS, I noticed significant startup delays:
> - `ls`: ~2ms
> - `strace ls`: ~10ms
> - `perf trace ls`: ~550ms
>
> Profiling showed that 51% of the time is spent reading files,
> 26% in loading BPF programs, and 11% in `newfstatat`.
>
> [...]
Applied to perf-tools-next, thanks!
Best regards,
Namhyung
Powered by blists - more mailing lists