Created attachment 13169 [details] Improve wall-time execution speed on Windows The attached patch improves execution speed under Windows, by sprinkled usage of the Win32 API. The patch is against the Git repository master branch. When compiled with MSYS or Cygwin, this patch massively improves on total wall time of the synchronization. By utilizing the Win32 API, I was able to bypass lots of POSIX-to-Win32 translations occurring coupled with reusing given stat()-equivalent data returned during the file-system directory walks. Comments, suggestions, ideas are welcomed! -Joe
If anyone wishes to test the compiled binary, it's available for download here: https://github.com/jbenden/rsync/releases
Please disregard the patch attachment as the actual definitive solution and rather visit my GitHub repository for the current working source and binaries. If this solution is accepted for inclusion in to Rsync or the Rsync-Patches repository, I will re-create a viable patch. I will also do so if asked... See GitHub: https://github.com/jbenden/rsync/ Thank you! Comments, suggestions, and ideas are always welcomed! -Joe