Even the simplest controller give me a high cpu usage: import logging
def test(): logging.info("Just making a performace test") ms=559 cpu_ms=612 api_cpu_ms=245 On Monday, August 6, 2012 3:37:38 PM UTC-3, Felipe Meirelles wrote: > > Just compiled the app and deployed again, seems to make no diference. App > engine uses the bytecode generated on web2py? Did I need to change some > config at app.yaml? > > On Monday, August 6, 2012 3:21:29 PM UTC-3, Felipe Meirelles wrote: >> >> Pre compiled by the admin interface? Not yet, is there some impove with >> the precompiled code? >> >> On Mon, Aug 6, 2012 at 3:16 PM, Derek <sp1d...@gmail.com> wrote: >> >>> Have you compiled your app? >>> >>> On Monday, August 6, 2012 10:46:33 AM UTC-7, Felipe Meirelles wrote: >>>> >>>> Hi, >>>> >>>> I'm using web2py in a project that stands on top of a REST api. The >>>> project is write intensive (around 110k requests a day, with all the >>>> requests making at least 2 updates to the datastore). >>>> All my requests seems to uso at least 200 cpu_ms (even dummy requests >>>> that only places a item on the queue to be processeced later). Is this >>>> behaviour right? I used to get around 20 cpu_ms while using django with >>>> the >>>> same application (I'm currently re-writing it on web2py). >>>> Is there some way to optimize web2py for a appengine deploy (I already >>>> followed all the documentation) >>>> >>>> Thanks! >>>> >>> -- >>> >>> >>> >>> >> >> >> >> -- >> Att, >> Felipe Meirelles. >> >> --