Forrest logo
back to the wrk tool

wrk:tldr:77796

wrk: Run a benchmark for `30` seconds, using `12` threads, and keeping `400` HTTP connections open.
$ wrk -t${12} -c${400} -d${30s} "${http:--127-0-0-1:8080-index-html}"
try on your machine

The command you provided is using the wrk tool to perform a benchmark test on a specified website.

Here's a breakdown of the command:

  • wrk: It is the command line tool used for benchmarking HTTP services.
  • -t${12}: This option sets the number of threads to use during the test. The value is ${12}, which implies that 12 threads will be used.
  • -c${400}: This option specifies the number of connections to keep open simultaneously. The value is ${400}, meaning that 400 connections will be kept open concurrently.
  • -d${30s}: It sets the duration of the test in seconds. The value is ${30s}, which means the test will run for 30 seconds.
  • "${http:--127-0-0-1:8080-index-html}": This is the URL of the website being tested. It is specified within quotes. The URL appears to be http://127.0.0.1:8080/index.html, as ${http:--127-0-0-1:8080-index-html} is likely a string placeholder that will be replaced by the actual URL.

Overall, this command will use the wrk tool to benchmark the specified website using 12 threads and 400 connections, running for 30 seconds.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the wrk tool