diff options
author | Jamie Liu <jamieliu@google.com> | 2019-06-20 13:33:43 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-06-20 13:36:14 -0700 |
commit | 7db8685100bc5f69ec42e5498781301ee835667c (patch) | |
tree | 730c096c47216fa30544a717f7e077ac413b68c9 /pkg/p9/transport.go | |
parent | 292f70cbf7b4d2da9f2fc5d1049ba49e6846e805 (diff) |
Preallocate auth.NewAnonymousCredentials() in contexttest.TestContext.
Otherwise every call to, say, fs.ContextCanAccessFile() in a benchmark
using contexttest allocates new auth.Credentials, a new
auth.UserNamespace, ...
PiperOrigin-RevId: 254261051
Diffstat (limited to 'pkg/p9/transport.go')
0 files changed, 0 insertions, 0 deletions