mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-24 16:10:14 +00:00
Remove per-frame profiling instrumentation and periodic debug logging
Strip 26 chrono::now() timing calls per frame from renderer update loop, periodic LOG_INFO/LOG_DEBUG from terrain/character/quest/heartbeat paths, and dead m2ProfileCounter variable.
This commit is contained in:
parent
e8c2344226
commit
820a36ac12
5 changed files with 4 additions and 100 deletions
|
|
@ -1403,13 +1403,6 @@ void CharacterRenderer::update(float deltaTime, const glm::vec3& cameraPos) {
|
|||
}
|
||||
}
|
||||
|
||||
static int logCounter = 0;
|
||||
if (++logCounter >= 300) { // Log every 10 seconds at 30fps
|
||||
LOG_DEBUG("CharacterRenderer: ", updatedCount, "/", instances.size(), " instances updated (",
|
||||
instances.size() - updatedCount, " culled)");
|
||||
logCounter = 0;
|
||||
}
|
||||
|
||||
// Update weapon attachment transforms (after all bone matrices are computed)
|
||||
for (auto& pair : instances) {
|
||||
auto& instance = pair.second;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue