Re: [racket-users] get-pure-port/headers very slow

2019-01-24 Thread Greg Hendershott
Trying now, it finishes within 1 second for me. I tried on macOS with all of 6.10, 7.1, and a recent-ish build of HEAD, 7.2.0.2. On Thu, Jan 24, 2019 at 5:18 PM Sam Tobin-Hochstadt wrote: > > I investigated this (on linux) by killing the process after 1 and > after 10 seconds, and both were in th

Re: [racket-users] get-pure-port/headers very slow

2019-01-24 Thread Neil Van Dyke
P. Baillet wrote on 1/24/19 5:07 PM: 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? One way to start is to run Wireshark (or tcpdump, or similar), and watch the network traffic, for both cases (curl and R

Re: [racket-users] get-pure-port/headers very slow

2019-01-24 Thread Sam Tobin-Hochstadt
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 wrote: > > Hello Racketeers, > > With Racket 7.1 on macOS, the f

[racket-users] get-pure-port/headers very slow

2019-01-24 Thread P. Baillet
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";)) ``` ```shell time racket plop.rkt # "Access-Control-Allow-Origin: *\r\nContent