This is a golang tool to check latency of endpoints in the specified URL.
API latency refers to the duration it takes for an API to respond to a request. Having high API latency can affect your user experience, therefore it is key metric to evaluate the performance of your API.
This tool retrieves endpoints from the provided URL, saves them in a .txt
file, and then measures the latency of each endpoints by sending HTTP GET requests.
go run main.go --url "URL" -output "FILENAME.txt"
go test -v