Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道哪个类会更高效:PHP(Glype、PHProxy)、CGI(CGIProxy)或在 web 服务器上运行的基于 javascript 的脚本,或通过 squid 运行的 http 代理。假设两个类都没有进行任何缓存,那么其中一个或另一个在处理 Web 浏览时会更有效吗?
我如何编写一个简单的脚本来衡量两者之间的差异?
到目前为止,鱿鱼;任何需要运行 CGI 或 PHP 的东西都会慢得多,因为它们需要每个请求一个进程。