mcollina/autocannon

Request delay

Open

#174 aperta il 25 ott 2018

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)JavaScript (332 fork)batch import
enhancementgood first issue

Metriche repository

Star
 (7425 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Example:

{
  connection: 1,
  connectionRate: 1,
  duration: 2,
}

Autocannon will perform 1 req/sec for 2 seconds.

{
  connection: 1,
  connectionRate: 2,
  duration: 2,
}

Autocannon will perform 2 req/sec for 2 seconds. But the requests are fired during the very firsts milliseconds.

How can i setup autocannon for fire request every x milliseconds?

Guida contributor