On 2012-04-23, at 19:55, Sven Van Caekenberghe wrote:
On 23 Apr 2012, at 19:26, Camillo Bruni wrote:
I just checked doing a HEAD request on squeaksource (which works but is far from being optimal...) on the massive Pharo repos (9000 files)
http://www.squeaksource.com/Pharo/Morphic-StephaneDucasse.918.mcz
list: ~6.5 sec get: ~6.5 sec head: ~4.5 sec
clearly faster! how about adding additional HEAD support?
You are using a slow reference system, I can be faster:
[ ZnEasy get: 'http://mc.stfx.eu/ZincHTTPComponents/Zinc-HTTP-SvenVanCaekenberghe.261.mcz' ] timeToRun. 454 [ ZnEasy head: 'http://mc.stfx.eu/ZincHTTPComponents/Zinc-HTTP-SvenVanCaekenberghe.261.mcz' ] timeToRun. 92
What I mean is, the server is another problem than the client side.
yeah! this is more of what I wanted to say / expected :) I'll file a bug report for gemstone... My latest fix includes a HEAD request shortcut for #includesFileNamed: for squeaksource. best cami