Open mkahvi opened 2 years ago
The Network and Server latency are useful indications of server health in some cases. They were interesting metrics when we first started exploring this concept.
It might be worth making an additional temporary test, but I would not remove the existing full blown test.
It might be worth making an additional temporary test, but I would not remove the existing full blown test.
Way ahead of you, I think xD
that you are! big thanks!
Alright, the PR was a bust due to upstream limitations: https://gitlab.com/foundrynet/foundryvtt/-/issues/6824
Currently the actor CRUD test creates database backed actors. This adds unnecessary variance in the statistics via database and network transmission latencies.
It should instead create synthetic actor with
Actor.create(data, {temporary:true})
so it measures only the actual processing time instead of also network and server latency.