curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Why does libcurl call “gettimeofday” during curl_easy_perform?

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Wed, 17 Jun 2020 16:47:13 +0200 (CEST)

On Wed, 17 Jun 2020, Daniel Stenberg via curl-library wrote:

> It ended up with *26274* calls to Curl_now(), out of which 26225 of them
> were done within 50 microseconds of the previous call.

I came up with this approach to reduce the amount quite drastically:

   https://github.com/curl/curl/pull/5575

-- 
  / daniel.haxx.se | Commercial curl support up to 24x7 is available!
                   | Private help, bug fixes, support, ports, new features
                   | https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2020-06-17