{ "info": { "author": "RobertoPrevato", "author_email": "roberto.prevato@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Operating System :: Unix", "Programming Language :: Python :: 3" ], "description": "[![Build status](https://dev.azure.com/robertoprevato/wrktoolbox/_apis/build/status/wrktoolbox-CI)](https://dev.azure.com/robertoprevato/wrktoolbox/_build/latest?definitionId=19) [![pypi](https://img.shields.io/pypi/v/wrktools.svg?color=blue)](https://pypi.org/project/wrktools/) [![Test coverage](https://img.shields.io/azure-devops/coverage/robertoprevato/wrktoolbox/19.svg)](https://robertoprevato.visualstudio.com/wrktoolbox/_build?definitionId=19)\n\n# wrktoolbox\nA tool to run wrk and wrk2 benchmarks, store their output, and generate reports.\n\n## Features\n* Support for YAML and JSON configuration files, to define benchmark suites\n* Parses the output of [wrk](https://github.com/wg/wrk) and [wrk2](https://github.com/giltene/wrk2) HTTP benchmarking tools\n* Possibility to define performance goals, which are evaluated and stored with results\n* Strategy to store benchmarks results and whole suite configuration\n* Support for [plugins](https://github.com/RobertoPrevato/wrktoolbox/wiki/Plugins), loaded dynamically to define new types of stores, performance goals, and reports writers\n* Strategy to produce reports of results, for example [to XLSX, with wrktoolbox-xlsx](https://github.com/RobertoPrevato/wrktoolbox-xlsx) - see [Wiki](https://github.com/RobertoPrevato/wrktoolbox/wiki/Reports)\n* [Docker images for Ubuntu and Alpine](https://github.com/RobertoPrevato/wrktoolbox/tree/master/docker)\n* [CLI](https://github.com/RobertoPrevato/wrktoolbox/wiki/CLI)\n\n## Quick example\n\n1. install\n\n```bash\npip install wrktools\n```\n\n2. verify that the cli works (optional)\n\n```bash\nwrktoolbox --help\n```\n\n3. prepare a YAML, or JSON file with configuration.\nA basic example, with a single type of benchmark, looks like this:\n\n```yaml\n# the array of benchmarks contains the configuration of benchmarks to run\nbenchmarks:\n - url: https://this-is-an-example.it/api/alive\n threads: 10 # threads count\n concurrency: 100 # concurrent users\n duration: 30 # test duration in seconds\n\n# the type of stores to use, to collect benchmark results\n# it is possible to define custom stores, using plugins;\n# for example to store results in a database, or send them to an API\nstores:\n - json\n```\n\n4. run a suite of benchmarks using a settings file\n\n```bash\nwrktoolbox run --settings basic.yaml\n```\n\nRefer to examples folder for an example of full configuration file, defining plugins for authentication and custom store.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/RobertoPrevato/wrktoolbox", "keywords": "wrk runner benchmarks load performance tests", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "wrktools", "package_url": "https://pypi.org/project/wrktools/", "platform": "", "project_url": "https://pypi.org/project/wrktools/", "project_urls": { "Homepage": "https://github.com/RobertoPrevato/wrktoolbox" }, "release_url": "https://pypi.org/project/wrktools/0.1.9/", "requires_dist": [ "pyparsing", "rocore", "roconfiguration", "click", "certifi" ], "requires_python": "", "summary": "A tool to run wrk and wrk2 benchmarks and store their output.", "version": "0.1.9" }, "last_serial": 5528157, "releases": { "0.1.8": [ { "comment_text": "", "digests": { "md5": "655ddd652fba6a9b511c07b01286d0c1", "sha256": "8b954a55ee51d55d0c7ddf43dc27c56d5c52836c578c07ca2c82c777329046f5" }, "downloads": -1, "filename": "wrktools-0.1.8-py3-none-any.whl", "has_sig": false, "md5_digest": "655ddd652fba6a9b511c07b01286d0c1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 25982, "upload_time": "2019-07-09T21:38:31", "url": "https://files.pythonhosted.org/packages/1f/9c/a786ed4f02daee6e74ea25ceeabc67dc3e39a90603c4c34b30ad1ed5a980/wrktools-0.1.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fc01192f73c71286a8bd2980954e222e", "sha256": "2458ca0721b52eb76c68c8fe264bf205a3ddc9286c54bcbf2f12bc85f2c7065d" }, "downloads": -1, "filename": "wrktools-0.1.8.tar.gz", "has_sig": false, "md5_digest": "fc01192f73c71286a8bd2980954e222e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19684, "upload_time": "2019-07-09T21:38:33", "url": "https://files.pythonhosted.org/packages/05/fa/4c4201ee3c51c65838b06670a76aa65aa813c2d573933c262513a48173d1/wrktools-0.1.8.tar.gz" } ], "0.1.9": [ { "comment_text": "", "digests": { "md5": "28595cca87747be1d5df56f6bda199cd", "sha256": "c4b2c6a49d7333453e8bb790332c685450a2ceba6c184db42a4da40438ae0c23" }, "downloads": -1, "filename": "wrktools-0.1.9-py3-none-any.whl", "has_sig": false, "md5_digest": "28595cca87747be1d5df56f6bda199cd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 26117, "upload_time": "2019-07-13T22:57:57", "url": "https://files.pythonhosted.org/packages/d7/94/3c4c30fa72ccacb195917c0e360811e15b447e6acf90854ed9b5a3ae1892/wrktools-0.1.9-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "364548cbcab488196ca71e1ee46f5f28", "sha256": "1203a2b34d2e10d2938ce1d0508e7376dd8f8799105cf91971196fa5da62bfd6" }, "downloads": -1, "filename": "wrktools-0.1.9.tar.gz", "has_sig": false, "md5_digest": "364548cbcab488196ca71e1ee46f5f28", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19790, "upload_time": "2019-07-13T22:57:59", "url": "https://files.pythonhosted.org/packages/68/28/ad7a00d7b83c4fd2d6c22e5c66be767ad4c1f0d2ede384e9d3b598879e1e/wrktools-0.1.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "28595cca87747be1d5df56f6bda199cd", "sha256": "c4b2c6a49d7333453e8bb790332c685450a2ceba6c184db42a4da40438ae0c23" }, "downloads": -1, "filename": "wrktools-0.1.9-py3-none-any.whl", "has_sig": false, "md5_digest": "28595cca87747be1d5df56f6bda199cd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 26117, "upload_time": "2019-07-13T22:57:57", "url": "https://files.pythonhosted.org/packages/d7/94/3c4c30fa72ccacb195917c0e360811e15b447e6acf90854ed9b5a3ae1892/wrktools-0.1.9-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "364548cbcab488196ca71e1ee46f5f28", "sha256": "1203a2b34d2e10d2938ce1d0508e7376dd8f8799105cf91971196fa5da62bfd6" }, "downloads": -1, "filename": "wrktools-0.1.9.tar.gz", "has_sig": false, "md5_digest": "364548cbcab488196ca71e1ee46f5f28", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19790, "upload_time": "2019-07-13T22:57:59", "url": "https://files.pythonhosted.org/packages/68/28/ad7a00d7b83c4fd2d6c22e5c66be767ad4c1f0d2ede384e9d3b598879e1e/wrktools-0.1.9.tar.gz" } ] }