cURL Timers in Timeline Profiler

The Timeline Profiler now collects timing information for cURL based HTTP Requests that are available from curl_getinfo at runtime and shows them in the span details panel:

The timers are not transformed and have the same meaning that the cURL manpage also covers:

  • cURL Name Lookup: Time from the start of the request until the DNS name look up is completed.
  • cURL Connect: Time from the start of the request until a connection to the host is established.
  • cURL AppConnect: Time from the start of the request until all TLS/SSL handshakes are completed.
  • cURL PreTransfer: Time from the start of the request until just before the Request is transferred to the server.
  • cURL StartTransfer: Time from the start of the request until the server sends data back to the client. This is also known as the Time to First Byte (TTFB).
  • cURL Redirect: All time spent in redirects before the final request starts. All other timers start after this one and only consider the time of the last request in the chain.

This feature requires PHP Extension v5.4.18 and Daemon v1.7.18

About the author

  • Benjamin

Benjamin
Founder & CEO

I am the founder and CEO of Tideways. I started the company over 10 years ago with the mission to move the PHP ecosystem forward, starting with performance. As managing director, I work across product, strategy, and the day-to-day of building a developer-focused SaaS business.

I’m a core contributor to the Doctrine open-source project and a founding board member of the PHP Foundation, which reflects my long-standing commitment to the PHP ecosystem. I particularly enjoy working at the intersection of application performance, developer experience, and the open-source community that makes PHP what it is. Outside of work, I enjoy board games, hiking, and coffee.