mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-02-12 05:50:26 +00:00
`filepath.Walk` recursively traverses every dir, which is not what is needed for getPids. Instead only read the list of dirs in the top level of `/proc`. ``` benchmark old ns/op new ns/op delta BenchmarkGetPids-4 868684 195522 -77.49% ```