From d13fee2f5fb0de390965ab46c7f33d07c88d46da Mon Sep 17 00:00:00 2001 From: zhouzj Date: Fri, 12 Mar 2021 15:06:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Yitter.IdGenTest/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Yitter.IdGenTest/Program.cs b/src/Yitter.IdGenTest/Program.cs index d0b9a5c..ea0b39f 100644 --- a/src/Yitter.IdGenTest/Program.cs +++ b/src/Yitter.IdGenTest/Program.cs @@ -10,7 +10,7 @@ namespace Yitter.OrgSystem.TestA { // 测试参数 - static int genIdCount = 500000; // 计算ID数量(如果要验证50W效率,请将TopOverCostCount设置为20000或适当增加SeqBitLength) + static int genIdCount = 50000; // 计算ID数量(如果要验证50W效率,请将TopOverCostCount设置为20000或适当增加SeqBitLength) static short method = 1; // 1-漂移算法,2-传统算法 @@ -43,7 +43,7 @@ namespace Yitter.OrgSystem.TestA Method = method, WorkerId = 1, - TopOverCostCount = 20000, + TopOverCostCount = 2000, //WorkerIdBitLength = 6, //SeqBitLength = 6,