Changes between Version 39 and Version 40 of DeveloperGuidelines/Optimisation
- Timestamp:
- 06/18/10 08:39:48 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Optimisation
v39 v40 67 67 * You can also use [http://www.pylot.org Pylot] to test the application's behavior under load, and get more reliable results (+ in a nicer report form). 68 68 69 {{{70 I tested the "Welcome" application and found that it executes up to 8671 request/second on my local environment. A similar value has been reported to72 the web2py group, and it seems to be the maximum we can expect (considering73 that the "Welcome" application is really thin).74 69 75 UltraCore requires response times for interactive views strictly below 250ms76 on an average computer, so that we can execute up to 4 requests/second. That77 sounds perhaps very slow, but compared with what we currently have, this78 would be a 4x speed-up.79 80 So, if you implement a new view, please check whether it loads that fast on81 your local computer (use FireBug to test), and if not - look at first at the82 model, then at the static contents (ExtJS? Load only necessary components,83 not ext_all.js!), and then at the controller (you will find that the84 controller is mostly the fastest component of all).85 }}}86 70 87 71 == Golden Rules for DB Queries ==