Skip to main content

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 info
  • test_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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ior_parser-0.1.0.tar.gz (34.2 kB view details)

Uploaded Source

Built Distribution

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

ior_parser-0.1.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

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

Hashes for ior_parser-0.1.0.tar.gz
Algorithm Hash digest
SHA256 559f3ea21b20fd88257163d458bcfac912b3a6b8b3580f0a33c0b468c9952a57
MD5 eb5448449b5d60ba9e349b066e69cbfb
BLAKE2b-256 83b9691340f19fbd1794340c2cd91895976b0175d484b0ae5dc6b03039004a55

See more details on using hashes here.

Provenance

The following attestation bundles were made for ior_parser-0.1.0.tar.gz:

Publisher: release.yml on izzet/ior-parser

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

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

Hashes for ior_parser-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef851ea182e8121357547bb0257e4490b4e0f4ac3a4b3578ba85d7e697908772
MD5 feb2d99957b10724a33b7327a0bf05b3
BLAKE2b-256 56bc98ab065a7644b55bae11f1a831ad582b650f0940ca77a9170e19620a9e09

See more details on using hashes here.

Provenance

The following attestation bundles were made for ior_parser-0.1.0-py3-none-any.whl:

Publisher: release.yml on izzet/ior-parser

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