Skip to content

npotts/go-fast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go-fast GoDoc Build Status Go Report Card

go-fast is a golang module for interacting with www.fast.com's API to extract believable speed benchmarks.

Install

If you are familiar with Go's toolchain this is pretty much self-explanatory, otherwise you need to setup the $GOPATH enviromental variable

❯❯❯ export GOPATH=${HOME}/go
❯❯❯ go get -u github.com/npotts/go-fast/go-fast
❯❯❯ ${GOPATH}/bin/go-fast --help
usage: go-fast [<flags>]

A CLI interface to www.fast.com

Flags:
      --help        Show context-sensitive help (also try --help-long and --help-man).
  -w, --workers=3   Number of workers to start. Currently www.fast.com/Netflix only allows up to 3
  -m, --max="50MB"  Maximum worker download size

exit status 1
❯❯❯ go-fast
2016/07/20 21:46:45 Starting with 3 worker(s)
2016/07/20 21:47:43 3 worker(s) downloaded at an average of
  2809750.97 Bps
  2743.90 Kbps
  2.68 Mbps

TODO

  • Modify token.go to fill up to the requested number of URLs rather than the maximum of 3 the API defaults to

About

golang lib to extract believable speed benchmarks from www.fast.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages