From 2570b67f5e3e87564f926cd8c05a72882c99ea16 Mon Sep 17 00:00:00 2001 From: joyyizhang Date: Sat, 21 Dec 2019 21:35:32 +0800 Subject: [PATCH] fast init --- hashring_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hashring_test.go b/hashring_test.go index 5c919a0..3cb925b 100644 --- a/hashring_test.go +++ b/hashring_test.go @@ -103,7 +103,7 @@ func TimeTrack(start time.Time) { } func TestSpeed(t *testing.T) { - // node=1000 v=50000 on 16GB/win10/i7 init 35s + // node=1000 v=50000 on 8GB/win10/i7 init 35s defer TimeTrack(time.Now()) nodeWeight := make(map[string]int) for i := 0; i < 1000; i += 1 {