Sample Performance Report

Last modified by Vincent Massol on 2024/11/19 16:12

 XWiki
 Requirements
 Completed
 

Description

Table of Content

Report Overview

  • Date of the report: 05/03/2011
  • XWiki Version: 3.0 Snapshot r35151
  • Content included: 200 dummy users + animal pages (snippers from xwiki.org)
  • User: connected as Admin user
  • Server used for testing: local machine CPU Dual Core i7
  • Client used for testing: local machine CPU Dual Core i7 Firefox 3.6
  • System to measure time: Firebug
  • System to measure server load: ?

Performance Results

  • Time to display the home page of XWiki on fresh loading:  1 second for HTML, 3 seconds for all resources
  • Total load time including content post display: 3.5 seconds
  • Time to display an additional page: 0,7 seconds
  • Total load on the server to load the home page: ? 
  • Total kilobytes transfered  to load the home page: 390 KB
  • Total load on the server to load an additional page: ? 
  • Total kilobytes transfered  to load an additional page: 33 KB
  • Time to open the edit mode (wysiwyg in particular): 4.46 seconds
  • Time to render 1 time the sample Syntax 2.0 page: 130 ms (4 pages, XAR attached)
  • Time to render 1 time the velocity script: 115 ms (using 3 standard XWiki templates, XAR attached)

Velocity script used:

{{velocity output=false}}
#set($time1 = $xwiki.date.time)
#template("xwikivars.vm")
#template("startpage.vm")
#template("endpage.vm")
#set($time2 = $xwiki.date.time)
#set($dtime = $time2 - $time1)
{{/velocity}}
{{velocity}}
Time: $dtime ms
{{/velocity}}

List of URLs loaded for Home page

CSS

JS

List of URLs loaded for additional page

One page and comment page

Manual/Tools findings on performance

  • 22 CSS
  • 20 JS
  • Compression is not used in tomcat/jetty by default
  • Minifying the following CSS resources could reduce their size by 21.5KB (34% reduction). 
  • expiration not set on resources coming from /resources/
  • View mode for empty page costs 160ms
  • Plain (xpage=plain) mode for empty page costs 24ms

Velocity Template Timing

Measured on Sandbox.WebHome

Time frequentlyUsedDocs.vm: 3
Time deprecatedVars.vm: 1
Time xwikivars.vm: 11
Time layoutExtraVars.vm: 1
Time layoutvars.vm: 7
Time colorThemeInit.vm: 2
Time stylesheets.vm: 5
Time analytics.vm: 0
Time javascript.vm: 9
Time htmlheader.vm: 36
Time menuview.vm: 19
Time global.vm: 3
Time header.vm: 4
Time startpage.vm: 78
Time contentmenu.vm: 6
Time frequentlyUsedDocs.vm: 1
Time deprecatedVars.vm: 1
Time xwikivars.vm: 7
Time hierarchy.vm: 25
Time titlevars.vm: 2
Time shortcuts.vm: 2
Time contentview.vm: 37
Time frequentlyUsedDocs.vm: 1
Time deprecatedVars.vm: 1
Time xwikivars.vm: 7
Time documentTags.vm: 12
Time frequentlyUsedDocs.vm: 1
Time deprecatedVars.vm: 1
Time xwikivars.vm: 9
Time commentsinline.vm: 12
Time docextra.vm: 15
Time leftpanels.vm: 1
Time rightpanels.vm: 50
Time footer.vm: 2
Time htmlfooter.vm: 0
Time endpage.vm: 54
Time view.vm: 216


 

Get Connected