WSGI middleware to measure the memory footprint of GAE Python applications.
Project description
The apptrace package provides a WSGI middleware for tracking memory usage in Google App Engine Python applications.
Since apptrace is meant for development and debugging purposes only, it works with the development appserver of the Google App Engine Python SDK and TyphoonAE. It will definitely not work on the GAE production environment.
Copyright and License
Copyright 2010 Tobias Rodaebel
This software is released under the Apache License, Version 2.0. You may obtain a copy of the License at
Google App Engine is a trademark of Google Inc.
Requirements
The apptrace package requires Guppy-PE (http://guppy-pe.sourceforge.net) to be installed on your PYTHONPATH. It will be automatically installed when you use the easy_install command.
Installation
The easiest way to install apptrace is (provided that you have setuptools installed) to use easy_install apptrace.
Running Apptrace
In order to run the demo application with apptrace run following commands:
$ apptracectl init demo $ python dev_appserver.py demo
Buildout
If you want to tinker with the most recent development version of apptrace, install the development environment by typing following commands:
$ hg clone https://apptrace.googlecode.com/hg apptrace-dev $ cd apptrace-dev $ python bootstrap.py --distribute $ ./bin/buildout
Running Unit Tests
All unit tests can be run by executing the following command:
$ ./bin/python setup.py test --appengine-path=<path to the SDK>
Contact
Tobias Rodaebel <tobias dot rodaebel at googlemail dot com>
CHANGES
Version 0.1.0 (2010-10-01)
Initial revision.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file apptrace-0.1.0.tar.gz
.
File metadata
- Download URL: apptrace-0.1.0.tar.gz
- Upload date:
- Size: 246.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b4f74ef952fdf05ec992798ebe37954155e5390512b3d4e3cf354964281842d |
|
MD5 | 3768517e118823a37d82544573b1a7d2 |
|
BLAKE2b-256 | 11def9ca94b6fc83a8c7b3d8713a4885592d5a66bc4af144b699eb5b10f23e2c |