Skip to content

Show first byte stats in text output - #906

Merged
hatoo merged 1 commit into
hatoo:masterfrom
ZensykU2:feat/ttfb-text-output
Oct 26, 2026
Merged

hatoo merged 1 commit into
hatoo:masterfrom
ZensykU2:feat/ttfb-text-output

Conversation

@ZensykU2

Copy link
Copy Markdown
Contributor

Adds a First byte line (average, fastest, slowest) to the Details section of the text summary, using the same stats already exported in the JSON output (#844).

Example:
Output of oha --no-tui -n 3 https://example.com:
image
First byte is measured from the start of the request (including connection setup), same as firstByte in the JSON output.

Part of #851. I kept this PR small on purpose. Happy to follow up with TTFB histograms/percentiles (e.g. behind a flag) or TUI support if you'd like. Let me know which direction you prefer.

@hatoo
hatoo merged commit ae32e14 into hatoo:master Oct 26, 2026
23 checks passed
@hatoo

hatoo commented Oct 26, 2026

Copy link
Copy Markdown
Owner

Thank you!

@lzanoni-stm

Copy link
Copy Markdown

Hello, I just started using oha for testing, quite nice :)
I was also looking for the display of TTFB in TUI .
Glad to see it was already considered

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants