Django 6.1.3 on Python 3.14.8: ch07-bench N+1 wire comparison across 24 stories (.desk + .reporter + .corrections, 7 trials) strategy sql_queries median_ms relative FETCH_ONE (naive N+1) 73 22.150 9.74x FETCH_PEERS (auto-batches FKs only) 27 10.118 4.45x FETCH_PEERS + prefetch_related 4 2.753 1.21x select_related + prefetch_related 2 2.275 1.00x Iterable hydration across 500 Story rows (7 trials + tracemalloc peak KB) iterable median_ms peak_kb relative ModelIterable [all()] 5.597 492.6 1.00x ModelIterable [only('id','headline','slug')] 3.244 207.2 0.58x ValuesIterable [values('id','headline','slug')] 0.759 150.7 0.14x ValuesListIterable [values_list(...)] 0.655 72.9 0.12x FlatValuesListIterable [flat=True] 0.510 40.9 0.09x Bulk writes vs per-row loops across 200 Correction rows (5 trials) operation sql_queries median_ms 200x Correction.objects.create() [loop] 200 30.483 Correction.objects.bulk_create(200) 1 5.192 200x obj.save(update_fields=['note']) 200 30.930 Correction.objects.bulk_update(200) 1 22.202 QuerySet.update() [uniform value] 1 0.620