NB HDR plotter
A tool to plot
HDR histogram
data (and histostats output) from
NoSQLBench.
Setup
Pre-requisites
Python 3.8+ is required.
Installation
Install with
pip install nb-hdr-plotter
Quickstart
Assuming you have an HDR histogram file to plot:
nb_hdr_plotter \
hdr_data.log \
-b -c -s \
-p SampleData \
-d SampleDump \
-m cqlkeyvalue_default_main.result
Assuming you have a histostats output file to plot:
histostats_plotter \
histostats.log \
-p HistostatsSample \
-m cqlkeyvalue_default_main.result
The Github repository contains sample plots obtained with these tools.
More options
nb_hdr_plottercan dump to atxttable file (as opposed to a PNG image);- it can selectively plot histogram, percentiles, stability plot;
- it can interactively help you select the metric to plot;
- it can optionally refrain from time unit conversion and overwrite files.
Check out the online help:
$> nb_hdr_plotter -h
usage: nb_hdr_plotter [-h] [-i] [-m METRICTAG] [-b] [-c] [-s] [-p PLOTFILEROOT] [-d DUMPFILEROOT] [-f] [-r] filename
Manipulate HDR data generated in NoSQLBench.
positional arguments:
filename HDR input data
optional arguments:
-h, --help show this help message and exit
-i, --inspect Detailed input breakdown
Analysis tasks:
-m METRICTAG, --metric METRICTAG
Work on the specified metric tag (interactive choice if not provided)
-b, --baseplot Create standard distribution plot
-c, --percentiles Create percentile analysis
-s, --stability Perform stability analysis (per-slice plots)
Output control:
-p PLOTFILEROOT, --plot PLOTFILEROOT
Create plot images (with given file root)
-d DUMPFILEROOT, --dump DUMPFILEROOT
Dump to data files (with given file root)
-f, --force Overwrite existing file(s) if necessary
-r, --raw Keep raw values found in histograms (no unit conversions)
histostats_plottercan include/exclude plotting the "max" alongside the other percentiles;- it offers interactive selection of the metric to plot;
- it optionally overwrites existing files:
$> histostats_plotter -h
usage: histostats_plotter [-h] [-m METRICTAG] [-p PLOTFILEROOT] [--include-max] [-f] filename
Quickly plot "--log-histostats" output from NoSQLBench to an image.
positional arguments:
filename Histostats input file
optional arguments:
-h, --help show this help message and exit
-m METRICTAG, --metric METRICTAG
Work on the specified metric tag (interactive choice if not provided)
-p PLOTFILEROOT, --plot PLOTFILEROOT
Create plot image (with given file root), automatic if not provided
--include-max Include "max" to plotting
-f, --force Overwrite existing file if necessary
Metadata
Release files for nb-hdr-plotter 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nb_hdr_plotter-0.1.2.tar.gz | 14.8 kB | Without provenance | Details for nb_hdr_plotter-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nb_hdr_plotter-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for nb_hdr_plotter-0.1.2-py3-none-any.whl |
Total release size: 32.5 kB
Release files / nb_hdr_plotter-0.1.2.tar.gz
| Download URL | nb_hdr_plotter-0.1.2.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
94e7e105dbca48446e9b3061fb1f6efcd208cda5a2edea398495f70813703396
|
|
BLAKE2b-256 checksum How to use checksums |
57725d936ab382ea03fcb1d770766665652efbaa7939f0c6708bdd9a10bdc0b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.5
|
Release files / nb_hdr_plotter-0.1.2-py3-none-any.whl
| Download URL | nb_hdr_plotter-0.1.2-py3-none-any.whl |
|---|---|
| Size | 17.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e7204ce313d9e3a7b165583e753698a0db784cb3a6c7cdd85de651c502df719
|
|
BLAKE2b-256 checksum How to use checksums |
772287c438e71452e2bba18bc82e217815482a83d76e1d912c9ce606735c9050
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.5
|
Security for nb-hdr-plotter 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.