http://bugs.winehq.org/show_bug.cgi?id=34546
Bug #: 34546 Summary: high performance hit for wine 1.6 Product: Wine Version: 1.6 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: ashishsinghkohli@rediffmail.com Classification: Unclassified
We have an win32 GUI application which
1) Iterates the mounted windows drive (some selected folder) and store it in a list.
2) Scans the files for viruses/malware etc.
3) Show status on GUI.
Since step 1 is done initially:
So this is the loop which takes 95+% of time
while( there are files ) { DisplayStatus(file); -- in a separate thread not a blocking call ScanFile(file); }
The performance hit is huge between wine 1.4 and wine 1.6 say atleast 5+ times more for the same sample set.
ScanFile(file) -- It is a blocking call to a win32 dll which takes a file path and looks for virus/malware etc and deletes/repairs a file if infected and report the infection.