Tags:
create new tag
view all tags

Timing tests on TWikiFns branch

This is on an unloaded Debian testing box, using svn and a basically virginal install.

Topic TWiki4.0 Notes TWikiFns Notes
Main 1827 Standard plugins linked in 1815 Standard plugins linked in
WelcomeGuest 1911 ditto 1913 ditto
FrequentlyAskedQuestions
(from Lavr's Motion site)
2110 ditto 2106 ditto

As can be seen, there is no difference in performance, which is what I expected.

-- MeredithLesly - 20 Jul 2006

Looks good. Is that ab?

-- CrawfordCurrie - 21 Jul 2006

yes, sorry, should have said I was using ab. This would appear to be the right test, as nothing else should be affecting the times that I can think of.

-- MeredithLesly - 21 Jul 2006

next q you would have liked to answer before: ab on loopback?

-- SvenDowideit - 21 Jul 2006

Erm, not sure, but both done the same way.

-- MeredithLesly - 21 Jul 2006

meanin... ab was executed in the same machine where TWiki was installed?

-- RafaelAlvarez - 24 Jul 2006

TWikiFns tested by Kenneth Lavrsen

Tested on a Centos 4.3. Pentium D 3.2 GHz with 2 GB RAM and a 250 GB SATA HD

Ethereal measurements

Skin Plugins i18n Additional Page load starts Page fully loaded
Pattern 12 All TWiki 4.0.4 virgin - Testweb Webhome 0.77 0.97
Pattern 12 All TWikiFns virgin - Testweb Webhome 0.80 1.00
Pattern 12 None TWiki 4.0.4 virgin - Testweb Webhome 0.61 0.83
Pattern 12 None TWikiFns virgin - Testweb Webhome 0.63 0.83
Pattern 12 None TWiki 4.0.4 few users - Motion FAQ 0.74 0.96
Pattern 12 None TWikiFns few users - Motion FAQ 0.74 0.96
Pattern 12 None TWiki 4.0.4 few users - Motion FAQ w/o TOC 0.72 0.93
Pattern 12 None TWikiFns few users - Motion FAQ w/o TOC 0.72 0.92
Pattern 12 None TWiki 4.0.4 565 users - Motion FAQ 0.76 0.98
Pattern 12 None TWikiFns 565 users - Motion FAQ 0.74 0.94

ab -n 10 localhost FAQ

ab -n 10 external FAQ

Conclusions.

  • TWikiFns seems to at least not slow down TWiki.
  • On a naked simple topic TWiki 4.0.4 is faster.
  • On a TWiki with a web with 750 topics and a more complex topic TWikiFns is as fast as Twiki4.0.4
  • On a TWiki with the 750 topic web and adding 565 users TWikiFns seems to be a little faster.
  • When you measure with ab you get the same results as with Ethereal Page load starts.
  • When you measure with ab on loopback you get the same results as from a remote machine on same 100 Mbit network.
  • A small extra test of TOC shows that this features cost but not as much as one could have expected for a long document with many sections.
  • TWikiFns seems ready to go into 4.1 seen from a speed perspective.

Note that these tests are not run on the same machine as earlier performance data I have published. This new server is much faster.

-- KennethLavrsen - 25 Jul 2006

Thank you, Kenneth! The TOC results are odd, given that it can't be implemented as a TWikiFn and isn't. (It would have to be a standard plugin instead, and perhaps should be).

-- MeredithLesly - 08 Aug 2006

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2006-08-08 - MeredithLesly
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.