Library + CLI-Tool to measure the TTFB (time to first byte) of HTTP(S) requests. Additionally, this crate measures the times of DNS lookup, TCP connect, and TLS handshake. This crate currently only supports HTTP/1.1. It can cope with TLS 1.2 and 1.3.LICENSE.
ttfb which is the main function of the public interface.
CLI + lib work on Linux, MacOS, and Windows.
The final result of this library. It contains all the measured timings.
Errors during URL parsing.
Errors during DNS resolving.
Errors of the public interface of this crate.
Takes a URL and connects to it via http/1.1. Measures time for DNS lookup, TCP connection start, TLS handshake, and TTFB (Time to First Byte) of HTML content.