Django: Maybe disable PostgreSQL’s JIT to speed up many-joined queries – Adam Johnson

Here’s a write-up of an optimization I made in my client Silvr’s project. I ended up disabling a PostgreSQL feature called the JIT (Just-In-Time) compiler which was taking a long time for little benefit.