Skip to main content

High precision microbenchmarking toolkit with CPU affinity and statistical latency analysis

Project description

🚀 NanoBench

High-precision microbenchmarking toolkit for measuring function latency at nanosecond granularity.


🔥 Features

  • ⚡ Nanosecond-level timing using perf_counter_ns
  • Advanced statistics (mean, median, p95, p99, stddev)
  • CPU affinity support (reduces OS scheduling noise)
  • Garbage collection control for stable benchmarks
  • CLI tool for quick benchmarking and comparison
  • Modular architecture (core, stats, utils, CLI)

Installation

pip install -e .

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

nano_bench_mark-0.1.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

nano_bench_mark-0.1.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file nano_bench_mark-0.1.0.tar.gz.

File metadata

  • Download URL: nano_bench_mark-0.1.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for nano_bench_mark-0.1.0.tar.gz
Algorithm Hash digest
SHA256 149b6758cbdbd1113d02ecc70039e389c265cf9092952e6c979b92d5f6b6b070
MD5 8a61f867b560367370bd0b28f7a88497
BLAKE2b-256 aa3516984ab2a6769bde221b515fbaf14b7c275d9677562fa10fdf66c6b2dfc3

See more details on using hashes here.

File details

Details for the file nano_bench_mark-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nano_bench_mark-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d4bb39b51c534110245bbb2ef50fefd33d9d03ce4965dedecc1985fe0745c652
MD5 70db8c74d2dc58daab383d74359262b6
BLAKE2b-256 86c3f65a099a731180c8394c429f67f8e3eced2e7ea34717d8e696a4d17b4d1d

See more details on using hashes here.

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