-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename "DNS-lookup" to "DNS lookup" in the report? #123
Comments
Renaming it to "DNS lookup" sounds good. |
ngrilly
added a commit
to ngrilly/hey
that referenced
this issue
Sep 6, 2018
"DNS-lookup" could be interpreted as "DNS lookup duration minus some other lookup duration". This change removes the ambiguity.
chunter0
pushed a commit
to chunter0/hey
that referenced
this issue
Apr 8, 2024
```console # before: httpbingo lacks the "method" field but httpbin.org has it $ curl -s https://httpbingo.org/anything | jq .method 9:31PM null $ curl -s https://httpbin.org/anything | jq .method "GET" # after: httpbingo has the method field! $ curl -s http://0.0.0.0:8080/anything | jq .method "GET" ``` This was mentioned in rakyll#6, but then not listed in rakyll#91 - I took the highly technical testing approach of adding a test for `Method` anywhere in `handlers_test.go` that mentioned `Args`; do you desire more tests? fewer tests? - Anywhere else I should add this field that I didn't already? For what it's worth, I discovered this when working on upgrading the testing for our [httpsnippet library](https://github.com/readmeio/httpsnippet); I wanted to use `go-httpbin` but our tests expect the method field to be present in the responses
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have doubts about the meaning of "DNS+dialup" and "DNS-lookup" in the reports produced by
hey
:After a quick glance at the code here and here, it looks like "DNS+dialup" is the sum of the DNS lookup duration and the connection dial up duration, and "DNS-lookup" is the DNS lookup duration alone.
The spelling "DNS-lookup" suggests it is the duration of the DNS lookup minus some other "lookup".
Should we rename it to "DNS lookup"?
The text was updated successfully, but these errors were encountered: