Skip to content

CLI to measure the startup time of a web service until it serves a request

License

Notifications You must be signed in to change notification settings

doingodswork/ttfok

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ttfok

ttfok: Time to first OK

CLI to measure the startup time of a web service until it serves a request

Usage

ttfok /path/to/your/app http://localhost:8080/some/path

Or with app arguments:

ttfok /path/to/your/app --some arg --another arg http://localhost:8080/some/path

To customize times:

  -t duration
        Timeout for the request (default 1ms)
  -w duration
        Duration to wait for app start (default 1s)

Example

ttfok -w 2s node ./addon.js http://localhost:7000/manifest.json

About

CLI to measure the startup time of a web service until it serves a request

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages