Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Apr : Any interest in profiling TidHTTP ?
| Subject: | Any interest in profiling TidHTTP ? |
| Posted by: | "dk_sz" (dk_..@hotmail.com) |
| Date: | Wed, 23 Apr 2008 17:58:14 |
Hi,
I have AQTime, and I would be quite willing in
running some tests, particular against TidHTTP.
Some time I ran a very short crawler (57 GET and
90 HEAD requests) test where AQTime told me:
idGlobal.CharInSet is called 461263 (...)
times from idGlobalProtocol.WrapText
Which maps to:
Result := IndyPos(AString[ACharPos], ASet);
Which if I recall correctly means a lot of
strings will get on/off heap here with [ ].
(Since Char has to beconverted to string)
Quite some time was spent in that routine... And I
also suspect such places may hurt memory fragmentation
a little, but I do not have any hard data to back that claim.
My application is extremely sensitive to memory fragmentaion
since I may very well need to make e.g. a million requests in
multi threaded data intensive environment... So anything that
eases things for memory manager at the minimum improves
speed (at least in my experience) and also seems to lessen
memory fragmentaion a little (again, at least in my experience)
best regards
Thomas Schulz