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

Yuge performance improvements #220

Merged
merged 69 commits into from
Oct 27, 2020
Merged

Yuge performance improvements #220

merged 69 commits into from
Oct 27, 2020

Conversation

paladine
Copy link
Collaborator

Replaces dictionary lookups in MemoryCore with array lookups, which are more efficient.

Tweaked compiler optimizations to NOT inline CpuCore & MemoryCore, as this actually slowed down performance considerably. My guess is that the aggressive inlining ballooned the size of the code yielding frequent CPU cache misses

MIPS went from 8.5 to 18.1 on my machine!

in addition to the Json EMU.

Need to delete your .EMU to trigger the creation.
Also removes limits on the queries.
Can't really do queries on them without it.
paladine and others added 24 commits October 23, 2020 14:04
Fixed string query that didn't continue beyond first result.
- Applied Visual Studio code formatting
- Added XML DOC headers to methods
- Applied recommended refactoring for simple items
Also cleanup SQL objects properly
Removes the if statement that occurs on every tick, which has
speed advantages.
Removed RTKICK debug info.
@enusbaum enusbaum merged commit 5c064a5 into master Oct 27, 2020
@enusbaum enusbaum deleted the perf branch October 31, 2020 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants