mcollina/autocannon

Request delay

開放

#174 建立於 2018年10月25日

 (5 則留言) (0 個反應) (0 位負責人)JavaScript (332 個分叉)batch import
enhancementgood first issue

倉庫指標

星標
 (7,425 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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?

貢獻者指南