Description
Windows implementation of QProcess appear to use a timer that fires every 100ms. See qprocess_win.cpp, NOTIFYTIMEOUT and its uses. This means that using QProcess for busy interaction with something is slow. For one example, I've tried to send 200 command to GDB running under QProcess. Each command executes instantly and on Linux, total run time was ~150 ms from sending the first one until the last one is done. On Windows, the time is roughly 45000ms, so that's 200ms per each command – which looks like 100 ms per each line that gdb outputs.
Attachments
Issue Links
- is required for
-
QTBUG-23902 QWindowsPipeWriter should use QWinOverlappedIoNotifier
- Open