Skip to main content

Network benchmarking suite for DNS, HTTP, and SSL — with DNSSEC validation, DoH/DoT support, high‑concurrency testing, and enterprise‑grade reporting.

Project description

net-benchmark

fast, extensible network benchmarking — dns, http, and ssl from a single cli.

PyPI version Python License

CI Downloads

pip install net-benchmark
pip install net-benchmark[pdf]   # with pdf export

successor to dns-benchmark-tool — fully backward compatible. dns-benchmark command still works as an alias.


tools

dns benchmark — resolver performance, dnssec, doh/dot
net-benchmark dns benchmark --use-defaults
net-benchmark dns benchmark --use-defaults --doh
net-benchmark dns benchmark --use-defaults --dot --dnssec-validate
net-benchmark dns compare Cloudflare Google Quad9 --dnssec-validate
net-benchmark dns monitoring --use-defaults --interval 30
flag description default
--use-defaults built-in resolvers and sample domains
--resolvers name, ip, or file
--domains comma-separated or file
--iterations queries per resolver 1
--doh dns-over-https false
--doh-url comma-separated urls, one per resolver
--dot dns-over-tls false
--dnssec-validate fail if ad flag absent false
--formats csv, excel, pdf, json csv,excel,pdf

full documentation: github.com/net-benchmark/net-benchmark

http benchmark — latency, ttfb, security headers, tls certs
net-benchmark http benchmark --use-defaults
net-benchmark http benchmark --use-defaults --iterations 5
net-benchmark http benchmark --targets "https://api.example.com" --method POST --body '{}'
net-benchmark http compare api.example.com api2.example.com --iterations 3
net-benchmark http top --use-defaults --limit 5
net-benchmark http monitoring --use-defaults --interval 30
flag description default
--use-defaults built-in target urls
--targets comma-separated urls or file
--method http verb (get, post, etc.) get
--headers "key:value,key2:value2"
--body inline request body (e.g. json)
--body-file path to body file
--auth basic:user:pass or bearer:token
--cert / --cert-key mtls client certificate
--proxy proxy url
--assert repeatable: status=200, body_contains=ok, max_latency=500, etc.
--iterations requests per target 1
--no-http2 force http/1.1 false
--no-verify-ssl skip tls verification false
--formats csv, excel, pdf, json csv,excel,pdf

full documentation: github.com/net-benchmark/net-benchmark

ssl check — certificate expiry and chain validation (coming 0.6.0)
net-benchmark ssl check --hosts "example.com,api.example.com"

full documentation: github.com/net-benchmark/net-benchmark


export formats

format flag notes
csv --formats csv raw results + summary
excel --formats excel charts, dnssec sheet, colour coding
pdf --formats pdf requires pip install net-benchmark[pdf]
json --formats json full payload including protocol stats

links


license

mit © frankovo

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

net_benchmark-0.5.0.tar.gz (5.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

net_benchmark-0.5.0-py3-none-any.whl (5.6 MB view details)

Uploaded Python 3

File details

Details for the file net_benchmark-0.5.0.tar.gz.

File metadata

  • Download URL: net_benchmark-0.5.0.tar.gz
  • Upload date:
  • Size: 5.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for net_benchmark-0.5.0.tar.gz
Algorithm Hash digest
SHA256 47e7e51172b1bbfd0b47864bdfab52ddb7d8debe32edf45a6d207c4334645140
MD5 1c31e3d90305a4337e37785c1993b086
BLAKE2b-256 234594afd1c76de94efc9a04fef14c8d21a92a007f8bb93cc197493380ce2824

See more details on using hashes here.

Provenance

The following attestation bundles were made for net_benchmark-0.5.0.tar.gz:

Publisher: pypi.yml on net-benchmark/net-benchmark

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file net_benchmark-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: net_benchmark-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 5.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for net_benchmark-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a5ecdc06354740ca74000d5930598d5b7d82766447a07163996ed2d641f9d10d
MD5 23627a2cf165233a8b7fcf19d90d9044
BLAKE2b-256 a0706e1eba3eebb1b924f446f39a8c2af4eb4555d2ee6592ca3c7d976fc61814

See more details on using hashes here.

Provenance

The following attestation bundles were made for net_benchmark-0.5.0-py3-none-any.whl:

Publisher: pypi.yml on net-benchmark/net-benchmark

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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