Pre-release
This release is a pre-release and may not be stable for production use.
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!)
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 PYPIin 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]
Metadata
Release files for perf-py 0.0.1a4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| perf-py-0.0.1a4.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| perf_py-0.0.1a4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.6 kB
Release files / perf-py-0.0.1a4.tar.gz
| Download URL | perf-py-0.0.1a4.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dae50810dfd227c47907cbe2a7cdd323ebf428547a58f643524b5526966409f3
|
|
BLAKE2b-256 checksum How to use checksums |
913c5fe12558952b1bacff20b506764125297faefb748b7728a393ce94567230
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / perf_py-0.0.1a4-py3-none-any.whl
| Download URL | perf_py-0.0.1a4-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d089d344a0a1881afb1b70e57510405ed2dbc19402862f2c2d379e4641a31d2b
|
|
BLAKE2b-256 checksum How to use checksums |
e35638cdbc3afc549df8f3ff954d338d45e4ad55fa7fa26d66efdba180e9f0f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|