On Thursday, June 11, 2015 at 11:59:53 PM UTC-7, 黄祥 wrote:
>
> profile is it same like
> https://docs.python.org/2/library/profile.html
>
> or web2py profile
> i've test something like
> python web2py.py --profiler=C:\profiler
>
> but the result i got in the profiler folder is *.prof file, when i open 
> it, it seems to semi human readable file. don't know how to do with those 
> files.
>
> how can i do a benchmark of web2py app?
>
>>
>>  
If you do need a detailed profile, rather than just overall time (per 
Niphlod), then mweissen's thread discusses runsnakerun and cprofilev, both 
of which help with reading the data.

Since you're only comparing 2 different options, not trying to find a 
needle in a haystack, the gross time should be good enough.

(a better image of detailed profiling would be a police lineup, trying to 
identify the proper suspect; a developer may have a haystack's worth of 
suspects, though)

/dps

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to