Skip to main content

Create beautiful graph from wrk

Project description

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

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

wrk2img-1.1.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

wrk2img-1.1.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file wrk2img-1.1.0.tar.gz.

File metadata

  • Download URL: wrk2img-1.1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for wrk2img-1.1.0.tar.gz
Algorithm Hash digest
SHA256 31a969aaa96f07a4d2b370c74843aa8e705a93b2e1b7bf5f5137dd1b7e664d8c
MD5 877e582b3403ed13da41b87d4de6771c
BLAKE2b-256 d90cec2b535e5a1af63370919629292dc337e459b61443af2b96e121024d8581

See more details on using hashes here.

File details

Details for the file wrk2img-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: wrk2img-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for wrk2img-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8561a9c64a6c20fcb198d4b86231dc3c6ec54a4f7f03334b19c52e72c7133b87
MD5 489ce6aafe6cc6a87f950d6485d6a526
BLAKE2b-256 142687b4d7eade3466df0bfd28738ed98fe81ed62e485352e2fd007605dfd7df

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page