wiki:ProfilingResults

Version 7 (modified by jukka, 13 years ago) (diff)

--

Profiling

Instructions

Turning on profiling in Zope

Edit etc/zope.conf in your Zope folder and uncomment line

#    publisher-profile-file $INSTANCE/var/profile.dat

(search for 'profile' to find this line)

Restart Zope.

Using hammerhead to stress test LeMill

Get the hammerhead configuration from source:/bundle/hammerhead and read source:/bundle/hammerhead/README.txt You'll get nice summary information on the speed of LeMill into the results log file.

Using wget to stress test LeMill

  1. Install wget on your machine (preinstalled on most Linux boxes)
  2. Run wget -r -p -l inf -np http://servername/lemill-server/
    • you can add --delete-after if you don't want to fill your hard drive with the stuff wget downloads.
  3. You won't get any statistics from wget, but this may be useful for profiling.
  4. This may take long time.

Results

Let's set the baseline to be Zope's default front page (Zope Quick Start on gray background) and 50 requests with 'ab' command.

Content of lemill is quite-up-to-date lemill.net Data.fs

Jukka (profiling on, MacBook? Dualcore 1.8Ghz, 1G mem) :

  • base: 91.40 ms/page
  • lemill-server/content: 2508.08 ms
  • lemill-server/content/tags: 2874.20 ms
  • lemill-server/activities 2079.48 ms
  • lemill-server/activities/tags: 1984.66 ms
  • lemill-server/tools: 2109.04 ms
  • lemill-server/tools/tags: 2136.00 ms
  • lemill-server/community: 3405.82 ms
  • lemill-server/community/members: 2512.14 ms
  • lemill-server/community/groups: 1803.38 ms

Attachments