Nubtacular
Nubtacular

Reputation: 1397

Django/Python 2.7 on Google App Engine: performance fine in production, extremely slow on localhost

I am working on a new application which uses Django/Python 2.7 (ecommerce app built from within, pretty heavy-duty API).

As my title says, the app runs on GoogleAppEngine.

If I make any minor (or major) changes to CSS/HTML/JS/python and do a refresh on local host, the refresh time is painfully slow. Anywhere from 5 to 15 seconds.

Is this something with my computer? Something with the APP itself? Something with memory usage? On my boss's computer it is not as slow, but not much quicker either.

Where could I start looking for bottlenecks? Usually the case is fast on localhost, and slow in production...

Any advice on the matter is appreciated.

Upvotes: 0

Views: 81

Answers (1)

Greg
Greg

Reputation: 10342

It's not really possible to answer your question without more specifics, but it does make sense for the app to run faster on Google app engine than on the built-in single-threaded runserver. I would start by downloading Django Debug Toolbar and see what that shows you.

Upvotes: 1

Related Questions