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
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
nano_bench_mark-0.1.0.tar.gz
(5.6 kB
view details)
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
149b6758cbdbd1113d02ecc70039e389c265cf9092952e6c979b92d5f6b6b070
|
|
| MD5 |
8a61f867b560367370bd0b28f7a88497
|
|
| BLAKE2b-256 |
aa3516984ab2a6769bde221b515fbaf14b7c275d9677562fa10fdf66c6b2dfc3
|
File details
Details for the file nano_bench_mark-0.1.0-py3-none-any.whl.
File metadata
- Download URL: nano_bench_mark-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4bb39b51c534110245bbb2ef50fefd33d9d03ce4965dedecc1985fe0745c652
|
|
| MD5 |
70db8c74d2dc58daab383d74359262b6
|
|
| BLAKE2b-256 |
86c3f65a099a731180c8394c429f67f8e3eced2e7ea34717d8e696a4d17b4d1d
|