Benchmarks comparing Python concurrency models--threads, Queue-based multiprocessing, and SharedMemory-based multiprocessing--for moving and processing NumPy arrays.
Project description
ipc-frontier-py
ipc-frontier-py implements benchmarks comparing Python concurrency models--threads, Queue-based multiprocessing, and SharedMemory-based multiprocessing--for moving and processing NumPy arrays. The benchmarks highlight throughput, latency, and IPC overheads relevant to ML/AI data pipelines and performance-sensitive Python applications.
TODO
Development 🛠️
This section contains info about developing the ipc_frontier Python package itself.
First time working on the project? Run
make install-toolsthenmake setup.
Requirements
Supported on Linux and macOS.
Contributing Code
See CONTRIBUTING.md for the pull request process used to introduce code changes.
Releases
See RELEASE.md for a description of the GitHub pipeline that builds and publishes new versions of the ipc_frontier package.
Tooling
The ipc-frontier-py project uses Pyenv for Python version management and Poetry for package management, environment management, and builds.
The ipc-frontier-py project uses Make to automate common development operations and workflows. Run make help or see the Makefile in the root of the repository for a full list of the available targets. See the "Make Targets" section below for guidance using selected targets.
Make Targets
This section describes how and when to use the automated procedures for common development tasks.
install-tools
make install-tools
Installs the tools required to run other targets. Tools include Pyenv and Poetry. This target only needs to be run once per user.
setup
make setup
Creates an isolated execution environment to run the project. This target installs the required version of Python using Pyenv and creates a virtual environment using Poetry with the required dependencies plus the ipc_frontier package itself installed.
fmt
make fmt
Autoformats the entire codebase in compliance with the project's style standards. All formatting is handled by Ruff in a way that mimics the combination of Black + autopep8 + isort.
test
make test
Executes type checks and runs the suite of unit tests. Pyright is used for type checking, and pytest is used as the unit test framework.
clean
make clean
Deletes build/test/coverage artifacts, including .pytest_cache/, .mypy_cache/, and .ruff_cache/.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ipc_frontier_py-0.1.8.tar.gz.
File metadata
- Download URL: ipc_frontier_py-0.1.8.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c59b58a58c6f4236d18e395b0ff098aa055245e97594009e8f27445e3950bfb
|
|
| MD5 |
8a714b2fa202ac84bdd87c955c680bcd
|
|
| BLAKE2b-256 |
8d7782ff6e295e5b99080320282baa86ea6e6c5c3d9e90cde2b6e2bb77e15048
|
Provenance
The following attestation bundles were made for ipc_frontier_py-0.1.8.tar.gz:
Publisher:
release.yaml on ryancswallace/ipc-frontier-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ipc_frontier_py-0.1.8.tar.gz -
Subject digest:
3c59b58a58c6f4236d18e395b0ff098aa055245e97594009e8f27445e3950bfb - Sigstore transparency entry: 540327718
- Sigstore integration time:
-
Permalink:
ryancswallace/ipc-frontier-py@43f8c59bbe6672bfe9c83c09db16328a2763792c -
Branch / Tag:
refs/tags/v0.1.8 - Owner: https://github.com/ryancswallace
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@43f8c59bbe6672bfe9c83c09db16328a2763792c -
Trigger Event:
push
-
Statement type:
File details
Details for the file ipc_frontier_py-0.1.8-py3-none-any.whl.
File metadata
- Download URL: ipc_frontier_py-0.1.8-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f690a917b70b18f37405c866e39ac10c2aca7ccba701811f57c600df3cabd17
|
|
| MD5 |
4c333ba429ac0eee05c6ecbe9722833a
|
|
| BLAKE2b-256 |
ab07133fa6962e333bec0796f1c01079e9913cd155b19591768f5ac86281c675
|
Provenance
The following attestation bundles were made for ipc_frontier_py-0.1.8-py3-none-any.whl:
Publisher:
release.yaml on ryancswallace/ipc-frontier-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ipc_frontier_py-0.1.8-py3-none-any.whl -
Subject digest:
2f690a917b70b18f37405c866e39ac10c2aca7ccba701811f57c600df3cabd17 - Sigstore transparency entry: 540327720
- Sigstore integration time:
-
Permalink:
ryancswallace/ipc-frontier-py@43f8c59bbe6672bfe9c83c09db16328a2763792c -
Branch / Tag:
refs/tags/v0.1.8 - Owner: https://github.com/ryancswallace
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@43f8c59bbe6672bfe9c83c09db16328a2763792c -
Trigger Event:
push
-
Statement type: