Cysharp / MagicOnion

Unified Realtime/API framework for .NET platform and Unity.
MIT License
3.68k stars 417 forks source link

Performance is very slow, taking 355ms for the Add function to return the result #735

Closed QuocTan closed 3 months ago

QuocTan commented 4 months ago

Here is my server-side and client-side code, Where did I go wrong?

image

osexpert commented 3 months ago

How fast is the second time? First time of anything is always slow (cold start).

QuocTan commented 3 months ago

How fast is the second time? First time of anything is always slow (cold start).

First time: 351ms Second time: 4ms