diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2025-08-30 11:43:17 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-09-02 16:09:36 -0700 |
| commit | bc1a767f695d597de529f4f0c6fff1d55f1b5395 (patch) | |
| tree | 6c2386ceb8b04518eeabfd3aa803cb7796f346db /tools/perf/scripts/python/gecko.py | |
| parent | c2e5108649ab8dec599d074b7ea344e61efa5eee (diff) | |
selftests: net: py: don't default to shell=True
Overhead of using shell=True is quite significant.
Micro-benchmark of running ethtool --help shows that
non-shell run is 2x faster.
Runtime of the XDP tests also shows improvement:
this patch: 2m34s 2m21s 2m18s 2m18s
before: 2m54s 2m36s 2m34s
Reviewed-by: Breno Leitao <leitao@debian.org>
Link: https://patch.msgid.link/20250830184317.696121-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions
