Changes between Version 20 and Version 21 of DeveloperGuidelines/Optimisation


Ignore:
Timestamp:
04/20/10 12:19:28 (15 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Optimisation

    v20 v21  
    5959 *  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).
    6060
     61{{{
     62I tested the "Welcome" application and found that it executes up to 86
     63request/second on my local environment. A similar value has been reported to
     64the web2py group, and it seems to be the maximum we can expect (considering
     65that the "Welcome" application is really thin).
     66
     67UltraCore requires response times for interactive views strictly below 250ms
     68on an average computer, so that we can execute up to 4 requests/second. That
     69sounds perhaps very slow, but compared with what we currently have, this
     70would be a 4x speed-up.
     71
     72So, if you implement a new view, please check whether it loads that fast on
     73your local computer (use FireBug to test), and if not - look at first at the
     74model, then at the static contents (ExtJS? Load only necessary components,
     75not ext_all.js!), and then at the controller (you will find that the
     76controller is mostly the fastest component of all).
     77}}}
     78
    6179----
    6280DeveloperGuidelines