{ "info": { "author": "Oliver Tonnhofer", "author_email": "olt@bogosoft.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Testing", "Topic :: Software Development :: Testing :: Traffic Generation", "Topic :: Utilities" ], "description": "palb - Python Apache-Like Benchmark Tool\n========================================\n\n:Author: Oliver Tonnhofer \n\nIntroduction\n~~~~~~~~~~~~\n\n``palb`` is a HTTP benchmark tool. The command line interface resembles the\nApache benchmark tool ``ab``. It lacks the advanced features of ``ab``, but it\nsupports multiple URLs (from arguments, files, stdin, and Python code).\n\n``palb`` uses pycurl_ for high-performance URL retrieval and is able to handle\nmore than thousand requests per second with dozens of concurrent requests.\nIf ``pycurl`` is not available ``palb`` will fall back to Pythons ``urllib2``.\n\nBe sure you have ``pycurl`` installed if you expect test results with more than\na few hundred requests per second. Check the output of palb::\n\n [...]\n Using pycurl as URL getter.\n [...]\n\n.. _pycurl: http://pycurl.sourceforge.net/\n\nInstallation\n~~~~~~~~~~~~\n\nThis package can be installed with easy_install or from the tarball.\n\nIf you are installing from a tarball, run the following command as an\nadministrative user::\n\n python setup.py install\n\nYou need setuptools to install palb. If you don't have it, you can use\nthe ez_setup.py script to install it.\n\nIf you are installing using easy_install, you don't even need to download\nanything as the latest version will be downloaded for you\nfrom the Python package index::\n\n easy_install --upgrade palb\n\nFor best performance install ``pycurl`` (see `Introduction`_)::\n\n easy_install pycurl\n\nExample & Usage\n~~~~~~~~~~~~~~~\n\nSimple usage (1 request)::\n\n % palb http://example.com/\n\nMultiple requests (2 concurrent, 10 total requests)::\n\n % palb -c 2 -n 10 http://example.com/\n\nAlternate between multiple URLs::\n\n % palb -c 2 -n 100 http://example.com/index.html\\\n http://example.com/foo.html http://example.com/bar.html\n\n\nGet URLs from file (use ``-`` as file name to read from stdin)::\n\n % cat test.txt \n http://example.com/one.html\n http://example.com/two.html\n % palb -n 20 -f test.txt\n\nGet URLs from python code::\n\n % cat test.py\n def urls(args):\n while True:\n yield 'http://example.com/'\n % palb -n 100 -u test:urls\n\n``args`` is a list with all remaining arguments. Use it to pass options\nto your own URL generators.\n\nHere is an example output::\n\n % palb -c 4 -n 100 -u rndtest:random_urls 'http://localhost:5050/bar/'\n This is palb, Version 0.1.1\n Copyright (c) 2009 Oliver Tonnhofer \n Licensed under MIT License\n\n Using pycurl as URL getter.\n Benchmarking (be patient)..... done\n\n\n Average Document Length: 23067 bytes\n\n Concurrency Level: 4\n Time taken for tests: 6.469 seconds\n Complete requests: 100\n Failed requests: 0\n Total transferred: 2306704 bytes\n Requests per second: 15.46 [#/sec] (mean)\n Time per request: 250.810 [ms] (mean)\n Time per request: 62.702 [ms] (mean, across all concurrent requests)\n Transfer rate: 348.22 [Kbytes/sec] received\n\n Connection Times (ms)\n min mean[+/-sd] median max\n Connect: 43 46 3.5 45 73\n Processing: 56 205 97.2 188 702\n Waiting: 90 100 12.6 94 138\n Total: 106 251 97.1 234 750\n\n Percentage of the requests served within a certain time (ms)\n 50% 239\n 66% 257\n 75% 285\n 80% 289\n 90% 313\n 95% 382\n 98% 613\n 99% 717\n 100% 768 (longest request)\n\nChangelog\n~~~~~~~~~\n0.1.1 (2008-04-30)\n * updated docs (palb is now only available as .tar.gz)\n\n0.1.0 (2008-04-30)\n * reduce number of open file-handles with pycurl,\n allows more concurrent requests\n * do not import ez_setup, assume it is installed\n * support for python 2.4 (except tests)\n \n0.0.2 (2008-04-19)\n * added PyCurl based URLGetter\n * improved performance (with PyCurl)\n * connection time statistics (with PyCurl)\n * new package structure\n * fix: added ``*.txt`` to manifest (LICENSE.txt was missing in 0.0.1 .tar)\n * added tests (nose)\n\n0.0.1 (2009-04-13)\n * first release", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": null, "license": "Copyright (c) 2009 Oliver Tonnhofer \n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.", "maintainer": null, "maintainer_email": null, "name": "palb", "package_url": "https://pypi.org/project/palb/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/palb/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/palb/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Python Apache-Like Benchmark Tool", "version": "0.1.1" }, "last_serial": 795976, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "8b8367881e220bc4f5a6dfeb68ebbe9f", "sha256": "2e3856260915775165336be3f0a3bbc09f1b69f290b7663cb0049a80b027e3cb" }, "downloads": -1, "filename": "palb-0.0.1-py2.5.egg", "has_sig": false, "md5_digest": "8b8367881e220bc4f5a6dfeb68ebbe9f", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 9853, "upload_time": "2009-04-13T10:00:14", "url": "https://files.pythonhosted.org/packages/e1/d6/ccb1dea8efefd6bd40d21c13d2a69863df967dfee52f1207a02e97580f91/palb-0.0.1-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "e161959853b683e86d28f56400fe285f", "sha256": "dcb3961a18e4fc014f48367c9b133777d51264015f4ef2a9c0e6bae17286f8e6" }, "downloads": -1, "filename": "palb-0.0.1.tar.gz", "has_sig": false, "md5_digest": "e161959853b683e86d28f56400fe285f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5933, "upload_time": "2009-04-13T10:00:02", "url": "https://files.pythonhosted.org/packages/c5/6b/22f75cd4d6c443486b8ef8962c04d64e23e5c66df6d82d701040bcd04e7d/palb-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "30b90ba1b9358b45bd1dc92a68adef5f", "sha256": "e441e19c3c163be321b2318f3901d3af0dedcd7df4c7c301a65c8fd9341f065a" }, "downloads": -1, "filename": "palb-0.0.2-py2.5.egg", "has_sig": false, "md5_digest": "30b90ba1b9358b45bd1dc92a68adef5f", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 22785, "upload_time": "2009-04-19T20:05:11", "url": "https://files.pythonhosted.org/packages/64/ba/c45e16e666302787b45098ba133ac3ffd6d92cb9a604591bc9285733de5d/palb-0.0.2-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "c48780f9248ff763e9b7342ab6d9af01", "sha256": "d17259f592a97b7305921d8764fbfce25aed1771dae481f0966df1d198bac29f" }, "downloads": -1, "filename": "palb-0.0.2.tar.gz", "has_sig": false, "md5_digest": "c48780f9248ff763e9b7342ab6d9af01", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10511, "upload_time": "2009-04-19T20:05:02", "url": "https://files.pythonhosted.org/packages/ec/97/4fc22042c5e87b1a4457d744773c67c9498928f59ce3e5e658856da16350/palb-0.0.2.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "f56a01169b0c95b0355daac2d48fc772", "sha256": "b020e55218413108c85475244803bf6237f0b55a8c7b8e467527456b9e981ccf" }, "downloads": -1, "filename": "palb-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f56a01169b0c95b0355daac2d48fc772", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14129, "upload_time": "2009-04-30T10:49:46", "url": "https://files.pythonhosted.org/packages/fd/fb/e9649044741dbc129b34c297cf49701bfb15262253d99aed37aaf8fc818f/palb-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "384edb7e6db3603e8e51fd4b054df5f3", "sha256": "d6063502a518a6220e9160909b46aaf7a408949d57ff0c68adfc45cd43d998dc" }, "downloads": -1, "filename": "palb-0.1.1.tar.gz", "has_sig": false, "md5_digest": "384edb7e6db3603e8e51fd4b054df5f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14255, "upload_time": "2009-04-30T11:05:17", "url": "https://files.pythonhosted.org/packages/c0/f7/35718cb180ce708e2097d74ca9d0e038ecc2394ae9687f4b8c83d26558c6/palb-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "384edb7e6db3603e8e51fd4b054df5f3", "sha256": "d6063502a518a6220e9160909b46aaf7a408949d57ff0c68adfc45cd43d998dc" }, "downloads": -1, "filename": "palb-0.1.1.tar.gz", "has_sig": false, "md5_digest": "384edb7e6db3603e8e51fd4b054df5f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14255, "upload_time": "2009-04-30T11:05:17", "url": "https://files.pythonhosted.org/packages/c0/f7/35718cb180ce708e2097d74ca9d0e038ecc2394ae9687f4b8c83d26558c6/palb-0.1.1.tar.gz" } ] }