Estimate Asymptotic Runtime Complexity from Bytecode executions
Project description
pyPAL - Python Performance Analysis Library
Setup
This project requires CPython to run. Install Python >= 3.7, then install pyPAL by running:
pip install py-pal
Usage
Calling pyPAL as module:
pyPAL file.py
Using the decorator:
@profile
def test():
pass
Using the context manager:
with Tracer() as t:
start_game()
Using the API:
t = Tracer()
t.trace()
# Your function
run()
t.stop()
estimator = ComplexityEstimator(tracer)
res = estimator.export()
# Do something with the resulting DataFrame
print(res)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py-PAL-0.1.1.tar.gz
(81.7 kB
view hashes)
Built Distribution
py_PAL-0.1.1-py3.7-win-amd64.egg
(159.9 kB
view hashes)
Close
Hashes for py_PAL-0.1.1-py3.7-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5473a6c60b5816f55ba925f6159bd6ccdfb90a26c8102a929776626cfbedc49 |
|
MD5 | c6da703fc9e6cf26e8fd9a24ac8aa51c |
|
BLAKE2b-256 | fc39338c445dbcd189d2c23d1a23b61f465c36172ff269907d1c0226aef551ae |