cURL / Mailing Lists / curl-library / Single Mail

curl-library

Time spent in ares_init_options

From: Paul Oliver <puzza007_at_gmail.com>
Date: Wed, 15 Jul 2015 19:06:56 +0000

Hi there,

I've written a libcurl application based on the hiperfifo example and have
run into something I'm unsure about. I have a test that kicks off requests
to around 9K distinct URLs concurrently. It seems that ~75% of time during
this test is spent inside ares_init_options. Is this expected behaviour?
I've called curl_global_init at the start of main. Is there anything I'm
missing?

Here's a screenshot of the trace:
https://www.dropbox.com/s/zghmckkrnj10qov/Screenshot%202015-07-15%2021.05.57.png?dl=0

Cheers!
Paul.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-07-15