{"id":15859994,"url":"https://github.com/giannisalinetti/http-get-bench","last_synced_at":"2025-04-01T20:28:33.733Z","repository":{"id":64306539,"uuid":"133140687","full_name":"giannisalinetti/http-get-bench","owner":"giannisalinetti","description":"http-get-bench: parallel HTTP GET bencharmks made easy","archived":false,"fork":false,"pushed_at":"2018-05-12T19:19:14.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-14T13:17:53.336Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/giannisalinetti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-12T11:42:43.000Z","updated_at":"2020-10-06T08:31:04.000Z","dependencies_parsed_at":"2023-01-15T10:45:43.927Z","dependency_job_id":null,"html_url":"https://github.com/giannisalinetti/http-get-bench","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giannisalinetti%2Fhttp-get-bench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giannisalinetti%2Fhttp-get-bench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giannisalinetti%2Fhttp-get-bench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giannisalinetti%2Fhttp-get-bench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giannisalinetti","download_url":"https://codeload.github.com/giannisalinetti/http-get-bench/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237651173,"owners_count":19344670,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-05T21:41:12.196Z","updated_at":"2025-02-07T13:16:31.208Z","avatar_url":"https://github.com/giannisalinetti.png","language":"Go","readme":"# http-get-bench: parallel HTTP GET bencharmks made easy\n\nThis is a simple tool to perform parallel HTTP GET test\nand record response times for every call and for the overall test.\n\n## Build and install\n\nTo build and install http-get-bench:\n\n```\n$ make\n$ sudo make install\n```\n\nThis will run tests and compile the binary install it under */usr/local/bin* on your system.\n\n## Usage\n\nAt least an URL must be provided to begin the benchmark. The following example\nwill run a series of 10 parallel HTTP GET calls on **www.example.com**.\n\n```\n$ http-get-bench --url www.example.com -n 10\n```\n\nThe expected output will be similar to this:\n\n```\nPerforming host DNS lookup...\tDone\nBeginning benchmark...\n\n| Attempt: 9\t| Url: http://www.example.com\t| Status: 200 OK\t| Time: 188733434 |\n| Attempt: 5\t| Url: http://www.example.com\t| Status: 200 OK\t| Time: 191321751 |\n| Attempt: 10\t| Url: http://www.example.com\t| Status: 200 OK\t| Time: 200889381 |\n| Attempt: 4\t| Url: http://www.example.com\t| Status: 200 OK\t| Time: 201985038 |\n| Attempt: 1\t| Url: http://www.example.com\t| Status: 200 OK\t| Time: 203551875 |\n| Attempt: 3\t| Url: http://www.example.com\t| Status: 200 OK\t| Time: 204738982 |\n| Attempt: 7\t| Url: http://www.example.com\t| Status: 200 OK\t| Time: 217022760 |\n| Attempt: 2\t| Url: http://www.example.com\t| Status: 200 OK\t| Time: 228276499 |\n| Attempt: 6\t| Url: http://www.example.com\t| Status: 200 OK\t| Time: 238500664 |\n| Attempt: 8\t| Url: http://www.example.com\t| Status: 200 OK\t| Time: 276821083 |\n\nBenchmark completed.\nTotal number of requests:\t\t\t10\nTotal elapsed time in nanoseconds:\t\t277114982\nAverage time in nanoseconds:\t\t\t215184146\n\n```\n\nThe tool will beging with a DNS lookup test on the provided hostname. After the test the \ngoroutines running the http.Get() methods will be spawned and the resultds recorded into a \nbuffered channel.\nThe order of attempts varies upon the response time.\n\n\nIf needed, it is possibile to print the html output with the **-p** flag:\n\n```\n$  http-get-bench --url www.example.com -n 10 -p\n```\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiannisalinetti%2Fhttp-get-bench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiannisalinetti%2Fhttp-get-bench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiannisalinetti%2Fhttp-get-bench/lists"}