Skip to content
doingodsworkPublic

About

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

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

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

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

⌂ 换网址