Performance test on Jetty/HSQLDB with a single wiki

Version 37.1 by Thomas Mortagne on 2014/09/19 14:39

Environment

  • Ubuntu 14.04 64b
  • Quad core i7
  • Oracle JDK 1.8.0_20 64b
  • standard jetty+hsqldb
  • only main wiki

Jetty startup

Unit: seconds

Until end message is printer. Done by hand with a chronometer.

  • 5.4.5: 12
  • 6.0.1: 12
  • 6.1: 13
  • 6.2: 12
  • 6.3-20140916: 12

First access

First HTTP request after starting Jetty.

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

Unit: seconds

Firefox network statistics to load the root resource (image/js/css/etc. resources are not taken into account).

  • 5.4.5 : 6
  • 6.0.1 : 6
  • 6.1 : 6
  • 6.2 : 6

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

Unit: seconds

Firefox network statistics to load the root resource (image/js/css/etc. resources are not taken into account).

  • 5.4.5 : 6
  • 6.0.1 : Unknown macro: todo.

Done by hand with a chronometer (image/js/css/etc. resources are not taken into account).

  • 6.1 : Unknown macro: todo.
  • 6.2 : 18
  • 6.3-20140916: 13

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)

Unit: milliseconds

  • 5.4.5 : [10, 20]
  • 6.0.1 : 30
  • 6.1 : 45
  • 6.2-rc1 : [30, 40]
  • 6.3-20140916 : [30, 40]

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

Unit: milliseconds

  • 5.4.5 : [100, 150]
  • 6.0.1 : [240, 300]
  • 6.1 : [350, 400]
  • 6.2 : [200, 300]
  • 6.3-20140916 : [200, 250]

Reload of Main.WebHome

  • 5.4.5 : [250, 350]
  • 6.2 : [400, 500]

SOLR

Full SOLR reindex

Unknown macro: todo.

Unit: seconds

  • 5.4.5 : Unknown macro: todo.
  • 6.2 : Unknown macro: todo.

SOLR sync

Only the thread determining what need to be indexed and not the actual indexing.

when index is empty

Unit: seconds

  • 5.4.5 : 1
  • 6.2 : 1

when there is nothing to do

Unit: seconds

  • 5.4.5 : < 1
  • 6.2 : < 1

Rendering

Page with 1000 macros without UI

1000 times {{id}} macro, one on each line.

Unit: milliseconds

  • 5.4.5 : 9500
  • 6.2 : 3500

Memory

Memory after loading home page and SOLR index already in sync

Unit: MB

  • 5.4.5 : 498
  • 6.2 : 455

Memory after full SOLR index

Unit: MB

  • 5.4.5 : Unknown macro: todo.
  • 6.2 : Unknown macro: todo.
Tags:
   

Get Connected