Why Http request with Fiddler is blazing fast

后端 未结 2 1888
感动是毒
感动是毒 2020-12-28 16:41

I wrote a multithread program in c# that crawls a web site, but when I started Fiddler in the background request completed 12x faster, it is really strange for me and when I

2条回答
  •  被撕碎了的回忆
    2020-12-28 17:08

    Can you show some sample code so people can confirm this? Otherwise it'll become wild guessing.

    My best guess: Fiddler uses keepalive which will save the trouble of opening the connection over and over again. You can confirm this by disabling both Reuse client connections and Reuse connections to servers: if it's then as slow as usual (or slower), the benefit is gained from keeping the connection alive.

提交回复
热议问题