2.2.0 • Published 5 years ago

first-response-time v2.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

Introduction

The first-response-time.js script can be used to collect the first response time also known as the time to first request.

The script executes a command and makes requests to a specific URL in 100 ms intervals until it receives the 200 HTTP status code with a response body.

The script finally prints out the duration between the command execution and the time it received the 200 status.

Installation

  1. Install Node.js with npm
  2. Run npm i -g first-response-time

Usage

first-response-time "<COMMAND>" <URL>

<COMMAND> a correctly escaped system command. <URL> request url.

2.2.0

5 years ago

2.1.0

5 years ago

2.0.0

5 years ago