Can you include the code you’re using for the HTTP server and for testing (maybe link to a gist if the code is larger than email-appropriate)?
Also make sure you’ve checked out the performance tips FAQ: http://docs.julialang.org/en/release-0.3/manual/performance-tips/ <http://docs.julialang.org/en/release-0.3/manual/performance-tips/> The profiler is also useful for tracking down performance problems: http://docs.julialang.org/en/release-0.3/manual/profile/ <http://docs.julialang.org/en/release-0.3/manual/profile/> -s > On Aug 19, 2015, at 6:42 AM, nikolai.mar...@icloud.com wrote: > > Hi there! > I was trying to do some basic benchmark of Julia's HttpServer, however I have > some strange behaviour. > When I ask ab to do 20k requests in a single thread, at around request #16k > Julia starts accepting connections quite slowly (around 20s). If I request > two threads, then ab fails with timeout on connecting (60s). > I thought that the problem may be with the GC so I disabled it, but that > didn't help. > I would be grateful for the tips on how to look into this more closely. > > (Julia 0.3.10 via brew on os x)