修改测试配置
This commit is contained in:
@@ -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,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user