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

Poor Performance on standalone windows build #9

Open
mhughson opened this issue Jan 8, 2024 · 0 comments
Open

Poor Performance on standalone windows build #9

mhughson opened this issue Jan 8, 2024 · 0 comments

Comments

@mhughson
Copy link

mhughson commented Jan 8, 2024

I know its a bit of a long shot, as this hasn't been updated in years, but I am trying to get this compiling for Windows (which I have done), but it runs very poorly compared to the precompiled version in releases. I am trying to narrow down what is slowing things down in my version, and was just hoping that you might have some ideas to try.

When I enable DEBUG_HZ, I can see the emulator is running at a steady 47-48Hz. The CPU on the PC is only at about 13%.
image

I am compiling in Visual Studio (not GCC). I have tried a couple things:

  • DO_INLINE_ATTRIBS=1
  • Compiling in release
  • Disabling rendering
  • COL_GL_BSWAP

None have had any impact on performance.

I did a CPU profile, and nothing jumps out, but again my PC CPU seems to be running fine, so I think it is something internal to the program which is throttling things.

image

Any ideas on how to narrow things down would be much appretiated!

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

No branches or pull requests

1 participant