I investigated this (on linux) by killing the process after 1 and
after 10 seconds, and both were in the `ssl-connect` function in
`openssl/mzssl`. So my guess is it's something there.

Sam

On Thu, Jan 24, 2019 at 5:07 PM P. Baillet <octpl...@gmail.com> wrote:
>
> Hello Racketeers,
>
> With Racket 7.1 on macOS, the following snippet takes some time to run:
>
> #lang racket
> (require net/url)
> (require net/url-string)
> (get-pure-port/headers (string->url "https://video.blender.org";))
>
> time racket plop.rkt
> #<input-port:pipe>
> "Access-Control-Allow-Origin: *\r\nContent-Length: 13080\r\nContent-Type: 
> text/html; charset=utf-8\r\nDate: Thu, 24 Jan 2019 22:03:48 GMT\r\nEtag: 
> W/\"3318-iMh3Y+6f+0qSo/4RXYkvd/3uy68\"\r\nTk: N\r\nX-Content-Type-Options: 
> nosniff\r\nX-Dns-Prefetch-Control: off\r\nX-Download-Options: 
> noopen\r\nX-Frame-Options: DENY\r\nX-Xss-Protection: 1; mode=block\r\n\r\n"
>        76.40 real         0.43 user         0.11 sys
>
> The same request with curl takes around 3ms server side and less than 1s term 
> time.
>
> What’s the right way to investigate this issue?
>
> Thanks for your time,
> —
> P.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to