remove unnecessary performance logging

This commit is contained in:
rootdarkarchon
2024-02-12 20:38:25 +01:00
parent 6685139caf
commit ac11ec087a

View File

@@ -546,8 +546,7 @@ public class DalamudUtilService : IHostedService, IMediatorSubscriber
} }
if (!IsInCombatOrPerforming) if (!IsInCombatOrPerforming)
_performanceCollector.LogPerformance(this, "FrameworkOnUpdateInternal>MediatorFrameworkUpdate", Mediator.Publish(new FrameworkUpdateMessage());
() => Mediator.Publish(new FrameworkUpdateMessage()));
Mediator.Publish(new PriorityFrameworkUpdateMessage()); Mediator.Publish(new PriorityFrameworkUpdateMessage());
@@ -571,8 +570,7 @@ public class DalamudUtilService : IHostedService, IMediatorSubscriber
} }
if (IsInCombatOrPerforming) if (IsInCombatOrPerforming)
_performanceCollector.LogPerformance(this, "FrameworkOnUpdateInternal>MediatorFrameworkUpdate", Mediator.Publish(new FrameworkUpdateMessage());
() => Mediator.Publish(new FrameworkUpdateMessage()));
Mediator.Publish(new DelayedFrameworkUpdateMessage()); Mediator.Publish(new DelayedFrameworkUpdateMessage());