I've just been trying out the Radio UserLand : Profiling in Radio -- A deep developer feature: "First, a huge caveat, there probably are only about 20 or 30 people on the planet who could use this feature, but for them, it's an incredible viewing port into the performance of the dynamic HTTP server that's built into Radio 8. The instructions below are designed for developers. If you're not sure what's going on, please please, don't use profiling. It's only for the mighty (and arrogant)."
I'm neither mighty nor arrogant - just curious. Some interesting results coming out of the profiling. For instance, the fact that system.verbs.builtins.radio.userInterface.saveFolder(...)
and system.verbs.builtins.radio.weblog.drawCalendar(...) are such cycle hogs.
I also still think that adding an empty statement as the last statement in an 'add' string macro such as:
on add (s) {
htmltext = htmltext + string.filledstring ("\t", indentlevel) + s + "\r\n";
;} // 22/1/02; 9:16:21 pm by DS
gives a small performance boost due to the way UserTalk returns as a result the side-effect of the last statement. This may be significant if there's a load of text being add'ed. From the few tests that I have done it would seem that the boost is about 10%.
11:17:09 PM
|
|