r5 - 25 Sep 2006 - 19:28:41 - PeterThoenyYou are here: TWiki >  Plugins Web > PluginBenchmarkAddOn
Tags:
dev_essential 1 Add my vote for this tag, development 1 Add my vote for this tag, performance 1 Add my vote for this tag, plugin 1 Add my vote for this tag, , create new tag

Plugin Benchmark Add-On

This is a small script to measure the performance of a Plugin. Plugin authors can use it to measure and document the TWiki:Plugins/Benchmark numbers.

Usage

  • Specify Plugin name and other topics to benchmark. The first parameter is the Plugin name, followed by topic names. The TWiki web is assumed unless specified.
  • Example:
    % ./pluginbenchmark TablePlugin GoodStyle FormattedSearch Main.TWikiUsers

Notes:

  • Before running the benchmarks, disable mod_perl or SpeedyCGI in case used
  • Run utility on web server's shell where TWiki is installed
  • Measure when there is no load on the server
  • All Plugins are automatically disabled except for the DefaultPlugin and the specified Plugin. The classic TWiki skin is enabled

Example output

% ./pluginbenchmark SpreadSheetPlugin FormattedSearch GoodStyle
TWiki Plugin benchmark tool. Time::HiRes is used.
Measuring, please be patient...
Topic:                          Without:  With:     Percent:
------------------------------  --------  --------  --------
TWiki.SpreadSheetPlugin            0.481     0.506       95%
TWiki.FormattedSearch              1.677     1.694       99%
TWiki.GoodStyle                    0.301     0.304       99%

Add-On Installation Instructions

Note: You do not need to install anything on the browser to use this add-on. The following instructions are for the administrator who installs the add-on on the server where TWiki is running.

Add-On Info

  • Set SHORTDESCRIPTION = Measure the performance of a TWiki plugin

Add-on Author: TWiki:Main.PeterThoeny
Copyright: © 2006, TWiki:Main.PeterThoeny
License: GPL (GNU General Public License)
Add-on Version: 11 Nov 2004 (v1.000)
Change History:  
11 Nov 2004: Better accuracy, more flexible configuration
10 Nov 2004: Initial version
TWiki Dependency: $TWiki::Plugins::VERSION 1.1 (TWiki 4.0)
CPAN Dependencies: Time::HiRes
Other Dependencies: TWiki's geturl utility
Perl Version: 5.005
Add-on Home: http://TWiki.org/cgi-bin/view/Plugins/PluginBenchmarkAddOn
Feedback: http://TWiki.org/cgi-bin/view/Plugins/PluginBenchmarkAddOnDev
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/PluginBenchmarkAddOnAppraisal

Related Topic: TWikiAddOns

-- TWiki:Main/PeterThoeny - 11 Nov 2004

Topic attachments
I Attachment Action Size Date Who Comment
zipzip PluginBenchmarkAddOn.zip manage 5.8 K 11 Nov 2004 - 05:14 PeterThoeny pluginbenchmark Add-on, version 11 Nov 2004
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r5 < r4 < 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