{"id":18601912,"url":"https://github.com/stamper/django-bulk-update-challenge","last_synced_at":"2026-05-16T18:34:16.932Z","repository":{"id":125256736,"uuid":"349842509","full_name":"Stamper/django-bulk-update-challenge","owner":"Stamper","description":"Bulk update improvement PoC for Django-based app","archived":false,"fork":false,"pushed_at":"2021-03-21T12:05:39.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-18T01:36:38.907Z","etag":null,"topics":["django","python","sql"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Stamper.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-20T21:51:53.000Z","updated_at":"2021-03-21T12:05:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"c00d783e-b1c3-4e24-ab81-0ca8e7808e35","html_url":"https://github.com/Stamper/django-bulk-update-challenge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stamper%2Fdjango-bulk-update-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stamper%2Fdjango-bulk-update-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stamper%2Fdjango-bulk-update-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stamper%2Fdjango-bulk-update-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Stamper","download_url":"https://codeload.github.com/Stamper/django-bulk-update-challenge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254576739,"owners_count":22094446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","python","sql"],"created_at":"2024-11-07T02:09:44.198Z","updated_at":"2026-05-16T18:34:11.912Z","avatar_url":"https://github.com/Stamper.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dead simple `bulk_update` challenge\n\n### Requirements\n`pip install -r reqs.txt`\n\n### Start up project\n`python manage.py migrate`\n\n### Filling in the initial data \n`python manage.py bulk_create`\n\n### Run `bulk_update` by Django ORM QuerySet\n`python manage.py bulk_update`\n\n### Run data update by raw SQL query\n`python manage.py bulk_update -q`\n\n### Run data update by [asyncpg](https://github.com/MagicStack/asyncpg) driver\n`python manage.py bulk_update --asyncpg`\n\n## My results\nMy local DB is dockerised PostgreSQL v 10\n```\nby bulk_update\n\u003e\u003e 18.606669 seconds\n```\n```\nby query\n\u003e\u003e 5.477139 seconds\n```\n```\nby asyncpg\n\u003e\u003e 5.810879 seconds\n```\n**bulk_update -\u003e raw sql: x3.4 performance improvement**","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstamper%2Fdjango-bulk-update-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstamper%2Fdjango-bulk-update-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstamper%2Fdjango-bulk-update-challenge/lists"}