hi, sorry I forgot to mention I'm using Ubuntu amd64 (16.04, now 16.10). I looked at the source code and apparently QtCreator does a filesync every time on Ctrl+S which is probably the most expensive operation. I think this varies a lot because if you have other I/O in the background (like me downloading a torrent at 1.6MiB/s) then doing a filesystem sync on each Ctrl+S in QtCreator implies a big penalty because apparently it means that all I/O is flushed, not just the QtCreator I/O buffer.
On Mon, Sep 26, 2016 at 4:42 AM, Henry Skoglund <[email protected]> wrote: > On 2016-09-26 03:06, Ursache Vladimir wrote: >> >> Hi, >> On Ctrl+S QtCreator trashes my HDD and sometimes hangs for like 2 >> seconds apparently because it does a lot extra I/O (copies to temp >> location, moves back, removes backups, syncs filesystem and whatnot) >> to make sure the data is 100% saved. I'm tired of making the GUI >> non-responsive for 1-3 seconds and trashing my HDD everytime I hit >> "Ctrl+S". >> >> Is there a lightweight/quick/normal save mode where it just writes the >> data to the file? If not, would such a mode be welcome as a patch? >> >> I'd much rather have the lightweight and "unsafe" mode than this >> horrible trashing mess, it's a trade-off and I think enough people >> with HDDs would use this option. >> _______________________________________________ >> Qt-creator mailing list >> [email protected] >> http://lists.qt-project.org/mailman/listinfo/qt-creator >> > > Hi, yes I've seen this ctrl-S behavior on Windows 10. > > Ctrl-S in Qt Creator works fine for me on Windows XP, Windows 7, MacOS or > Ubuntu but on Windows 10 some .exe called MsMpEng.exe starts running every > time I hit ctrl-S, perhaps you have the same problem? > > Rgrds Henry > > > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/qt-creator _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
