From 88dbd876a9635fa515ed29875816d05975272597 Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Thu, 13 Jun 2019 20:15:30 -0400 Subject: updated cacheUpdate bench --- svc/cache_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svc/cache_test.go b/svc/cache_test.go index 04eabb8..f167913 100644 --- a/svc/cache_test.go +++ b/svc/cache_test.go @@ -65,7 +65,7 @@ func Benchmark_cacheUpdate(b *testing.B) { // make sure it's pulling new statuses // half the time so we get a good idea // of its performance in both cases. - if i > 2 && i%2 == 0 { + if i > (b.N/2) && i%2 == 0 { b.StopTimer() killStatuses() b.StartTimer() -- cgit 1.4.1-2-gfad0 );'> mirror of ranger - a simple, vim-like file managerakspecs <akspecs@tilde.institute>
about summary refs log blame commit diff stats
path: root/setup.py
blob: 4fbbccba5b862933a299991e5aa710782fcb414e (plain) (tree)
1
2
3
4
5
6
7
8
9
10