Test the Time To First Byte from command line
npm install ttfb-test
You need to have curl installed on your machine.
If ``curl --help` returns an error this module will not work, install it first.
`npm install -g ttfb-test`
`ttfb-test https://www.google.com/`
Will run 30 test on this url and give you the average Time To First Byte.
Add the number of run after the URL argument.
eg : let's run 80 tests:
`ttfb-test https://www.google.com/ 80``
If you stop a test (ctrl + C ) it will return the average of the tests you already ran.