IOR benchmark log file parser for performance analysis and comparison
Project description
ior-parser
A Python package for parsing IOR (Interleaved Or Random) benchmark log files. Extracts performance metrics, test configuration, and filesystem information for analysis, reporting, and automation.
Features
- Parse IOR log files from command line or Python API
- Extracts test setup, timing, options, and results sections
- Converts sizes to bytes and timestamps to Unix time
- Outputs structured JSON for further analysis
- CLI and Python API usage
- Supports IOR logs from multiple versions and verbosity levels
Installation
pip install ior-parser
Or for development:
git clone https://github.com/izzet/ior-parser.git
cd ior-parser
pip install -e .
Usage
Command Line
python -m ior_parser path/to/ior.log --json
Python API
from ior_parser import parse_ior_log
result = parse_ior_log("path/to/ior.log")
print(result.to_dict())
Output Structure
test_setup: IOR version, command line, machine, path, filesystem infotest_times: began, finished, elapsed (as Unix timestamps)options: parsed IOR options (API, block size, transfer size, etc.)results: read/write operation metrics (bandwidth, IOPS, time)
Development
- Lint:
ruff check . - Format:
ruff format . - Test:
pytest - Pre-commit:
pre-commit run --all-files
License
MIT
Author
Izzet Yildirim (izzetcyildirim@gmail.com)
Links
Project details
Release history Release notifications | RSS feed
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 ior_parser-0.1.0.tar.gz.
File metadata
- Download URL: ior_parser-0.1.0.tar.gz
- Upload date:
- Size: 34.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
559f3ea21b20fd88257163d458bcfac912b3a6b8b3580f0a33c0b468c9952a57
|
|
| MD5 |
eb5448449b5d60ba9e349b066e69cbfb
|
|
| BLAKE2b-256 |
83b9691340f19fbd1794340c2cd91895976b0175d484b0ae5dc6b03039004a55
|
Provenance
The following attestation bundles were made for ior_parser-0.1.0.tar.gz:
Publisher:
release.yml on izzet/ior-parser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ior_parser-0.1.0.tar.gz -
Subject digest:
559f3ea21b20fd88257163d458bcfac912b3a6b8b3580f0a33c0b468c9952a57 - Sigstore transparency entry: 317790635
- Sigstore integration time:
-
Permalink:
izzet/ior-parser@1ba57f2c786846349881534e76f7894fd6c282c1 -
Branch / Tag:
refs/tags/v.0.1.0 - Owner: https://github.com/izzet
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@1ba57f2c786846349881534e76f7894fd6c282c1 -
Trigger Event:
release
-
Statement type:
File details
Details for the file ior_parser-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ior_parser-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef851ea182e8121357547bb0257e4490b4e0f4ac3a4b3578ba85d7e697908772
|
|
| MD5 |
feb2d99957b10724a33b7327a0bf05b3
|
|
| BLAKE2b-256 |
56bc98ab065a7644b55bae11f1a831ad582b650f0940ca77a9170e19620a9e09
|
Provenance
The following attestation bundles were made for ior_parser-0.1.0-py3-none-any.whl:
Publisher:
release.yml on izzet/ior-parser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ior_parser-0.1.0-py3-none-any.whl -
Subject digest:
ef851ea182e8121357547bb0257e4490b4e0f4ac3a4b3578ba85d7e697908772 - Sigstore transparency entry: 317790645
- Sigstore integration time:
-
Permalink:
izzet/ior-parser@1ba57f2c786846349881534e76f7894fd6c282c1 -
Branch / Tag:
refs/tags/v.0.1.0 - Owner: https://github.com/izzet
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@1ba57f2c786846349881534e76f7894fd6c282c1 -
Trigger Event:
release
-
Statement type: