Skip to content

Poor Performance on standalone windows build #9

@mhughson

Description

@mhughson

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions