Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added debug options for reporting unvisited json members #35065

Merged

Conversation

ZhilkinSerg
Copy link
Contributor

Summary

SUMMARY: None

Purpose of change

Fixes #35035

Describe the solution

Added two debug options to control reporting of unvisited json members to debug.log.

image

image

Testing

Try loading a considerably large savegame with and without options enabled (especially second option).

Additional context

Follow-up after #34735

I consider this a hotfix and it should be properly refactored later.

Fixes CleverRaven#35035

But it is just a hotfix and should be properly refactored later.
@ZhilkinSerg ZhilkinSerg added Code: Performance Performance boosting code (CPU, memory, etc.) [C++] Changes (can be) made in C++. Previously named `Code` <Bugfix> This is a fix for a bug (or closes open issue) labels Oct 26, 2019
@ghost
Copy link

ghost commented Oct 26, 2019

compiles fine on Linux with CLANG=1 RUNTESTS=1 LINTJSON=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Code: Performance Performance boosting code (CPU, memory, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Very slow loading, especically on existing saves on 9803
2 participants