Details
Description
QProcess WaitforFinished() takes at least 5 times more time than Qt4 on windows.
Attached example reproduces this:
In the example The main program launches a sub process, waits for this process to finish and read all its output (for timings purposes, this is done 500 times)
the child program simply outputs some data on stdout and exits (135KB of
data are written)
Attachments
For Gerrit Dashboard: QTBUG-41282 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
94895,6 | Avoid sleeping 100ms in QProcessPrivate::drainOutputPipes() | 5.4 | qt/qtbase | Status: DEFERRED | -1 | 0 |
96032,5 | Avoid sleeping 100ms in QProcessPrivate::drainOutputPipes() | 5.4 | qt/qtbase | Status: MERGED | +2 | 0 |