Performance benchmarking, runtime monitoring, and profiling helpers — standalone module from the SciTeX ecosystem
Project description
scitex-benchmark
Performance benchmarking, runtime monitoring, and profiling helpers.
Full Documentation · pip install scitex-benchmark
Installation
pip install scitex-benchmark
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.
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).
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 scitex_benchmark-0.1.4.tar.gz.
File metadata
- Download URL: scitex_benchmark-0.1.4.tar.gz
- Upload date:
- Size: 25.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09ab113b5e98c1c1813c9bc1c5d9e57e8af9f5dc81d3de0fae8e980aa6f030b2
|
|
| MD5 |
2394c2f840966f039ac4bf2df746c13e
|
|
| BLAKE2b-256 |
c7f41f604de9b04674065482c6ee1eb5caaf5194d350ccdef0fa0ba5d670afe0
|
Provenance
The following attestation bundles were made for scitex_benchmark-0.1.4.tar.gz:
Publisher:
publish-pypi.yml on ywatanabe1989/scitex-benchmark
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex_benchmark-0.1.4.tar.gz -
Subject digest:
09ab113b5e98c1c1813c9bc1c5d9e57e8af9f5dc81d3de0fae8e980aa6f030b2 - Sigstore transparency entry: 1417312725
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-benchmark@7c8db5b9a4d35816f87e87b1621a52c93e8669a8 -
Branch / Tag:
refs/heads/develop - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@7c8db5b9a4d35816f87e87b1621a52c93e8669a8 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file scitex_benchmark-0.1.4-py3-none-any.whl.
File metadata
- Download URL: scitex_benchmark-0.1.4-py3-none-any.whl
- Upload date:
- Size: 25.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b67233460d3d300bd25ad3bd49951f38deb4185ee6be7c54a2350685ac9c5a48
|
|
| MD5 |
e7392a976a26c365df616cc42b15a78c
|
|
| BLAKE2b-256 |
29452b3ddd2c0dbcfe39e73cede666a1107ddabfee6d986627ee8aa7db068e30
|
Provenance
The following attestation bundles were made for scitex_benchmark-0.1.4-py3-none-any.whl:
Publisher:
publish-pypi.yml on ywatanabe1989/scitex-benchmark
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex_benchmark-0.1.4-py3-none-any.whl -
Subject digest:
b67233460d3d300bd25ad3bd49951f38deb4185ee6be7c54a2350685ac9c5a48 - Sigstore transparency entry: 1417312751
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-benchmark@7c8db5b9a4d35816f87e87b1621a52c93e8669a8 -
Branch / Tag:
refs/heads/develop - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@7c8db5b9a4d35816f87e87b1621a52c93e8669a8 -
Trigger Event:
workflow_dispatch
-
Statement type: