summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2020-07-24 17:18:38 -0700
committergVisor bot <gvisor-bot@google.com>2020-07-24 17:20:33 -0700
commitbd97206fa13d18d870b4120e831b11630d6fa98f (patch)
tree9e6300284919a4aa7fa421ef6f6a2ee674acb390 /pkg/abi
parentea0342d470e7eabd9aa2968d4919c67784e4a358 (diff)
Reduce walk and open cost in fsgofer
Implement WalkGetAttr() to reuse the stat that is already needed for Walk(). In addition, cache file QID, so it doesn't need to stat the file to compute it. open(2) time improved by 10%: Baseline: 6780 ns Change: 6083 ns Also fixed file type which was not being set in all places. PiperOrigin-RevId: 323102560
Diffstat (limited to 'pkg/abi')
0 files changed, 0 insertions, 0 deletions