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

Change PeekMessage timeout in uniqueinstance.pas #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 8, 2020

  1. Change PeekMessage timeout in uniqueinstance.pas

    Using ProcessExplorer, I see that with a timeout of 1ms cpu load of an idle program is around 0.30/0.40
    Changing it to 0 the load is 0.01
    The performance difference is probably not really relevant, but it's nicer anyway.
    Under linux 64 I don't see a difference either way, but that's probably because I'm running it on real hardware (win32 is a virtual machine).
    olivluca authored Jan 8, 2020
    Configuration menu
    Copy the full SHA
    6d3b5ce View commit details
    Browse the repository at this point in the history