Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 656 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 656 Bytes

API Latency Checker

This is a golang tool to check latency of endpoints in the specified URL.

Why is this tool important?

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.

How does this tool work?

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.

How to run the code

go run main.go --url "URL" -output "FILENAME.txt"

How to run the tests

go test -v