Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Limit CF_OnUpdate rate for perf boost (#130)
* Limit CF_OnUpdate rate for perf boost CF_OnUpdate loop is fairly expensive especially on server. Limit update rate to 25 ms on server and 5 ms on client. Significant performance boost was observed when many modules are using update loops (e.g. COT gained 10% tick rate increase on server with this change). * Removed rate limit on client, fixed missing var * Add define * `timeslice` is inaccurate, use GetIickTime so modules can do accurate time measurement * Defines moved to config.cpp
- Loading branch information