Skip to main content

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 archive to 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)

Source distribution for hosting-benchmark 0.0.6
File Size Uploaded
hosting-benchmark-0.0.6.tar.gz 26.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hosting-benchmark 0.0.6
File Interpreter ABI Platform
hosting_benchmark-0.0.6-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

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