mcollina/autocannon

Request delay

Open

#174 geöffnet am 25. Okt. 2018

Auf GitHub ansehen
 (5 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (7.425 Stars) (332 Forks)batch import
enhancementgood first issue

Beschreibung

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?

Contributor Guide