Performance Test Template

Last modified by Manuel Smeria on 2014/11/06 08:35

Summary

Environment

OSProcessorJavaDistributionTested Wikis

Speed

ActionsDifference
Jetty Startup
First Accessnot existing page without UI
not existing page with UI
Reloadnot existing page without UI
not existing page with UI
Main.WebHome with UI
Main.WebHome without UI
SOLRFull SOLR reindex
SOLR sync when index is empty
SOLR sync when there is nothing to do
RenderingPage with 1000 macros without UI

Memory

ActionsDifference
Memory after jetty startup
Memory after full SOLR index

Jetty Startup

  • Until end message is printer
  • Done by hand with a chronometer
Previous XWiki versionCurrent XWiki version
Seconds

First Access

  • First HTTP request after starting Jetty

First access to not existing page without UI (/xwiki/bin/get/NoSpace/NoPage)

  • Firefox network statistics to load the root resource (image/js/css/etc. resources are not taken into account).
Previous XWiki versionCurrent XWiki version
Seconds

First access to not existing page with UI (/xwiki/bin/get/NoSpace/NoPage)

  • Firefox network statistics to load the root resource (image/js/css/etc. resources are not taken into account)
  • Done by hand with a chronometer
Previous XWiki versionCurrent XWiki version
Seconds

Reload

  • XWiki is doing nothing on background and everything is both in server and client cache already
  • Firefox network statistics to load the root resource (image/js/css/etc. resources are not taken into account)

Reload of not existing page without UI (/xwiki/bin/get/NoSpace/NoPage)

Previous XWiki versionCurrent XWiki version
Milliseconds

Reload of not existing page with UI (/xwiki/bin/view/NoSpace/NoPage)

Previous XWiki versionCurrent XWiki version
Milliseconds

Reload of Main.WebHome with UI

Previous XWiki versionCurrent XWiki version
Milliseconds

Reload of Main.WebHome without UI

Previous XWiki versionCurrent XWiki version
Milliseconds

SOLR

Full SOLR reindex

  • Delete the data/solr folder, restart, load home page and calculate the time of activity of the SOLR index thread using Yourkit
  • Yourkit is slowing down a bit all that but what is important is the difference anyway
Previous XWiki versionCurrent XWiki version
Seconds

SOLR sync

  • Only the thread determining what needs to be indexed and not the actual indexing

when index is empty

Previous XWiki versionCurrent XWiki version
Seconds

when there is nothing to do

Previous XWiki versionCurrent XWiki version
Seconds

Rendering

Page with 1000 macros without UI

  • 1000 times {{id}} macro, one on each line
Previous XWiki versionCurrent XWiki version
Milliseconds

Memory

  • Attach Yourkit to get the information

Memory after jetty startup

  • Start jetty and wait until Java is not doing anything on both
  • Wait for potential initialization of various stuff like core extension cache, etc
Previous XWiki versionCurrent XWiki version
Used MB
Allocated MB

Memory after full SOLR index

  • Delete the data/solr folder, restart, load home page then wait until nothing is happening in background
Previous XWiki versionCurrent XWiki version
Used MB
Allocated MB

Get Connected