OpenSimTools / RaceDirector

The sim racer's Swiss Army knife.
MIT License
3 stars 0 forks source link

Runtime and dependencies upgrade #36

Closed paoloambrosio closed 2 years ago

paoloambrosio commented 2 years ago

Upgrade .NET runtime and all dependencies to the latest stable.

Notes:

paoloambrosio commented 2 years ago

Tests seemed to take way more after the upgrade, even when they succeed. For reference, this is on the current main branch:

image

After upgrading (ignore the errors, see #42):

image

JetBrains dotTrace shows that AutoBogus is the bottleneck. I've opened an issue to document it: https://github.com/nickdodd79/AutoBogus/issues/86. Issue https://github.com/nickdodd79/AutoBogus/issues/12 might be loosely related.

Good news is that the generation can now be accessed concurrently. Making the generated fixture static made unit tests as quick as we'd expect.

image