Hi,
I'm trying some profiling for the first time and I'm having some
trouble getting results.
Following the roughdocs entry, I just added to the start-app.py file:
import profile
profile.run("turbogears.start_server(Root())", 'myapp.prof')
I start the server, Then browse the app for a while, stop the server.
No errors, I got the .prof file that I inspect with the pstats module.
But I don't get any info on the accesses to controllers.py or any of
my subcontroller files, nor database.py etc. ; it seems to only
profile the start_server() function...
I have no idea of what to add to my .py files to get total profiling
information...
I read a good entry in the list on how to interpret the profiling, but
for now I just can't collect the info!
Thanks for your help...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---