title: Why is my django development server running locally so much faster then running the same development server on Heroku?
body: <p>I have a website using Django that loads about 100 rows from a single table in a postgresql database when entering it.</p>
  
  <p><strong>Development server locally</strong>: Page loaded in <strong>300ms</strong><br>
  <strong>Production server on Heroku</strong>: Page loaded in <strong>1.34secs</strong> (about 4.13 times slower)
  (Integrated <code>gunicorn</code> and loading my static files from <code>aws S3</code> on a non-idling dyno)</p>
  
  <p>wth?</p>
  
  <p>Note that there is no traffic yet on my production server and I am using 1 dyno. </p>
  
  <p>When I used the exact same setup as my development server for my production server on Heroku it was even slower. <strong>Is such a difference in loading time normal?</strong></p>
  
  <p><strong>Specs of my computer</strong>:  </p>
  
  <pre><code>Memory: 3.7 GiB  
  Processor: Intel® Core™ i5 CPU M 520 @ 2.40GHz × 4   
  OS type: 64-bit 
  </code></pre>