Stanislav Denisov
Stanislav Denisov
I'm so confused right now... I did a test with the old version of Lidgren as @lzaiats suggested, and you know what? It's [passed the test](https://i.imgur.com/0KtF6aE.png) with 1000 clients... CPU...
I'm using .NET Framework 4.7.1 for all libraries.
I'm not using the csproj at all, I compile everything directly with Roslyn.
Yea, works better now. 900 clients are connected and after that the CPU usage raises 92% and the application becomes unresponsive. But very nice anyway.
GC is still the biggest performance killer. I tried to build the library with built-in Roslyn's optimization logic and now 950 connections is reached, but the server thread just crashed.
[Link removed] @DanisJoyal @RevenantX!
Yea, it breaks for some reason.
Now it works much [better](https://i.imgur.com/4ze6rZM.png).
https://github.com/DanisJoyal/LiteNetLib/commit/69e8244fd48076b52e1503ad9cf7b624e8c31ce5 https://github.com/DanisJoyal/LiteNetLib/commit/104fbf20b31d1f394e27c1ba9dc74a1feae1d371
No luck unfortunately, `'ID'` becomes `[0;36m'ID'[0;49m` in the console window.