-
-
Notifications
You must be signed in to change notification settings - Fork 699
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
Missing events on Windows 10 (Performance issues) #1019
Comments
Other performance/code issues: |
Other performance/code issues:
shoud be
. Because |
Wow, you seem to have a good knowledge of the win API. |
ISSUE-3: it is used here: watchdog/src/watchdog/observers/winapi.py Line 140 in 6cdf07e
|
@BoshenGuan P.S.: |
@BoshenGuan
|
Here is a very detailed answer of why there is no escaping missing events: |
@BoboTiG @BoshenGuan @tommorris @pilt |
Python |
ISSUE-1:
event_buffer = ctypes.create_string_buffer(BUFFER_SIZE)
creates a big buffer every time in the loop. That is a bad idea. It would be better to create one and re-use on the following calls.The text was updated successfully, but these errors were encountered: