Skip to content

Commit

Permalink
更新benchmark逻辑和配表 (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
susices authored Dec 21, 2023
1 parent 9a0ec74 commit 5d17be1
Show file tree
Hide file tree
Showing 43 changed files with 37 additions and 275 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
9 changes: 9 additions & 0 deletions Config/Json/cs/StartConfig/Benchmark/StartProcessConfig.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,13 @@
[5, {"_t":"StartProcessConfig","_id":5,"MachineId":1,"Port":20005}],
[6, {"_t":"StartProcessConfig","_id":6,"MachineId":1,"Port":20006}],
[7, {"_t":"StartProcessConfig","_id":7,"MachineId":1,"Port":20007}],
[8, {"_t":"StartProcessConfig","_id":8,"MachineId":1,"Port":20008}],
[9, {"_t":"StartProcessConfig","_id":9,"MachineId":1,"Port":20009}],
[10, {"_t":"StartProcessConfig","_id":10,"MachineId":1,"Port":20010}],
[11, {"_t":"StartProcessConfig","_id":11,"MachineId":1,"Port":20011}],
[12, {"_t":"StartProcessConfig","_id":12,"MachineId":1,"Port":20012}],
[13, {"_t":"StartProcessConfig","_id":13,"MachineId":1,"Port":20013}],
[14, {"_t":"StartProcessConfig","_id":14,"MachineId":1,"Port":20014}],
[15, {"_t":"StartProcessConfig","_id":15,"MachineId":1,"Port":20015}],
[16, {"_t":"StartProcessConfig","_id":16,"MachineId":1,"Port":20016}],
]}
9 changes: 9 additions & 0 deletions Config/Json/cs/StartConfig/Benchmark/StartSceneConfig.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,13 @@
[5, {"_t":"StartSceneConfig","_id":5,"Process":5,"Zone":1,"SceneType":"BenchmarkClient","Name":"BenchmarkClient4","Port":0}],
[6, {"_t":"StartSceneConfig","_id":6,"Process":6,"Zone":1,"SceneType":"BenchmarkClient","Name":"BenchmarkClient5","Port":0}],
[7, {"_t":"StartSceneConfig","_id":7,"Process":7,"Zone":1,"SceneType":"BenchmarkClient","Name":"BenchmarkClient6","Port":0}],
[8, {"_t":"StartSceneConfig","_id":8,"Process":8,"Zone":1,"SceneType":"BenchmarkClient","Name":"BenchmarkClient7","Port":0}],
[9, {"_t":"StartSceneConfig","_id":9,"Process":9,"Zone":1,"SceneType":"BenchmarkClient","Name":"BenchmarkClient8","Port":0}],
[10, {"_t":"StartSceneConfig","_id":10,"Process":10,"Zone":1,"SceneType":"BenchmarkClient","Name":"BenchmarkClient9","Port":0}],
[11, {"_t":"StartSceneConfig","_id":11,"Process":11,"Zone":1,"SceneType":"BenchmarkClient","Name":"BenchmarkClient10","Port":0}],
[12, {"_t":"StartSceneConfig","_id":12,"Process":12,"Zone":1,"SceneType":"BenchmarkClient","Name":"BenchmarkClient11","Port":0}],
[13, {"_t":"StartSceneConfig","_id":13,"Process":13,"Zone":1,"SceneType":"BenchmarkClient","Name":"BenchmarkClient12","Port":0}],
[14, {"_t":"StartSceneConfig","_id":14,"Process":14,"Zone":1,"SceneType":"BenchmarkClient","Name":"BenchmarkClient13","Port":0}],
[15, {"_t":"StartSceneConfig","_id":15,"Process":15,"Zone":1,"SceneType":"BenchmarkClient","Name":"BenchmarkClient14","Port":0}],
[16, {"_t":"StartSceneConfig","_id":16,"Process":16,"Zone":1,"SceneType":"BenchmarkClient","Name":"BenchmarkClient15","Port":0}],
]}
3 changes: 0 additions & 3 deletions Config/Json/cs/StartConfig/Demo/StartMachineConfig.txt

This file was deleted.

3 changes: 0 additions & 3 deletions Config/Json/cs/StartConfig/Demo/StartProcessConfig.txt

This file was deleted.

14 changes: 0 additions & 14 deletions Config/Json/cs/StartConfig/Demo/StartSceneConfig.txt

This file was deleted.

5 changes: 0 additions & 5 deletions Config/Json/cs/StartConfig/Demo/StartZoneConfig.txt

This file was deleted.

3 changes: 0 additions & 3 deletions Config/Json/cs/StartConfig/LockStep/StartMachineConfig.txt

This file was deleted.

3 changes: 0 additions & 3 deletions Config/Json/cs/StartConfig/LockStep/StartProcessConfig.txt

This file was deleted.

17 changes: 0 additions & 17 deletions Config/Json/cs/StartConfig/LockStep/StartSceneConfig.txt

This file was deleted.

5 changes: 0 additions & 5 deletions Config/Json/cs/StartConfig/LockStep/StartZoneConfig.txt

This file was deleted.

9 changes: 9 additions & 0 deletions Config/Json/s/StartConfig/Benchmark/StartProcessConfig.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,13 @@
[5, {"_t":"StartProcessConfig","_id":5,"MachineId":1,"Port":20005}],
[6, {"_t":"StartProcessConfig","_id":6,"MachineId":1,"Port":20006}],
[7, {"_t":"StartProcessConfig","_id":7,"MachineId":1,"Port":20007}],
[8, {"_t":"StartProcessConfig","_id":8,"MachineId":1,"Port":20008}],
[9, {"_t":"StartProcessConfig","_id":9,"MachineId":1,"Port":20009}],
[10, {"_t":"StartProcessConfig","_id":10,"MachineId":1,"Port":20010}],
[11, {"_t":"StartProcessConfig","_id":11,"MachineId":1,"Port":20011}],
[12, {"_t":"StartProcessConfig","_id":12,"MachineId":1,"Port":20012}],
[13, {"_t":"StartProcessConfig","_id":13,"MachineId":1,"Port":20013}],
[14, {"_t":"StartProcessConfig","_id":14,"MachineId":1,"Port":20014}],
[15, {"_t":"StartProcessConfig","_id":15,"MachineId":1,"Port":20015}],
[16, {"_t":"StartProcessConfig","_id":16,"MachineId":1,"Port":20016}],
]}
9 changes: 9 additions & 0 deletions Config/Json/s/StartConfig/Benchmark/StartSceneConfig.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,13 @@
[5, {"_t":"StartSceneConfig","_id":5,"Process":5,"Zone":1,"SceneType":"BenchmarkClient","Name":"BenchmarkClient4","Port":0}],
[6, {"_t":"StartSceneConfig","_id":6,"Process":6,"Zone":1,"SceneType":"BenchmarkClient","Name":"BenchmarkClient5","Port":0}],
[7, {"_t":"StartSceneConfig","_id":7,"Process":7,"Zone":1,"SceneType":"BenchmarkClient","Name":"BenchmarkClient6","Port":0}],
[8, {"_t":"StartSceneConfig","_id":8,"Process":8,"Zone":1,"SceneType":"BenchmarkClient","Name":"BenchmarkClient7","Port":0}],
[9, {"_t":"StartSceneConfig","_id":9,"Process":9,"Zone":1,"SceneType":"BenchmarkClient","Name":"BenchmarkClient8","Port":0}],
[10, {"_t":"StartSceneConfig","_id":10,"Process":10,"Zone":1,"SceneType":"BenchmarkClient","Name":"BenchmarkClient9","Port":0}],
[11, {"_t":"StartSceneConfig","_id":11,"Process":11,"Zone":1,"SceneType":"BenchmarkClient","Name":"BenchmarkClient10","Port":0}],
[12, {"_t":"StartSceneConfig","_id":12,"Process":12,"Zone":1,"SceneType":"BenchmarkClient","Name":"BenchmarkClient11","Port":0}],
[13, {"_t":"StartSceneConfig","_id":13,"Process":13,"Zone":1,"SceneType":"BenchmarkClient","Name":"BenchmarkClient12","Port":0}],
[14, {"_t":"StartSceneConfig","_id":14,"Process":14,"Zone":1,"SceneType":"BenchmarkClient","Name":"BenchmarkClient13","Port":0}],
[15, {"_t":"StartSceneConfig","_id":15,"Process":15,"Zone":1,"SceneType":"BenchmarkClient","Name":"BenchmarkClient14","Port":0}],
[16, {"_t":"StartSceneConfig","_id":16,"Process":16,"Zone":1,"SceneType":"BenchmarkClient","Name":"BenchmarkClient15","Port":0}],
]}
3 changes: 0 additions & 3 deletions Config/Json/s/StartConfig/Demo/StartMachineConfig.txt

This file was deleted.

3 changes: 0 additions & 3 deletions Config/Json/s/StartConfig/Demo/StartProcessConfig.txt

This file was deleted.

14 changes: 0 additions & 14 deletions Config/Json/s/StartConfig/Demo/StartSceneConfig.txt

This file was deleted.

5 changes: 0 additions & 5 deletions Config/Json/s/StartConfig/Demo/StartZoneConfig.txt

This file was deleted.

3 changes: 0 additions & 3 deletions Config/Json/s/StartConfig/LockStep/StartMachineConfig.txt

This file was deleted.

3 changes: 0 additions & 3 deletions Config/Json/s/StartConfig/LockStep/StartProcessConfig.txt

This file was deleted.

17 changes: 0 additions & 17 deletions Config/Json/s/StartConfig/LockStep/StartSceneConfig.txt

This file was deleted.

5 changes: 0 additions & 5 deletions Config/Json/s/StartConfig/LockStep/StartZoneConfig.txt

This file was deleted.

7 changes: 0 additions & 7 deletions Unity/Assets/Bundles/Config/AIConfigCategory.bytes.meta

This file was deleted.

7 changes: 0 additions & 7 deletions Unity/Assets/Bundles/Config/UnitConfigCategory.bytes.meta

This file was deleted.

Binary file modified Unity/Assets/Config/Excel/StartConfig/Benchmark/[email protected]
Binary file not shown.
Binary file modified Unity/Assets/Config/Excel/StartConfig/Benchmark/[email protected]
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ private static async ETTask Start(this BenchmarkClientComponent self)
{
NetComponent netClientComponent = self.Root().GetComponent<NetComponent>();
using Session session = netClientComponent.Create(StartSceneConfigCategory.Instance.Benchmark.OuterIPPort);
List<ETTask> list = new List<ETTask>(100000);
List<ETTask> list = new List<ETTask>(1000);

async ETTask Call(Session s)
{
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 5d17be1

Please sign in to comment.