Hello.
I've been writing a small portal in dtcl.
When benchmarking it I got 21.3-21.5 requests per second. I have
most of my functions loaded in GlobalInitScript, while those related to
portal itself (HTML creation and stuff) are loaded using source.
When I put portal related functions into GlobalInit (I wrote them in
::<portalname> namespace so putting it in GlobalInit was no problem :),
I got 23.8-24.0 requests per second. This is very interesting since it's
10% faster with just a small effort. However loading too much at
Global/ChildInit can be annoying - my Apache starts for 2-5 seconds on
P200 (over 100kB of code loaded at startup :). But it's worth it. When I
tried putting source to all used scripts, rps dropped down to under
12... So it's twice as fast when loading at startup...
btw My forum when compared to php forum is 5-10 times faster (on same
host, using same MySQL). But I suppose it's because mine was written
with optimalization in mind all the time... (mine had 4-5 requests per
second with some functions loaded at runtime, not GlobalInit :)
--
Wojciech Kocjan
email: [EMAIL PROTECTED]
tel: +48-501-778778
PGP signature