Skip to main content

Wrk2Img

travis

You find wrk and wrk2 awesome for latency analysis but reading km of log file doesnt seems to be fun ?

Introducing wrk2img, your new tool to go to generate latency graph, as easily as possible.

Goal

wrk2img has two goal:

  • Direct use in a pipeline to output beautiful latency graph
  • Save multiple output then pipe to wrk2img to combine them

Installation

pip install wrk2img
Python 3.5 is required.

How to use

Direct usage :

  • wrk : wrk --latency http://localhost:8000 | wrk2img output.png
  • wrk2 : wrk --latency -R 300 http://localhost:8000 | wrk2img output.png
    output1

Generating latency data at multiple load level using wrk2 and them combining them

wrk --latency -R 300 http://localhost:8000 > 300
wrk --latency -R 500 http://localhost:8000 > 500
wrk --latency -R 700 http://localhost:8000 > 700
cat 300 500 700 | wrk2img output.png

output2

Feature

  • log scale
  • transparent background
  • change background color
  • combine graph from wrk and wrk2 in the same output

Metadata

Release files for wrk2img 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wrk2img 1.1.0
File Size Uploaded Provenance Actions
wrk2img-1.1.0.tar.gz 4.8 kB Without provenance Details for wrk2img-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wrk2img 1.1.0
File Interpreter ABI Platform Actions
wrk2img-1.1.0-py3-none-any.whl Python 3 none any Details for wrk2img-1.1.0-py3-none-any.whl

Total release size: 12.2 kB

Release files / wrk2img-1.1.0.tar.gz

Download URL wrk2img-1.1.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
31a969aaa96f07a4d2b370c74843aa8e705a93b2e1b7bf5f5137dd1b7e664d8c
BLAKE2b-256 checksum
How to use checksums
d90cec2b535e5a1af63370919629292dc337e459b61443af2b96e121024d8581
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.1

Release files / wrk2img-1.1.0-py3-none-any.whl

Download URL wrk2img-1.1.0-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8561a9c64a6c20fcb198d4b86231dc3c6ec54a4f7f03334b19c52e72c7133b87
BLAKE2b-256 checksum
How to use checksums
142687b4d7eade3466df0bfd28738ed98fe81ed62e485352e2fd007605dfd7df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.1

Security for wrk2img 1.1.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page