summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs/controlknobs.go
diff options
context:
space:
mode:
authorDavid Anderson <danderson@tailscale.com>2023-09-07 09:31:33 -0700
committerDave Anderson <dave@natulte.net>2023-09-07 16:04:39 -0700
commit472eb6f6f5326581a5d316f8f3fe4a507869316d (patch)
treefa9c5eb22d8e03d87231e2ae34672c37c3e2b150 /control/controlknobs/controlknobs.go
parent18b2638b075db6881b283452fba6156a5b6fe7bf (diff)
downloadtailscale-472eb6f6f5326581a5d316f8f3fe4a507869316d.tar.xz
tailscale-472eb6f6f5326581a5d316f8f3fe4a507869316d.zip
util/lru: add a microbenchmark
The benchmark simulates an LRU being queries with uniformly random inputs, in a set that's too large for the LRU, which should stress the eviction codepath. Signed-off-by: David Anderson <danderson@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions