[go: up one dir, main page]

Menu

#134 Increase Copy Performance

Fixed
None
Medium
Enhancement
2015-01-05
2015-01-04
No

Investigate increasing copy speed / performance for larger files by using shutil.copyfileobj with a larger buffer:

http://www.pythoncentral.io/how-to-copy-a-file-in-python-with-shutil/

This can, potentially decrease transfer times by 10-20% depending on the situation.

Discussion

  • Andrew Hopkinson

    Using win32file.CopyFileEx looks like it's going to be the fastest option. It also gives the ability to programmatically access file transfer progress instead of interrogating the file, which feels less hacky.

     
  • Andrew Hopkinson

    Added in r245

     
  • Andrew Hopkinson

    • status: Accepted --> Fixed
     

Log in to post a comment.