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.