mcollina/autocannon

Request delay

Open

#174 opened on Oct 25, 2018

View on GitHub
 (5 comments) (0 reactions) (0 assignees)JavaScript (332 forks)batch import
enhancementgood first issue

Repository metrics

Stars
 (7,425 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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