Changes between Version 39 and Version 40 of DeveloperGuidelines/Optimisation


Ignore:
Timestamp:
06/18/10 08:39:48 (11 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Optimisation

    v39 v40  
    6767 *  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).
    6868
    69 {{{
    70 I tested the "Welcome" application and found that it executes up to 86
    71 request/second on my local environment. A similar value has been reported to
    72 the web2py group, and it seems to be the maximum we can expect (considering
    73 that the "Welcome" application is really thin).
    7469
    75 UltraCore requires response times for interactive views strictly below 250ms
    76 on an average computer, so that we can execute up to 4 requests/second. That
    77 sounds perhaps very slow, but compared with what we currently have, this
    78 would be a 4x speed-up.
    79 
    80 So, if you implement a new view, please check whether it loads that fast on
    81 your local computer (use FireBug to test), and if not - look at first at the
    82 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 the
    84 controller is mostly the fastest component of all).
    85 }}}
    8670
    8771== Golden Rules for DB Queries ==