# pyramid_perfstat /

Filename Size Date modified Message
doc
pyramid_perfstat
84 B
1.0 KB
694 B
95 B
1.6 KB
2.1 KB

# PYRAMID_PERFSTAT

pyramid_perstat application depends on pyramid (a light webframework) see : http://www.pylonsproject.org/ for more information

In fact this application is a pyramid tween (a contraction of the word between). It surrounds your webapp in order to measure performance over time.

Pyramid_debugtoolbar is a very good tween to analyze the code and measure the performance of a view. It's very accurate and it adds a very unique exposure of youre code. Pyramid perfstat try to record each request and its execution time. Thus it can display averages by view or route. This gives you an overview of your application in order to quickly determine its points of improvement.

For the moment it's only tested with pyramid route dispatch scaffold.

• test it
• use it
• enjoy it
• improve it :)

it's published under BSD licence.

it's have been tested with pythons dependencies of pyramid.

development.ini

pyramid.includes = pyramid_perfstat
pyramid_tm


development.ini

pyramid.includes = pyramid_debugtoolbar
pyramid_tm


And that's all. After a few uses of your favorite application, thank you go to the following URL to see some statistics :

pyramid_perfstat doesn't filter url so feel free to use localhost or whatever ip:port you're using :

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.