Tags:
create new tag
, view all tags
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

Topic revision: r3 - 2006-04-25 - SamHasler
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.