Skip to content

Instantly share code, notes, and snippets.

View matthewhegarty's full-sized avatar

Matt Hegarty matthewhegarty

View GitHub Profile
@matthewhegarty
matthewhegarty / django-import-export-bulk-import.md
Last active July 28, 2023 20:49
Performance improvements for `django-import-export` bulk import

Performance improvements for bulk import

I implemented for my own use case - not fully tested - use at your own risk

This is how I improved performance of django-import-export when importing a large set of new rows.

  • Thinkpad T470 i5 processor (Ubuntu 18.04)
  • 20,000 new rows to be inserted
  • total import duration 5.4 seconds