web2py profiler

68 views
Skip to first unread message

Eduardo Cruz

unread,
Jul 8, 2014, 1:44:36 PM7/8/14
to web...@googlegroups.com
I think it would be good if web2py had a profile like the one in Fuelphp ( http://fuelphp.com/docs/general/profiling.html ) or does it have something like that already and Im not aware of?
what do you think about this guys?

Massimo Di Pierro

unread,
Jul 9, 2014, 8:11:02 AM7/9/14
to web...@googlegroups.com
we have this:

$ web2py.py -h
...
 -F PROFILER_DIR, --profiler=PROFILER_DIR
...

It is a matter of writing an app that reads the output from PROFILER_DIR and displays the stats.

Michele Comitini

unread,
Jul 9, 2014, 11:56:55 AM7/9/14
to web...@googlegroups.com
Works perfectly and even on multiple concurrent request, gives a lot of clues on what is the slowdown in the code.




--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages