mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Raise diagnostic log thresholds to reduce log noise
SLOW update stages: 3ms → 50ms, renderer update: 5ms → 50ms, loadModel/processAsync/spawnCreature: 3ms → 100ms, terrain/camera: 3-5ms → 50ms. Remove per-frame spawn breakdown.
This commit is contained in:
parent
02cf0e4df3
commit
16c6c2b6a0
2 changed files with 8 additions and 25 deletions
|
|
@ -2434,7 +2434,7 @@ void Renderer::update(float deltaTime) {
|
|||
cameraController->update(deltaTime);
|
||||
auto cameraEnd = std::chrono::steady_clock::now();
|
||||
lastCameraUpdateMs = std::chrono::duration<double, std::milli>(cameraEnd - cameraStart).count();
|
||||
if (lastCameraUpdateMs > 3.0) {
|
||||
if (lastCameraUpdateMs > 50.0) {
|
||||
LOG_WARNING("SLOW cameraController->update: ", lastCameraUpdateMs, "ms");
|
||||
}
|
||||
|
||||
|
|
@ -2534,7 +2534,7 @@ void Renderer::update(float deltaTime) {
|
|||
terrainManager->update(*camera, deltaTime);
|
||||
float terrMs = std::chrono::duration<float, std::milli>(
|
||||
std::chrono::steady_clock::now() - terrStart).count();
|
||||
if (terrMs > 5.0f) {
|
||||
if (terrMs > 50.0f) {
|
||||
LOG_WARNING("SLOW terrainManager->update: ", terrMs, "ms");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue