mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 21:47:21 +01:00
relieve gc pressure maybe
This commit is contained in:
parent
780dd26166
commit
09790553c3
4 changed files with 62 additions and 40 deletions
|
|
@ -136,7 +136,7 @@ public class PlayerDataFactory
|
|||
totalWaitTime -= 50;
|
||||
}
|
||||
|
||||
Stopwatch st = Stopwatch.StartNew();
|
||||
DateTime start = DateTime.UtcNow;
|
||||
|
||||
// penumbra call, it's currently broken
|
||||
IReadOnlyDictionary<string, string[]>? resolvedPaths;
|
||||
|
|
@ -225,8 +225,7 @@ public class PlayerDataFactory
|
|||
}
|
||||
}
|
||||
|
||||
st.Stop();
|
||||
_logger.LogInformation("Building character data for {obj} took {time}ms", objectKind, TimeSpan.FromTicks(st.ElapsedTicks).TotalMilliseconds);
|
||||
_logger.LogInformation("Building character data for {obj} took {time}ms", objectKind, TimeSpan.FromTicks(DateTime.UtcNow.Ticks - start.Ticks).TotalMilliseconds);
|
||||
|
||||
return previousData;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue