r3 - 25 Apr 2006 - 11:01:58 - SamHaslerYou are here: TWiki >  Codev Web > PerformanceIssuesInDevelopBranch
Tags:
, create new tag
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:

  1. Sandbox.pm
  2. Objectification (most function calls indirect via pointers)
  3. 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

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r3 < r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo