Stopwatch sw = new Stopwatch(); sw.Restart(); var a = redis.ListRange<UserModel>(key); sw.Stop(); MessageBox.Show($"读取十万条次共耗时:{sw.ElapsedMilliseconds}毫秒");
Stopwatch sw = new Stopwatch(); sw.Restart(); var a = redis.ListRange<UserModel>(key); sw.Stop(); MessageBox.Show($"读取十万条次共耗时:{sw.ElapsedMilliseconds}毫秒");