Django 6.1.3 on Python 3.14.8: ch02-bench LazySettings read cost (500,000 reads, median of 5 trials, nanoseconds per read) path ns_per_read relative plain object attribute 17.0 1.0x settings.DEBUG (__dict__ cache hit) 236.4 13.9x LazySettings.__getattr__ (no cache) 599.8 35.3x self-caching speedup (__getattr__ / __dict__): 2.5x faster Cold django.setup() breakdown on desk/ (5 fresh Python subprocesses, milliseconds) stage median_ms share import django.urls (setup line 16) 124.78 39.9% Settings.__init__ (desk.settings) 2.68 0.9% configure_logging (dictConfig) 24.12 7.7% Phase 1: AppConfig.create x 8 71.21 22.8% Phase 2: import_models x 8 73.74 23.6% Phase 3: AppConfig.ready x 8 14.05 4.5% Total django.setup() 312.86 (least 306.46 ms)