Skip to main content

Understanding performance characteristics of common python constructs

Project description

perf-py

A library that personally helps me understand the performance of common python code (and in turn, it might help you understand it too!)

Python package

Todo

  • Does mapping over an iterator perform better than using generators?
  • Does chunking a generator affect performance?
  • Does composing generators affect performance?
  • Make a table of the performance of each function ...
    • Open this up in a notebook!

Personal Reminders

  • To publish to pypi w/o an alpha version, push a commit with Publish To PYPI in its commit message.

TODO

Chunking and garbage collecting simultaneously

l = list(range(100))

batchsize = 11

while len(l) > 0: print(l) print(l[:batchsize]) del l[:batchsize]

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

perf-py-0.0.1a4.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

perf_py-0.0.1a4-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file perf-py-0.0.1a4.tar.gz.

File metadata

  • Download URL: perf-py-0.0.1a4.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10

File hashes

Hashes for perf-py-0.0.1a4.tar.gz
Algorithm Hash digest
SHA256 dae50810dfd227c47907cbe2a7cdd323ebf428547a58f643524b5526966409f3
MD5 19c4d24898978aea7000387b7a04eba7
BLAKE2b-256 913c5fe12558952b1bacff20b506764125297faefb748b7728a393ce94567230

See more details on using hashes here.

File details

Details for the file perf_py-0.0.1a4-py3-none-any.whl.

File metadata

  • Download URL: perf_py-0.0.1a4-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10

File hashes

Hashes for perf_py-0.0.1a4-py3-none-any.whl
Algorithm Hash digest
SHA256 d089d344a0a1881afb1b70e57510405ed2dbc19402862f2c2d379e4641a31d2b
MD5 4eb429535506158b27e077d0a0eafbf0
BLAKE2b-256 e35638cdbc3afc549df8f3ff954d338d45e4ad55fa7fa26d66efdba180e9f0f5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page