1
0
mirror of synced 2026-02-20 03:47:56 +08:00

修改测试配置

This commit is contained in:
zhouzj
2021-03-12 15:06:04 +08:00
parent 506bae27a5
commit d13fee2f5f

View File

@@ -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,