Buy commercial curl support. 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 Daniel himself.
Re: CPU usage since 8.7.1
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Tue, 28 Oct 2025 17:32:27 +0100 (CET)
On Tue, 28 Oct 2025, Gleb Smirnoff via curl-library wrote:
> So here I am raising this question. What needs to be done to get CPU
> savings of 8.6.0 level and how can we help here?
As recall things, the change that introduced the new (current) behavior was
done to enhance the accuracy of the rate limit logic, at the expense of CPU.
The change was pushed for by someone who argued that the increased precision
was valuable for them if I remember correctly.
Can we find a way to have both ways and let the user select which? Maybe for
example by maybe something as silly and simple as doing
CURLOPT_MAX_RECV_SPEED_LARGE % 10000 and if that is non-zero, higher precision
is wanted.
Date: Tue, 28 Oct 2025 17:32:27 +0100 (CET)
On Tue, 28 Oct 2025, Gleb Smirnoff via curl-library wrote:
> So here I am raising this question. What needs to be done to get CPU
> savings of 8.6.0 level and how can we help here?
As recall things, the change that introduced the new (current) behavior was
done to enhance the accuracy of the rate limit logic, at the expense of CPU.
The change was pushed for by someone who argued that the increased precision
was valuable for them if I remember correctly.
Can we find a way to have both ways and let the user select which? Maybe for
example by maybe something as silly and simple as doing
CURLOPT_MAX_RECV_SPEED_LARGE % 10000 and if that is non-zero, higher precision
is wanted.
-- / daniel.haxx.se || https://rock-solid.curl.dev -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2025-10-28