I recently ran the benchmark scripts on the DEVELOP branch, and on face value the results are awful - 30
AthensMarks versus 50
AthensMarks on MAIN. The question is, what has changed to affect the performance that much?
Well, I think there are three potential culprits:
- Sandbox.pm
- Objectification (most function calls indirect via pointers)
- Code bloat (I added Error.pm, Assert.pm and Constant.pm, all from CPAN, through the TWiki core is only 50 lines bigger than MAIN)
The real mystery is that when I run
dprofpp, DEVELOP is only very slightly slower than MAIN when looking at CPU time (1.4 versus 1.38), but is
much worse when looking at elapsed times (3.8 versus 2.1). This suggests that it's sitting waiting on a resource. I checked, and it doesn't seem to be reading any more files than MAIN.
Any ideas on how to find out what is going wrong?
dprof is pretty useless....
--
CrawfordCurrie - 05 Jan 2005
Could monitoring file activity using
Filemon
on windows tell you anything?
--
SamHasler - 25 Apr 2006
CategoryPerformance