hosting-benchmark
A full web-hosting benchmark suite
Installation
Install using pip:
pip install hosting-benchmark
Usage
The benchmark consists of two components:
- A server, which is a set of PHP scripts that run the benchmark
- A client, which is a cli (command line interface) tool used to run the benchmark and collect/present the data.
In order to run the benchmark, you need to install the server app. This is fairly straightforward:
- Create a MySQL database on your web hosting, note down the credentials
- Run
hosting-benchmark archiveto prepare a ZIP archive with the server. You will be asked to provide your database credentials - Upload and extract the zip package to your web hosting http root directory
- Run the benchmark using:
hosting-benchmark --hostname=https://example.com/ --count=10 --sleep=5 all
To learn what the --count and --sleep flags do, please invoke
hosting-benchmark --help.
Development
Precommit Hooks
This project supports pre-commit. To use it please install it in the pip install pre-commit and then run pre-commit install and you are ready to go. black will be executed before commit and files will be formatted correctly.
Metadata
Release files for hosting-benchmark 0.0.6
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 |
|---|---|---|---|---|
| hosting-benchmark-0.0.6.tar.gz | 26.0 kB | Without provenance | Details for hosting-benchmark-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hosting_benchmark-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for hosting_benchmark-0.0.6-py3-none-any.whl |
Total release size: 57.0 kB
Release files / hosting-benchmark-0.0.6.tar.gz
| Download URL | hosting-benchmark-0.0.6.tar.gz |
|---|---|
| Size | 26.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d436193f0e14f82322e59d5d27e23a849e1330eb028f8bae934355b89fe1d4b
|
|
BLAKE2b-256 checksum How to use checksums |
8940feb7cf06eeaf0cf2513ef90e7fa235a7a79de775b031238502897aedb0b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
|
Release files / hosting_benchmark-0.0.6-py3-none-any.whl
| Download URL | hosting_benchmark-0.0.6-py3-none-any.whl |
|---|---|
| Size | 31.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db55845b561cb016e5adafa9c6b5fd850311a0335ea93405ef9e1143731f5124
|
|
BLAKE2b-256 checksum How to use checksums |
d860ee8c118414faa3b74bf14bd456efb1da2f227dfe2819e3ebca2f9ce8223d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
|
Security for hosting-benchmark 0.0.6
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.