Skip to main content

Benchmarks comparing Python concurrency models--threads, Queue-based multiprocessing, and SharedMemory-based multiprocessing--for moving and processing NumPy arrays.

Project description

ipc-frontier-py

Build Coverage PyPI version GitHub release License Security Policy


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-tools then make 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

ipc_frontier_py-0.1.4.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ipc_frontier_py-0.1.4-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file ipc_frontier_py-0.1.4.tar.gz.

File metadata

  • Download URL: ipc_frontier_py-0.1.4.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ipc_frontier_py-0.1.4.tar.gz
Algorithm Hash digest
SHA256 31f4d35edc8795b4b9f8be7e08042eb38fc56c9b6b427e4bab9270170dd9814f
MD5 9d2d0c03406c19e258e0527556e0ada2
BLAKE2b-256 bde82e301520c255c7ef2141a16d50c21b750671d34bff373d7f022186c87be3

See more details on using hashes here.

Provenance

The following attestation bundles were made for ipc_frontier_py-0.1.4.tar.gz:

Publisher: release.yaml on ryancswallace/ipc-frontier-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ipc_frontier_py-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for ipc_frontier_py-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 79834e739c324d4a1b5131ffad2f2e3e516e57fabcac60d7fccb33465b59ce96
MD5 326da159c8487361b7a72403aa393eda
BLAKE2b-256 a7e55d5f771b52b7d527067ea98a46e8a34e8265dcf305e9ae0e2556a4702e7a

See more details on using hashes here.

Provenance

The following attestation bundles were made for ipc_frontier_py-0.1.4-py3-none-any.whl:

Publisher: release.yaml on ryancswallace/ipc-frontier-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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