scitex-benchmark
Performance benchmarking, runtime monitoring, and profiling helpers.
Full Documentation · uv pip install scitex-benchmark[all]
Installation
pip install scitex-benchmark
Architecture
src/scitex_benchmark/
├── benchmark.py # high-level benchmark() runner + statistical comparisons
├── profiler.py # Profiler context manager (wall-clock + memory)
├── monitor.py # long-running resource monitor (CPU/RAM/GPU)
└── _skills/ # SciTeX skills metadata
Demo
flowchart LR
Code[user code] --> P[Profiler ctx]
Code --> B[benchmark - repeated runs]
Code --> M[Monitor - long runs]
P --> Stats[wall-clock + RSS]
B --> Stats
M --> Stats
Stats --> Report[summary - DataFrame / CSV]
Quick Start
import scitex_benchmark as bm
# Quick wall-clock + memory snapshot
with bm.Profiler() as p:
work()
print(p.summary())
1 Interfaces
Python API
import scitex_benchmark as bm
# Benchmark suite — time/memory across input sizes
suite = bm.BenchmarkSuite("io")
suite.add_benchmark(my_func, gen_input, "name", sizes=["1MB", "10MB"])
results = suite.run()
# Runtime monitor — alerts when CPU/RAM/disk thresholds breached
monitor = bm.RuntimeMonitor(cpu_threshold=80, mem_threshold=90)
with monitor:
long_running_job()
# Profiler — quick wall-clock + memory snapshot
with bm.Profiler() as p:
work()
print(p.summary())
Status
Standalone fork of scitex.benchmark. Only dep is psutil. The umbrella
package's scitex.benchmark import path is preserved via a sys.modules-alias
bridge. Convenience builders inside benchmark.py import scitex.io/scitex.stats
lazily if you opt in — without those installed they simply error out at
the call site, but the core API works without them.
Part of SciTeX
scitex-benchmark is part of SciTeX. Install via
the umbrella with pip install scitex[benchmark] to use as
scitex.benchmark (Python) or scitex benchmark ... (CLI).
Four Freedoms for Research
- The freedom to run your research anywhere — your machine, your terms.
- The freedom to study how every step works — from raw data to final manuscript.
- The freedom to redistribute your workflows, not just your papers.
- The freedom to modify any module and share improvements with the community.
AGPL-3.0 — because we believe research infrastructure deserves the same freedoms as the software it runs on.
License
AGPL-3.0-only (see LICENSE).
Metadata
Release files for scitex-benchmark 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| scitex_benchmark-0.1.5.tar.gz | 26.8 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scitex_benchmark-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 54.3 kB
Release files / scitex_benchmark-0.1.5.tar.gz
| Download URL | scitex_benchmark-0.1.5.tar.gz |
|---|---|
| Size | 26.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3516e90da56386aebc60c15c58ec8b15966171597cb8640a2caa8722c768566e
|
|
BLAKE2b-256 checksum How to use checksums |
2ba58a42cb8b4c9d0f842c2e1146deb760571e1d29a623990bfb57e1fda24ad4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 25, 2026.
Transparency logRelease files / scitex_benchmark-0.1.5-py3-none-any.whl
| Download URL | scitex_benchmark-0.1.5-py3-none-any.whl |
|---|---|
| Size | 27.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3029cfe39c55c49d9591dfd0452a1209e30e417fb6f97945297c78f2d6496672
|
|
BLAKE2b-256 checksum How to use checksums |
44e56977bb7fd406849a4d3a093779a04f854cc3e55a96843f188bd7ef7352b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 25, 2026.
Transparency logSecurity for scitex-benchmark 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for scitex_benchmark-0.1.5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.