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

Conversation

olivluca
Copy link

@olivluca olivluca commented Jan 8, 2020

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).

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).
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.

1 participant